• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WAR Deployment Paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WAR Deployment Paths


  • Subject: Re: WAR Deployment Paths
  • From: Ron X <email@hidden>
  • Date: Wed, 01 Jan 2014 12:43:04 +0300

actually after that:

in deployment mode i have
http://localhost:8080/ERROR/NOT_FOUND/app=myapp/filename=CS_logo_big.png
and in development mode i have
http://localhost:8080/myapp/WebObjects/myapp.woa/wr?wodata=ERROR_NOT_FOUND_framework_*null*_filename_CS_logo_big.png


WebRep
Overall rating
 
WebRep
Overall rating
 


2013/12/31 Henrique Prange <email@hidden>
Ron,

The application has to load web server resources from inside the JAR files. You can use this [1] custom WOResourceRequestHandler to do this.

You must also register the custom request handler in your application constructor:

if (isDirectConnectEnabled()) {
   registerRequestHandler(new JarResourceRequestHandler(), "_wr_");

   if (ERXApplication.isWO54()) {
      registerRequestHandler(new JarResourceRequestHandler(), "wr");
   }
}

[1]https://gist.github.com/hprange/1068523

Cheers,

Henrique

On 26/12/2013, at 21:01, Ron X <email@hidden> wrote:

sorry path was:
http://localhost:8080/WebObjects/myapp.woa/WebServerResources/images/x.jpg


WebRep
Overall rating
 
WebRep
Overall rating
 


2013/12/27 Ron X <email@hidden>
Hello!

I need to make WAR-file with out-off-the-box settings.
When I set in web.xml "deployment" I have an error with the paths:

my app in Jetty:

http://localhost:8080/myapp/WebObjects/myapp.woa/
but no resources was loaded (images, css)
firebug shows:
no image found at
http://localhost:8080/WebObjects/myapp.woa/

how can i set true paths in the deployment mode?
i do not use any webserver - i need to make deployment into jetty with war-file without any externals.
thanks!



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)

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

  • Follow-Ups:
    • Re: WAR Deployment Paths
      • From: Ron X <email@hidden>
  • Next by Date: Chicagoland area WebObjects developer wanted
  • Next by thread: Re: WAR Deployment Paths
  • Index(es):
    • Date
    • Thread