• 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
Re: Issues Deploying from WOLips
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issues Deploying from WOLips


  • Subject: Re: Issues Deploying from WOLips
  • From: Owen McKerrow <email@hidden>
  • Date: Fri, 29 Aug 2008 15:12:49 +1000

Thanks Chuck.

That was it. I some how had a copy of JavaWOExtensions.framework in / Library/Frameworks so my local copy of Eclipse was using that. When I made the deploy build, it had JavaWOExtensions.framework belonging to LOCALROOT instead of WOROOT.


Owen McKerrow WebMaster, emlab Ph : +61 02 4221 5517 http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

People who prefer typing to pointing then seem to prefer acronyms to save typing :-)
-Denis Stanton, On people using Command Line Interfaces



On 29/08/2008, at 2:17 PM, Chuck Hill wrote:


On Aug 28, 2008, at 9:06 PM, Owen McKerrow wrote:

Hi All,

Converting an xCode project over to WOLips. We made a new WOApplication project, copied acrosss all the Java files and components etc etc and its all working great. Until we get to deployment.

To make my deployment build I right clicked on the projects name, and then selected "Install" from the WOLips Ant Tools option, which made me a nice .woa file in /Library/WebObjects/ Applications ( by the way is there any easy way to get this build to include copies of the frameworks it needs inside itself ? )

Documented and everything:
http://wiki.objectstyle.org/confluence/display/WOL/Embedding +WOFrameworks




Anyways so far so good. I've copied the .woa up to the server where Im running it against a DEV database, most of the site works fine however when I to some pages I get these sorts of errors ( note the prod version built from xCode is still on the same machine and its not having any issues )


12:52:21,297 <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
com.webobjects.foundation.NSForwardException [java.lang.ClassNotFoundException] Cannot find class or component named JSConfirmPanel in runtime or in a loadable bundle: <com.webobjects.appserver._private.WOComponentDefinition: Error parsing template for Component : 'file:/Library/WebObjects/ Applications/Dev/EePortfolio.woa/Contents/Resources/ ExistingReports.wo/':
java.lang.ClassNotFoundException: Cannot find class or component named JSConfirmPanel in runtime or in a loadable bundle


Closely followed by

12:52:21,299 <WOWorkerThread id=5 socket=null> Throwable occurred: java.lang.NoClassDefFoundError: com/webobjects/woextensions/ WOExceptionParser
12:52:21,299 <WOWorkerThread id=5 socket=null> Workerthread exiting due to error, respawning with ID 10005...
Exception in thread "WorkerThread5" com.webobjects.foundation.NSForwardException for java.lang.NoClassDefFoundError: com/webobjects/woextensions/ WOExceptionParser
at edu.uow.emlab.eportfolio.ExceptionHelper.retrieveExceptionInformation (ExceptionHelper.java:128)
at edu.uow.emlab.eportfolio.ExceptionHelper.emailException (ExceptionHelper.java:94)
at edu.uow.emlab.eportfolio.Application.emailException (Application.java:575)
at edu.uow.emlab.eportfolio.Application.handleException (Application.java:508)
at com.webobjects.appserver._private.WOComponentRequestHandler._handleRe quest(WOComponentRequestHandler.java:379)
at com.webobjects.appserver._private.WOComponentRequestHandler.handleReq uest(WOComponentRequestHandler.java:435)
at com.webobjects.appserver.WOApplication.dispatchRequest (WOApplication.java:1306)
at edu.uow.emlab.eportfolio.Application.dispatchRequest (Application.java:469)
at com.webobjects.appserver._private.WOWorkerThread.runOnce (WOWorkerThread.java:173)
at com.webobjects.appserver._private.WOWorkerThread.run (WOWorkerThread.java:254)
at java.lang.Thread.run(Thread.java:613)



So what have I done wrong ? Any ideas as to why it can't find JSConfirmPanel and WOExceptionParser ? As I said the prod version is running just fine. Going to these same pages when its running from Eclipse on my machine also works fine.


Might be worth doing an opendiff on the .woa directories.

It sounds like you don't have JavaWOExtensions.framework on the classpath. I don't know what you did in Eclipse to make that be the case when it still runs. Make sure this is in the WebObjects Libraries under the project's build path. Take a look in App.woa/ Contents/MacOS/MacOSClassPath.txt to see if it is missing or present with the wrong path.


Chuck

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








_______________________________________________ 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: Issues Deploying from WOLips
      • From: Chuck Hill <email@hidden>
References: 
 >Issues Deploying from WOLips (From: Owen McKerrow <email@hidden>)
 >Re: Issues Deploying from WOLips (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Issues Deploying from WOLips
  • Next by Date: Re: Issues Deploying from WOLips
  • Previous by thread: Re: Issues Deploying from WOLips
  • Next by thread: Re: Issues Deploying from WOLips
  • Index(es):
    • Date
    • Thread