Re: NamingException

2008-01-03 Thread AbelMacAdam
to create DBCP. I hope this help you. Mariano -Mensaje original- De: AbelMacAdam [mailto:[EMAIL PROTECTED] Enviado el: miercoles, 02 de enero de 2008 14:05 Para: users@tomcat.apache.org Asunto: NamingException I have a piece of code that should get me a dataSource (from an example I'm

RE: NamingException

2008-01-03 Thread Caldarale, Charles R
From: AbelMacAdam [mailto:[EMAIL PROTECTED] Subject: Re: NamingException The context file contained the following entry: Context path=/app15a docBase=app15a reloadable=true debug=8 More problems due to using old doc: the path and docBase attributes are not allowed when using a META-INF

NamingException

2008-01-02 Thread AbelMacAdam
: == context.lookup ==); dataSource = (DataSource) context.lookup(java:/comp/env/jdbc/myDataSource); } catch (NamingException e) { logger.info(DAOBase.getConnection: == NamingException ==, e.fillInStackTrace()); throw new DAOException(); } [/code] This is a piece of my

RE: NamingException

2008-01-02 Thread Mariano
in http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html to create DBCP. I hope this help you. Mariano -Mensaje original- De: AbelMacAdam [mailto:[EMAIL PROTECTED] Enviado el: miercoles, 02 de enero de 2008 14:05 Para: users@tomcat.apache.org Asunto: NamingException

Re: NamingException

2008-01-02 Thread David Smith
this help you. Mariano -Mensaje original- De: AbelMacAdam [mailto:[EMAIL PROTECTED] Enviado el: miercoles, 02 de enero de 2008 14:05 Para: users@tomcat.apache.org Asunto: NamingException I have a piece of code that should get me a dataSource (from an example I'm playing with from a Struts

Re: NamingException: Cannot create resource instance

2006-09-09 Thread Kevin Hart
PROTECTED]: Hello, I'm trying to get a jsp to access a mysql database. I'm using the preferred JNDI resources approach with Tomcat, but I keep getting the NamingException: Cannot create resource instance error. I know others have posted with this error. I've read some of those posts

Re: NamingException: Cannot create resource instance

2006-09-07 Thread Kevin Hart
the NamingException: Cannot create resource instance error. I know others have posted with this error. I've read some of those posts, but the solutions don't seem to fix the problem in my case. I'm using FC5, MySql 5.0.22 and Apache Tomcat 5.5.15. I attach the following files

Re: NamingException: Cannot create resource instance

2006-09-07 Thread David Smith
a mysql database. I'm using the preferred JNDI resources approach with Tomcat, but I keep getting the NamingException: Cannot create resource instance error. I know others have posted with this error. I've read some of those posts, but the solutions don't seem to fix the problem in my case. I'm