jboss and ingres
From: bevyn quiding (bqui001_at_yahoo.com)
Date: 10/30/03
- Next message: bevyn quiding: "Re: JDBC to Ingres Woessss...."
- Previous message: David: "Oracle 8i Cursors via JDBC"
- Next in thread: Andrew Tyson: "Re: jboss and ingres"
- Reply: Andrew Tyson: "Re: jboss and ingres"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Oct 2003 19:00:27 -0800
Hi,
Im trying to get jboss 3.2.2 running against an ingres database.
I have tried doing the ingres-service.xml file but i get a jndiname
not found error.
I used this for the source for the ingres-service.xml
http://esupport.ca.com/public/cool/joe/manuals/JBoss30Joe31.pdf page
26.
So i created an ingres-ds.xml file modifying the hsqldb-ds.xml file
so it pointed to the edbc driver. then jboss said
Trying to install an already registered mbean:
jboss.jca:service=LocalTxCM,name=IngresDS)
have i put something in the ingres-ds.xml file that i shouldn't have?
ingres-ds.xml
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>IngresDS</jndi-name>
<connection-url>jdbc:edbc://mymachine:a01/machinename::database</connection-url>
<!-- The driver class -->
<driver-class>ca.edbc.jdbc.EdbcDriver</driver-class>
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
<idle-timeout-minutes>0</idle-timeout-minutes>
<track-statements>true</track-statements>
</local-tx-datasource>
</datasources>
incidentally the url i have used works when tested by a simple java
program.
also when i run jboss jboss without the ingres-service.xml it starts
up fine though i haven't tested whether it connects to the database
yet.
can anyone shed some light on this for me?
Thanks Bevyn
- Next message: bevyn quiding: "Re: JDBC to Ingres Woessss...."
- Previous message: David: "Oracle 8i Cursors via JDBC"
- Next in thread: Andrew Tyson: "Re: jboss and ingres"
- Reply: Andrew Tyson: "Re: jboss and ingres"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|