oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Alan Mattmann <mattm...@usc.edu>
Subject Re: Issue with OODT cas-pge
Date Fri, 07 Nov 2014 14:54:20 GMT
Hi Jarin,

You need the cas-pge 0.7 jar inside of workflow/lib and
resmgr/lib (along with cas-crawler, cas-filemgr, and
cas-workflow).

HTH,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Adjunct Associate Professor, Computer Science Department
University of Southern California
Los Angeles, CA 90089 USA
Email: mattmann@usc.edu
WWW: http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++




-----Original Message-----
From: Jarin Nitin Shah <jarinnis@usc.edu>
Date: Friday, November 7, 2014 at 1:26 AM
To: Chris Mattmann <mattmann@usc.edu>
Cc: "hemnani@usc.edu" <hemnani@usc.edu>, "apraj@usc.edu" <apraj@usc.edu>
Subject: Re: Issue with OODT cas-pge

>+ Team
>
>On Fri, Nov 7, 2014 at 1:25 AM, Jarin Nitin Shah
><jarinnis@usc.edu> wrote:
>
>Hello Professor,
>
>
>We've been struggling with running the example
>https://cwiki.apache.org/confluence/display/OODT/CAS-PGE+Learn+by+Example
>
>
>and getting the NoClassDefFound error in command-
>
>
>./wmgr-client --url http://localhost:9200 --operation --sendEvent
>--eventName fileconcatenator-pge --metaData --key RunID testNumber1
>
>
>
>the complete stack trace is pasted below-
>
>
>pushkar@ubuntu:~/oodt-deploy/workflow/bin$ ./wmgr-client --url
>http://localhost:9200 <http://localhost:9200> --operation --sendEvent
>--eventName fileconcatenator-pge --metaData --key RunID testNumber1
>Nov 07, 2014 1:20:04 AM
>org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManager handleEvent
>INFO: WorkflowManager: Received event: fileconcatenator-pge
>Nov 07, 2014 1:20:04 AM
>org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManager handleEvent
>INFO: WorkflowManager: Workflow FileConcatenatorWorkflow retrieved for
>event fileconcatenator-pge
>Nov 07, 2014 1:20:04 AM
>org.apache.oodt.cas.workflow.engine.IterativeWorkflowProcessorThread
>setRClient
>INFO: Resource Manager Job Submission enabled to: [http://localhost:9300]
>Sending event 'fileconcatenator-pge'... SUCCESS
>
>
>pushkar@ubuntu:~/oodt-deploy/workflow/bin$ Nov 07, 2014 1:20:05 AM
>org.apache.oodt.cas.workflow.engine.IterativeWorkflowProcessorThread
>checkTaskRequiredMetadata
>INFO: All required metadata fields present for task: [FileConcatenator]
>Exception in thread "Thread-15" java.lang.NoClassDefFoundError:
>org/apache/oodt/cas/pge/PGETaskInstance
>at java.lang.ClassLoader.defineClass1(Native Method)
>at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
>at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
>at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
>at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>at java.security.AccessController.doPrivileged(Native Method)
>at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>at java.lang.Class.forName0(Native Method)
>at java.lang.Class.forName(Class.java:190)
>at 
>org.apache.oodt.cas.workflow.util.GenericWorkflowObjectFactory.getTaskObje
>ctFromClassName(GenericWorkflowObjectFactory.java:169)
>at 
>org.apache.oodt.cas.workflow.engine.IterativeWorkflowProcessorThread.run(I
>terativeWorkflowProcessorThread.java:222)
>at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
>Source)
>at java.lang.Thread.run(Thread.java:745)
>Caused by: java.lang.ClassNotFoundException:
>org.apache.oodt.cas.pge.PGETaskInstance
>at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>at java.security.AccessController.doPrivileged(Native Method)
>at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>... 17 more
>
>
>
>We ensured that cas-pge-0.7.jar is present in filemgr, resmgr and
>workflow libs dir, but still it doesn't detect PGETaskInstance class.
>Do you have any suggestions on how to resolve this? We've been stuck for
>a while here.
>Appreciate any help.
>
>
>-- 
>Thanks & Regards,
>
>Jarin Nitin Shah
>Graduate Student at USC,
>MS in Computer Science,
>jarinnis@usc.edu
>
>
>
>
>
>
>
>
>
>
>
>
>-- 
>Thanks & Regards,
>
>Jarin Nitin Shah
>Graduate Student at USC,
>MS in Computer Science,
>jarinnis@usc.edu
>
>
>
>


Mime
View raw message