Re: deployment resources -?
Re: deployment resources -?
- Subject: Re: deployment resources -?
- From: Pascal Robert <email@hidden>
- Date: Wed, 05 Dec 2012 13:06:18 -0500
Le 2012-12-05 à 13:01, Jesse Tayler <email@hidden> a écrit :
>
> Ok, from the top -
>
> I am troubleshooting a small variety of deployment issues that popped up around the time I changed developer machines, the server stuff has been working a few years without much change which I found odd.
>
> At this moment, the app is operating and connecting to the database etc., but it looks bad -- so, you notice links like:
>
> https://ec.planaby.com/WebObjects/Frameworks/ERModernDefaultSkin.framework/WebServerResources/datepicker.css
>
> don't work, eh? error 404 so - I figured I didn't install my webserverresources properly but they seem normal and then I wondered where that file should be residing or why it got moved or if it were apache configurations or something else entirely.
>
> any idea what I'm missing here?
What's missing is the WOFrameworksBaseURL in the application script if you are embedding frameworks (system and local). What is the two last lines in the application script (MyApplication.woa/MyApplication) ?
> thanks!
>
>
> On Dec 5, 2012, at 12:50 PM, Pascal Robert <email@hidden> wrote:
>
>>
>> Le 2012-12-05 à 12:23, email@hidden a écrit :
>>
>>> Have you set the -server flag in deployment recently? If so, you'll need to specify your frameworks URL in properties.
>>>
>>> WOFrameworksBaseURL=/Webobjects/Application_v14.woa/Frameworks
>>
>> That should be set in the script that launch the application when you build with Ant:
>>
>> echo ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} -WOFrameworksBaseURL /WebObjects/MyApplication.woa/Frameworks
>>
>> eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} -WOFrameworksBaseURL /WebObjects/MyApplication.woa/Frameworks
>>
>> So you shouldn't need to add the property in JavaMonitor or anywhere else unless your build was done years ago. I think Maven builds don't have that by default.
>>
>>> David
>>>
>>>
>>> On 2012-12-05, at 8:34 AM, Jesse Tayler <email@hidden> wrote:
>>>
>>>> I seem to have lost my links to deployment resources from WOnder frameworks, like so:
>>>>
>>>> /WebObjects/Frameworks/ERModernDefaultSkin.framework/WebServerResources/datepicker.css
>>>>
>>>> Is this because of apache rules or something, or do I actually need to install new frameworks and resources on my old AWS server?
>>>>
>>>> I'm uncertain when this error started and was looking through deployment docs
>>>>
>>>> http://wiki.wocommunity.org/display/documentation/Deployment
>>>>
>>>> but didn't really find anything that rang a bell.
>>>>
>>>> thoughts on that?
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>> _______________________________________________
>>> 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
>>
>
_______________________________________________
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