This content has been marked as final.
Show 3 replies
-
1. Re: Same Classes in different jars (lib-directory)
alesj Aug 28, 2009 5:22 AM (in response to tbar0711)It depends on how the jars are ordered in classpath.
It's on the find-first basis in this case. -
2. Re: Same Classes in different jars (lib-directory)
tbar0711 Aug 28, 2009 5:36 AM (in response to tbar0711)Thanks, but what do I have to do to have a look into the classpath and see the order of the jars? I don't now how to reach the classpath.
JBoss is running on a LINUX plattform.
Tom -
3. Re: Same Classes in different jars (lib-directory)
peterj Aug 28, 2009 11:13 AM (in response to tbar0711)One way if finding out which class gets used is to add the -verbose:class JVM option to JAVA_OPTS in run.conf. This option causes the JVM to print out each class loaded and the JAR from which it came.