On 26.11.2008, at 08:12, Roethlisberger, Urs wrote:

I'm deploying (or trying to) a WOnder Application on Tomcat. Everything works fine, except that the path to the WebServerResources where my *.css, scripts and pictures live is broken.

<wo:ERXStyleSheet filename = "AutoStyles.css" /> becomes <link rel="stylesheet" type="text/css" href="/WebObjects/SubDoc.woa/ Contents/WebServerResources/AutoStyles.css"></link> when deployed (broken).

Your deployment is broken, you need a so called "split install" that puts the WebServerResources in the appropriate directory where the webserver can access it.

I normally to "normal" woa deployments and have symlinks from the web server folder point to the installed applications / frameworks.

What you need for that style to work is a WebServerResources installed in the right place (where the URL points to, this URL is where they belong to with a split install).

Part of that is explained here:

http://tinyurl.com/64yyno

This document is old and covers Xcode and so on but it also explains the deployment structure of the traditional woa / split install deployment and might help you understand what it is doing in your case.

Here your might find more specific help for the tomcat deploy:

http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Deployment-Tomcat+Deployment

cug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to