Re: CSS resources problem (Was: Wonder's Monitor)
Re: CSS resources problem (Was: Wonder's Monitor)
- Subject: Re: CSS resources problem (Was: Wonder's Monitor)
- From: David LeBer <email@hidden>
- Date: Mon, 29 Nov 2010 11:58:25 -0500
On 2010-11-29, at 11:03 AM, Johann Werner wrote:
>
> Am 29.11.2010 um 16:46 schrieb David LeBer:
>
>>
>> On 2010-11-29, at 10:24 AM, Johann Werner wrote:
>>
>>> I have JavaMonitor running on a OS X Server box. The funny thing is I replaced 'ToggleRight.png' with 'AppleLogo.gif' and the image is displayed. Changing it back to 'ToggleRight.png' and it disappears... bummer
>>>
>>> jw
>>
>> OK, I can confirm that.
>>
>> Changing the reference to AppleLogo.gif in the css works, but the Toggle*.png doesn't. I'm not running the latest build (so I don't have the new stop/start pngs) what happens if you change the reference to one of them?
>
> works for me
Hrm, curiouser and curiouser.
Try an experiment for me. With the css reference set to start.png, restart JavaMonitor and immediately go to the Configure Application page. Do the images show up for you? They don't for me. However, if I go to the Application Details page first (where those images are loaded in <img> tags) and *then* go to the Configure Application page they do.
As a test, I put a pair of WOImages on the Main page that display the Toggle*.png images, with those in place, they display correctly when referenced by css.
I'm thinking that the problem may be with ERXResourceManager, perhaps it thinks the images should be in it's cache, so it is vending emptiness?
>
>>
>>>
>>>
>>> Am 29.11.2010 um 16:04 schrieb David LeBer:
>>>
>>>>
>>>> On 2010-11-29, at 9:56 AM, Simon wrote:
>>>>
>>>>> linux is case sensitive - we had a ton of web server resource issues
>>>>> transitioning from osx to linux deployment...
>>>>
>>>> I double checked, and it looks OK:
>>>>
>>>> admin@carter:/opt/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/WebServerResources$ ls ToggleDown.png
>>>> ToggleDown.png
>>>>
>>>> The weird thing is that I don't get a resource not found error, it just seems to vend an empty one.
>>>>
>>>>>
>>>>> simon
>>>>>
>>>>> On 29 November 2010 14:54, David LeBer <email@hidden> wrote:
>>>>>> I did some investigation with this last week.
>>>>>>
>>>>>> I believe it has something to do with the wr resource handling with direct connect and Wonder, specifically for resources that are embedded in the CSS file, and strangely, I only see the problem on Linux.
>>>>>>
>>>>>> For instance if I launch the JavaMonitor app from the command line on a Mac OS X box those two images load fine. If I do the same thing on a Linux box they do not.
>>>>>>
>>>>>> I've double checked all the usual culprits (permissions, firewall, etc), the url for the resource looks OK to me:
>>>>>>
>>>>>> <http://127.0.0.1:56790/cgi-bin/WebObjects/JavaMonitor.woa/wr/wodata=/opt/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/WebServerResources/ToggleDown.png>
>>>>>>
>>>>>> As does the mime type of the resulting response.
>>>>>>
>>>>>> I'm kinda at a loss as to what the issue may be.
>>>>>>
>>>>>> On 2010-11-29, at 8:51 AM, Pascal Robert wrote:
>>>>>>
>>>>>>> I just upgraded our staging server, and I'm getting the same behavior that you get.
>>>>>>>
>>>>>>>> I see some odd behavior with the AjaxExpansions when JavaMonitor is running on a server. The images ToggleDown.png and ToggleRight.png are not appearing. Looking at the resource protocol of Safari the images are listed as 0 byte and a question mark though they are where WO should look for them (the URL is correct). All other images are displayed correctly and the files are not corrupted as Preview opens them and even dropping them into the apache htdocs shows the right graphics in a browser.
>>>>>>>> I enabled logging in JavaMonitor but neither in that log nor in the apache log I can see any errors or hints. Running JavaMonitor in Eclipse the images show up. Though it is unimportant for the operation of JavaMonitor I am curious if anybody else sees the same behavior and why it fails.
>>>>>>>>
>>>>>>>> jw
>>>>>>>>
>>>>>>>>
>>>>>>>> Am 25.11.2010 um 14:31 schrieb David LeBer:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 2010-11-25, at 5:21 AM, Johann Werner wrote:
>>>>>>>>>
>>>>>>>>>> Looks quite shiny now :) There are some input fields that could be a little bit wider though.
>>>>>>>>>
>>>>>>>>> Which ones?
>>>>>>>>>
>>>>>>>>> Better yet, file a JIRA with a patch ;-)
>>>>>>>>>
>>>>>>>>>> I found a small bug in the css-file:
>>>>>>>>>>
>>>>>>>>>> .AppControlScheduleOn,
>>>>>>>>>> .AppControlAutoRecoverOn {
>>>>>>>>>> color: #00eb29;
>>>>>>>>>> }
>>>>>>>>>>
>>>>>>>>>> should have
>>>>>>>>>>
>>>>>>>>>> .AppControlRefusingNewSessions
>>>>>>>>>>
>>>>>>>>>> as selector too. Thanks for your effort David!
>>>>>>>>>>
>>>>>>>>>> jw
>>>>>>>>>>
>>>>>>>>>> Am 25.11.2010 um 10:13 schrieb Simon:
>>>>>>>>>>
>>>>>>>>>>> I just built a new server and got the new monitor - it's superb!
>>>>>>>>>>>
>>>>>>>>>>> simon
>>>>>>>>>>>
>>>>>>>>>>> On 22 November 2010 23:38, David LeBer <email@hidden> wrote:
>>>>>>>>>>>> The Wonder Monitor looks like poo ;-)
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
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