axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <dee...@opensource.lk>
Subject Re: Deploying Axis2 on IBM p720
Date Mon, 24 Jan 2011 15:26:51 GMT
Do you have correct addressing module in modules directory?

Deepal

On 1/24/2011 10:22 AM, April Easton wrote:
> Below is the full stack trace:
>
> Localhost log file for Jan 11, 2011.
> Jan 11, 2011 10:56:27 AM org.apache.catalina.core.StandardContext loadOnStartup
> SEVERE: Servlet /axis2 threw load() exception
> Throwable occurred: org.apache.axis2.AxisFault: The system is attempting to engage a
module that is not available: addressing
>         at org.apache.axis2.engine.AxisConfiguration.engageModule(AxisConfiguration.java:512)
>         at org.apache.axis2.engine.AxisConfiguration.engageGlobalModules(AxisConfiguration.java:639)
>         at org.apache.axis2.deployment.DeploymentEngine.engageModules(DeploymentEngine.java:679)
>         at org.apache.axis2.deployment.WarBasedAxisConfigurator.engageGlobalModules(WarBasedAxisConfigurator.java:301)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:94)
>         at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:567)
>         at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:452)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
>         at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3099)
>         at org.apache.catalina.manager.ManagerServlet.reload(ManagerServlet.java:916)
>         at org.apache.catalina.manager.HTMLManagerServlet.reload(HTMLManagerServlet.java:536)
>         at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:114)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
>         at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:421)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:736)
>
> Catalina.out log file
> INFO: Starting service Catalina
> Jan 11, 2011 5:10:08 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
> [INFO] Deploying module: metadataExchange-1.5.5-SNAPSHOT - file:/usr/local/apache-tomcat/webapps/axis2/WEB-INF/modules/mex-1.5.5-SNAPSHOT.mar
> [INFO] Deploying module: soapmonitor-1.5.5-SNAPSHOT - file:/usr/local/apache-tomcat/webapps/axis2/WEB-INF/modules/soapmonitor-1.5.5-SNAPSHOT.mar
> [INFO] Deploying module: script-1.5.5-SNAPSHOT - file:/usr/local/apache-tomcat/webapps/axis2/WEB-INF/modules/scripting-1.5.5-SNAPSHOT.mar
> [INFO] Deploying module: mtompolicy-1.5.5-SNAPSHOT - file:/usr/local/apache-tomcat/webapps/axis2/WEB-INF/modules/mtompolicy-1.5.5-SNAPSHOT.mar
> [INFO] Deploying module: ping-1.5.5-SNAPSHOT - file:/usr/local/apache-tomcat/webapps/axis2/WEB-INF/modules/ping-1.5.5-SNAPSHOT.mar
> [INFO] Deploying module: jaxws-1.5.5-SNAPSHOT - file:/usr/local/apache-tomcat/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.5.5-SNAPSHOT.mar
> log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender"
variable.
> log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
> log4j:ERROR [org.apache.catalina.loader.StandardClassLoader@50d650d6] whereas object
of type
> log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [WebappClassLoader
>   delegate: false
>   repositories:
>     /WEB-INF/classes/
> ----------> Parent Classloader:
> org.apache.catalina.loader.StandardClassLoader@50d650d6
> ].
> log4j:ERROR Could not instantiate appender named "CONSOLE".
> [ERROR] The addressing-1.5.5-SNAPSHOT.mar module, which is not valid, caused org.apache.axis2.handlers.addressing.AddressingInHandler
incompatible with org.apache.axis2.engine.Handler
> java.lang.ClassCastException: org.apache.axis2.handlers.addressing.AddressingInHandler
incompatible with org.apache.axis2.engine.Handler
>         at org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:93)
>         at org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:533)
>         at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:78)
>         at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
>         at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:661)
>         at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:251)
>         at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68)
>         at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)
>         at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)
>         at org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
>         at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:567)
>         at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:452)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:600)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> [ERROR] The axis2-SNAPSHOT.jar module, which is not valid, caused org.apache.axis2.handlers.addressing.AddressingInHandler
incompatible with org.apache.axis2.engine.Handler
>         at org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:93)
>         at org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:533)
>         at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:78)
>         at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
>         at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:661)
>         at org.apache.axis2.deployment.RepositoryListener.loadClassPathModules(RepositoryListener.java:209)
>         at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:70)
>         at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)
>         at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)
>         at org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(WarBasedAxisConfigurator.java:229)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
>         at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:567)
>         at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:452)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:600)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> [INFO] org.apache.axis2.AxisFault: The system is attempting to engage a module that is
not available: addressing
>
> Thanks,
> April
>
> -----Original Message-----
> From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
> Sent: Saturday, January 22, 2011 9:14 AM
> To: java-user@axis.apache.org
> Subject: Re: Deploying Axis2 on IBM p720
>
> Do you have the complete stacktrace of the "The system is attempting
> to engage a module that is not available: addressing" error?
>
> Andreas
>
> On Wed, Jan 12, 2011 at 00:03, April Easton <AEaston@shawneecourt.org> wrote:
>> Yes, I am running Tomcat 6.0.18 on both the IBM and a X86_64 machine.  The X86_64
machine runs great.
>>
>> Thanks,
>> April
>>
>> -----Original Message-----
>> From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
>> Sent: Monday, January 10, 2011 3:11 PM
>> To: java-user@axis.apache.org
>> Subject: Re: Deploying Axis2 on IBM p720
>>
>> April,
>>
>> I've merged the change to the 1.5 branch and it is now available in
>> the 1.5.5-SNAPSHOT build:
>>
>> https://hudson.apache.org/hudson/job/axis2-1.5/lastBuild/org.apache.axis2$distribution/
>>
>> Can you test with that one so that we can confirm that this was indeed
>> the issue?
>>
>> As pointed out by Amila, you can disable the clustering feature by
>> editing your axis2.xml file.
>>
>> Andreas
>>
>> On Fri, Jan 7, 2011 at 15:06, April Easton <AEaston@shawneecourt.org> wrote:
>>> I downloaded the snapshot axis2-SNAPSHOT.jar and renamed all the axis2 1.5.3
jars to .old.  The log4j error is gone and the axis2 Happiness Page comes up valid, but now
I get the following error and the services won't load:
>>>
>>> [ERROR] Clustering implementation class org.apache.axis2.clustering.tribes.TribesClusterManager
not found
>>> org.apache.axis2.deployment.DeploymentException: Clustering implementation class
org.apache.axis2.clustering.tribes.TribesClusterManager not found
>>>
>>>
>>> April
>>>
>>> -----Original Message-----
>>> From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
>>> Sent: Tuesday, January 04, 2011 3:52 PM
>>> To: java-user@axis.apache.org
>>> Subject: Re: Deploying Axis2 on IBM p720
>>>
>>> Could be related to AXIS2-4620. That JIRA issue describes a change to
>>> the logging stuff in AxisServlet done by the IBM people and the
>>> rationale of which I never really understood. Maybe this is a
>>> workaround for some obscure issue occurring in the IBM JRE and that
>>> may help in your case as well. AXIS2-4620 was only fixed on the trunk,
>>> but not the 1.5 branch. You will need to test this with a recent
>>> snapshot build [1]. If you confirm that the snapshot works, then we
>>> can attempt to merge the change to the 1.5 branch to include it into
>>> Axis2 1.5.5.
>>>
>>> Andreas
>>>
>>> [1] http://axis.apache.org/axis2/java/core/faq.html#a1
>>>
>>> On Tue, Jan 4, 2011 at 18:33, April Easton <AEaston@shawneecourt.org> wrote:
>>>> Good day,
>>>>
>>>>      I have successfully deployed axis2 v. 1.5.3 on an X86_64 machine.  Now,
>>>> I need to deploy axis2 on an IBM p720 ppc64 machine which currently has a
>>>> working axis application on it.   I have copied the axis2 files to this
>>>> machine and am unable to get this deployed properly.  I am receiving 2
>>>> errors. The first one is in the catalina.out file and is a log4j error as
>>>> follows
>>>>
>>>> log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable
to
>>>> a "org.apache.log4j.Appender" variable.
>>>>
>>>> log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
>>>>
>>>> log4j:ERROR [org.apache.catalina.loader.StandardClassLoader@6a636a63]
>>>> whereas object of type
>>>>
>>>> log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by
>>>> [WebappClassLoader
>>>>
>>>>   delegate: false
>>>>
>>>>   repositories:
>>>>
>>>>     /WEB-INF/classes/
>>>>
>>>> ----------> Parent Classloader:
>>>>
>>>> org.apache.catalina.loader.StandardClassLoader@6a636a63
>>>>
>>>> ].
>>>>
>>>> log4j:ERROR Could not instantiate appender named "CONSOLE"
>>>>
>>>>
>>>>
>>>> The second one I receive in the localhost log is
>>>>
>>>> SEVERE: Servlet /axis2 threw load() exception Throwable occurred:
>>>> java.lang.ClassCastException:
>>>> org.apache.axis2.clustering.tribes.TribesClusterManager incompatible with
>>>> org.apache.axis2.clustering.ClusterManager
>>>>
>>>>
>>>>
>>>>  I have searched the web and could not find the error in the localhost log.
>>>> I found the log4j error, but  don't remember having this issue on the
>>>> development machine.  Is this because I'm running axis and axis2 on the same
>>>> Tomcat installation?  I have double checked the jar files and they look ok.
>>>> What should I be looking for?
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> April Easton
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-user-help@axis.apache.org
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-user-help@axis.apache.org
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Mime
View raw message