-
1. Re: JB's Developer Notebook - Omission and Error
jasperboy Sep 14, 2005 10:54 AM (in response to arnieaustin)I am currently working thorugh this book - what a breath of fresh air it is. On Chp 4 some time later today - will let you know how I get on.
-
2. Re: JB's Developer Notebook - Omission and Error
jasperboy Sep 14, 2005 12:58 PM (in response to arnieaustin)I managed to get the database to switch from Hypersonic to MySql - it all worked fine. I can check through the JMX Managment Console that the new datasource is in use and connecting - and the web application works OK.
The only thing I did differently to the instructions in the book was to change the optional.dd property directly in the build.xml file as oppossed to the command line -D parameter (as I'm using ant from within eclipse). That ensured the correct jboxxcmp-jdbc.xml file was inlcuded in the generated jar file (from the etc/mysql folder). This file isn't needed in the jar for Hypersonic.
You may just want to check to ensure the correct settings are in this file in the genertaed jar file after you've run the build. -
3. Re: JB's Developer Notebook - Omission and Error
arnieaustin Sep 14, 2005 2:19 PM (in response to arnieaustin)I'm in eclipse too. Could you tell me what you did in the build.xml file?
-
4. Re: JB's Developer Notebook - Omission and Error
norman.richards Sep 14, 2005 8:16 PM (in response to arnieaustin)I don't understand what you are doing. Redeploying the application would not cause the JMS persistence manager to be redeployed or to fail. There has to be something else going on.
Could you please step back and repeat the process slowly and see if you get different results? I ran the example just now and had no problems. -
5. Re: JB's Developer Notebook - Omission and Error
arnieaustin Sep 16, 2005 9:44 AM (in response to arnieaustin)My bad...I had been using mySQL with other tools and IDEs so I knew it was working. But JBoss didn't have a copy of the jdbc driver in its /lib folder.
DOH! But it is really odd that it would say it had a db table creation error when it could even communicate with the db!
Looks like something wasn't coming to the surface. Argh.
All fine now. -
6. Re: JB's Developer Notebook - Omission and Error
norman.richards Sep 16, 2005 12:26 PM (in response to arnieaustin)Ok, that's a relief. Since you are in Austin, if you have any questions/comments about the book, you can catch me at the Austin Java User's Group. (http://www.austinjug.org/) I'm there every month I'm in town, and I'm always eager to hear about what readers liked/disliked about the book.