RE: NamingException

2008-01-03 Thread Caldarale, Charles R
> From: AbelMacAdam [mailto:[EMAIL PROTECTED] > Subject: Re: NamingException > > The context file contained the following entry: > More problems due to using old doc: the path and docBase attributes are not allowed when using a META-INF/context.xml file. They will probably

Re: NamingException

2008-01-03 Thread AbelMacAdam
p://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

Re: NamingException

2008-01-02 Thread David Smith
p 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 bo

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

NamingException

2008-01-02 Thread AbelMacAdam
AOBase.getConnection: == context.lookup =="); dataSource = (DataSource) context.lookup("java:/comp/env/jdbc/myDataSource"); } catch (NamingException e) { logger.info("DAOBase.getConnection: == NamingException ==", e.fillInStackTrace()); throw new D

Re: NamingException: Cannot create resource instance

2006-09-09 Thread Kevin Hart
nt stmt = conn.createStatement(); > > 17:ResultSet rset = stmt.executeQuery("select * from employee;"); > > .. > > > > As you can see, I'm just trying to get an example working. > > > > Thanks again for any help, > > Kevin > > &

Re: NamingException: Cannot create resource instance

2006-09-07 Thread David Smith
[EMAIL 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&#

Re: NamingException: Cannot create resource instance

2006-09-07 Thread Kevin Hart
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 t

NamingException: Cannot create resource instance

2006-09-07 Thread Kevin Hart
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