File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes How to deploy  war file in JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Reply locked New topic

How to deploy war file in JBoss

obbu sudheer

Joined: Sep 21, 2005
Posts: 1
Hi Friends,
First i must thank the Java Ranch group for giveing the valuable information.

My problem is with deploying a war file in JBoss3.2.

I have developed a simple student database project using JSP and Ms-Access.It was successfully deployed and executed in WEBLOGIC.

But now i want to deploy the same in JBoss using Eclipse.But i dont know how to deploy in JBoss.

Anyone of you can give me the steps to deploy a war file in JBoss.I except your replies ASAP

you can mail me any kind of advice to

Thanking you well in advance,

With regards,
shan Iyer
Ranch Hand

Joined: Jul 13, 2005
Posts: 391

Please install MyEclipse plugin to eclipse that provides J2EE programming and deployment capabilities, which makes life very easy. Eclipse is a tool that can be used effectively only for java programs; writing and deploying J2EE code in eclipse(without myeclipse) would require u to do everything manually.


Warm Regards, S.Iyer
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 293

If you've got a war file, all you do to deploy in in JBoss is to pop it into the server/default/deploy directory. JBoss will hot-deploy it from there on.
prabhu pandurangan
Ranch Hand

Joined: May 23, 2008
Posts: 147

I have to deploy web application in jboss, instead of deploying the *.war file, i have to mention the context path like we do in Tomcat:

<Context path="/www" docBase="C:\Documents and Settings\aaa\sdd\eee\web" reloadable="true" debug="0"/>

How to do this? and in which file i have to set the context path in jobss server.

I tried this in 'server\standard\deploy\jbossweb.sar\server.xml' file but it is not working.

Please let me know the exact file where to set the context path...
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441


This is a 4 year old thread. Your question is different from what the original poster was discussing in this thread. Please create a new thread in this forum so that we can discuss it there

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: How to deploy war file in JBoss
It's not a secret anymore!