RE: War deployment build problem
RE: War deployment build problem
- Subject: RE: War deployment build problem
- From: "Runyan, Darich" <email@hidden>
- Date: Wed, 19 Aug 2009 14:06:18 -0400
I got the image loading fixed. The WOAppMode parameter was set to
Development in web.xml. I changed this to Deployment and it solved that
problem.
-----Original Message-----
From: Runyan, Darich
To: 'David Avendasora '; Runyan, Darich
Cc: 'WebObjects-Dev Mailing List List '
Sent: 8/19/2009 1:59 PM
Subject: RE: War deployment build problem
Thanks for the reply. I had not checked that target but it kept trying
to build it anyway so I removed the offending lines from the build
script and I was able to get the war file built and installed on Tomcat
6. I am now able to access the app but it is not working correctly. It
looks like it is trying to pull the images out of the war file ( using
wodata=/usr/local/tomcat6/webapps/AjaxTreeTest/WEB-INF...x.png )instead
of from the web server which is making it slow and there was a also
nasty exception n regards to jdbc: javax.naming.NameNotFoundException -
when I access the page that makes a call to my EOModel; however, the
EOModelGroup is loaded. There was also an exception at startup about a
jar (javaxml.jar) not loading due to not passing the validateJarFile.
Any thoughts on any of these issues?
Darich
-----Original Message-----
From: David Avendasora
To: Runyan, Darich
Cc: WebObjects-Dev Mailing List List
Sent: 8/19/2009 1:27 PM
Subject: Re: War deployment build problem
On Aug 19, 2009, at 1:03 PM, Runyan, Darich wrote:
> After further investigation, it looks like the out of memory error
> is a
> byproduct of the build tanking at a target to move files from my
> WebServerResources/Java directory to one in the woa. Problem is I
> do not
> have that directory or anything in it to move. Is this a
> requirement? What
> should be in this location?
Hi Runyan,
That target should only be enabled if you are creating a Java Client
application that is launched using Java WebStart. In your project
properties, under the WOLips Development tab, make sure Java Client is
not checked.
That directory would hold any client-side classes that would be needed
by the client application.
Dave
> Thanks.
>
> -----Original Message-----
> From: webobjects-dev-bounces+darich.runyan=email@hidden
> To: 'email@hidden'
> Sent: 8/19/2009 10:28 AM
> Subject: War deployment build problem
>
> Hello,
>
> I have written a very small test app to start to "relearn" WO and see
> how
> the Wonder frameworks, especially the Ajax components work. The app
> has
> 3
> components and 1 EOModel. I also wanted to test how to deploy as a
> war
> file. I followed the instructions at
>
http://wiki.objectstyle.org/confluence/display/WONDER/Servlet+Deployment
> +Set
> up and I am getting and out of memory error when the build runs,
> specifically:
>
> <ERROR>
> Buildfile: /Users/darich/Documents/workspace/AjaxTreeTest/build.xml
> init.properties:
> init.install:
> compile:
> build.woapp:
> [woapplication] Installing AjaxTreeTest in
> /Library/WebObjects/Applications
> javaclient:
> ssdd:
> [copy] Copying 1 file to
> /Library/WebObjects/Applications/AjaxTreeTest/WEB-INF
> [copy] Copying 10 files to
> /Library/WebObjects/Applications/AjaxTreeTest/WEB-INF
> [copy] Copying 1 file to
> /Library/WebObjects/Applications/AjaxTreeTest/WEB-INF/lib
>
> BUILD FAILED
> /Users/darich/Documents/workspace/AjaxTreeTest/build.xml:185:
> java.lang.OutOfMemoryError: Java heap space
>
> Total time: 17 seconds
> </ERROR>
>
> This seems odd since it is such a small application. Is it possible
> that I
> am including too many frameworks? What could be the problem? Any
> advice
> would be helpful.
>
> Thanks,
> Darich
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> ltech.com
>
> 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:
>
asora.com
>
> 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