Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
    Bookmark Topic Watch Topic
  • New Topic

How to deploy war file in JBoss

 
obbu sudheer
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 391
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 147
  • Mark post as helpful
  • send pies
  • Report post to moderator
@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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
 
    Bookmark Topic Watch Topic
  • New Topic