Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

2 web-container in linux?  RSS feed

 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys, is it possible to install two web-container in linux(2 oc4j)?I ask this coz from our setup in development, we have to 2 module, the bcms and the vas.we want this setup because we don't want to affect the other server(bcms server) if we shutdown the other one(vas server).
thanks..
raymond
 
Saloon Keeper
Posts: 19266
85
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if I understood that. It wasn't quite in English.
If you mean "Can you run 2 (or more) web servers" on the same box?", yes you can. The only limitation is that each server has to appear at a unique IP address/port combination, since only one app's allowed to listen on a port at a time.
It's not at all uncommon for a box to run a main webserver on port 80 and an alternate on 8080 or 8008, for example.
The same freedoms and constraints apply to any sort of network server, not just HTTP servers.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!