JNDI help

2002-10-04 Thread Fawaz Ahmad
Hello, Can anyone help me with this problem. I have read up on Tomcat JNDI from the Tomcat HowTo webpage and tried to implement it in my servlet. Unfortunately, I can not seem to get it to work. My servlet works fine when i use the original code to access the database: Class.forName("c

Some jndi help

2002-10-21 Thread Kwok Peng Tuck
I'm trying to access a jdbc datasource through jndi, I have a jsp page which uses the dbtags to get the jndi datasource. The problem is I get this error in the jsp page " Name jdbc is not bound in this Context " . Here's my jsp page (don't worry quite short) : <%@ taglib uri="http://jakarta.apach

Re: Some jndi help

2002-10-21 Thread Kwok Peng Tuck
I did. And it tried to use the hypersonic database. I've previously removed any mention of it in the server.xml and the only remaining one is sap db. Phil Steitz wrote: Try java:comp/env/jdbc/AthenaDB -- To unsubscribe, e-mail: For ad

Re: Tomcat / J2EE - JNDI Help!!!

2001-08-13 Thread Aditya Anand
Okie... just pondering if tomcat provides a directory service standalone i tried binding regular serializable java objects to the directory and get a security exception saying the context is read-only! --- Sophie <[EMAIL PROTECTED]> wrote: > Hi, > > I am not working with your configuration,