Title: RE: [JBoss-user] MySQL service installation
The datasource-mapping for MySQL is called mySQL - I guess
case matters. You have MySql. To find the datasource-mappings
look in the standardjbosscmp-jdbc.xml in server/default/conf
JD
-Original Message-
From: wonder sonic
Thats all well and good, but what about your xml file that configures mysql as a
service. You also need something along the lines of a mysql-service.xml in
deploy. Take a look at the hypersonic example that I mentioned and also take a look
at Chap10 of the JBoss3.0QuickStartGuide gotten from h
IL PROTECTED]>
Sent: Thursday, June 06, 2002 3:49 PM
Subject: Re: [JBoss-user] MySQL service installation
> I've done all of you said: xml file in the deploy
> directory with name="JndiName">MySql, xxx-13.jar file in
> the jboss/lib directory and here is the
> jbosscmp
I've done all of you said: xml file in the deploy
directory with MySql, xxx-13.jar file in
the jboss/lib directory and here is the
jbosscmp-jdbc.xml file of my ear:
...
java:/MySqlDS
MySql
And I've got the following exception for each of my
entity beans:
22:47:35,746 ERROR [UR
Hmmm. I am running RC2 and there is no jboss/server/default/lib, so I meant
jboss/lib. I don't clearly understand how works, but there is an
example in the deploy/hsqldb-service.xml file for deploying the hypersonic db
wonder sonic wrote:
> The lib directory, you mean by this, the jboss/lib
The lib directory, you mean by this, the jboss/lib or
jboss/server/default/lib?
And what would be the tag for a jar???
tia,
wonder sonic
--- Greg Turner <[EMAIL PROTECTED]> a
écrit : > Putting the driver jar file into /lib will
work, but
> I don't think that is the correct place. I think
> t
Putting the driver jar file into /lib will work, but I don't think that is the correct
place. I think the correct place is in the /deploy directory.
Putting it into the /deploy directory means you have to put a tag
into your xml file so that JBoss will not try and deploy your service
before it
I use the 3.0 final, and indeed, the version is old (I
use the one downloadable in the CMP 2.0 / JBoss 3.0
tutorial ;) instead of the one in this directory :D
One thing I don't know is where to put the 2.0.11
driver archive :( If you know, could you please tell
me?
TIA,
Wonder Sonic
--- Ricardo
Are you using JBoss 3.0.0 final? It looks like your mysql-service.xml is an old one.
There is an example file for MySQL (mysql-service.xml) in the
jboss-3.0.0/docs/examples/jca/ directory.
You should edit this file, and drop it into server/default/deploy
Follow the instructions in the XML file