CD based tomcat (hopefully)

2003-03-17 Thread Oliver Rose
This is probably a daft question to all you experienced tomcat guys, but 
it's baffled me for a couple of weeks now.
I've got Tomcat 4.1.12 installed (on Windows XP Pro) in c:\tomcat, and 
CATALINA_HOME is set to that in the system environment variables. What I 
want to do is to make a copy of it on a CD as a known stable environment 
to demonstrate a university project, and have it so I can just stick the 
CD in and it starts tomcat and fires up a web browser to my project root 
(for example, http://localhost:8080/WebApp)
The web browser bit isn't much of a problem, but if I make a copy of 
c:\tomcat in another folder with a startup script that fills in all the 
details for catalina_home, java_home (also in a subdir) and so on, the 
tomcat server starts up and then dies without creating a log (or at 
least, not in the new %catalina_home%\logs folder)

Oliver



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: CD based tomcat (hopefully)

2003-03-17 Thread Tam, Michael
Your CATALINA_HOME is path to your tomcat in the cd then if and only if
yours CD is a CDR and CD-rom is a cd-writer, otherwise how could tomcat be
able to write the logs file??

-Original Message-
From: Oliver Rose [mailto:[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 2:08 PM
To: [EMAIL PROTECTED]
Subject: CD based tomcat (hopefully)


This is probably a daft question to all you experienced tomcat guys, but 
it's baffled me for a couple of weeks now.
I've got Tomcat 4.1.12 installed (on Windows XP Pro) in c:\tomcat, and 
CATALINA_HOME is set to that in the system environment variables. What I 
want to do is to make a copy of it on a CD as a known stable environment 
to demonstrate a university project, and have it so I can just stick the 
CD in and it starts tomcat and fires up a web browser to my project root 
(for example, http://localhost:8080/WebApp)
The web browser bit isn't much of a problem, but if I make a copy of 
c:\tomcat in another folder with a startup script that fills in all the 
details for catalina_home, java_home (also in a subdir) and so on, the 
tomcat server starts up and then dies without creating a log (or at 
least, not in the new %catalina_home%\logs folder)

Oliver



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: CD based tomcat (hopefully)

2003-03-17 Thread Oliver Rose
Tam, Michael wrote:

Your CATALINA_HOME is path to your tomcat in the cd then if and only if
yours CD is a CDR and CD-rom is a cd-writer, otherwise how could tomcat be
able to write the logs file??
 

My bad... I haven't put it on the CD yet, it's living in a directory 
defined as %cd_tomcat_base%
I'd appreciate the help to set the logs dir to a temporary directory 
though as well. once I've got it configured correctly, I can just write 
the directory straight to the CD.

I currently have a directory structure like this:
%cd_tomcat_base%\startup.bat
%cd_tomcat_base%\jdk1.4.1-- %java_home%
%cd_tomcat_base%\tomcat4.1.12  -- %catalina_home%, %catalina_base%
It would go on a closed session CD-R when it's done though, because the 
university have gone on an archiving binge recently. This way, it'd be a 
complete running app I can take to any machine and not have to d/l and 
configure tomcat before a demo.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]