Howdy,
> RFd> I recently started to use Tomcat and I wanted to know if it's
> RFd> possible to run Tomcat from within a read only folder. My
intention
> RFd> is to install Tomcat into a hard drive, deploy the Gridsphere web
> RFd> portal into it and then burn them onto a CD in order to have an
> RFd> "instant web portal". Is this possible?
> RFd> What should I do?
>Why not, it is a good idea to do so, but running from CD going to be
slow.
>What you have to do:
>1) configure tomcat to use a different drive for logs and for temporary
>files.
>For example on Win env. your logs should be saved to c:\ It make shure
that
>tomcat will have access to your drive regardless of CD ROM letter.
>2) burn CD (or create a folder with read only permissions on the hard
>drive) and test it.
Don't forget the work and temp directories in addition to the logs.
These are configurable in server.xml. In addition, it is your
responsibility to ensure your app never writes to disk accept in a
specification-compliant manner.
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged. This
e-mail is intended only for the individual(s) to whom it is addressed, and may not be
saved, copied, printed, disclosed or used by anyone else. If you are not the(an)
intended recipient, please immediately delete this e-mail from your computer system
and notify the sender. Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]