is it possible to have virtual domains in tomcat standalone mode or do you need use apache.
if you can have a virtual domain in tomcat how do you do it? all of the documentation I have seen points to using apache. I would like to have www.foo.com go to ROOT/foo/ and www.foo2.com go to ROOT/foo/ Thanks Ken -----Original Message----- From: Alvin Wang [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 10:06 AM To: Tomcat Users List Subject: Urgent.. Please help me Hi! I have an urgent question. Could any guru help me to diagnosis it? I'm using tomcat 4.0. My servlet gets the DataSource from JNDI. However, it raise the following exception: javax.naming.NameNotFoundException: Name java:comp is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:811) at org.apache.naming.NamingContext.lookup(NamingContext.java:194) at javax.naming.InitialContext.lookup(InitialContext.java:350) That means the the whole "java:comp" cannot be found, which I think should have nothing to do with my DataSource resource setup in my web application context. Also I use javax.naming.NamingEnumeration ne = initCtx.list(""); I found there is nothing under JNDI root. I think there is much some configuration not right. Can any gurus help? thanks so much! Alvin -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>