Re: Trouble with context and JNDI resource

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Trouble with context and JNDI resource

by Carsten Pohl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just to make clear one thing.

If you edit the context.xml (that will be automatically copied from your war archive to conf/Catalina/localhost/WEBAPP.xml) your webapp will be redeployed.

That means, that the server will NOT be restarted, but your webapp WILL be redeployed (which will result in downtime for your users).

Regards,
Carsten Pohl

----- Original Message -----
From: "Mikolaj Rydzewski" <miki@...>
To: "Tomcat Users List" <users@...>
Sent: Tuesday, 3 November, 2009 15:55:07 GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: Re: Trouble with context and JNDI resource

Mike Baranski wrote:
> Yes, I know, what's the convention for doing this without changing the context.xml and restarting tomcat?
>  
Put context.xml in META-INF directory of your webapp.

--
Mikolaj Rydzewski <miki@...>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...