简体   繁体   中英

deploying java war file in windows server R2 enterprise 2008

I need to deploy Java web application war file in a server (windows server R2 enterprise 2008). This server is in my organization in a local area network with known IP. I need to deploy my web application war file in this server. I am open to use jboss or apache tomcat in this server and configure so that my application is accessible through [ip-address]/application url across local area network. Please guide me, am sorry if i sound too naive.

Tomcat 8 or jboss 7. Please help.

As per your comment, you are using JBoss 7.x or Tomcat 8.x. For JBoss Server, you need to copy your .war on the following location:
${jboss.server.base.dir}/standalone/deployments/

Now if your server is already running then it will be deployed automatically otherwise you just need to start the server.

For Tomcat Server, you need to copy your wat file in your appBase and the default location of appBase is given below:
$CATALINA_BASE/webapps

This link will help you for JBoss Deployment and this link will help you for Tomcat Deployment

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM