First thing that comes to mind are the startup scripts .. you'll need to 
comment out the parts that search for CATALINA_HOME in the system environment, 
so that it defaults to the current directory on the CD. Next thing I can think 
of is the fact that Tomcat creates files in the work directory (compiled JSPs). 
You could perhaps pre-compile your web application sources, but I still think 
it may end up trying to write to the CD. I personally don't know how, but 
that's for me the biggest issue I can see - writes to the file system .. other 
than that, the system will need Java (I think a JDK too unless 5.5 which may be 
able to run with a JRE) and the JAVA_HOME env. setting too, so how you do that 
is another question for you to answer ;)

A.

> -----Original Message-----
> From: Julian White [mailto:[EMAIL PROTECTED]
> Sent: 01 March 2005 14:32
> To: tomcat-user@jakarta.apache.org
> Subject: Running Tomcat from a CD-Rom
> 
> 
> Hi,
>  
> I want to run Tomcat from a CD-Rom complete with a web application. My
> application needs to be able to run on any PC without networkor an
> install program so everything would have to be installed on 
> the CD-Rom.
> To get Tomcat to run directly from CD-Rom I am thinking I will have to
> change all configuration files that point to the Tomcat home directory
> and point them instead to a temporary folder under windows.
>  
> Can anyone think of any other issues I am going to run into 
> or if there
> is something I have overlooked.
>  
> Env. is Tomcat 5.0, & Windows
>  
> Thanks in advance,
> Regards,
> Julian
>  <http://www.seregon.com/> 
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com";>www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


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

Reply via email to