|
From: Leif M. <le...@ta...> - 2005-08-22 02:42:03
|
Most likely this means that your classpath is not the same. Could you post the command line you use to launch your application without the Wrapper as well as your wrapper.conf file. Because your class is called "Mpiab_pkg", I wonder if it is a standalone class file, not in a jar. If so, you need to make sure to include the classes directory in the Wrapper's classpath just as you would from the command line. Cheers, Leif mu...@cs... wrote: >hi, > i am running a java agent platform as a NT-service.i am able to start the >platform as service and everything is fine.i open my agent which is Java >GUI ,which is also displayed. But when i submit a task program (a class file >to execute) it starts executing.But in between it displays a message saying >NoclassDeffound exception. > >I try to call the class submitted by using the getConstructor method. >That is where i get the exception. > >Exception in thread "Agent#131.230.133.184#2005-08-21#18-49-20-028#0" >java.lang.NoClassDefFoundError: Mpiab_pkg > java.lang.Class.getDeclaredConstructors0(Native Method) > java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) > java.lang.Class.getConstructor0(Class.java:2640) > java.lang.Class.getConstructor(Class.java:1629) > at TaskAgent.live(taskagent.java:538) > de.ikv.grasshopper.agency.Agent.run(Agent.java:431) > java.lang.Thread.run(Thread.java:595) > > > >But when i run the platform and the java application seperately(not with java >wrapper service i do not get the exception). > >Could anyone give suggestions. > Thanks > Muthiah M > > > > >--------------------------------------------- >This message was sent using Endymion MailMan. >http://www.endymion.com/products/mailman/ > > > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Wrapper-user mailing list >Wra...@li... >https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > |