• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Project.woa/Contents/UNIX/UNIXClassPath.txt
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Project.woa/Contents/UNIX/UNIXClassPath.txt
      • From: Kieran Kelleher <email@hidden>
  • Prev by Date: Rép : Re: Re: WOTabPanel - Refresh page problem
  • Next by Date: Re: Project.woa/Contents/UNIX/UNIXClassPath.txt
  • Previous by thread: Rép : Re: WOTabPanel - Refresh page problem
  • Next by thread: Re: Project.woa/Contents/UNIX/UNIXClassPath.txt
  • Index(es):
    • Date
    • Thread