Re: Multi level webapp

2010-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oscar, On 9/9/2010 7:23 AM, Oscar Segarra Rey wrote: > Yes but... we have a deployment tool which is not able to unzip the war file. What kind of tool is that? > Is there any way to instruct the system to find some war's and deploy them ? find -nam

Re: [OT] Multi level webapp

2010-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 9/9/2010 6:38 AM, Mark Thomas wrote: > > Hmm. I wonder if there is a URL being constructed somewhere where the > '#' is not escaped. I had a similar problem when using Cocoon with Tomcat: a multi-level URI-based WAR gets deployed into a dir

Re: Multi level webapp

2010-09-09 Thread Mark Thomas
On 09/09/2010 16:30, Wesley Acheson wrote: > On Thu, Sep 9, 2010 at 4:11 PM, Mark Thomas wrote: >> On 09/09/2010 14:21, Wesley Acheson wrote: >>> Oscar, >>> >>> I've only one last suggestion if you need it to work this way. And >>> that would be to front tomcat with apache httpd. >>> >>> Use mod_p

Re: Multi level webapp

2010-09-09 Thread Wesley Acheson
On Thu, Sep 9, 2010 at 4:11 PM, Mark Thomas wrote: > On 09/09/2010 14:21, Wesley Acheson wrote: >> Oscar, >> >> I've only one last suggestion if you need it to work this way. And >> that would be to front tomcat with apache httpd. >> >> Use mod_proxy_http or similar along with a rewrite rule. > >

Re: Multi level webapp

2010-09-09 Thread Mark Thomas
On 09/09/2010 14:21, Wesley Acheson wrote: > Oscar, > > I've only one last suggestion if you need it to work this way. And > that would be to front tomcat with apache httpd. > > Use mod_proxy_http or similar along with a rewrite rule. Bad idea. I have seen far too many apps break in all sorts of

RE: Multi level webapp

2010-09-09 Thread Oscar Segarra Rey
/ 2010 15:21 Para: Tomcat Users List Asunto: Re: Multi level webapp Oscar, I've only one last suggestion if you need it to work this way. And that would be to front tomcat with apache httpd. Use mod_proxy_http or similar along with a rewrite rule. I don't understand why path would be

Re: Multi level webapp

2010-09-09 Thread Wesley Acheson
Oscar, I've only one last suggestion if you need it to work this way. And that would be to front tomcat with apache httpd. Use mod_proxy_http or similar along with a rewrite rule. I don't understand why path would be ignored in context.xml but that is the way it is, and I wasn't looking at these

RE: Multi level webapp

2010-09-09 Thread Caldarale, Charles R
> From: Wesley Acheson [mailto:wesley.ache...@gmail.com] > Subject: Re: Multi level webapp > It was my understanding that you would just need to enter path > in the context.xml No - that's not allowed. The path attribute is ignored unless the element is in server.xml - wher

Re: Multi level webapp

2010-09-09 Thread Wesley Acheson
> It was my understanding that you would just need to enter path in the > context.xml > > > > > > > > But that doesn't seem to work for me. Nevermind just re-read the documentation. - To unsubscribe, e-mail: users-unsubscr...@

Re: Multi level webapp

2010-09-09 Thread Wesley Acheson
On Thu, Sep 9, 2010 at 1:24 PM, Pid wrote: > On 09/09/2010 10:47, Oscar Segarra Rey wrote: >> When application starts up it creates automatically a file in the >> WEB-INF\classes folder called dfc.keystore > > Why not create it in the temporary directory assigned to the > application, instead? >

Re: Multi level webapp

2010-09-09 Thread Pid
On 09/09/2010 10:47, Oscar Segarra Rey wrote: > When application starts up it creates automatically a file in the > WEB-INF\classes folder called dfc.keystore Why not create it in the temporary directory assigned to the application, instead? getServletContext().getAttribute("javax.servlet.conte

RE: Multi level webapp

2010-09-09 Thread Oscar Segarra Rey
de la Presidència C/ Sant Honorat 1-3 - 08002 Barcelona 934024834 -Mensaje original- De: Mark Thomas [mailto:ma...@apache.org] Enviado el: dijous, 9 / setembre / 2010 13:16 Para: Tomcat Users List Asunto: Re: Multi level webapp On 09/09/2010 12:12, Oscar Segarra Rey wrote: > Hi, > &g

Re: Multi level webapp

2010-09-09 Thread Mark Thomas
On 09/09/2010 12:12, Oscar Segarra Rey wrote: > Hi, > > Yes, but in this case system will not automatically explode .war files. Isn't > it ? Correct. You'd need to do that as part of your deployment process. Mark - To unsubsc

RE: Multi level webapp

2010-09-09 Thread Oscar Segarra Rey
nsaje original- De: Mark Thomas [mailto:ma...@apache.org] Enviado el: dijous, 9 / setembre / 2010 12:39 Para: Tomcat Users List Asunto: Re: Multi level webapp On 09/09/2010 10:47, Oscar Segarra Rey wrote: > Hi, > > We have an application (Gabjur) composed for several modules (AD, AX,

RE: Multi level webapp

2010-09-09 Thread Oscar Segarra Rey
elona 934024834 -Mensaje original- De: Wesley Acheson [mailto:wesley.ache...@gmail.com] Enviado el: dijous, 9 / setembre / 2010 12:30 Para: Tomcat Users List Asunto: Re: Multi level webapp If I understand correctly you want to serve content from http://localhost/Gabjur from one web applicatio

Re: Multi level webapp

2010-09-09 Thread Mark Thomas
On 09/09/2010 10:47, Oscar Segarra Rey wrote: > Hi, > > We have an application (Gabjur) composed for several modules (AD, AX, FD...) > that should be served throug: > > http://localhost/Gabjur/AD > http://localhost/Gabjur/AX > http://localhost/Gabjur/FD... > > 1.- I have created the context fil

Re: Multi level webapp

2010-09-09 Thread Wesley Acheson
If I understand correctly you want to serve content from http://localhost/Gabjur from one web application and another application from http://localhost/Gabjur/AD etc. Is that the requirement or am I missing anything. Do these war files have any interconnected content? What version of tomcat are yo

Multi level webapp

2010-09-09 Thread Oscar Segarra Rey
Hi, We have an application (Gabjur) composed for several modules (AD, AX, FD...) that should be served throug: http://localhost/Gabjur/AD http://localhost/Gabjur/AX http://localhost/Gabjur/FD... 1.- I have created the context file Gabjur#AD.xml, Gabjur#AX.xml and so on... 2.- I have renamed the