0
我們使用Marklogic XCC .Net庫將文檔插入到Marklogic中。然而,在負載下(45個併發用戶),我們開始使用消息提供者獲取異常提供者com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl找不到 有人有線索嗎?在加載內容時插入內容時未找到com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
的代碼是
using (var session = ContentSourceFactory.NewContentSource(new Uri(_connectionUriString)).NewSession())
{
var contentCreateOptions = new ContentCreateOptions
{
Format = DocumentFormat.Format.XML,
Collections =
new[]
{
"Docs"
}
};
var options = contentCreateOptions;
var fileName = string.Format("/doc/{0}.xml", doc.Id);
session.InsertContent(ContentFactory.NewContent(fileName, doc.Serialize(), options));
}
我懷疑你會得到更好的牽引力,如果你直接發佈到marklogic開發人員列表http://community.marklogic.com/mailman/listinfo/general –