Hi, all

I downloaded axis2-1.2 and checkout the kandula2(Revision 535403) source
code from the cvs server. After maven build I got kandula2-SNAPSHOT.jar,
kandula-inflow-SNAPSHOT.mar, kandula-outflow-SNAPSHOT.mar and some *.aar
files. I copied  kandula2-SNAPSHOT.jar to %AXIS_DEPLOY%/WEB-INF/lib,
*.mar to %AXIS_DEPLOY%/WEB-INF/modules and *.aar to
%AXIS_DEPLOY%/WEB-INF/services. But when I started tomcat the cosole printed
an error message that 'java.lang.NumberFormatException : For input string:
"outflow": loading repository from classpath'. So I changed the
kandula-inflow-SNAPSHOT.mar to kandula-outflow-1.0.mar and
kandula-outflow-SNAPSHOT.mar to kandula-outflow-1.0.mar, and this time the
console has no error message.

But when I visited http://localhost:8080/axis2/services/listServices,
KandulaDemoService.aar and KandulaBADemoService.aar reported errors:

Error: org.apache.axis2.deployment.DeploymentException: Processing
Operations Modules with an error of The following error occurred during
schema generation: java.lang.ClassNotFoundException: Class Not found :
org.apache.kandula.integration.KandulaDemoService at
org.apache.axis2.deployment.repository.util.ArchiveReader
.processServiceGroup(ArchiveReader.java:147) at org.apache.axis2.deployment
.ServiceDeployer.deploy(ServiceDeployer.java:79) at
org.apache.axis2.deployment.DeploymentEngine.doDeploy
(DeploymentEngine.java:582)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(
WSInfoList.java:201) at org.apache.axis2.deployment
.RepositoryListener.update(RepositoryListener.java:271) at
org.apache.axis2.deployment.RepositoryListener.checkServices (
RepositoryListener.java:189) at org.apache.axis2.deployment
.RepositoryListener.startListener(RepositoryListener.java:265) at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(
SchedulerTask.java:61) at
org.apache.axis2.deployment.scheduler.SchedulerTask.run
(SchedulerTask.java:68) at org.apache.axis2.deployment
.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:76) at
java.util.TimerThread.mainLoop(Unknown Source) at
java.util.TimerThread.run(Unknown
Source) Caused by: org.apache.axis2.deployment.DeploymentException:
Processing Operations Modules with an error of The following error occurred
during schema generation: java.lang.ClassNotFoundException: Class Not found
: org.apache.kandula.integration.KandulaDemoService at
org.apache.axis2.deployment.ServiceBuilder.populateService(
ServiceBuilder.java:381) at org.apache.axis2.deployment
.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:98) at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup
(ArchiveReader.java:140) ... 11 more Caused by:
org.apache.axis2.deployment.DeploymentException:
The following error occurred during schema generation:
java.lang.ClassNotFoundException: Class Not found :
org.apache.kandula.integration.KandulaDemoService at
org.apache.axis2.deployment.ServiceBuilder.populateService(
ServiceBuilder.java:346) ... 13 more Caused by: java.lang.RuntimeException:
java.lang.ClassNotFoundException: Class Not found :
org.apache.kandula.integration.KandulaDemoService at
org.apache.axis2.deployment.DeploymentClassLoader.findClass(
DeploymentClassLoader.java:88) at java.lang.ClassLoader.loadClass(Unknown
Source) at java.lang.ClassLoader.loadClass(Unknown Source) at
java.lang.ClassLoader.loadClassInternal (Unknown Source) at
java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown
Source) at org.apache.ws.java2wsdl.SchemaGenerator.(SchemaGenerator.java:121)
at org.apache.axis2.deployment.util.Utils.fillAxisService (Utils.java:306)
at org.apache.axis2.deployment.ServiceBuilder.populateService(
ServiceBuilder.java:339) ... 13 more Caused by:
java.lang.ClassNotFoundException: Class Not found :
org.apache.kandula.integration.KandulaDemoService at
org.apache.axis2.deployment.DeploymentClassLoader.findClass(
DeploymentClassLoader.java:84) ... 21 more

Could anyone help me to solve this? Thanks!

Best Regards
Kevin Cheung

Reply via email to