From: <jue...@we...> - 2003-07-02 18:22:54
|
Thomas, Can you please add the file to the CVS repository, in = samples/petclinic/db/hsqldb? I'd like to include it in follow-up = releases, for equal support of Windows and Unix. BTW, if you find any omissions or inconsistencies in the distribution, = feel free to fix it in CVS - for the next point release. Regards, Juergen -----Original Message----- From: tri...@tr... [mailto:tri...@tr...] Sent: Sunday, June 29, 2003 12:26 AM To: tri...@tr... Cc: John VanDyk; spr...@li... Subject: Re: [Springframework-developer] Trying spring Forgot to attach the file - here it is. > John, >=20 > > I'm trying to play with spring but not having much success. > >=20 > > I have Tomcat 4.1.24 installed and running on Mac OS X 10.2.6 = running=20 > > JVM 1.4.1_01-39. > >=20 > > I wanted to try the petclinic demo so I I tried to start up hsqldb: > >=20 > > [mangora:petclinic/db/hsqldb] jvandyk% ls > > dropDB.txt petclinic.data=20 > > petclinic_tomcat_hsql.xml > > initDB.txt petclinic.properties = server.bat > > manager.bat petclinic.script =20 > > server.properties > > [mangora:petclinic/db/hsqldb] jvandyk% cat server.bat > > java -classpath ..\..\lib\hsqldb.jar org.hsqldb.Server -database = petclinic > > [mangora:petclinic/db/hsqldb] jvandyk% server.bat > > server.bat: Command not found. > > [mangora:petclinic/db/hsqldb] jvandyk% ./server.bat > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/hsqldb/Server > >=20 > > org.hsqldb.Server seems to be missing? >=20 > The server.bat file is for use on Windows systems. I have created a > server.sh > script that works on Linux/UNIX systems, so it should work on Mac OS X = as > well. >=20 > Save the attached 'server.sh' file in the same directory where = 'server.bat' > is. > Open a command line shell and change to this directory. Enter >=20 > chmod +x server.sh=20 >=20 > and then >=20 > ./server.sh >=20 > You should see the following message: >=20 > [trisberg@localhost hsqldb]$ ./server.sh > Opening database: petclinic > HSQLDB server 1.7.1 is running > Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly > Sat Jun 28 18:10:16 EDT 2003 Listening for connections ... >=20 > Let me know if this does not work. I'll add this file to the next = release. >=20 > Thomas > =20 >=20 |