This content has been marked as final.
Show 3 replies
-
1. Re: Best way to share classes in several SAR files ?
ahardy66 Mar 28, 2004 2:15 PM (in response to daune_jf)Hi Jean,
is there any reason why you do not want to install a copy of the jar into each sar? -
2. Re: Best way to share classes in several SAR files ?
daune_jf Mar 29, 2004 5:56 AM (in response to daune_jf)
To avoid ClassCastException (services actually interact)
J-F -
3. Re: Best way to share classes in several SAR files ?
juha Apr 4, 2004 3:38 AM (in response to daune_jf)"daune_jf" wrote:
I observed that classes in a JAR contained in SAR file 1 are not visible in SAR file 2 (I get class not found exception).
They are visible, unless you're explicitly isolating their classloaders with <loader-repository> tag. You need to order the deployments though, SAR1 (with the JAR classes) must be deployed before SAR2, or you will see a ClassNotFoundException.