tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alvin Wang" <>
Subject Urgent.. Please help me
Date Fri, 03 May 2002 14:05:48 GMT
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
        at org.apache.naming.NamingContext.lookup(
        at org.apache.naming.NamingContext.lookup(
        at javax.naming.InitialContext.lookup(

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!


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message