• 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: True war deployment and WebServerResources
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: True war deployment and WebServerResources


  • Subject: Re: True war deployment and WebServerResources
  • From: Alexis Tual <email@hidden>
  • Date: Mon, 3 Aug 2009 13:50:35 +0200

Sorry if the reply is posted in another topic, as i've just managed to reactivate my account on this mailing list.

So here's what i found :
When adding in the Application constructor
registerRequestHandler(new WOResourceRequestHandler(), "_wr_");
WOImage are correctly shown. However ERXStylesheet and ERXImage are not. I guess they are still using an ERXResourceHandler, i didn't take the time to investigate further.

Now, how can i produce a zip containing all the web resources (from the app and jar frameworks) with maven ? It's needed when turning deployment mode on in web.xml.

Finally everything seems to work quite ok : last WOLips version let me edit wod and eomodeld with the maven project layout, building a true war works... Well the last piece of the puzzle is enabling fast developpement with the build in eclipse. Andrew Lindesay faces the same issue with his message "War / Maven / Jar Build – How Does it Work wi th Eclipse's "Build Automatically"?"

Thanks for your answers,

Alexis

Le 1 août 09 à 15:18, Alexis Tual a écrit :

Hi list,

i'm in the process of mavenizing and deploying a wonder application as a true war. Mavenization worked well and i can package my app as a true war... but when deployed in a servlet container (for example with mvn jetty:run-war) the WebServerResources cannot be found (while they are at the right place inside the jar).

I've attached a sample project reproducing the problem with a simple WOImage and ERXStylesheet.

Has anyone already encountered this ?
I'm not sure it has something to do with wonder. I'll try updgrading to wo 5.4.3 and see if it's better.

Thanks for your help !

Alexis


<TestWO.zip>

 _______________________________________________
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: True war deployment and WebServerResources
      • From: Andrew Lindesay <email@hidden>
    • Re: True war deployment and WebServerResources
      • From: Alexis Tual <email@hidden>
References: 
 >True war deployment and WebServerResources (From: Alexis Tual <email@hidden>)

  • Prev by Date: Re: Help me get unstuck with this error: unable to increment snapshot count for object with global ID
  • Next by Date: Re: Getting into WebObjects?
  • Previous by thread: True war deployment and WebServerResources
  • Next by thread: Re: True war deployment and WebServerResources
  • Index(es):
    • Date
    • Thread