• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

share class loading between applications

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
since jboss 4.03 the classes are not shared any more by default. This is a considerable advantage when using different versions of classes.

The disadvantage is that applications can not access other application's classes any more. Is there a solution, eg. using a specific class loader or a special deployment, to allow it for some applications to share the classes.

Sebastian
 
Author
Posts: 367
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
set UseJBossWebLoader in server.xml to true. Then you will use JBoss class loading. You can still specify the loader-repository in jboss-web.xml to isolate the classes or to share only between specific deployments.
 
reply
    Bookmark Topic Watch Topic
  • New Topic