Apache just can't find your WebServerResources. When you do a build with ant 
you should end up with a couple of tarballs, one for the app and one for the 
WSR. The WSR needs to go where apache can find it, on the default WOLastic 
image I *think* that's in /System/Local/Library. So you'd put your WSR .woa 
there, as in /System/Local/Library/WOMan.woa.

You can probably check the apache conf to see where it's looking in the 
filesystem for requests that match /WebObjects/*. I can't remember where the 
apache conf is on those images. It's been a long time since I set one of those 
up.

tb

On Nov 26, 2010, at 1:44 PM, Jesse Tayler wrote:

> They are just embedding into the appwrapper it seems - however, I did copy 
> the css file in the system library....so, unless I made a mistake there...
> 
> Here's the app
> 
> http://184.73.243.145/cgi-bin/WebObjects/WOMan
> 
> It's trying to load the css from this line
> 
> <link  rel="stylesheet" type="text/css" 
> href="/WebObjects/WOMan.woa/Contents/WebServerResources/ui.css"/>
> 
> Also, seems when you reboot wolastic, configurations like javamonitor seem to 
> get wiped?
> 
> How do I configure Apache and setup that stuff?
> 
> 
> 
> On Nov 26, 2010, at 1:25 PM, Travis Britt wrote:
> 
>> Where are you deploying your WebServerResources? IIRC wolastic image is 
>> configured by default to serve them from: /System/Local/Library
>> 
>> tb
>> 
>> 
>> On Nov 25, 2010, at 8:13 PM, Jesse Tayler wrote:
>> 
>>> are you referring to some build path that changed from your project name to 
>>> the app name?
>>> 
>>> I found that, looks recent, wolastic might be old, but I'm importing all 
>>> the frameworks and the URL doesn't look corrupt - I mean, I can't seem to 
>>> get the actual css or images when I try by hand but the files are there on 
>>> the server.
>>> 
>>> I guess file not found doesn't come out from those URLs, it's just empty 
>>> like WO just isn't serving up the file and returns no error, just blank.
>>> 
>>> I mean, I forgot why there's no cgi-bin, but this looks correct:
>>> 
>>>>> WebObjects/WOMan.woa/Contents/WebServerResources/ui.css
>>> 
>>> It just doesn't load anything...?
>>> 
>>> On Nov 25, 2010, at 6:53 PM, Travis Britt wrote:
>>> 
>>>> IIRC there's a bug in 5.4.3 regarding WOFrameworksBaseURL. If you're using 
>>>> a recent version of Wonder (not sure how recent, I run on head) I *think* 
>>>> this should be fixed for you automatically.
>>>> 
>>>> tb
>>>> 
>>>> On Nov 25, 2010, at 6:15 PM, Jesse Tayler wrote:
>>>>> WebServerResources is confused in deployment.
>>>>> 
>>>>> The ERXStyleSheet works fine ind dev:
>>>>> 
>>>>> <link  rel="stylesheet" type="text/css" 
>>>>> href="/cgi-bin/WebObjects/WOMan.woa/_wr_/wodata=/Users/jtayler/Documents/workspace/WOMan/WebServerResources/ui.css"/>
>>>>> 
>>>>> But the URL in deployment returns empty:
>>>>> 
>>>>> <link  rel="stylesheet" type="text/css" 
>>>>> href="/WebObjects/WOMan.woa/Contents/WebServerResources/ui.css"/>
>>>>> 
>>>>> 
>>>>> The file itself is where I'd expect it on the server, seems readable etc.
>>>>> 
>>>>> Is there a setting I'm missing? 
>>>>> 
>>>>> I've seen a few things about build.xml, but it seems those are ok, and 
>>>>> the URL looks normal for a webserverresource doesn't it?
>>>>> 
>>>>> 
>>>> 
>>>> 
>>> 
>> 
>> 
> 

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

This email sent to arch...@mail-archive.com

Reply via email to