/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
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
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
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
-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
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
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:
>
>
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
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
>
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
P/1.3" />
>
> debug="0">
>
>
> className="org.apache.catalina.logger.FileLogger"
> prefix="catalina_log." suffix=".txt"
> timestamp="true"/>
>
>
className="org.apache.catalina.realm.UserDatabas
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("
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'
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
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
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:
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
.. I guess
JNDI support must be better.. :)
Thanks..
--- Phil Steitz <[EMAIL PROTECTED]> wrote:
>
>
> Glow Nair wrote:
>
> >------
> >NamingException : Cannot create resource instance
> >--
18 matches
Mail list logo