• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Running 2 wars on diferent ports

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to do this with JBOSS 4.0.5 and JBOSS 4.2.3

I achieved running two different applications on 2 different ports though with http and https.

something as

http://localhost:8080/app1
https://localhost:8080/app2


I did it by having two server configuration say default and default1. But the problem is I had to run two instances of JBOSS(I ran through ECLIPSE plugin)

I ran 1 jboss with server configuration as "default" and ran the other one "default1".

app1 was deployed in "default". The server-config.xml of this configuration was configured for http at port 8080
app2 was deployed in "default1". The server-config.xml of this configuration was configured for https at port 8443.


My requirement is to run both the apps with one instance of JBOSS and it will be best inside the same JBOSS configuration.


Any help please?
 
reply
    Bookmark Topic Watch Topic
  • New Topic