10 Replies Latest reply on Feb 25, 2006 7:52 AM by beyarecords

    Problem accessing .NET webservice from servlets

    mkyaj Newbie

      Hi,

      I have one web application that i have written with JSPs and Servlets. That web application accesses one .NET webservice. I deployed that web application in TOMCAT5.0 and it is working fine. I have to deploy the same web application in JBOSS4.0.1SP1. As JBOSS have tomcat integrated as its web server, i copied the same files (JSPs, Servlets and contents of web.xml, jars in lib and classes etc.) from standalone Tomcat to JBOSS tomcat directory. I could access the JSPs that are not making any call to the webservice. But when i tried accessing the Servlets that are making a call to the .NET webservice i am getting the following big exception. I tried searching on internet but of no use.
      I used Apache Axis to generate .java files from WSDL of the webservice.

      ----------------------------------------------------------

      17:10:41,190 ERROR [WSDDDeployment] Unable to deploy typemapping: {http://net.jboss.org/jmx}AttributeType
      java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.net.jmx.adaptor.AttributeSerFactory
      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:141)
      at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:216)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:179)
      at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:120)
      at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getSerializer(WSDDTypeMapping.java:256)
      at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:372)
      at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:570)
      at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:318)
      at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:325)
      at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:479)
      at org.apache.axis.client.Call.getTypeMapping(Call.java:2399)
      at org.apache.axis.client.Call.registerTypeMapping(Call.java:2436)
      at org.apache.axis.client.Call.registerTypeMapping(Call.java:2465)
      at com.microsoft.vsswebservice.Service_asmxSoapStub.createCall(Service_asmxSoapStub.java:499)
      at com.microsoft.vsswebservice.Service_asmxSoapStub.get(Service_asmxSoapStub.java:780)
      at GetServlet.doPost(GetServlet.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      at java.lang.Thread.run(Thread.java:534)
      17:10:41,190 ERROR [AxisEngine] ConfigurationException:
      org.apache.axis.deployment.wsdd.WSDDNonFatalException: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.net.jmx.adaptor.AttributeSerFactory
      java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.net.jmx.adaptor.AttributeSerFactory
      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:141)
      at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:216)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:179)
      at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:120)
      at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getSerializer(WSDDTypeMapping.java:256)
      at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:372)
      at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:570)
      at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:318)
      at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:325)
      at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:479)
      at org.apache.axis.client.Call.getTypeMapping(Call.java:2399)
      at org.apache.axis.client.Call.registerTypeMapping(Call.java:2436)
      at org.apache.axis.client.Call.registerTypeMapping(Call.java:2465)
      at com.microsoft.vsswebservice.Service_asmxSoapStub.createCall(Service_asmxSoapStub.java:499)
      at com.microsoft.vsswebservice.Service_asmxSoapStub.get(Service_asmxSoapStub.java:780)
      at GetServlet.doPost(GetServlet.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      at java.lang.Thread.run(Thread.java:534)

      org.apache.axis.deployment.wsdd.WSDDNonFatalException: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.net.jmx.adaptor.AttributeSerFactory
      java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.net.jmx.adaptor.AttributeSerFactory
      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:141)
      at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:216)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:179)
      at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:120)
      at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getSerializer(WSDDTypeMapping.java:256)
      at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:372)
      at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:570)
      at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:318)
      at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:325)
      at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:479)
      at org.apache.axis.client.Call.getTypeMapping(Call.java:2399)
      at org.apache.axis.client.Call.registerTypeMapping(Call.java:2436)
      at org.apache.axis.client.Call.registerTypeMapping(Call.java:2465)
      at com.microsoft.vsswebservice.Service_asmxSoapStub.createCall(Service_asmxSoapStub.java:499)
      at com.microsoft.vsswebservice.Service_asmxSoapStub.get(Service_asmxSoapStub.java:780)
      at GetServlet.doPost(GetServlet.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      at java.lang.Thread.run(Thread.java:534)

      at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:392)
      at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:570)
      at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:318)
      at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:325)
      at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:479)
      at org.apache.axis.client.Call.getTypeMapping(Call.java:2399)
      at org.apache.axis.client.Call.registerTypeMapping(Call.java:2436)
      at org.apache.axis.client.Call.registerTypeMapping(Call.java:2465)
      at com.microsoft.vsswebservice.Service_asmxSoapStub.createCall(Service_asmxSoapStub.java:499)
      at com.microsoft.vsswebservice.Service_asmxSoapStub.get(Service_asmxSoapStub.java:780)
      at GetServlet.doPost(GetServlet.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      at java.lang.Thread.run(Thread.java:534)

      at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:392)
      at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:570)
      at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:318)
      at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:325)
      at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:479)
      at org.apache.axis.client.Call.getTypeMapping(Call.java:2399)
      at org.apache.axis.client.Call.registerTypeMapping(Call.java:2436)
      at org.apache.axis.client.Call.registerTypeMapping(Call.java:2465)
      at com.microsoft.vsswebservice.Service_asmxSoapStub.createCall(Service_asmxSoapStub.java:499)
      at com.microsoft.vsswebservice.Service_asmxSoapStub.get(Service_asmxSoapStub.java:780)
      at GetServlet.doPost(GetServlet.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      at java.lang.Thread.run(Thread.java:534)
      17:10:41,190 INFO [STDOUT] In the remoteException:Failure trying to get the Call object; nested exception is:
      java.lang.NullPointerException

      -----------------------------------------------------
      This is bit urgent. Advance thanks for any help.

      Thanks,
      Krish.

        • 1. Re: Problem accessing .NET webservice from servlets
          Tyler Black Newbie

          You're missing a library for org.jboss.net client classes. Look in JBOSS_HOME/docs/examples/jboss.net/ directory and add the jboss-net-client.jar file to you classpath. I just copy it into my server configuration's lib directory.

          So if you're running your server in the all configuration, copy the .jar file into /server/all/lib/.

          You should be aware that jboss has taken over apache's axis project due to J2EE compliance issues. In JBoss 4.0.2 they have repacked things to be org.jboss.axis. I'm working on issues that this causes right now. What fun!

          • 2. Re: Problem accessing .NET webservice from servlets
            Anil Saldanha Master

             

            "Tyler Black" wrote:
            In JBoss 4.0.2 they have repacked things to be org.jboss.axis. I'm working on issues that this causes right now. What fun!


            Hey, we had to repackage it keeping customers like you in mind. Whenever you post a stacktrace involving axis, now we can know whether the user is using the axis version shipped with JBoss or is a seperate download integrated into Jboss(not recommended).

            This is just a one time exercise. So have fun doing it. ;-)

            • 3. Re: Problem accessing .NET webservice from servlets
              Tyler Black Newbie

              I can appreciate that, Anil. Speaking of stack traces...

              Using a default jboss configuration, I have an issue currently that a web service which we used before (JBoss 4.0.1sp1) will now puke an exception as follows:

               org.jboss.axis.ConfigurationException: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.webservice.client.ClientLoginHandler
              java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.webservice.client.ClientLoginHandler
               at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:292)
               at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475)
               at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377)
               at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
               at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
               at java.lang.Class.forName0(Native Method)
               at java.lang.Class.forName(Class.java:141)
               at org.jboss.axis.utils.ClassUtils$2.run(ClassUtils.java:216)
               at java.security.AccessController.doPrivileged(Native Method)
               at org.jboss.axis.utils.ClassUtils.loadClass(ClassUtils.java:179)
               at org.jboss.axis.utils.ClassUtils.forName(ClassUtils.java:120)
               at org.jboss.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:418)
               at org.jboss.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:347)
               at org.jboss.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:322)
               at org.jboss.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:307)
               at org.jboss.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:167)
               at org.jboss.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:322)
               at org.jboss.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:307)
               at org.jboss.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:583)
               at org.jboss.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:326)
               at org.jboss.axis.AxisEngine.getGlobalRequest(AxisEngine.java:291)
               at org.jboss.axis.client.AxisClient.invoke(AxisClient.java:175)
               at org.jboss.axis.client.Call.invokeEngine(Call.java:3054)
               at org.jboss.axis.client.Call.invoke(Call.java:3039)
               at org.jboss.axis.client.Call.invoke(Call.java:2629)
               at org.jboss.axis.client.Call.invoke(Call.java:2538)
               at org.jboss.axis.client.Call.invokeInternal(Call.java:1976)
               at org.jboss.axis.client.Call.invoke(Call.java:1914)
              


              I see in jboss-ws4ee.sar/META-INF/axis-client-config.xml the following handler definition
              <handler name="ClientLoginHandler" type="java:org.jboss.webservice.handler.ClientLoginHandler"/>

              What is trying to call org.jboss.webservice.client.ClientLoginHandler? I can't find this class anywhere, so I'm not surprised that there's a ClassLoader error.

              Any help?

              Thanks

              • 4. Re: Problem accessing .NET webservice from servlets
                Anil Saldanha Master

                client/jboss-ws4ee-client.jar

                • 5. Re: Problem accessing .NET webservice from servlets
                  Tyler Black Newbie

                  Ah, see that's the point. jboss-ws4ee-client.jar has this class

                  org.jboss.webservice.handler.ClientLoginHandler


                  which is not the same as

                  org.jboss.webservice.client.ClientLoginHandler


                  The latter class is the cause of the problem. Why is this older class still being called and how can I fix it?

                  Thanks,

                  • 6. Re: Problem accessing .NET webservice from servlets
                    Anil Saldanha Master

                    Thanks to Jason for locating the relevant change that happened in CVS.

                    http://marc.theaimsgroup.com/?l=jboss-cvs-commits&m=109863231314461&w=2


                    Something is messed up in your distribution of 4.0.2 If ever there was such issues, our testsuite would have caught it. Is it possbile to start fresh wiht a fresh installation and bring in your deployment?

                    • 7. Re: Problem accessing .NET webservice from servlets
                      boss hugo Newbie

                      I'm using default conf from jboss 4.0.2.

                      I'm trying to access a .net webservice with java classes generated with WSDL2Java.
                      I've created a simple java test class that I can run from eclipse to try the webservice which works.

                      I have a j2ee application with a service that is trying to use the java files generated with WSDL2Java. When I call the service from within my code, I have the following error on my jboss console : (NB : I've read this post and put jboss-net-client.jar in my server/default/lib

                      15:41:38,794 WARN [EngineConfigurationFactoryFinder] Factory org.apache.axis.configuration.EngineConfigurationFactoryServlet Ignored: missing required method: public static EngineConfigurationFactory newFactory(Object).
                      15:41:38,794 WARN [EngineConfigurationFactoryFinder] Factory org.apache.axis.configuration.EngineConfigurationFactoryDefault Ignored: missing required method: public static EngineConfigurationFactory newFactory(Object).
                      15:41:38,795 ERROR [EngineConfigurationFactoryFinder] Unable to locate a valid EngineConfigurationFactory


                      I've tried with jboss-4.0.1sp1 and I ave a different error :

                      2005-06-04 12:52:23,650 ERROR [org.apache.axis.AxisEngine] ConfigurationException:
                      org.apache.axis.deployment.wsdd.WSDDException: javax.xml.rpc.JAXRPCException: Null serializer factory specified.
                      javax.xml.rpc.JAXRPCException: Null serializer factory specified.
                      at org.apache.axis.encoding.TypeMappingImpl.register(TypeMappingImpl.java:215)
                      at org.apache.axis.encoding.TypeMappingDelegate.register(TypeMappingDelegate.java:73)
                      at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:290)
                      at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:446)
                      at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:262)
                      at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:348)
                      at org.apache.axis.client.Service.getTypeMappingRegistry(Service.java:704)
                      at org.apache.axis.client.Service.setTypeMappingVersion(Service.java:904)
                      ...

                      any idea?

                      Thanks a lot for your answers

                      • 8. Re: Problem accessing .NET webservice from servlets
                        Tyler Black Newbie

                        What libraries are you using to generate your java classes? Your 4.0.2 log snip with "org.apache.axis" indicates that you've used a different version of axis than the one packaged with jboss 4.0.2.

                        Have a look in jboss/server/default/deploy/jboss-ws4ee.sar for the axis libraries to use with WSDL2Java.

                        • 9. Re: Problem accessing .NET webservice from servlets
                          beyarecords Novice

                          I'm using the default conf in Jboss 4.0.2 (OS X 10.4.5) and am trying to access the paypals webservice. From earlier replies here it seems i'm having an axis issue as well. What do I need to do to resolve this?


                          09:20:51,610 WARN [EngineConfigurationFactoryFinder] Factory org.apache.axis.configuration.EngineConfigurationFactoryServlet Ignored: missing required method: public static EngineConfigurationFactory newFactory(Object).
                          09:20:51,617 WARN [EngineConfigurationFactoryFinder] Factory org.apache.axis.configuration.EngineConfigurationFactoryDefault Ignored: missing required method: public static EngineConfigurationFactory newFactory(Object).
                          09:20:52,758 WARN [EngineConfigurationFactoryFinder] Factory org.apache.axis.configuration.EngineConfigurationFactoryServlet Ignored: missing required method: public static EngineConfigurationFactory newFactory(Object).
                          09:20:52,758 WARN [EngineConfigurationFactoryFinder] Factory org.apache.axis.configuration.EngineConfigurationFactoryDefault Ignored: missing required method: public static EngineConfigurationFactory newFactory(Object).
                          09:20:53,857 INFO [APICaller] doDirectPayment sent
                          09:20:54,624 ERROR [TransactionException] ; nested exception is:
                          java.lang.ClassCastException
                          java.lang.reflect.InvocationTargetException
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at com.paypal.sdk.core.AxisAPICaller.callSOAP(Unknown Source)
                          at com.paypal.sdk.core.AxisAPICaller.call(Unknown Source)
                          at com.paypal.sdk.services.CallerServices.call(Unknown Source)
                          at test.paypalresponse.DoDirectPayment(test.paypalresponse:32)
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
                          at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
                          at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:1134)
                          at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190)
                          at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138)
                          at org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121)
                          at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
                          at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1591)
                          at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:843)
                          at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:123)
                          at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                          at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:97)
                          at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
                          at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
                          at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                          at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
                          at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                          at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
                          at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
                          at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
                          at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
                          at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
                          at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
                          at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
                          at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                          at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
                          at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                          at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
                          at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
                          at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
                          at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
                          at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
                          at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
                          at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                          at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
                          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
                          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
                          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
                          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
                          at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                          at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                          at java.lang.Thread.run(Thread.java:552)
                          Caused by: java.lang.ClassCastException
                          at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
                          at org.apache.axis.client.Call.invoke(Call.java:1828)
                          at com.paypal.soap.api.PayPalAPIAASoapBindingStub.doDirectPayment(Unknown Source)
                          ... 65 more
                          Caused by: java.lang.ClassCastException
                          at org.apache.axis.Message.setup(Message.java:352)
                          at org.apache.axis.Message.<init>(Message.java:246)
                          at org.apache.axis.client.Call.invoke(Call.java:2425)
                          at org.apache.axis.client.Call.invoke(Call.java:2366)
                          at org.apache.axis.client.Call.invoke(Call.java:1812)
                          ... 66 more



                          Thanks

                          • 10. Re: Problem accessing .NET webservice from servlets
                            beyarecords Novice

                            If I add jboss-net-client.jar to the classpath I get the following error logs:


                            12:46:08,772 WARN [EngineConfigurationFactoryFinder] Factory org.apache.axis.configuration.EngineConfigurationFactoryServlet Ignored: missing required method: public static EngineConfigurationFactory newFactory(Object).
                            12:46:08,778 WARN [EngineConfigurationFactoryFinder] Factory org.apache.axis.configuration.EngineConfigurationFactoryDefault Ignored: missing required method: public static EngineConfigurationFactory newFactory(Object).
                            12:46:09,319 ERROR [AxisEngine] ConfigurationException:
                            org.apache.axis.deployment.wsdd.WSDDException: java.lang.ClassCastException
                            java.lang.ClassCastException
                            at org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(BaseSerializerFactory.java:277)
                            at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:286)
                            at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:462)
                            at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:262)
                            at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:348)
                            at org.apache.axis.client.Service.getTypeMappingRegistry(Service.java:705)
                            at org.apache.axis.client.Service.setTypeMappingVersion(Service.java:905)
                            at com.paypal.soap.api.PayPalAPIAASoapBindingStub.<init>(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIAASoapBindingStub.<init>(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIInterfaceServiceLocator.getPayPalAPIAA(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIInterfaceServiceLocator.getPayPalAPIAA(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIInterfaceServiceLocator.getPort(Unknown Source)
                            at com.paypal.sdk.core.AxisAPICaller.setupConnection(Unknown Source)
                            at com.paypal.sdk.core.APICaller.setProfile(Unknown Source)
                            at com.paypal.sdk.services.CallerServices.setAPIProfile(Unknown Source)
                            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                            at java.lang.reflect.Method.invoke(Method.java:324)
                            at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
                            at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
                            at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:1134)
                            at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190)
                            at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138)
                            at org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121)
                            at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
                            at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1591)
                            at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:843)
                            at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:123)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:97)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
                            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
                            at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
                            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
                            at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
                            at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
                            at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                            at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
                            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
                            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
                            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
                            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
                            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                            at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                            at java.lang.Thread.run(Thread.java:552)

                            org.apache.axis.deployment.wsdd.WSDDException: java.lang.ClassCastException
                            java.lang.ClassCastException
                            at org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(BaseSerializerFactory.java:277)
                            at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:286)
                            at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:462)
                            at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:262)
                            at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:348)
                            at org.apache.axis.client.Service.getTypeMappingRegistry(Service.java:705)
                            at org.apache.axis.client.Service.setTypeMappingVersion(Service.java:905)
                            at com.paypal.soap.api.PayPalAPIAASoapBindingStub.<init>(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIAASoapBindingStub.<init>(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIInterfaceServiceLocator.getPayPalAPIAA(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIInterfaceServiceLocator.getPayPalAPIAA(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIInterfaceServiceLocator.getPort(Unknown Source)
                            at com.paypal.sdk.core.AxisAPICaller.setupConnection(Unknown Source)
                            at com.paypal.sdk.core.APICaller.setProfile(Unknown Source)
                            at com.paypal.sdk.services.CallerServices.setAPIProfile(Unknown Source)
                            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                            at java.lang.reflect.Method.invoke(Method.java:324)
                            at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
                            at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
                            at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:1134)
                            at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190)
                            at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138)
                            at org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121)
                            at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
                            at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1591)
                            at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:843)
                            at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:123)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:97)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
                            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
                            at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
                            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
                            at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
                            at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
                            at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                            at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
                            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
                            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
                            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
                            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
                            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                            at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                            at java.lang.Thread.run(Thread.java:552)

                            at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:312)
                            at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:462)
                            at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:262)
                            at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:348)
                            at org.apache.axis.client.Service.getTypeMappingRegistry(Service.java:705)
                            at org.apache.axis.client.Service.setTypeMappingVersion(Service.java:905)
                            at com.paypal.soap.api.PayPalAPIAASoapBindingStub.<init>(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIAASoapBindingStub.<init>(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIInterfaceServiceLocator.getPayPalAPIAA(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIInterfaceServiceLocator.getPayPalAPIAA(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIInterfaceServiceLocator.getPort(Unknown Source)
                            at com.paypal.sdk.core.AxisAPICaller.setupConnection(Unknown Source)
                            at com.paypal.sdk.core.APICaller.setProfile(Unknown Source)
                            at com.paypal.sdk.services.CallerServices.setAPIProfile(Unknown Source)
                            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                            at java.lang.reflect.Method.invoke(Method.java:324)
                            at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
                            at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
                            at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:1134)
                            at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190)
                            at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138)
                            at org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121)
                            at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
                            at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1591)
                            at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:843)
                            at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:123)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:97)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
                            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
                            at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
                            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
                            at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
                            at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
                            at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                            at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
                            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
                            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
                            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
                            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
                            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                            at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                            at java.lang.Thread.run(Thread.java:552)

                            at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:312)
                            at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:462)
                            at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:262)
                            at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:348)
                            at org.apache.axis.client.Service.getTypeMappingRegistry(Service.java:705)
                            at org.apache.axis.client.Service.setTypeMappingVersion(Service.java:905)
                            at com.paypal.soap.api.PayPalAPIAASoapBindingStub.<init>(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIAASoapBindingStub.<init>(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIInterfaceServiceLocator.getPayPalAPIAA(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIInterfaceServiceLocator.getPayPalAPIAA(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIInterfaceServiceLocator.getPort(Unknown Source)
                            at com.paypal.sdk.core.AxisAPICaller.setupConnection(Unknown Source)
                            at com.paypal.sdk.core.APICaller.setProfile(Unknown Source)
                            at com.paypal.sdk.services.CallerServices.setAPIProfile(Unknown Source)
                            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                            at java.lang.reflect.Method.invoke(Method.java:324)
                            at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
                            at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
                            at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:1134)
                            at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190)
                            at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138)
                            at org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121)
                            at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
                            at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1591)
                            at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:843)
                            at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:123)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:97)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
                            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
                            at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
                            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
                            at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
                            at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
                            at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                            at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
                            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
                            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
                            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
                            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
                            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                            at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                            at java.lang.Thread.run(Thread.java:552)
                            12:46:09,324 FATAL [FatalException] Unable to establish SOAP connection
                            java.lang.NullPointerException
                            at org.apache.axis.client.Service.setTypeMappingVersion(Service.java:905)
                            at com.paypal.soap.api.PayPalAPIAASoapBindingStub.<init>(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIAASoapBindingStub.<init>(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIInterfaceServiceLocator.getPayPalAPIAA(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIInterfaceServiceLocator.getPayPalAPIAA(Unknown Source)
                            at com.paypal.soap.api.PayPalAPIInterfaceServiceLocator.getPort(Unknown Source)
                            at com.paypal.sdk.core.AxisAPICaller.setupConnection(Unknown Source)
                            at com.paypal.sdk.core.APICaller.setProfile(Unknown Source)
                            at com.paypal.sdk.services.CallerServices.setAPIProfile(Unknown Source)
                            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                            at java.lang.reflect.Method.invoke(Method.java:324)
                            at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
                            at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
                            at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:1134)
                            at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190)
                            at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138)
                            at org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121)
                            at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
                            at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1591)
                            at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:843)
                            at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:123)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:97)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
                            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
                            at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
                            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
                            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
                            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
                            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
                            at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
                            at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
                            at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                            at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
                            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
                            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
                            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
                            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
                            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                            at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                            at java.lang.Thread.run(Thread.java:552)



                            The PayPaL Java SDK client-config.wsdd reads as:


                            <?xml version="1.0" encoding="UTF-8"?>
                            <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
                            <globalConfiguration>
                            <parameter name="disablePrettyXML" value="true"/>
                            <parameter name="sendXsiTypes" value="true"/>
                            <parameter name="sendMultiRefs" value="true"/>
                            <parameter name="sendXMLDeclaration" value="true"/>
                            <requestFlow>
                            <handler type="java:com.paypal.sdk.logging.DefaultSOAPHandler" />
                            </requestFlow>
                            <responseFlow>
                            <handler type="java:com.paypal.sdk.logging.DefaultSOAPHandler" />
                            </responseFlow>
                            </globalConfiguration>

                            <transport name="http" pivot="java:org.apache.axis.transport.http.HTTPSender"/>

                            </deployment>


                            Do I need to makes any ammendments to this file? Can anyone suggest a solution for this issue?

                            Thanks