You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vernon Wu <ve...@gatewaytech.com> on 2002/08/08 11:26:38 UTC

Re: Trying to work with JDBC

The Jar file shall be placed in one of lib directories, either your own application or in the TC's common/lib, not in a 
classes directory. See the TC document for more detail inforamtion.


8/8/2002 8:00:41 AM, "Nagpal, Vikas" <vi...@utmb.edu> wrote:

>Hi everybody,
>
>I was trying to connect to the ORACLE database thru the JDBC driver. I have
>downloaded the DRIVER TYPE 4 and unzip this driver. On unzipping one of
>ORACLE.JAR driver i have got the hierarchy like
>com/ddtek/jdbc/oracle/OracleDriver.class. I have placed this hierarchy in
>WEB-INF/classes directory. I have configured my CLASSPATH to point towards
>the tools.jar, servlet.jar, WEB-INF/classes, jdbc2_0-stdext.jar. Also in my
>JAVA code i have put myDriver =com.ddtek.jdbc.oracle.OracleDriver and
>myURL=http://bioinfo.utmb.edu/cgi-bin/bsql_ProbeSet.cgi. I am not sure what
>exactly i need to do with the SERVER.XML file. Also i have created the
>instance of my JAVABEAN class in the JSP file to retrieve the requisite
>fields into my page. But even after this my code is not able to pull
>anything from the database. Can anyone help.
>
>Thanks,
>With regards,
>Vikas Nagpal.
>
>
>--
>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: Trying to work with JDBC

Posted by Jerry Birchler <jr...@attbi.com>.
Oracle jar files end with *.zip. Tomcat does not see *.zip files under /lib.
Simply renaming them to *.jar works.

-----Original Message-----
From: Vernon Wu [mailto:vernonw@gatewaytech.com]
Sent: Thursday, August 08, 2002 4:27 AM
To: Tomcat Users List
Subject: Re: Trying to work with JDBC



The Jar file shall be placed in one of lib directories, either your own
application or in the TC's common/lib, not in a
classes directory. See the TC document for more detail inforamtion.


8/8/2002 8:00:41 AM, "Nagpal, Vikas" <vi...@utmb.edu> wrote:

>Hi everybody,
>
>I was trying to connect to the ORACLE database thru the JDBC driver. I have
>downloaded the DRIVER TYPE 4 and unzip this driver. On unzipping one of
>ORACLE.JAR driver i have got the hierarchy like
>com/ddtek/jdbc/oracle/OracleDriver.class. I have placed this hierarchy in
>WEB-INF/classes directory. I have configured my CLASSPATH to point towards
>the tools.jar, servlet.jar, WEB-INF/classes, jdbc2_0-stdext.jar. Also in my
>JAVA code i have put myDriver =com.ddtek.jdbc.oracle.OracleDriver and
>myURL=http://bioinfo.utmb.edu/cgi-bin/bsql_ProbeSet.cgi. I am not sure what
>exactly i need to do with the SERVER.XML file. Also i have created the
>instance of my JAVABEAN class in the JSP file to retrieve the requisite
>fields into my page. But even after this my code is not able to pull
>anything from the database. Can anyone help.
>
>Thanks,
>With regards,
>Vikas Nagpal.
>
>
>--
>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>


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