Project.woa/Contents/UNIX/UNIXClassPath.txt
Project.woa/Contents/UNIX/UNIXClassPath.txt
- Subject: Project.woa/Contents/UNIX/UNIXClassPath.txt
- From: Bjarni Sævarsson <email@hidden>
- Date: Thu, 13 Oct 2011 11:07:48 +0000
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden