Link to home
Start Free TrialLog in
Avatar of HaTe_MaChInE
HaTe_MaChInE

asked on

Deploying a war file to Tomcat 4.1.27 RPM install.

I am trying to deploy a .war file to Fedora C2, Tomcat 4.1.27, httpd 2.0.49.  All three including the jk2 connector were installed using rpm (apt-get)from the fedora projects.  The examples work fine and everything is redirected correctly.

I have tried the .war in 2 locations '/usr/share/tomcat/server/webapps' and '/var/lib/tomcat/ROOT' neither work/create a dir when tomcat is restarted.

Now come the questions?

1.  What is the path to deploy a .war file

2.  How should the permissions be set for tomcat to deploy the .war

3.  Where are the tomcat errorlogs written to see if the .war is causing an error.

4.  Is there a way (excluding the tomcat manager) to force tomcat to deploy the .war file.

This is the version of tomcat installed with rpm and is not like the bin install.  If anyone has any docs on how the rpm installs tomcat that would also be helpfull.  My test env is running redhat 9 with a standalone tomcat 5 install and i can get it to work no problem.

If im being a DumbA$$ please forgive me.

ps ant is not installed on the system
Avatar of yuvalg
yuvalg


1.  What is the path to deploy a .war file

<TOMCAT_HOME>/webapps

2.  How should the permissions be set for tomcat to deploy the .war

Read and Execute

3.  Where are the tomcat errorlogs written to see if the .war is causing an error.

The log containing these messages is located at catalina.out

4.  Is there a way (excluding the tomcat manager) to force tomcat to deploy the .war file.

I think there is a mode for hot-deployment, you have to configure your server.xml to support it.

Cheers,
Yuval.
Avatar of HaTe_MaChInE

ASKER

OK thanks for the help.

1.  What is the TOMCAT_HOME for the Fedora C2 Tomcat 4.1.27 rpm installation.

??/usr/share/tomcat/server/webapps??

2.  There is no file on my system called catalina.out.

ASKER CERTIFIED SOLUTION
Avatar of yuvalg
yuvalg

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial