Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Problems Connecting Oracle database XSQL and/or JSP via apache

Re: Problems Connecting Oracle database XSQL and/or JSP via apache

From: Mark Starmer <markstarmer_at_hotmail.com>
Date: 24 Oct 2002 02:39:42 -0700
Message-ID: <8e45ea32.0210240139.517df19d@posting.google.com>


> Sounds as if you attempt to connect using OCI whithout having installed
> OCI.
>
> What does your connect string in Java look like?
>
> DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
> Connection conn =
> DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:your_sid",
> "scott", "tiger");
>
> Cheers,
>
> dmz17

My JAVA connection string should be fine, as I'm using the examples that come with Oracle (I'm using version 9i Home on Windows XP Pro, the version that downloads onto CD). I also have Apache 2 running with MySQL and PHP, and Apache Tomcat 4.xxx running as a JSP service on the same machine. There are no conflicts with port configutations of which I'm aware of.

Does anybody know of any other sevrices that use port 1521? I have also set up an additional listener on 1522 to see if that works but it didn't....

By the way, whats the OCI?

Best Regards,

Mark Starmer Received on Thu Oct 24 2002 - 04:39:42 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US