Re: Project.woa/Contents/UNIX/UNIXClassPath.txt
Re: Project.woa/Contents/UNIX/UNIXClassPath.txt
- Subject: Re: Project.woa/Contents/UNIX/UNIXClassPath.txt
- From: Kieran Kelleher <email@hidden>
- Date: Thu, 13 Oct 2011 07:48:30 -0400
Check the contents of the application project's build.properties file.
On Oct 13, 2011, at 7:07 AM, Bjarni Sævarsson wrote:
> 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
_______________________________________________
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