|
From: <tri...@tr...> - 2003-07-02 18:29:12
|
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, > > 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, > > > > > I'm trying to play with spring but not having much success. > > > > > > I have Tomcat 4.1.24 installed and running on Mac OS X 10.2.6 running > > > JVM 1.4.1_01-39. > > > > > > I wanted to try the petclinic demo so I I tried to start up hsqldb: > > > > > > [mangora:petclinic/db/hsqldb] jvandyk% ls > > > dropDB.txt petclinic.data > > > petclinic_tomcat_hsql.xml > > > initDB.txt petclinic.properties server.bat > > > manager.bat petclinic.script > > > 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 > > > > > > org.hsqldb.Server seems to be missing? > > > > 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. > > > > 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 > > > > chmod +x server.sh > > > > and then > > > > ./server.sh > > > > You should see the following message: > > > > [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 ... > > > > Let me know if this does not work. I'll add this file to the next > release. > > > > Thomas > > > > > > > > |