Re: WO 5.3.3/Tiger/No template found for component
Re: WO 5.3.3/Tiger/No template found for component
- Subject: Re: WO 5.3.3/Tiger/No template found for component
- From: Rick Innis <email@hidden>
- Date: Wed, 20 Jun 2007 19:07:51 -0400
Hi, Chuck - thanks for the response!
I'm in the process of moving some applications from Jaguar to
Tiger. Most of them work fine, but two of them are giving me
grief. Specifically, I'm getting no content back from them (though
curl confirms that I'm getting a 200 response code from the
server), and on the first connection attempt, the message "No
template found for component" appears in the log file. However,
they run fine on Jaguar (WO5.2.1)
Take a closer look at the app log. Are these direct actions? My
suspicions would lie in API and JDK version changes.
Yes, these are direct actions.
From some previous searching I believe this may be connected to
the fact that the applications affected are both localized, so the
template it's looking exists in Contents/Resources/
{French,English}.lproj but not in Contents/Resources. However,
I've yet to find the insight that allows me to resolve this. Any
assistance would be greatly appreciated.
Have you checked the build product to ensure that the templates are
really there and the .html and .wod files are present?
Contents/Resources/{French,English}.lproj look fine in the build
product. Contents/Resources itself contains no .wo dirs in the build
product, though the stubs exist in the source tree.
Are you getting this error in development or deployment?
I'm getting it in deployment only, and only on the new server, which
is running Java 1.4.2, Tiger Server .9, and WO 5.3.3. Works fine on
my dev machines, which are running J2SE 5.0 Release 4, Tiger .9 and
WO 5.3.3. Also OK on the old production machine, which is running
Java 1.3.1, Jaguar (.6 I think), and WO 5.2.1.
As noted in response to Ralf, making symlinks to Contents/Resources/
English.lproj/*.wo from Contents/Resources seems to resolve the
problem, but this still like a workaround rather than a solution.
--Rick.
_______________________________________________
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