We are using jboss as application server for our production. We need to run multiple applications to run whole suit of functionalities our client needs. There are 15 application modules (functionalities) developed by our various teams. First I create multiple instances of jboss sever under server direcotry of jboss and deploy each application in each instances, it deployed properly but when the server runs for long while and different users accessing it from different workstations for different application the any of application goes down suddenly. When checked in log or on console the OutOfMemory exception seen and needs to restart the application.
Now I tried to deploy these multiple application on single instance instead of earch instance, I observe the occurances has been reduced significantly, but here I could not deploy more than four applications at a time on single instance other wise the same exception occurs. The problem persist on Windows platform only, on Linux sucessfully deployed 12 applications and are running satisfactorily with good performance.
The issue is for Windows platform, I tried the permgen option and also increases the heamzise to 1024MB our server has 4GB of physical memory.
I request everyone to suggest is there any way to find out the cause or overcome this issue. I am using Jboss-4.2.2.GA version and jdk5.
Thanks in advance.