arrowHome arrow Forum Wednesday, 27 August 2008  
Main Menu
Home
Media Gallery
J2EE Blog
Forum
News
Downloads
News Feeds
FAQ's
Links
System Status
Contact Us
About iDoumo
Latest Posts
Find suspicious files abukta
Automate Filesystem Dump abukta
Add route to server abukta
Benefits of Logical Volume Management abukta
Performance Costs of using LVM abukta
Login Form
Username

Password

Remember me
Forgotten your password?
No account yet? Create one

Newsflash

16 Januar 2006

Now Joomla! 1.0.7 is out!! It is now available for download at developer.joomla.org. Joomla! 1.0.7 is essentially 1.0.6 repackaged to fix one major bug in 1.0.6 - therefore it should still be considered a Security Release. It contains nine (9) Low Level Security Fixes, and seventy (70) plus minor/non-critical bug fixes.
  iDoumo Projects
  Programming
        J2EE/Java 
              Creating and Deploying a WAR File

Quick Jump To:

J2EE/Java Threads List - Search Forum
Moderated by: abukta Subscribe to this Thread
  Creating and Deploying a WAR File
  20 Jun 2006 11:49 # 1 
   abukta
 super admin
 
 profile
 
Join Date: 29 Mar 2005 21:03
Posts:
 
 Creating and Deploying a WAR File
When your web application is ready for deployment, you need to package it for distribution. As we discussed previously in Java Web Applications, web applications are packaged in WAR files. The steps required to "WAR-up" your /onjava web application and deploy it are as follows:

Change to the root directory of your web application. In this case the root directory would be TOMCAT_HOME/webapps/onjava/.

Archive the web application:

jar cvf onjava.war .Copy the resulting WAR file, onjava.war, to the TOMCAT_HOME/webapps directory.

If you're deploying this WAR file to the Tomcat installation that you were developing in, then you will need to back up your development directory and remove it from the TOMCAT_HOME/webapps directory.

Add a new Context entry to the /TOMCAT_HOME/conf/server.xml file, referencing the onjava web application.

Restart Tomcat.

That's it. Your application should now be deployed and running. If it isn't, check your entry in the TOMCAT_HOME/conf/server.xml file to ensure that you have set the appropriate values.
 
message edited by abukta (20 Jun 2006 11:50)


<< Start < Prev 1 Next > End >>
Results 1 - 1 of 1



Help iDoumo

Help support "iDoumo" and free software by donating now!

Donate Once Monthly

Currency

Amount

Currency

Amount

Latest Events
There are no upcoming events currently scheduled.
View Full Calendar
Project Calendar
August 2008 September 2008
Su Mo Tu We Th Fr Sa
Week 31 1 2
Week 32 3 4 5 6 7 8 9
Week 33 10 11 12 13 14 15 16
Week 34 17 18 19 20 21 22 23
Week 35 24 25 26 27 28 29 30
Week 36 31
Media Gallery
Last update:
27 Sep, 11:53
Workday

random:

PeopleSoft
top of page

iDoumo Projects. All rights reserved.