Re: Issues Deploying from WOLips
Re: Issues Deploying from WOLips
- Subject: Re: Issues Deploying from WOLips
- From: Kieran Kelleher <email@hidden>
- Date: Fri, 29 Aug 2008 11:36:40 -0400
Original wiki page updated with explanation and redirect to the
"better instructions" - drop in that alternative build.xml and just
run it - deploy - done .... and as Mike says "profit" :-)
On Aug 29, 2008, at 11:30 AM, Kieran Kelleher wrote:
If you want fully embedded *AND* split-install bundles, then this is
the better instructions:
http://wiki.objectstyle.org/confluence/display/WOL/Alternative+Ant+Build+Script+for+Fully+Embedded+and+Split+Install+Bundles
On Aug 29, 2008, at 12:17 AM, 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
._handleRequest(WOComponentRequestHandler.java:379)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
.handleRequest(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
_______________________________________________
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