|
From: Leif M. <le...@ta...> - 2006-10-09 00:33:25
|
David, If that is what your command line looks like then your CLASSPATH must be getting defined as a system property. I assume that you are having problems when running as a service? This would be because you have not set the CLASSPATH as a system wide environment variable. That said, the CLASSPATH environment variable is BAD BAD BAD! You will run into problems if you try to use more than one application on the same machine. You really should be using the -classpath parameter to the JVM. This is the normal way to be using the wrapper. Make you you have defined classpath properties for each jar and classes directory that would normally go on your classpath. If you have more questions, include your wrapper.conf file so I can see exactly what you are doing. Cheers, Leif David Schulberg wrote: > > A simple question regarding using the Method 1 - WrapperSimpleApp > Integration with my java application which I normally run from Windows > command line > > “java proxy parm1 parm2 parm3”. > > Getting error: Unable to locate the class proxy: > java.lang.ClassNotFoundException: proxy > > What should I be defining in my wrapper.conf to overcome this error? > The application proxy comprises just class proxy with method > > ‘public static void main(String args[]).’ > > Regards, > > David > |