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 Deploy multiple webapps in jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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: 10441

Have a look at ConfiguringMultipleJBossInstancesOnOneMachine

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: Deploy multiple webapps in jboss
It's not a secret anymore!