• 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
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Hot Deployment

 
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have deployed a .war that accesses some ejbs in a .ear file. Both are located on the same JBoss server. A coworker of mine did a hot deploy of the .ear file and then all of my servlets in the .war file could no longer get valid ejb homes for the ejbs in the .ear file. I was getting the ejbHome reference in the doPost method of the servlet. When I did a hot deploy on my .war file as well, everything worked perfectly.
Shouldn't JBoss be able to handle a hot deploy of some ejbs without requiring a new deployment of its collocated servlet clients or a restarting of the server? Any suggestions or advice? Am I missing something? Do other containers behave in this same way? Thanks.
 
The happiness of your life depends upon the quality of your thoughts -Marcus Aurelius ... think about this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic