Hi all.

Encountered a strange error after a redeploy a wo app, Salsa, this morning.
Javamonitor refused to start the instances so I started the app manually.

"
...
Can't find main method on class is.us.util.USPrincipalClass, exiting...
java.lang.NoSuchMethodException:
is.us.util.USPrincipalClass.main([Ljava.lang.String;)
at java.lang.Class.getMethod(Class.java:1605)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:86)
"

Opened "Salsa.woa/Contents/UNIX/UNIXClassPath.txt" and there I see
"...
ApplicationClass == is.us.salsa.USPrincipalClass
..."

Changed it to
"...
ApplicationClass == is.us.salsa.Application
..."

aaand now jm runs the instances normally.


So, my question is if anyone has any idea how this can happen?

p.s. Using eclipse.

Best regards,
Bjarni Sævarsson
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to