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 –