Reputation: 1393
is it possible to install more than one java application server on one server or VPS ? i want to install JBOSS , TOMCAT , WEBLOGIC and my be more. how this is possible and what the benefits and disadvantages ?!
Upvotes: 2
Views: 1013
Reputation: 22504
Yes, it is possible.
Pros:
Cons:
So, it is something that you do mainly to experiment/develop/test. In production environments you have to be much more careful when running appservers side by side..
Upvotes: 0
Reputation: 14505
This is possible. You need to take care about port's these servers use.
Also you need to check what resources (cpu's/core/RAM) you have on your server. Your system should have ample resources to Run multiple servers.
I don't know whats use case, But if possible I would prefer having various webapps on single Java applicationserver.
Upvotes: 1
Reputation: 93157
It is possible, if you want to try all of them. You just have to select different port for each services.
Is there a real use-case ? You could have an application bound to your application server, and you could want to run different applications.
Upvotes: 2
Reputation: 35331
As already mentioned above it is possible but it is a configuration management nightmare.
If it is for compatibility testing, I would look at EC2 or similar timebased hosting and , put an 1 app server in 1 image and spin up each image in turn and shut it down after the test is finished.
The money that costs is paid 10x by not having to edit all kind of configuration files and debugging weird conflicts.
Upvotes: 0
Reputation: 75346
Yes. The usual problem is that a given port can only be used by a single process.
Hence you cannot have both JBoss and Weblogic on port 8080. Also a lot of extra ports are needed for normal operation. This is at best tedious.
Upvotes: 1