[Modelj-user] Re: Setting up jboss & mysql
Status: Beta
Brought to you by:
tom_tessier
|
From: Neil E. <ne...@os...> - 2004-01-30 22:56:31
|
I found mysql-ds.xml and dragged it into
/usr/local/jboss/server/default/deploy/mysql-ds.xml
Judging by the activity in the JBoss term it was quite happy with it,
but there was no change in the web front end.
mysql-ds.xml contains this line
<connection-url>jdbc:mysql://dell:3306/jbossdb</connection-url>
which I find a bit suspect, as I'm on a Mac, not a Dell box. Or does
dell signify something else?
Does the generated code create a mysql database and tables?
I have verified that mysql is running, but I had to 'sudo mysql' before
I could create a database. Could it be that the it's a permission
thing that's stopping the database being created, or do I need to set
it up manually.
I feel really uncomfortable, ignorantly poking things to see what
happens. Are there any good references on-line for setting up JBoss?
I've got to demo a quick and nasty UML to J2EE by Tuesday so I don't
have time to wait for Amazon to deliver. I've done loads of code
generation from models, but I'm a complete starter in the J2EE world.
Any help greatly appreciated.
-Neil
--
Neil Earnshaw
Consultant Software Engineer
Object Software Engineers Ltd
ne...@os...
Tel : 01747 850 676
Mbl : 07793 084 161 |