• 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: WebObjects 5.4 deployment issue.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebObjects 5.4 deployment issue.


  • Subject: Re: WebObjects 5.4 deployment issue.
  • From: Q <email@hidden>
  • Date: Sun, 28 Oct 2007 11:43:41 +1000

Just to follow up on this further. I have managed to work out that it appears to be a localisation related issue. 
The HelloWorld example is localised and therefore has no Resources/Main.wo instead it has a bunch of Resource/<Lang>.lprog/Main.wo components.

It seems that when launched with WOCachingEnabled=YES, WO will try to read the Resources/Main.wo on startup, regardless of whether the app is localised or not, so it seems you need to make sure that Resources/Main.wo exists even if it's just a symlink to one of the localised languages.

I have never played with localisation before so I have no idea if this is something new, but it would be nice if the HelloWorld example that comes with WO 5.4 was actually deployable out of the box. 

Seeya...Q

On 27/10/2007, at 3:03 PM, Q wrote:

I have been messing with 5.4 this morning and have run into an issue when doing a test deployment that I am hoping is just something stupid on my part.

I have built the HelloWorld app that comes with WO 5.4 using 'ant woa', tarred up the woa bundle from dist and untarred it to /Library/WebObjects/Applications/HelloWorld.woa

In all the cases below I am testing using direct connect, not through apache.

If I launch the app manually with no args it works fine. However, if I launch the app with -WOCachingEnabled YES (like you would in deployment) the app starts but fails to render any content, and throws the following error:

<WorkerThread0> <com.webobjects.appserver._private.WOComponentDefinition> No template found for component Main at "file:/Library/WebObjects/Applications/HelloWorld.woa/"

The same thing occurs when deploying with JavaMonitor/wotaskd, with caching on, the app doesn't work, with it off it runs fine. (again, using direct connect to test the app)

If I launch the app from /Developer/Examples/JavaWebObjects/HelloWorld/dist/legacy/HelloWorld.woa with caching turned on it works, but prints this in the output log:

Application project found: Will locate resources in '/Developer/Examples/JavaWebObjects/HelloWorld' rather than '/Developer/Examples/JavaWebObjects/HelloWorld/dist/legacy/HelloWorld.woa' .

What am I missing?

-- 
Seeya...Q

Quinton Dolan - email@hidden
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806






-- 

Seeya...Q


Quinton Dolan - email@hidden

Gold Coast, QLD, Australia (GMT+10)

Ph: +61 419 729 806




 _______________________________________________
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: 
 >WebObjects 5.4 deployment issue. (From: Q <email@hidden>)

  • Prev by Date: JC 5.4?
  • Next by Date: Re: xcode and 5.4
  • Previous by thread: WebObjects 5.4 deployment issue.
  • Next by thread: xcode and 5.4
  • Index(es):
    • Date
    • Thread