Hi,
I am able to login successfully into R4 environment using BO Enterprise SDK. However, I am facing issues while trying to login using R4 Webservices SDK’s on R4 environment. But if I use the R3 Webservices SDK’s, I am able to successfully login into R4 environment without changing code.
After analyzing further, I found that there could be some issues with the following R4 jar files.
axiom-api-1.2.13.jar
axiom-impl-1.2.13.jar
dsws-session.jar
Stack Trace:
login The exception is of a known origin. (Error: WSE 99999) S2login The exception is of a known origin. (Error: WSE 99999)session.dsws.businessobjects.com/loginjava.lang.NoSuchMethodErrororg/apache/axiom/om/OMXMLBuilderFactory.createOMBuilder(Ljavax/xml/transform/Source;)Lorg/apache/axiom/om/OMXMLParserWrapper;java.lang.NoSuchMethodError: org/apache/axiom/om/OMXMLBuilderFactory.createOMBuilder(Ljavax/xml/transform/Source;)Lorg/apache/axiom/om/OMXMLParserWrapper; at com.businessobjects.dsws.session.SessionStub.toOM(SessionStub.java:4256) at com.businessobjects.dsws.session.SessionStub.toOM(SessionStub.java:4244) at com.businessobjects.dsws.session.SessionStub.toEnvelope(SessionStub.java:4496) at com.businessobjects.dsws.session.SessionStub.login(SessionStub.java:3053) at com.businessobjects.dsws.session.Session.login(Session.java:439) at com.ibm._jsp._login._jspService(_login.java:169) at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1224) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122) at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:216) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1032) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3748) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:962) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1814)
After reading the AXIOM documentation from the below link, I could understand that OMXMLBuilderFactory class has been moved into a different package and I am not sure SessionStub class from BO Webservices (dsws-session.jar) is referring the right package.
http://ws.apache.org/axiom/userguide/ch04.html#changes-1.2.11
P/s: This AXIOM change is reflecting in R4 version of Webservices SDK’s and hence we don’t have any issues with R3 Webservices SDK’s.
Can I get some solution/work around on this?
Thanks,
Jinesh