Is there a way to configure Tomcat so I can lookup datasoruce objects by
doing .lookup(jdbc/someName) instead of
.lookup(java:comp/env/jdbc/someName). I'm trying to work locally on a
webphere project using Tomcat / Netbeans. In Webphere lookups are done
using jdbc/someName.
Thanks,
Robert
V1.3
C:\jdk1.3.1_08\jre\bin\java -classpath
C:\web\Tomcat4.1\bin\bootstrap.jar;C:\jdk1.3.1_08\lib\tools.jar
-Dcatalina.home=C:\web\Tomcat4.1 -Dcatalina.base=C:\web\Tomcat4.1
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 6:20 PM
To:
I'm having the same problem. From what I read the most common problem is
that you jdbc driver jar is not in tomcatehome/common/lib dir. Apparently
if its only the the web apps ../WEB-INF/lib the tomcat runtime does not have
access to it. But, I still have the same problem. I know the jar file
I meant to say I can't delete the ../common/lib/classes12.jar when TomCat is
running.
Blip,
Robert Wynkoop
-Original Message-
From: Wynkoop, Robert M
Sent: Thursday, September 11, 2003 7:54 AM
To: 'Tomcat Users List'
Subject: RE: Cannot load JDBC driver class 'null'
I'm having
5.0
x86
-Ben
From: Wynkoop, Robert M [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Cannot load JDBC driver class 'null'
Date: Thu, 11 Sep 2003 08:57:35 -0400
I meant to say I can't delete the ../common/lib/classes12
I thought about this and then went into the
Tomcat admin. Under service/localhost/contextmyapp When
I click Datasource(under my apps context) I get the error:
org.apache.jasper.JasperException: Exception retrieving attribute
'driverClassName'
at
Ramirez T.
Wynkoop, Robert M wrote:
Yeah I had already tried that. When It was not there I got this message
on
Tomcat startup - java.lang.reflect.InvocationTargetException:
java.lang.NoClassDefFoundError: javax/sql/DataSource
I'm kind of stumped on this. Any other ideas?
Later
that - stop and start tomcat and see
if that flies.
Regards
Kevin
-Original Message-
From: Wynkoop, Robert M [mailto:[EMAIL PROTECTED]
Sent: 11 September 2003 14:54
To: 'Tomcat Users List'
Subject: RE: Cannot load JDBC driver class 'null' and
org.apache.jasper.Ja sperException: Exception
I sent him a email to his new address
at [EMAIL PROTECTED] - no reply and he is still on the list.
Robert Wynkoop
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 9:08 AM
To: 'Tomcat Users List'
Subject: RE: new Aspen Group Email
If
to follow
Phillip Qin advise. Happy Coding!
Regards,
__
Manolo Ramirez T.
Wynkoop, Robert M wrote:
I don't know how to answer other than I have it in:
GlobalNamingResources
When you say normal context, what are we talking about? :)
Are talking about something like
?
P.S. - So moving the resources to the webApp context did fix my problem.
Later,
Robert Wynkoop
-Original Message-
From: Wynkoop, Robert M
Sent: Thursday, September 11, 2003 10:53 AM
To: 'Tomcat Users List'
Subject: RE: Cannot load JDBC driver class 'null' - Tomcat standalone
4.1. 27
Paul,
I just went through this exercise today.
(See msgs with subject = java.sql.SQLException: Cannot load JDBC driver
class 'null')
I do not know why it does not work when set up in the global context(Tomcat
admin puts datasources here). Let us know if you get an answer.
Later,
Robert
The error(Wen I try to use a JNDI resource in my webapp.):
C:\jdk1.3.1_08\jre\bin\java -classpath
C:\web\Tomcat4.1\bin\bootstrap.jar;C:\jdk1.3.1_08\lib\tools.jar
-Dcatalina.home=C:\web\Tomcat4.1 -Dcatalina.base=C:\web\Tomcat4.1
org.apache.catalina.startup.Bootstrap start
[INFO] Registry -
-Original Message-
From: Wynkoop, Robert M [mailto:[EMAIL PROTECTED]
Sent: September 10, 2003 6:06 PM
To: Tomcat Mailing List (E-mail)
Subject: Cannot load JDBC driver class 'null' - Tomcat standalone 4.1.27 w
hen trying instantiate datasource object.
The error(Wen I try to use a JNDI resource
14 matches
Mail list logo