Hi all, I have recently set up a machine for doing the deployment of applications, on a MacOs Leopard (not server, hopefully some day :P) with apache 2.2 and WebObjects 5.4.3
I've managed to make Apache, JavaMonitor and Wotaskd work together to manage application (server side) instances and do load balancing stuff. My problem is when my Java Client connects through Apache, and looks for a webserver resource. The url generated is a bit odd and doesn't exist. For example looking for an image returns: http://xxx.xxx.xx.xx/WebObjects/Frameworks/AFramework.framework/WebServerResources/Logo.jpg When I use Direct Connection, it works perfectly and the url generated is: http://xxx.xxx.xx.xx:2002/cgi-bin/WebObjects/App.woa/wr?wodata=file%3A%2FLibrary%2FFrameworks%2FAFramework.framework%2FWebServerResources%2FLogo.jpg I would expect that using apache would only remove the port on the above url, to have something like: http://xxx.xxx.xx.xx/cgi-bin/WebObjects/App.woa/wr?wodata=file%3A%2FLibrary%2FFrameworks%2FLSSecurityServer.framework%2FWebServerResources%2FLogo.jpg (I've check and this url retrieves the image correctly) This means that the WOResourceManager on the server side is making distinction between a request made through direct connection and one made through the webserver and thus generates very different urls. I suppose I could extend the ResourceManager and implement urlForResourceNamed method to fix the url before sending it to the client, however this seems an ugly patch. Anyway, the fact that it distinguishes webserver requests from DC, I suppose it must be for a good reason. Does anyone have this same problem? Or is it something on my application or server configuration? Some nicer solution maybe? Thanks in advance. -- Atentamente, Cuauhtemoc Hohman
_______________________________________________ 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]