Did you use the correct JDBC drivers? The 8.1.5 drivers from Oracle will not
work with Java2, and may generate that error. Use the 8.1.6 drivers instead.

Jeroen T. Wenting
[EMAIL PROTECTED]

Murphy was wrong, things that can't go wrong will anyway

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Andreas
> Reckmann
> Sent: Tuesday, August 15, 2000 12:56
> To: Orion-Interest
> Subject: Could not connect to oracle8.1.5
>
>
> Hi,
>
> I try to establish a connection to oracle 8.1.5.
> My entry in the data-sources.xml is:
>
>         <data-source
>                 name="STP data-source"
>                 class="com.evermind.sql.ConnectionDataSource"
>                 location="jdbc/DefaultDS"
>                 pooled-location="jdbc/DefaultPooledDS"
>                 xa-location="jdbc/xa/DefaultXADS"
>                 ejb-location="jdbc/stp"
>                 url="jdbc:oracle:thin:@localhost:1521:stp"
>                 connection-driver="oracle.jdbc.driver.OracleDriver"
>                 username="stp"
>                 password="stp"
>                 schema="database-schemas/oracle.xml"
>         />
>
> The orionserver starts without errors.
>
> When I try to connect to the database through a bean i get
> an EJBException (null) in alle "database"-methods.
>
> When i use orion1.2 with console (java -jar orion.jar -console2)
> it is possible to use a datasource and call sql-statements.
> I get the error:
> E/A-Exception: The Network Adapter could not establish the connection.
>
> Can someone help me.
>
> Thanks
>    Andreas
>


Reply via email to