Re: NamingException

2005-08-08 Thread Anto Paul
/05, Asad Habib <[EMAIL PROTECTED]> wrote: > Hello. I am getting a NamingException while Tomcat processes Global JNDI > Resources. Any idea why this is happening? I am using Mac OS X Tiger, > Eclipse 3.1, and the Tomcat Eclipse Plugin 3.1.0 from Sysdeo. This error > occurs when I t

NamingException

2005-08-07 Thread Asad Habib
Hello. I am getting a NamingException while Tomcat processes Global JNDI Resources. Any idea why this is happening? I am using Mac OS X Tiger, Eclipse 3.1, and the Tomcat Eclipse Plugin 3.1.0 from Sysdeo. This error occurs when I try to start Tomcat from within Eclipse using the plugin. It occurs

Re: Tomcat 5.5.9: NamingException cannot be resolved or is not a type - JNDI, MySQL

2005-06-09 Thread Dirk Weigenand
mcat Users List > Betreff: Re: Tomcat 5.5.9: NamingException cannot be resolved or is not a > type - JNDI, MySQL > Datum: Wed, 08 Jun 2005 17:44:55 -0400 > > Great! Thanks Torsten. Added javax.naming Now new problem: > > NamingException: > >javax.naming.NamingEx

Re: Tomcat 5.5.9: NamingException cannot be resolved or is not a type - JNDI, MySQL

2005-06-08 Thread Greg Brownell
Great! Thanks Torsten. Added javax.naming Now new problem: NamingException: >javax.naming.NamingException: Could not create resource factory, ClassNotFoundException:org.apache.commons.dbcp.BasicDataSourceFactory This exposed several other pitfalls. Tomcat distribution did not c

Re: Tomcat 5.5.9: NamingException cannot be resolved or is not a type - JNDI, MySQL

2005-06-08 Thread Torsten Römer
-Message d'origine- De : Greg Brownell [mailto:[EMAIL PROTECTED] Envoyé : mercredi 8 juin 2005 21:34 À : tomcat-user@jakarta.apache.org Objet : Tomcat 5.5.9: NamingException cannot be resolved or is not a type - JNDI, MySQL I get the error below when trying to compile/execute a

Re: Tomcat 5.5.9: NamingException cannot be resolved or is not a type - JNDI, MySQL

2005-06-08 Thread Greg Brownell
ot;java.io.File" %> Greg. Arnaud HERITIER wrote: You must import the classes you use in your JSP : <%@ page import="{package.class | package.*}, ..." ... Arnaud -Message d'origine- De : Greg Brownell [mailto:[EMAIL PROTECTED] Envoyé : mercredi 8 j

RE: Tomcat 5.5.9: NamingException cannot be resolved or is not a type - JNDI, MySQL

2005-06-08 Thread Arnaud HERITIER
che.org > Objet : Tomcat 5.5.9: NamingException cannot be resolved or > is not a type - JNDI, MySQL > > I get the error below when trying to compile/execute a jsp > that wants to connect to a MySQL db named > > testdb. Here's the code snippet from testdb.jsp: > >

Tomcat 5.5.9: NamingException cannot be resolved or is not a type - JNDI, MySQL

2005-06-08 Thread Greg Brownell
rset = stmt.executeQuery("select * from subscriber"); It fails on the lookup with: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 52 in the jsp file: /testdb.jsp Generated servlet error: NamingException cannot be

Re: JNDI lookup returns NamingException

2005-02-16 Thread Carl
for several hours on such a simple problem. Thanks again, Carl - Original Message - From: "Parsons Technical Services" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, February 15, 2005 11:16 PM Subject: Re: JNDI lookup returns NamingException >

Re: JNDI lookup returns NamingException

2005-02-15 Thread Parsons Technical Services
Doug - Original Message - From: "Carl" <[EMAIL PROTECTED]> To: "Tomcat User Group" Sent: Tuesday, February 15, 2005 4:41 PM Subject: JNDI lookup returns NamingException For various reasons, I need to put a Hashtable as a resource in the Tomcat Context. I have mod

Re: JNDI lookup returns NamingException

2005-02-15 Thread sven morales
P/1.3" /> > > debug="0"> > > > className="org.apache.catalina.logger.FileLogger" > prefix="catalina_log." suffix=".txt" > timestamp="true"/> > > className="org.apache.catalina.realm.UserDatabas

JNDI lookup returns NamingException

2005-02-15 Thread Carl
factory com.tsr.factory.HashtableFactory My application accesses this resource (well, tries to) using the following code: try { Context ctx = new InitialContext(); if(ctx == null ){ System.out.println("Boom - No Context"); throw new NamingException("

jspInit() throwing NamingException when extracting a factory object from JNDI context

2005-02-03 Thread Yogi
Yogi -Original Message- From: Yogi [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 7:47 PM To: 'Tomcat Users List' Subject: RE: jspInit() throwing NamingException when extracting a factory object from JNDI context Appreciate if any one has some inputsWe couldn'

RE: jspInit() throwing NamingException when extracting a factory object from JNDI context

2005-02-03 Thread Yogi
Appreciate if any one has some inputsWe couldn't decide whether it is a bug or usage issue,... Details @ http://issues.apache.org/bugzilla/show_bug.cgi?id=33307 Problem: jspInit() throwing NamingException when extracting a factory object from JNDI co

jspInit() throwing NamingException when extracting a factory object from JNDI context

2005-02-03 Thread Yogi
BUG ID: http://issues.apache.org/bugzilla/show_bug.cgi?id=33307 Problem: jspInit() throwing NamingException when extracting a factory object from JNDI context. Description: When the container has been configured to load the JSP page

NamingException in tomcat 4.1.18 LE

2003-02-16 Thread Kaarle Kaila
hi, I just joined this list but have used tomcat a while now. I used jakarta-tomcat-4.1.10 until now and changed my server to jakarta-tomcat-4.1.18-LE-jdk14 and got it running almost OK. in server.xml I have a Context element like this:

NamingException using DataSource from JNDI

2003-01-30 Thread Marcio Fuckner
javax.sql.DataSource Container My code: try { Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup("java:comp/env"); DataSource ds = (DataSource) envCtx.lookup("jdbc/DBSample"); < Returns a NamingException

Re: Tomcat SendMail Example : NamingException: Cannot create resource

2002-07-22 Thread Glow Nair
.. I guess JNDI support must be better.. :) Thanks.. --- Phil Steitz <[EMAIL PROTECTED]> wrote: > > > Glow Nair wrote: > > >------ > >NamingException : Cannot create resource instance > >--