tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lim SiewLing" <siewling...@hotmail.com>
Subject RE: TOMCAT and ORACLE
Date Thu, 01 Jan 1970 00:00:00 GMT
<html><DIV>
<P>The connection string that I used is as follow:</P>
<P>Class.forName("oracle.jdbc.driver.OracleDriver);</P>
<P>Connection connection = DriverManager.getConnection("jdbc:oracle:thin:@myhost:1521:orcl");</P>
<P>where: myhost&nbsp; is the PC Name where the oracle database is resided</P>
<P>Josephine<BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>&gt;From: John Towell <JTOWELL@CSCEXCHANGE.CC.EDU>
<DIV></DIV>&gt;Reply-To: tomcat-user@jakarta.apache.org 
<DIV></DIV>&gt;To: "'tomcat-user@jakarta.apache.org '" <TOMCAT-USER@JAKARTA.APACHE.ORG>
<DIV></DIV>&gt;Subject: RE: TOMCAT and ORACLE 
<DIV></DIV>&gt;Date: Tue, 1 May 2001 14:34:00 -0500 
<DIV></DIV>&gt;MIME-Version: 1.0 
<DIV></DIV>&gt;Received: from [64.208.42.41] by hotmail.com (3.2) with ESMTP
id MHotMailBCB85AA400C0400438AC40D02A29080E0; Tue May 01 12:33:56 2001 
<DIV></DIV>&gt;Received: (qmail 90123 invoked by uid 500); 1 May 2001 19:33:45
-0000 
<DIV></DIV>&gt;Received: (qmail 90094 invoked from network); 1 May 2001 19:33:43
-0000 
<DIV></DIV>&gt;Received: from cscexchange.cc.edu (140.104.1.155) by h31.sny.collab.net
with SMTP; 1 May 2001 19:33:43 -0000 
<DIV></DIV>&gt;Received: by cscexchange.cc.edu with Internet Mail Service
(5.5.2653.19)id <JSVNANQL>; Tue, 1 May 2001 14:34:05 -0500 
<DIV></DIV>&gt;From tomcat-user-return-33265-siewlinglim Tue May 01 12:35:14
2001 
<DIV></DIV>&gt;Mailing-List: contact tomcat-user-help@jakarta.apache.org;
run by ezmlm 
<DIV></DIV>&gt;Precedence: bulk 
<DIV></DIV>&gt;list-help: <mailto:tomcat-user-help@jakarta.apache.org>
<DIV></DIV>&gt;list-unsubscribe: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
<DIV></DIV>&gt;list-post: <mailto:tomcat-user@jakarta.apache.org>
<DIV></DIV>&gt;Delivered-To: mailing list tomcat-user@jakarta.apache.org 
<DIV></DIV>&gt;Message-ID: &lt;4846D78D61FAD311ACE900A0C9ED912E53703C@cscexchange.cc.edu&gt;

<DIV></DIV>&gt;X-Mailer: Internet Mail Service (5.5.2653.19) 
<DIV></DIV>&gt;X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Hi Lim 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;It would help to see the connection string you're using ...

<DIV></DIV>&gt; 
<DIV></DIV>&gt;John 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;-----Original Message----- 
<DIV></DIV>&gt;From: Lim SiewLing 
<DIV></DIV>&gt;To: tomcat-user@jakarta.apache.org 
<DIV></DIV>&gt;Sent: 5/1/01 2:22 PM 
<DIV></DIV>&gt;Subject: TOMCAT and ORACLE 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Hi, 
<DIV></DIV>&gt;I'm currently engaged on a school project which uses Tomcat3.2.1,
ORACLE 
<DIV></DIV>&gt;and Java to develop an intranet application. 
<DIV></DIV>&gt;My program run smoothly when retrieving data in Access database
but the 
<DIV></DIV>&gt;data could not be retrieve using ORACLE. The error message
that I get is 
<DIV></DIV>&gt;"The Network adapter could not establish a connection". 
<DIV></DIV>&gt;Could anyone please help me by telling me what is the problems
of 
<DIV></DIV>&gt;connecting the Tomcat to the ORACLE? I had start the listener
and the 
<DIV></DIV>&gt;ORACLE database but still got the same error. 
<DIV></DIV>&gt;Do I need to configure the server.xml or web.xml file? Please
help 
<DIV></DIV>&gt;me....Your help will be very much appreciated. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Regards, 
<DIV></DIV>&gt;Josephine 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; _____ 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

<DIV></DIV>&gt;<HTTP: www.hotmail.com> . 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV></mailto:tomcat-user@jakarta.apache.org></mailto:tomcat-user-unsubscribe@jakarta.apache.org></mailto:tomcat-user-help@jakarta.apache.org><br
clear=all><hr>Get Your Private, Free E-mail from MSN Hotmail at <a href="http://www.hotmail.com">http://www.hotmail.com</a>.<br></p></html>

Mime
View raw message