RE: [JBoss-user] Minerva DataSource Error

2001-06-22 Thread Reynir Hübner
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

Re: [JBoss-user] Minerva DataSource Error

2001-06-15 Thread K.V. Vinay Menon
>>> [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

Re: [JBoss-user] Minerva DataSource Error

2001-06-15 Thread Allan Kamau
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. > >

Re: [JBoss-user] Minerva DataSource Error

2001-06-15 Thread Samuel Franklyn
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

Re: [JBoss-user] Minerva DataSource Error

2001-06-13 Thread Allan Kamau
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

Re: [JBoss-user] Minerva DataSource Error

2001-06-12 Thread Guy Rouillier
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

Re: [JBoss-user] Minerva DataSource Error

2001-06-12 Thread Jonathan Meeks
>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.