Ok. sorry. I am using an old version of orion ....
I am using the version 1.0.3 ...
I tried with orion-web.xml in the war and it didn't work.
I should obviously update my version of Orion....
That's certainly the solution.
 
Thanks a lot for your help.
 
Regards
Jean-Guillaume
 
----- Original Message -----
Sent: Monday, January 08, 2001 12:22 PM
Subject: RE: Automatic generation of virtual directory tag in the orion-web.xml doc ?

Except that it is the solution, I'm quite sure of it.
 
If you put the orion-web.xml file inside your WAR, when Orion deploys the WAR it will copy that file to the application-deployments folder and use it as the base for deploying the WAR. Try it and see. As far as I know it will no longer overwrite the old orion-web.xml (this is an old bug in bugzilla, I think it's been solved)
 
-mike
-----Original Message-----
From: Jean-Guillaume LALANNE [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 08, 2001 10:04 PM
To: Orion-Interest
Cc: [EMAIL PROTECTED]
Subject: Re: Automatic generation of virtual directory tag in the orion-web.xml doc ?

Thanks for your quick answer.
But I am not sure that will work because my orion-web.xml is automatically generated by Orion in the "application-deployments" directory. 
As opposed to the XXX.war which is deployed in the "application" directory....
Ok... orion appserver certainly uses the web.xml located within the XXX.war to generate the orion-web.xml, but I don't think it will do a copy of the 
pseudo orion-web.xml put in the XXX.war into the deployment directoy quoted previously.... and overwrite the generated orion-web.xml !!!!!
 
Anyway, thank you again for your idea. Pretty good idea in fact but I don't think that is the solution ...
 
Regards
Jean-Guillaume
 
    
 
 
----- Original Message -----
Sent: Monday, January 08, 2001 10:51 AM
Subject: RE: Automatic generation of virtual directory tag in the orion-web.xml doc ?

You can always just include the orion-web.xml in your WAR, and Orion will copy it when deploying? (as you can for orion-application and orion-ejb-jar.xml files?)
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Guillaume LALANNE
Sent: Monday, January 08, 2001 8:07 PM
To: Orion-Interest
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Automatic generation of virtual directory tag in the orion-web.xml doc ?

Hi all,
 
I am trying to find out how the generation of the orion-web.xml document is carried out. I need indeed to use
virtual directory tags to point onto my resource shared directories (image,scripts, ....). I would have appreciated
that the following tag,
 
<virtual-directory real-path="/usr/local/realpath" virtual-path="/the/webdir" />
 
would have been created automatically by orion appserver from a tag located somewhere in the ear or war 
deployment xml files ...
Actually, it's a little bit boring to rewrite several times this tag ... above all when you have 10 virtual directories for
each of your sites (I mean your war app).
If any of you has a way to handle this "problem", I am very very very interested to learn his/her trick.
I mean, ... if any of you know how to insert in a XXXX.ear the right info so that orion appserver generates the good orion-web.xml
file with my "virtual directory" tags ... I am obviously fully interested in his/her method.
 
Any info is greatly appreciated.
Many thanks.

Regards
Jean-Guillaume
 
 
LALANNE Jean-Guillaume
COMING

 

Reply via email to