well your JDBC-connection URL is not correct (it´s missing @-sign)
correct would be :
jdbc:oracle:thin:@hostName:portNumber:InstanceName
this should be the config for you then :
jdbc:oracle:thin@spirou:1521:AGENCE
bye
Reynir Þór Hübner
[EMAIL PROTECTED]
www.hugsmidjan.is
-Original Me
>>> [OracleDB] XA Connection pool OracleDB bound to java:/OracleDB
Use: java:/OracleDB
Vinay
- Original Message -
From: "De Closmadeuc, Etienne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 15, 2001 9:03 AM
Subject: [JBoss-user] Minerva DataSource Error
I'm trying t
use
DataSource ds = (DataSource)
jndiCntx.lookup("java:/OracleDB");
return ds.getConnection( );
Allan.
--- "De Closmadeuc, Etienne"
<[EMAIL PROTECTED]> wrote:
>
> I'm trying to execute a query on an Oracle 8.1.7
> database but ...
> I can't figure what JNDI name must be used.
>
>
InitialContext jndiCntx = new InitialContext( );
DataSource ds = (DataSource) jndiCntx.lookup("java:comp/env/OracleDB");
return ds.getConnection( );
Change that into this
InitialContext jndiCntx = new InitialContext( );
DataSource ds = (DataSource) jndiCntx.lookup("java
This is the exactly the problem
(java.lang.NullPointerException)I have had over the
past week, trying to connect to postgresql. I have
tried with and without 'password' value in the
password attribute. Of course the database is running.
I know it works. I made it work perfectly the first
time, I e
I have never had to modify jboss.properties to access an Oracle database.
- Original Message -
From: "De Closmadeuc, Etienne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 12, 2001 11:44 AM
Subject: [JBoss-user] Minerva DataSource Error
>
> Hello everybody !
>
> I'm tr
>name="DefaultDomain:service=XADataSource,name=OracleDB">
>OracleDB
> name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
> l
> name="URL">jdbc:oracle:thin:spirou:1521:AGENCE
>hidden
>hidden
>
It looks like you have a typo.