Re: WO 5.4 Linux Deployment
Re: WO 5.4 Linux Deployment
- Subject: Re: WO 5.4 Linux Deployment
- From: Lachlan Deck <email@hidden>
- Date: Thu, 3 Apr 2008 08:25:37 +1100
Hi there,
On 02/04/2008, at 5:37 PM, Aleksey Novicov wrote:
I tried this and found that the latest Eclipse/WOLips tools are very
complete in packaging up woapps for servlet deployment. However,
there were a couple of caveats worth mentioning:
1. Starting with a WOnder Application template there is no need (and
no option!) to create a project with servlet support. All that is
needed after the project is created is to check Servlet Deployment
and check Autogenerate web.xml in WOLips Build within the project
properties. This will create the proper WAR file as a fully self-
contained servlet single directory deployment (SSDD) with all of the
necessary WO frameworks. It's very slick.
2. Project dependencies (such as other frameworks) however will not
be included in the SSDD. They must be included as framework
dependencies as well. See http://wiki.objectstyle.org/confluence/display/WOL/Add+a+Framework+Dependency
.
3. The generated web.xml file in WEB-INF has a parameter named
WOAppMode which is set to "Development". I found that with this
setting, Tomcat and the WebObjects Resource Manager would not serve
up any static WebServerResources correctly. I kept getting links
like "/MyApp/WebObjects/MyApp.woa/_wr_/wodata=/Library/stuff". I
don't know if I had a particular property value set incorrectly. But
I did find that if I changed the WOAppMode value to "Deployment",
the problem went away since the static resources get served up
directly by the web server. This of course requires a split install
(Tomcat + Apache). Because I'm using Ajax, I had to remember to
include Ajax.framework/WebServerResources in the split install since
there are critical javascript files that are required.
<...>
You might like to adjust the project template for, adding the optional
tickboxes for all of these, and provide them back to WOLips.
with regards,
--
Lachlan Deck
_______________________________________________
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