axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravi Kumar Verma <RV00360...@TechMahindra.com>
Subject RE: faulty services
Date Mon, 27 Apr 2015 07:51:28 GMT
Hi,
I am getting the following issue while deploying an aar file in axis2.
Error: java.lang.NoClassDefFoundError: org/apache/axis2/receivers/AbstractInOutMessageReceiver
at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown
Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown
Source) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2888)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1172) at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.axis2.util.Loader.loadClass(Loader.java:158)
at org.apache.axis2.util.Loader.loadClass(Loader.java:130) at org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(DescriptionBuilder.java:175)
at org.apache.axis2.deployment.DescriptionBuilder.processMessageReceivers(DescriptionBuilder.java:155)
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:200) at
org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:96)
at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:99)
at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:133)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:528) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:196)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:227) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:174)
at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:88) at
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:252)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:72)
at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:392) at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:331) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5123) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5407)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown
Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown
Source) Caused by: java.lang.ClassNotFoundException: org.apache.axis2.receivers.AbstractInOutMessageReceiver
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1713) at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558) ... 44
more

Whats the workaround for this?



From: Deepal jayasinghe [mailto:deepalk@gmail.com]
Sent: Thursday, April 23, 2015 12:52 PM
To: java-dev@axis.apache.org
Subject: Re: faulty services

Do those classes have any external dependencies ? if so add them under libs directory.

Deepal
Hi,
I have checked inside the aar file. The class “ProductionMessageReceiverInOut” exists
inside the  folder hierarchy in the form  of .class file.
Whats the workaround for that ?
Regards

From: Deepal jayasinghe [mailto:deepalk@gmail.com]
Sent: Thursday, April 23, 2015 11:11 AM
To: java-dev@axis.apache.org<mailto:java-dev@axis.apache.org>
Subject: Re: faulty services

As I can see your service aar file is missing some classes. Make sure all the required classes
are there in the aar file.

Deepal
Hi,
I have the following issue
Faulty Services
/home/cecadmin/apache-tomcat-5.5.20/webapps/axis2/WEB-INF/services/Production.aar<http://10.10.155.152:6080/axis2/services/ListFaultyServices?serviceName=/home/cecadmin/apache-tomcat-5.5.20/webapps/axis2/WEB-INF/services/Production.aar>
On clicking to the above link ,I am getting the error below ,whats the issue?
This Web axisService has deployment faults
Error: org.apache.axis2.deployment.DeploymentException: Processing Operations Modules ClassNotFoundException
Error in loading message receiver au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
Error in loading message receiver au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: org.apache.axis2.deployment.DeploymentException: Processing Operations
Modules ClassNotFoundException Error in loading message receiver au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
Error in loading message receiver au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: org.apache.axis2.deployment.DeploymentException: Processing Operations
Modules ClassNotFoundException Error in loading message receiver au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
Error in loading message receiver au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: org.apache.axis2.deployment.DeploymentException: Processing Operations
Modules ClassNotFoundException Error in loading message receiver au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
Error in loading message receiver au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut
at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:139)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:528) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:196)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:227) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:174)
at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:88) at
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:252)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:72)
at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:392) at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:331) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4225) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551) 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:592)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: org.apache.axis2.deployment.DeploymentException: Processing Operations Modules
ClassNotFoundException Error in loading message receiver au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
Error in loading message receiver au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: org.apache.axis2.deployment.DeploymentException: Processing Operations
Modules ClassNotFoundException Error in loading message receiver au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
Error in loading message receiver au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut
at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:99)
at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:133)
... 35 more Caused by: org.apache.axis2.deployment.DeploymentException: Processing Operations
Modules ClassNotFoundException Error in loading message receiver au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
Error in loading message receiver au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:332) at
org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:96)
... 37 more Caused by: org.apache.axis2.deployment.DeploymentException: ClassNotFoundException
Error in loading message receiver au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut;
nested exception is: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut
at org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(DescriptionBuilder.java:179)
at org.apache.axis2.deployment.DescriptionBuilder.processMessageReceivers(DescriptionBuilder.java:155)
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:200) ...
38 more Caused by: java.lang.ClassNotFoundException: au.com.vodafone.mnp.pas_ws._1_0.ProductionMessageReceiverInOut
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355) at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.apache.axis2.util.Loader.loadClass(Loader.java:158)
at org.apache.axis2.util.Loader.loadClass(Loader.java:130) at org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(DescriptionBuilder.java:175)
... 40 more

________________________________
============================================================================================================================
Disclaimer: This message and the information contained herein is proprietary and confidential
and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html
externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================

________________________________
============================================================================================================================
Disclaimer: This message and the information contained herein is proprietary and confidential
and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html
externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================



============================================================================================================================
Disclaimer:  This message and the information contained herein is proprietary and confidential
and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html
externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================

Mime
View raw message