Running Tomcat from a CD

  • Thread starter siman hew via JavaKB.com
  • Start date

S

siman hew via JavaKB.com

Hello,

I would like to burn my web application with Tomcat into CD, and running
from CD. I found Tomcat is creating a working directory at
CATALINA_BASE/work/Catalina/localhost/webappX, which apparently is not
allowed on CD.
Anyone has the same experience to share with me?

Thanks in advanced.


Siman
 
Ad

Advertisements

R

Ross Bamford

Hello,

I would like to burn my web application with Tomcat into CD, and running
from CD. I found Tomcat is creating a working directory at
CATALINA_BASE/work/Catalina/localhost/webappX, which apparently is not
allowed on CD.
Anyone has the same experience to share with me?

Thanks in advanced.


Siman

You can change the location of the working directory, using the workDir
attribute to your <Context> (if using StandardContext). See:

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html

Ross
 
Ad

Advertisements

S

siman hew via JavaKB.com

Thanks very much.

Beside workDir, user Database also need to be commented or pointed to
somewhere else.

Thanks, it is really helpful.

SIman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top