|
From: <jue...@we...> - 2003-07-02 18:34:01
|
Great! Please add the howtos to the respective readme in = samples/petclinic in CVS too, or start a new install.txt in that = directory. Juergen -----Original Message----- From: tri...@tr... [mailto:tri...@tr...] Sent: Wednesday, July 02, 2003 8:30 PM To: j=FCrgen h=F6ller [werk3AT] Cc: spr...@li... Subject: RE: [Springframework-developer] Trying spring Juergen, I will add a 'server.sh' and 'master.sh' to CVS. John VanDyk sent me a = nice Howto for installing Tomcat and Petclinic on a Mac OS X system. I added = it to the website on the demo page. I'll try to put together one for Linux, = and we should probably have one for Windows as well (there might be some who = have not switched yet :-) Thomas > Thomas, >=20 > 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. >=20 > BTW, if you find any omissions or inconsistencies in the distribution, = feel > free to fix it in CVS - for the next point release. >=20 > Regards, > Juergen >=20 >=20 > -----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 >=20 >=20 > Forgot to attach the file - here it is. >=20 > > 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 >=20 >=20 >=20 >=20 |