This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Deploy multiple webapps in jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Deploy multiple webapps in jboss" Watch "Deploy multiple webapps in jboss" New topic

Deploy multiple webapps in jboss

Geeta Sawant

Joined: Oct 06, 2005
Posts: 4
I have two webapp folders under C:\tools\jboss-4.0.5.GA\server called portal and monitoring. Each of these folders has their ear files under deploy folder i.e C:\tools\jboss-4.0.5.GA\server\portal\deploy has portal.ear and C:\tools\jboss-4.0.5.GA\server\monitoring\deploy has monitoring.ear.

I am running portal webapp on http://localhost:8080/portal using run -c portal command. Now portal application has a link which openas url http://localhost:8099/monitoring/. So my monitoring application should be running on port 8099. I don't know how to start two webapps on different ports but on same jboss instance.

Any help is appreciated.

Jaikiran Pai

Joined: Jul 20, 2005
Posts: 9317

Have a look at ConfiguringMultipleJBossInstancesOnOneMachine

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: Deploy multiple webapps in jboss
Similar Threads
jboss-4.0.5.GA+Windows Vista Home Premium+C:\Java\jdk1.5.0_11 NOT Working!!!!
Problem in placing JSPs in webapps folder
Newbie to JBoss
JBoss seam example apps
Exploded deployment not working