my dog learned polymorphism*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Reply locked New topic
Author

How to deploy war file in JBoss

obbu sudheer
Greenhorn

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 obbu.sudheer@gmail.com

Thanking you well in advance,

With regards,
sudheer.
shan Iyer
Ranch Hand

Joined: Jul 13, 2005
Posts: 391
Hi,

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.

rgrds,
Shankar


Warm Regards, S.Iyer
SCJP1.4, SCWCD1.4
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 292

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: 120
@all

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
Marshal

Joined: Jul 20, 2005
Posts: 9947
    
161

Prabhu,

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: http://aspose.com/file-tools
 
subject: How to deploy war file in JBoss
 
Similar Threads
Hot Deploy
JBOSS Deployment
how to deploy?
How to deploy a working WAR file into JBOSS
can i develop an application using websphere application server and sell it?