Did you setup each context as described 
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
Did you setup crossContext = true so that multiple context's will route to 
other RequestDispatcher's configured within VirtualHost?

M-

*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "Kuldeep Tewari" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Monday, May 29, 2006 9:22 AM
Subject: Help needed:Context Creation Failed.




Hi!

 I'm using Tomcat 5.0.27, and trying to setup my application (that is
working fine) on a different machine with the same directory structure
as in my machine. 

 

I'm adding one more new host tag(with name="<<My Machine's network
name>>" ...) inside the original server.xml file and and two context
inside this new host. My problem is that during startup the tomcat
server windows is closing down abruptly. 

 

When I remove the context tags from the newly added Host tag, the server
starts normally.

 

On seeing the logs, i get the following message:


NamingContextListener [/Standalone/localhost/<context path>]: Creation
of the naming context failed: javax.naming.NamingException: Context is
read only

Creation of the naming context failed: javax.naming.NamingException:
Context is read only.

 

Please help.

 

Thanks in advance.

 

Regards.

KT. 

Reply via email to