• 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: WO 5.4 Linux Deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: WO 5.4 Linux Deployment (From: Aleksey Novicov <email@hidden>)

  • Prev by Date: Re: an interesting lockRowComparingAttributes:
  • Next by Date: stateless component
  • Previous by thread: Re: WO 5.4 Linux Deployment
  • Next by thread: Re: WO 5.4 Linux Deployment
  • Index(es):
    • Date
    • Thread