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.
Thanks for letting us know about this error... Axis2 module versioning
system seems to have changed over time... I'm going to rename the
modules as kandula_inflow & kandula_outflow...


But when I visited
http://localhost:8080/axis2/services/listServices,
KandulaDemoService.aar and KandulaBADemoService.aar reported errors:
KandulaDemeService are meant to be used for the integration testing..
So we were not packing the related classes to the service archive,
rather have them in just the test-classes classpath...  I'll fix this
by copying the necessary class files to the service archive... For the
moment you can extract the archive and then repack it by having the
"org" folder of target/test-classes directory in the top-level as
META-INF..

Thanks,
Thilina


Error: org.apache.axis2.deployment.DeploymentException:
Processing Operations Modules with an error of The following error occurred
during schema generation: java.lang.ClassNotFoundExceptio n: 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$SchedulerT
imerTask.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



--
Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to