• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Multiple instances of the same application In Jboss

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi,

I want to run multiple instances of the same application in JBOSS AS. I have created separate WAR files with different context paths.
But all class names and packages are still the same in both the applications.
Will this lead to any conflict during the JVM class loading ?? I have done some basic testing and everything seems to be working OK. But since I am not too sure of JVM behavior, I want more clarity on this before I move my code to production server.

Please advise.

Waseem
 
Ranch Hand
Posts: 650
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No problems. You can verify this by reading up on class loading in JEE and web application containers.

Note, however, that it is certainly possible that the applications share some other external resource, like a database, files on the file system, etc. You would still need to deal with these issues.
 
reply
    Bookmark Topic Watch Topic
  • New Topic