axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a f <tafa...@gmail.com>
Subject Please help for deploying Axis2 on SunOne Server
Date Thu, 19 Nov 2009 11:23:01 GMT
Dear all,

I am deploying Axis2 1.5 on SunOne 6.1 sp10 server. But I am having problems
due to clustering configuration in axis2.xml. Somehow, Axis2 is running
depending on Apache Tomcat. Since, my service can work without any problem
on Apache Tomcat server but not on SunOne server. When I deployed it on
SunOne server it is giving an exception as below:

javax.servlet.ServletException: WEB2778: Servlet.init() for servlet
AxisServlet threw exception
    at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:949)
    at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3553)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3841)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:260)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
----- Root Cause -----
*java.lang.NoClassDefFoundError: org/apache/catalina/tribes/ChannelException
*
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at
org.apache.axis2.deployment.ClusterBuilder.buildCluster(ClusterBuilder.java:71)
    at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:181)
    at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:641)
    at
org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxisConfigurator.java:157)
    at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:516)
    at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436)
    at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
    at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3553)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3841)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:260)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
Caused by: java.lang.ClassNotFoundException:
org.apache.catalina.tribes.ChannelException
    at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1465)
    at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1301)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    ... 21 more




*if I copy catalina-tribes.jar, which contains *ChannelException
class,*file from Apache Tomcat to my webapp's lib directory on SunOne,
I am getting
another type of exception as below:
*
failure ( 8636): for host 10.1.5.15 trying to GET
/TESTCM/services/ABCServices22/getUserInformation, service-j2ee reports:
StandardWrapperValve[AxisServlet]: WEB2792: Servlet.service() for servlet
AxisServlet threw exception
java.lang.NullPointerException
    at
org.apache.axis2.clustering.context.DefaultContextManager.updateContexts(DefaultContextManager.java:81)
    at
org.apache.axis2.clustering.context.Replicator.replicate(Replicator.java:81)
    at
org.apache.axis2.receivers.AbstractMessageReceiver.replicateState(AbstractMessageReceiver.java:71)
    at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:41)
    at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
    at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
    at
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:136)
    at
org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:130)
    at
org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:829)
    at
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:255)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:787)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at
org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at
com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:579)


I really appreciate any helps and comments on this.

thank you.

-- fatih

Mime
View raw message