Senthil Balakrishna

Greenhorn
+ Follow
since Sep 27, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Senthil Balakrishna

Just out of curiosity, why not use JBoss logging functionality rather than handling it at application level ? That way you can control dynamically the logging levels thro' JBoss console.
10 years ago
By default Jboss uses "Unified Class loaders",meaning all the java structural elements will get loaded into one class loader causing this conflict. All you need do is to define a Class loader Isolation, please refer to Jboss wiki for details.

http://community.jboss.org/wiki/ClassLoadingConfiguration


Specifying Isolation:

For .ear files, in your jboss-app.xml, add the following descriptor fragment construct to enable scoped class loading:
<jboss-app>
<loader-repository>
com.example:archive=unique-archive-name
</loader-repository>
</jboss-app>

For .war files, in your jboss-web.xml, the following template applies:
<jboss-web>
<class-loading>
<loader-repository>com.example:archive=unique-archive-name</loader-repository>
</class-loading>
</jboss-web>

10 years ago