Re: Deployment/JavaMonitor Question
Re: Deployment/JavaMonitor Question
- Subject: Re: Deployment/JavaMonitor Question
- From: Chuck Hill <email@hidden>
- Date: Mon, 21 Mar 2005 11:28:44 -0800
On Mar 19, 2005, at 3:05 PM, James Cicenia wrote:
I have recently refactored my application. Now when I try to launch it
on my dev server, the log
says:
...
Can't load Application class, exiting...
java.lang.ClassNotFoundException: Application
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at
com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:68)
Should it be looking for my packaged Application, i.e.,
com.tos.Application? If so how do I set that?
I have it set as principalClass in the woapplication task in build.xml.
IIRC, the "modern" way to do this is with a principal.class property
in the build.properties file and then
principalClass="${principal.class}" in he woapplication task in
build.xml.
Chuck
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden