Topic
  • No replies
SystemAdmin
SystemAdmin
693 Posts

Pinned topic Error connecting to CE 5.1 using wsi MTOM

‏2012-12-13T14:16:14Z |
I'm have an application deployed under Jboss 5.1 EAP on Linux and I'm getting this error when I use the P8 API's to try and attached to CE using the wsi interface. com.waggoner.zuni is my application. I have referenced the CE Client libraries.

com.filenet.api.exception.EngineRuntimeException: E_UNEXPECTED_EXCEPTION: An unexpected exception was detected.
at com.filenet.apiimpl.util.SessionHandle.getObjects(SessionHandle.java:366)
at com.filenet.apiimpl.util.SessionHandle.getObjects(SessionHandle.java:353)
at com.filenet.apiimpl.core.Session.callGetObjects(Session.java:121)
at com.filenet.apiimpl.core.Session.executeGetObject(Session.java:325)
at com.filenet.apiimpl.core.Session.getObject(Session.java:339)
at com.filenet.apiimpl.core.IndependentObjectImpl.getObject(IndependentObjectImpl.java:154)
at com.filenet.apiimpl.core.IndependentObjectImpl.refresh(IndependentObjectImpl.java:161)
at com.filenet.api.core.Factory$Domain.fetchInstance(Factory.java:1543)
at com.waggoner.p8.CEConnection.connect(CEConnection.java:145)
at com.waggoner.zuni.common.XMLAPI.getP8DocumentData(XMLAPI.java:1801)
at com.waggoner.zuni.common.XMLAPI.getDocumentInfo(XMLAPI.java:1518)
at com.waggoner.zuni.common.XMLAPI.doSubmitJob(XMLAPI.java:1165)
at com.waggoner.zuni.common.XMLAPI.processJOB(XMLAPI.java:140)
at com.waggoner.zuni.api.servlets.ZUAPIServlet.doRequest(ZUAPIServlet.java:299)
at com.waggoner.zuni.api.servlets.ZUAPIServlet.processRequest(ZUAPIServlet.java:155)
at com.waggoner.zuni.api.servlets.ZUAPIServlet.doPost(ZUAPIServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:383)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
at java.lang.Thread.run(Thread.java:679)
Caused by: javax.xml.rpc.JAXRPCException: com.sun.xml.messaging.saaj.soap.name.NameImpl cannot be cast to com.systinet.saaj.soap.NameImpl
at com.filenet.apiimpl.wsi.ClientHeaderProcessor.handleOutput(ClientHeaderProcessor.java:141)
at org.systinet.wasp.handler.WaspGenericHandler.handleRequest(WaspGenericHandler.java:68)
at com.systinet.jaxrpc.rpc.handler.HandlerChainImpl.handleRequest(HandlerChainImpl.java:167)
at com.systinet.wasp.rpc.handler.ClientHandlerChainInvoker.processOutput(ClientHandlerChainInvoker.java:100)
at com.systinet.wasp.client.XMLInvocationHelperImpl.invokeHandlers(XMLInvocationHelperImpl.java:760)
at com.systinet.wasp.client.XMLInvocationHelperImpl.invokeHandlers(XMLInvocationHelperImpl.java:742)
at com.systinet.wasp.client.XMLInvocationHelperImpl.processHandlers(XMLInvocationHelperImpl.java:576)
at com.systinet.wasp.client.XMLInvocationHelperImpl.processMessage(XMLInvocationHelperImpl.java:510)
at com.systinet.wasp.client.XMLInvocationHelperImpl._call(XMLInvocationHelperImpl.java:144)
at com.systinet.wasp.client.XMLInvocationHelperImpl.call(XMLInvocationHelperImpl.java:75)
at org.systinet.wasp.client.XMLInvocationHelper.call(XMLInvocationHelper.java:18)
at com.systinet.wasp.rpc.WaspCallImpl.invoke(WaspCallImpl.java:501)
at com.systinet.wasp.rpc.WaspCallImpl.invoke(WaspCallImpl.java:459)
at com.systinet.wasp.client.ClientProxy._invoke(ClientProxy.java:476)
at com.systinet.wasp.client.ClientProxy.invoke(ClientProxy.java:111)
at $Proxy202.getObjects(Unknown Source)
at com.filenet.apiimpl.wsi.ClientPort40.getObjects(ClientPort40.java:36)
at com.filenet.apiimpl.wsi.ServiceSession$2.execute(ServiceSession.java:247)
at com.filenet.apiimpl.wsi.ClientOperation.run(ClientOperation.java:70)
at com.filenet.apiimpl.wsi.ServiceSession.getObjects(ServiceSession.java:242)
at com.filenet.apiimpl.util.SessionHandle.getObjects(SessionHandle.java:334)
... 39 more