[kepler-users] problem installing KeplerWebService

Frank White fwhite at optensity.com
Thu Jan 20 08:04:43 PST 2011


Hello All:

I've been using Kepler / Ptolemy II for about a year, and I have found 
it to be a most elegant concept that has grown into a unique and very 
useful capability.  I am particularly impressed with the number of very 
diverse communities of practice that are using and sharing their actors 
and workflows, and hope to contribute soon as well.   Well done, all !!

I am attempting to implement an instance of the Kepler Web Service, and 
I'm having some difficulty getting it to install correctly.  I believe I 
have followed the instructions in 
'the-overview-of-the-workflow-run-engine-component' faithfully.  Axis2 
installs into Tomcat5 and verifies correctly, and 'ant clean 
deployToTomcat' completes successfully.

When I then immediately view the axis2 URL, KeplerWebService shows up 
under 'Faulty Services', and when I follow the link, it shows the 
exception below (taken from the catalina.out log file) which indicates 
that the axis2 deployment classloader can't find 
ptolemy.kernel.util.NamedObj.  I verified that 'ant deployToTomcat' did 
in fact copy ptolemy.jar (and many many others) to 
$CATALINA_WEB/axis2/WEB-INF/lib, and that 
ptolemy/kernel/util/NamedObj.class is in fact included in ptolemy.jar.

Has anyone seen this behavior before?

Any thoughts how I might diagnose / remedy the problem would be greatly 
appreciated.

Thanks,
Frank

[INFO] The KeplerWebService.aar service, which is not valid, caused 
java.lang.NoClassDefFoundError: ptolemy/kernel/util/NamedObj
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:265)
         at 
org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.<init>(DefaultSchemaGenerator.java:136)
         at 
org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:499)
         at 
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:390)
         at 
org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:101)
         at 
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:143)
         at 
org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81)
         at 
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
         at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)
         at 
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
         at 
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:337)
         at 
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:241)
         at 
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:331)
         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:90)
         at java.util.TimerThread.mainLoop(Timer.java:544)
         at java.util.TimerThread.run(Timer.java:494)
Caused by: java.lang.ClassNotFoundException: Class Not found : 
ptolemy.kernel.util.NamedObj
         at 
org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:86)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:324)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:269)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:337)






More information about the Kepler-users mailing list