You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nancy Crisostomo Martinez <na...@correo.uqroo.mx> on 2002/12/19 19:31:39 UTC

Tomcat 3.3 and Oracle9i

Hi!
I had tested a Java application that runs in Tomcat 3.3 accesing to
Oracle 8.1.7 with great success.

But now I'm trying to migrate the same application to a new server that
has the Oracle 9.0.1 version installed, and it doesn't get connected to
the database.
It gets the java.lang.NullPointerException. because the Connection
variable is always null.

I have updated the oracle jdbc version, so I can't understand why it
doesn't get connected yet, and I had recompiled all the classes.
Any ideas?
Thanks in advance.

Nancy.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Tomcat 3.3 and Oracle9i

Posted by "Rob A. Augustinus" <de...@siulintao.net>.
Oracle 8 jar doesn't work with oracle 9.. Connections will always
fail until you either patch your classes12.zip or get the ojdbc14.jar
Drivers from oracle.

Rob Augustinus

-----Original Message-----
From: Bill Barker [mailto:wbarker@wilshire.com] 
Sent: Thursday, December 19, 2002 21:44
To: tomcat-user@jakarta.apache.org
Subject: Re: Tomcat 3.3 and Oracle9i


Obviously, Tomcat 3.3 hasn't changed ;-).  I can't see any reason why
replacing the "Oracle 8" jar with the "Oracle 9" jar wouldn't work.  If
you can post more information on your config (e.g. where the Oracle jar
is located), and any errors in the logs, it would help the list to help
you :).

"Nancy Crisostomo Martinez" <na...@correo.uqroo.mx> wrote in message
news:3E02108B.DB212D2D@correo.uqroo.mx...
> Hi!
> I had tested a Java application that runs in Tomcat 3.3 accesing to 
> Oracle 8.1.7 with great success.
>
> But now I'm trying to migrate the same application to a new server 
> that has the Oracle 9.0.1 version installed, and it doesn't get 
> connected to the database. It gets the java.lang.NullPointerException.

> because the Connection variable is always null.
>
> I have updated the oracle jdbc version, so I can't understand why it 
> doesn't get connected yet, and I had recompiled all the classes. Any 
> ideas? Thanks in advance.
>
> Nancy.





--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Tomcat 3.3 and Oracle9i

Posted by Bill Barker <wb...@wilshire.com>.
Obviously, Tomcat 3.3 hasn't changed ;-).  I can't see any reason why
replacing the "Oracle 8" jar with the "Oracle 9" jar wouldn't work.  If you
can post more information on your config (e.g. where the Oracle jar is
located), and any errors in the logs, it would help the list to help you :).

"Nancy Crisostomo Martinez" <na...@correo.uqroo.mx> wrote in message
news:3E02108B.DB212D2D@correo.uqroo.mx...
> Hi!
> I had tested a Java application that runs in Tomcat 3.3 accesing to
> Oracle 8.1.7 with great success.
>
> But now I'm trying to migrate the same application to a new server that
> has the Oracle 9.0.1 version installed, and it doesn't get connected to
> the database.
> It gets the java.lang.NullPointerException. because the Connection
> variable is always null.
>
> I have updated the oracle jdbc version, so I can't understand why it
> doesn't get connected yet, and I had recompiled all the classes.
> Any ideas?
> Thanks in advance.
>
> Nancy.





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Tomcat 3.3 and Oracle9i

Posted by "Rob A. Augustinus" <de...@siulintao.net>.
Are you sure the new jdbc drivers are used? 
Right here I've got oracle 9i connected to my 
webapp running on tomcat 4.1.17 with the ojdbc14.jar
jdbc driver.

Rob Augustinus

-----Original Message-----
From: Nancy Crisostomo Martinez [mailto:nancycm@correo.uqroo.mx] 
Sent: Thursday, December 19, 2002 10:32
To: Tomcat Users List
Subject: Tomcat 3.3 and Oracle9i


Hi!
I had tested a Java application that runs in Tomcat 3.3 accesing to
Oracle 8.1.7 with great success.

But now I'm trying to migrate the same application to a new server that
has the Oracle 9.0.1 version installed, and it doesn't get connected to
the database. It gets the java.lang.NullPointerException. because the
Connection variable is always null.

I have updated the oracle jdbc version, so I can't understand why it
doesn't get connected yet, and I had recompiled all the classes. Any
ideas? Thanks in advance.

Nancy.


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>