FNRCS0005E: SECURITY_INVALID_CRE…

来源:互联网 发布:js 图片点击查看大图 编辑:程序博客网 时间:2024/06/07 04:16
新开淘宝店:全国话费充值:http://mxs-home.taobao.com/


错误:
FNRCS0005E: SECURITY_INVALID_CREDENTIALS: Access to the ContentEngine was not allowed because the Content Engine API library orthe Web Service Interface (WSI) Listener could not find therequired security context information. Expected credentials werenot found in the security context.

trace stack:

com.filenet.api.exception.EngineRuntimeException:FNRCS0005E: SECURITY_INVALID_CREDENTIALS: Access to the ContentEngine was not allowed because the Content Engine API library orthe
Web Service Interface (WSI) Listener could not find the requiredsecurity context information. Expected credentials were not foundin the security context.
atcom.filenet.apiimpl.wsi.ClientOperation.getCredential(ClientOperation.java:361)
atcom.filenet.apiimpl.wsi.ClientOperation.getSoapEnvelopeSecurity(ClientOperation.java:294)
atcom.filenet.apiimpl.wsi.ServiceSessionNst.bStartXmlDocument(ServiceSessionNst.java:847)
atcom.filenet.apiimpl.wsi.ServiceSessionNst.cReqRespPath(ServiceSessionNst.java:155)
atcom.filenet.apiimpl.wsi.ServiceSessionNst.getObjects(ServiceSessionNst.java:104)
atcom.filenet.apiimpl.util.SessionHandle.getObjects(SessionHandle.java:377)
atcom.filenet.apiimpl.core.Session.callGetObjects(Session.java:121)
atcom.filenet.apiimpl.core.Session.executeGetObject(Session.java:325)
atcom.filenet.apiimpl.core.Session.getObject(Session.java:339)
atcom.filenet.apiimpl.core.IndependentObjectImpl.getObject(IndependentObjectImpl.java:146)
atcom.filenet.apiimpl.core.IndependentObjectImpl.refresh(IndependentObjectImpl.java:153)
atcom.filenet.api.core.Factory$Domain.fetchInstance(Factory.java:1565)
at TestConnect.main(TestConnect.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
atorg.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
atorg.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
atorg.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
atorg.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
atorg.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
atorg.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
atorg.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
atorg.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
atorg.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
atjavax.servlet.http.HttpServlet.service(HttpServlet.java:738)
atorg.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
atjavax.servlet.http.HttpServlet.service(HttpServlet.java:831)
atcom.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1655)
atcom.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:937)
atcom.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
atcom.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
atcom.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
atcom.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
atcom.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
atcom.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:183)
atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272)
atcom.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
atcom.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
atcom.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
atcom.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
atcom.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
atcom.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)

http://pic.dhe.ibm.com/infocenter/p8docs/v5r0m0/topic/com.ibm.p8.ce.msgs.doc/fnrcs0005e.htm

http://www.ecmplace.com/viewtopic.php?f=39&t=15855



我的错误:
由于获取folder是调用公用方法没有注意到已经提前结束认证:
Folder folder1 = Factory.Folder.fetchInstance(this.getObjectStore(),path, propertyFilter);
UserContextUtils.popSubject();
recordfolder.get_SubFolders(); 在获取子folders时报错。

解决方法:
在对ce操作完成后结束认证。

0 0
原创粉丝点击