Hi Jonathan,
No problem. Don't forget to put the MySQL driver jar file in the
controllers' drivers/ directory.
Thanks for your feedback,
Emmanuel
Nevermind, My lack of jboss understanding. I just put a sequoia-ds.xml
file in the deploy directory and jboss picked up on it. Sorry about
that ladies and gents.
JP
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jonathan Poole
Sent: Friday, March 07, 2008 9:07 AM
To: Sequoia general mailing list
Subject: RE: [Sequoia] Quick Question
No complaints, just confused as to where to define my data sources
within jboss now that I'm removing the mysql-connector jar file, and
putting the sequoia-driver in. The JBoss Server configuration below im
sure is where I define my data sources, but where does this file go?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Emmanuel Cecchet
Sent: Friday, March 07, 2008 8:58 AM
To: Sequoia general mailing list
Subject: Re: [Sequoia] Quick Question
Hi Jonathan,
The Sequoia driver does not need any xml file, it is self contained.
Do you have any complaints from the driver looking for an xml file?
Thanks for your interest in Sequoia,
Emmanuel
When using jboss and the sequoia-driver.jar, does this jar just want
the
mysql-ds.xml in the jboss/server/all/deploy directory, or is there a
different xml file it looks for? I see the example datasource file in
the documentation, but not sure what configuration file name and
location should be.
<?xml version="1.0" encoding="UTF-8"?>
<!--============================================================= -->
<!-- -->
<!-- JBoss Server Configuration -->
<!-- -->
<!--============================================================= -->
<!--============================================================= -->
<!-- Datasource config for Sequoia -->
<!--============================================================= -->
<datasources>
<local-tx-datasource>
<jndi-name>sequoia-DS</jndi-name>
<connection-url>jdbc:sequoia://host1,host2/vdbname</connection-url>
<driver-class>org.continuent.sequoia.driver.Driver</driver-class>
<user-name>user</user-name>
<password>tagada</password>
</local-tx-datasource>
</datasources>
--
Emmanuel Cecchet - Research scientist
EPFL - LABOS/DSLAB - IN.N 317
Phone: +41-21-693-7558
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia