I open the JavaMonitor.woa/JavaMonitor script and this is the final line

eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar 
com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} 

As you can see it is not defined the -WOFrameworksBaseURL parameter.

I changed it to:

eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar 
com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} -WOFrameworksBaseURL 
/WebObjects/JavaMonitor.woa/Frameworks

It still doesn't work because there is no 
/var/www/WebObjects/JavaMonitor.woa/Frameworks directory.

Then I create a symbolic link to the JavaMonitor.woa/Contents/Frameworks and 
now it is working.


I assume that the copy of JavaMonitor that I got from 
http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz
 wasn't build with embedded frameworks.

If that's the way it has to be builded won't it be necessary to update the 
tutorial http://wiki.wocommunity.org/display/documentation/Deploying+on+Linux?

Just saying.

Thanks.




On 25/07/2012, at 13:59, WebObjects TORAcom wrote:

> Thanks,
> 
> I will try and report the solution.
> 
> Just wondering if the JavaMonitor.tar.gz was build without the embedded 
> frameworks configuration.
> 
> 
> 
> On 25/07/2012, at 00:56, Johann Werner wrote:
> 
>> That path should not be mysite.com/WebObjects/Frameworks/... but 
>> mysite.com/WebObjects/JavaMonitor.woa/Frameworks/...
>> You could try to set -WOFrameworksBaseURL 
>> /WebObjects/JavaMonitor.woa/Frameworks explicitly at startup though it is 
>> strange that it is not set automatically to the correct value. To make your 
>> life easier: you need only to copy the webserver resources for the 
>> frameworks Ajax, ERExtensions and JavaWOExtensions to make everything work 
>> as expected.
>> 
>> jw
>> 
>> 
>> Am 24.07.2012 um 22:13 schrieb WebObjects TORAcom:
>> 
>>> You are right,
>>> 
>>> I found this error.
>>> "NetworkError: 404 Not Found - 
>>> http://mysite.com/WebObjects/Frameworks/Ajax.framework/WebServerResources/prototype.js";
>>> The JavaMonitor application does not have the frameworks embedded?
>>> 
>>> Should I copy the Framework's WebServerResources to the Web Server folder?
>>> 
>>> Thanks.
>>> 
>>> Miguel. 
>>> 
>>> 
>>> 
>>> On 24/07/2012, at 14:00, Pascal Robert wrote:
>>> 
>>>> Check the JavaScript console in your browser to see if any errors are 
>>>> there.
>>>> 
>>>>> Hi,
>>>>> 
>>>>> I downloaded JavaMonitor from 
>>>>> http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/artifact/Root/Roots/JavaMonitor.tar.gz
>>>>> 
>>>>> I installed it. It looks great! thanks guys. I just have a problem, it 
>>>>> seems that some div's don't work, I assume they should open. This is the 
>>>>> image of the areas that don't open:
>>>>> 
>>>>> <Screen Shot 2012-07-24 at 13.08.01.png>
>>>>> I click on HTTP Adaptor Settings and nothing happens.
>>>>> 
>>>>> I tried  with Safari, Chrome and Firefox, mac os X Lion.
>>>>> 
>>>>> Does anybody have the same issue?
>>>>> 
>>>>> Thanks in advance.
>>>>> 
>>>>> Miguel Torres.
>>>>> 
>> 
>> 
>> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/wo%40toracom.net
> 
> This email sent to [email protected]
> 

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

This email sent to [email protected]

Reply via email to