Assuming 1. You got the correct version of the file (1.1 for jboss3.0 alpha download, 1.2 for cvs jboss 3) 2. You modified the mysql file to include your db location and user/pw 3. mysql is in fact running
the DataSource should be deployed when you add mysql-service.xml to the deploy directory or start jboss with it already present. Note that sometimes an application that needs a datasource to deploy will get autodeployed before the datasource configuration. You can detect this by examining the log (It takes a while but is possible). You can work around this by putting mysql-service.xml in deploy/lib and the application in deploy. This is not a very good way to force deployment order, but it may be the easiest. If this doesn't work please post more details of what is going wrong. thanks david jencks On 2002.01.15 08:28:02 -0500 Steve Knight wrote: > Thanks David, > I have looked at the mysql-service.xml file, but what do I do with it? > Like > I said, I am a newbie so I am still learning these config files. I tried > > deploying mysql-service.xml in the deploy directory (like the one for > hypersonic) and JBoss recognizes it, but then it spits out a > NullPointerException when trying to bind the Datasource. > Am I missing something? > > Steve > > > >From: David Jencks <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Re: [JBoss-user] Simple? How to setup another database in 3.0? > >Date: Mon, 14 Jan 2002 17:07:59 -0500 > > > >When the rest of the website is back, look at ch 3 of the free manual. > If > >you want help sooner, you could get resource.xml from cvs at > >manual/src/xdocs and look at it or compile the manual yourself by > >downloading the manual module. > > > >There is also now a sample config file myssql-service.xml in > >manual/src/examples/resources/jca (i think). > > > >david jencks > > > >On 2002.01.14 16:49:10 -0500 Steve Knight wrote: > > > Hello, > > > I am new to JBoss and I am having trouble setting up a MySQL database > > > with > > > JBoss 3.0. I have successfully set it up in 2.4.4 by editing the > > > jboss.jcml > > > and standardjaws.xml...but 3.0 appears to be different. What are the > > > steps > > > that I need to do to make it work? I don't really want the Default > > > databases, so I would like to eliminate them. > > > I have looked at the CMP2.0 documentation and it gives pieces to the > > > puzzle, > > > but fails to bring it all together. I just need to know the "steps" > to > > > add > > > another datasource AND make it work with my EJB. > > > > > > Thanks, > > > > > > Steve Knight > > > > > > > _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user