Hi List,

I made it work doing this:

Edit web.xml file 

 <!-- Indicates if application is development or deployment mode. In development
       mode, images are vended by the application directly from frameworks. In
       deployment mode, images are vended by the webserver. -->
  <context-param>
    <param-name>WOAppMode</param-name>
    <param-value>Development</param-value>
  </context-param>
  
I changed it like this

 <!-- Indicates if application is development or deployment mode. In development
       mode, images are vended by the application directly from frameworks. In
       deployment mode, images are vended by the webserver. -->
  <context-param>
    <param-name>WOAppMode</param-name>
    <param-value>Deployment</param-value>
  </context-param>
  

Doing that the paths generated by my App changed from 

/albarrans3gy/WebObjects/albarrans3gy.woa/wr/wodata=/usr/local/apac…ootstrap_1_00.framework/WebServerResources/bootstrap/css/bootstrap.css


To

/WebObjects/Frameworks/TORABootstrap_1_00.framework/WebServerResources/bootstrap/css/bootstrap.css

I then created inside the tomcat's installation webapps' directory a new 
directory named WebObjects. Inside the WebObjects directory I made the 
Frameworks and the albarrans3gy.woa directories. 
I navigated to the Contents directory of my app directory, in my case 
../tomcatInstallationDirectory/webapps/albarrans3gy/WEB-INF/albarrans3gy.woa/Contents.
I copied the Frameworks directory contents to the one with the same name I just 
created inside ../tomcatInstallationDirectory/webapps/WebObjects.
Finally inside the 
../tomcatInstallationDirectory/webapps/WebObjects/albarrans3gy.woa directory I 
created the Contents/Webobjects directory structure and I copied the contents 
of  
../tomcatInstallationDirectory/webapps/albarrans3gy/WEB-INF/albarrans3gy.woa/Contents/WebServerResources.

Tomorrow I will try with Jboss on Windows.

Hope this helps.
 


On 01/07/2013, at 18:29, Miguel Torres <w...@toracom.net> wrote:

> Hi List,
> 
> It has been a while since I tested war deployment.
> 
> Now I am doing some test because it is a client's request to implement de 
> application on a JBoss Application Server. I have Tomcat installed so I began 
> testing on it.
> 
> It looks like all the Web Server Resources are loaded correctly with URL's 
> like this: 
> /albarrans3gy/WebObjects/albarrans3gy.woa/wr/wodata=/usr/local/apac…ootstrap_1_00.framework/WebServerResources/bootstrap/css/bootstrap.css
> 
> The problem are paths to images defined in the css files, they are not 
> displayed.
> 
> I remember that I solved this problem in the past but can't remember how.
> 
> Any help will be appreciated
> 
> Cheers.
> 
> Miguel Torres
> 
> 
> 
> _______________________________________________
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/wo%40toracom.net
> 
> This email sent to w...@toracom.net

 _______________________________________________
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Reply via email to