Solved

Deploying a war file to Tomcat 4.1.27 RPM install.

Posted on 2004-08-10
5
4,798 Views
Last Modified: 2008-01-09
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
0
Comment
Question by:HaTe_MaChInE
  • 2
5 Comments
 
LVL 3

Expert Comment

by:yuvalg
ID: 11771694

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.
0
 

Author Comment

by:HaTe_MaChInE
ID: 11773119
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.

0
 
LVL 3

Accepted Solution

by:
yuvalg earned 125 total points
ID: 11774144
The home directory for your installation is  /usr/share/tomcat

Regarding the location of the log.
Your server.xml file (under /usr/share/tomcat/conf) has the following lines :

      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="catalina_log." suffix=".txt"
              timestamp="true"/>

Make you sure uncomment this xml comment and set the file name you wish.

Yuval.

0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Email Archive Solutions 6 150
Websphere basic question 9 160
Citrix Xenapp/XenDesktop 7.6 MCS issue 3 258
Wesphere App server multiple instances on single Windows server 5 80
Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now