Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Himai Minh

Multiple containers in a application server

Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everybody
My problem definition is something like this :

I have an application with about 150 ejb's running in a container and a webapplication that uses servelts and jsps. the database is DB2 , App server is Websphere 3.5.4, and OS is Linux ......

Also my server has 1 gig RAM and the first application server instance itself hogs about 700MB of that

Now lets say if i want to run the same application ( kinda like an ASP model ) for another client , but the database is not to be shared at any cost.

I guess i have 2 possibile ways of doing this

1) create another application server identical to the first one and make the container in it to point to another database instance and have all my ejbs deployed in this container and have a web application with all my servlets and jsp's and run this web app against this new container.... but the issue here is that my server is kind of choking .. and i dont think the server will take too kindly to have another instance of an application server ...

so the second option would be to
2) create another container in the same application server deploy all my ejbs in there , create another webapplication in the same servelt engine which has the same servelets and jsps and make it point to this new container .... although theoratically this sounds simple and easy , i am facing some problems with actually getting it to run... as the 2nd virtual-host is refusing to kick off .....

Can you share some of your thoughts , how you overcame this kind of a problem and some potential traps that you would like to warn me about .. before going into this ..........

Thanks & Regards

Vithal Kambhammettu
IBM Certified Websphere Specialist
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic