tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Wadkin <>
Subject RE: NullPointerException: causes?
Date Thu, 31 Jan 2002 18:34:47 GMT

You said "So probably something is wrong in setting up the connection". Any
ideas what?? I've checked that the database is open and the listener is
listening. The JDBC drivers are in the right place. The user has sufficient
privileges. I'm out of ideas!
I'm just a lowly student who's ended up working for his Uni for a year. No
one here knows anything about TomCat or Java Servlets. The Oracle DBA left a
week ago (seriously) and there's no one but me to do everything. I get help
on the Unix/networking side of things. The person who writes the servlets
(that I'm trying to deploy) knows next to nothing about running them. Great
situation, eh?

-----Original Message-----
From: Martin van den Bemt []
Sent: 31 January 2002 17:46
To: Tomcat Users List
Subject: RE: NullPointerException: causes?

Looks like the DriverManager is returning null, so dbCcon is null. (line
217). So probably something is wrong in setting up the connection.


> -----Original Message-----
> From: John Wadkin []
> Sent: Thursday, January 31, 2002 18:41
> To: Tomcat Users List (E-mail)
> Subject: NullPointerException: causes?
> Can anyone offer any suggestions about the cause of the attached
> NullPointerException trace?
> I've managed to setup and integrate Apache 1.3 and Tomcat 4.1 using
> mod_WebApp on Solaris 8 (JDK 1.3). I ran the attached servlet (which I
> didn't write) with the hope of testing that everything was working ok,
> especially the Oracle/JDBC bit.
> As far as I can tell, everything is configured properly...
> The general aim is for me to verify that everything works (using the
> attached servlet) before trying to deploy a second, more complex servlet
> that's currently running under JServ.
> Apologies if this is a frequent question but I've only been able to find
> vague references to it, and I'm only a novice Java programmer!

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message