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: oracle jdbc connect GPF

Re: oracle jdbc connect GPF

From: ed zappulla <zappullae_at_rcn.com>
Date: Tue, 7 Dec 1999 12:37:02 -0500
Message-ID: <82jgjv$m41$1@autumn.news.rcn.net>


yea Cindy the same here. I have the thin driver working. but only with 8.0.4. the 805 classes111.zip are dog slow.

C. Ferguson <c_ferguson_at_rationalconcepts.com> wrote in message news:384D40E8.9C9938EC_at_rationalconcepts.com...
> Hi Ed,
> I'm not using the oci driver, I'm using the thin which has a different
> connect string than the oci ones. The thin driver is a type 4 (pure java)
> driver. It's performance on speed has been quite satisfactory so I've
never
> been interested in using the oci driver.
> This has allowed me to be platform independent quite easily.
>
> The 3 connect streams I sent you came from an oracle document found at
> http://www.oracle.com/java/jdbc/templates.html.
>
> If you are still having problems, try the thin driver instead.
>
> cindy
>
> ed zappulla wrote:
>
> > Hi Cindy, I am using one form of what you had suggested. "local" is a
tns
> > entry.
> >
> > Are you using 8.05 jdbc without a problem?
> >
> > parms.conn = DriverManager.getConnection("jdbc:oracle:oci8:@local",
> > "system", "manager");
> >
> > C. Ferguson <c_ferguson_at_rationalconcepts.com> wrote in message
> > news:384BE849.CD82DFBC_at_rationalconcepts.com...
> > > Try:
> > > To use the default connection:
> > > parms.conn = DriverManager.getConnection("jdbc:oracle:oci8:@",
> > "system",
> > > "manager");
> > > OR
> > > parms.conn =
> > DriverManager.getConnection("jdbc:oracle:oci8:@(description =
> > > (address=(host=<mc_name>)) (protocal=tcp)(port =
> > > <port-no>)(connect_data=(sid=<SID>)))", "system", "manager");
> > >
> > > OR
> > >

parms.conn=DriverManager.getConnection("jdbc:oracle:oci8:@<tns-name>",
> > > "system", "manager");
> > >
> > > hope that helps,
> > > cindy
> > >
> > > ed zappulla wrote:
> > >
> > > > I have oracle 8.0.5.0.0 installed. When I use the following connect
> > > > statement my Java app GPFs. I've run into this before and have had
to
> > roll
> > > > back to the 8.0.4 jdbc driver because they came with the debug (_g)
> > version
> > > > and the 8.0.5 version does not. However, rolling back is no longer
an
> > > > option and I need to make the apps work with 8.0.5 out of the box.
> > > >
> > > > Does anyone know why the Oracle JDBC driver GPFs when I try to do a
> > simple
> > > > connect?
> > > >
> > > > Class.forName("oracle.jdbc.driver.OracleDriver");
> > > > parms.conn = DriverManager.getConnection("jdbc:oracle:oci8:@local",
> > > > "system", "manager");
> > >
>
Received on Tue Dec 07 1999 - 11:37:02 CST

Original text of this message

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