org.apache.axis2.deployment.DeploymentException: A ClassNotFoundException error
occurred in loading the message receiver
com.server.QuizServiceMessageReceiverInOut
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: WSAS-649
URL: http://wso2.org/jira/browse/WSAS-649
Project: WSO2 WSAS
Issue Type: Task
Environment: debian sid, tomcat 5.5(and also Axis2 Standalone Server),
axis2 1.3
Reporter: Nicola Azzini
Assigned To: Afkham Azeez
The axis2 page of listServices shows a fault when i try to develop the
webservice called QuizService.
The web service has been deployed following the hints of the example2 of the
Jibx2wsdl project
(http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/jibx2wsdl).
The webservice of the example2 has been successfully deployed by both
containers.
The exact exception described in the error page is:
Error: org.apache.axis2.deployment.DeploymentException: A
ClassNotFoundException error occurred in loading the message receiver
com.server.QuizServiceMessageReceiverInOut at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:144)
at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:78)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:137)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:571)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:141)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:318)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:220)
at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:312)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:64)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:71)
at
org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:83)
at java.util.TimerThread.mainLoop(Timer.java:512) at
java.util.TimerThread.run(Timer.java:462) Caused by:
org.apache.axis2.deployment.DeploymentException: A ClassNotFoundException error
occurred in loading the message receiver
com.server.QuizServiceMessageReceiverInOut at
org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:103)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:137)
... 12 more Caused by: org.apache.axis2.deployment.DeploymentException: A
ClassNotFoundException error occurred in loading the message receiver
com.server.QuizServiceMessageReceiverInOut at
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:389)
at
org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
... 14 more Caused by: org.apache.axis2.deployment.DeploymentException: A
ClassNotFoundException error occurred in loading the message receiver
com.server.QuizServiceMessageReceiverInOut at
org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(DescriptionBuilder.java:194)
at
org.apache.axis2.deployment.DescriptionBuilder.processMessageReceivers(DescriptionBuilder.java:170)
at
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:245)
... 15 more Caused by: java.lang.ClassNotFoundException:
com.server.QuizServiceMessageReceiverInOut at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1362)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1208)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at
java.lang.Class.forName0(Native Method) at
java.lang.Class.forName(Class.java:169) at
org.apache.axis2.util.Loader.loadClass(Loader.java:261) at
org.apache.axis2.util.Loader.loadClass(Loader.java:229) at
org.apache.axis2.deployment.DescriptionBuilder.loadMessageReceiver(DescriptionBuilder.java:190)
... 17 more
I have already tried to copy all possible jars in webapps/axis2/WEB-INF/lib
directory.
I have already tried to include in the .aar file all possible jars.
But the result is always the same...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev