I have linux OS.I installed Tomcat 4. in Linux.Now, i have to deploy My web application into that using WAR file.Please tell me steps....and also steps for the creating the WAR file too.

Showing Answers 1 - 4 of 4 Answers

ch.lakshminartasimharao

  • Feb 14th, 2006
 

 have linux OS.I installed Tomcat 4. in Linux.
Now, i have to deploy My web application into that using WAR
file.

  Was this answer useful?  Yes

Dan

  • Mar 6th, 2006
 

You should use zip to package your install base and rename it to war. Then just copy the file in the root of your Tomcat App Server. When the server starts the application is going to be deployed automatically.

  Was this answer useful?  Yes

abdul khalik

  • May 11th, 2006
 

Hi

change directory to your application directory

there run

jar cmf myapp.war *

waiting for comment

Thanks

  Was this answer useful?  Yes

Vibs

  • May 2nd, 2007
 

Just creating Zip and renaming it wont help. You can use Jar command or best is you can use Jakart Ant and create build file that will compile your application and create a jar file. All you have to do is create a correct build file by definining proper task in it in sequence.
Once that is done you can keep your jar file in tomcat app directory and restart your Tomcat server. But yes for the first time you need to configure your application in server.xml file of Tomcat

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions