• 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
principleClass Error on deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

principleClass Error on deployment


  • Subject: principleClass Error on deployment
  • From: "Robert Snyder" <email@hidden>
  • Date: Tue, 7 Feb 2006 10:38:59 -0500
  • Organization: Penn State World Campus

We have run into an interest issue when deploying an application that
was built in eclipse to an OS X Server 10.4.4, with WO 5.2.4.

The application runs fine on one of our test servers that has the same
frameworks and path layout, but which is running OS X Server 10.3.9 and
WO 5.2.3.

The application fails to launch because it is looking for  <main>
Principal class '${principalClass}'

Looking back through the list archive I found a reference that seemed to
be related. In that post the solution that was offered was to "Go to the
Project Properties and to "WOLips build" and set the principal
class to "Application"."

But that didn't seem to solve the problem.


Here is the launch output:

Generated classpath:
  /System/Library/WebObjects/WOApplications/OnlineCatalog.woa/Contents/
Resources/Java/
  /System/Library/WebObjects/WOApplications/OnlineCatalog.woa/Contents/
Resources/Java/onlinecatalog.jar
  /System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/
javaeoaccess.jar
  /System/Library/Frameworks/JavaEOControl.framework/Resources/Java/
javaeocontrol.jar
  /System/Library/Frameworks/JavaFoundation.framework/Resources/Java/
javafoundation.jar
  /System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/
javajdbcadaptor.jar
  /System/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/
JavaWOExtensions.jar
  /System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/
javawebobjects.jar
  /System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
  /Library/Frameworks/ACSCore.framework/Resources/Java/acscore.jar
  /Library/Frameworks/AuthInterface.framework/Resources/Java/authinterface.jar
  /Library/Frameworks/AuthX.framework/Resources/Java/authx.jar
  /Library/Frameworks/DMSBusiness.framework/Resources/Java/dmsbusiness.jar
  /Library/Frameworks/DMSCore.framework/Resources/Java/dmscore.jar
  /Library/WebObjects/Extensions/axis-ant.jar
  /Library/WebObjects/Extensions/axis.jar
  /Library/WebObjects/Extensions/commons-discovery.jar
  /Library/WebObjects/Extensions/commons-logging.jar
  /Library/WebObjects/Extensions/jaxrpc.jar
  /Library/WebObjects/Extensions/log4j-1.2.4.jar
  /Library/WebObjects/Extensions/saaj.jar
  /Library/WebObjects/Extensions/wsdl4j.jar
  /Library/WebObjects/Extensions/
[2006-02-06 23:50:56 PST] <main> Principal class '${principalClass}' not
found in bundle ACSCore
[2006-02-06 23:50:56 PST] <main> Principal class '${principalClass}' not
found in bundle DMSBusiness
[2006-02-06 23:50:56 PST] <main> Principal class '${principalClass}' not
found in bundle DMSCore


____________________________________________

Robert Snyder
Outreach Technology Services
The Pennsylvania State University
222-G Outreach Building
University Park  PA  16802
Phone: 814-865-0912  Fax: 814-865-4406
E-mail: 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

  • Follow-Ups:
    • Re: principleClass Error on deployment
      • From: Guido Neitzer <email@hidden>
    • Re: principleClass Error on deployment
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Accessing the session in WOLongResponsePage.performAction
  • Next by Date: Subclass EO class to conditionally return values
  • Previous by thread: Re: Accessing the session in WOLongResponsePage.performAction
  • Next by thread: Re: principleClass Error on deployment
  • Index(es):
    • Date
    • Thread