I don't understand this test.
The bean is called Unshared in classloader-unshared.jar
but it isn't deployed in an isolated classloader so it is shared? :-)
Also its testing for log4j 1.1.3 classes but these aren't in the deployment either?
If you look at the plain classloader.jar, this is structured correctly to pass this test
(and in fact includes the test).
classloader.jar has scoped classloading (in jboss.xml) and includes log4j-1.1.3.jar
| <jar jarfile="${build.lib}/classloader.jar">
| <fileset dir="${build.classes}">
| <include name="org/jboss/ejb3/test/classloader/Session30*.class"/>
| </fileset>
| <fileset dir="${resources}/test/classloader">
| <include name="META-INF/jboss.xml"/>
| <include name="*.jar"/>
| <include name="*.properties"/>
| </fileset>
| </jar>
|
classloader-unshared.jar has neither.
| <jar jarfile="${build.lib}/classloader-unshared.jar">
| <fileset dir="${build.classes}">
| <include name="org/jboss/ejb3/test/classloader/Unshared*.class"/>
| <include name="org/jboss/ejb3/test/classloader/Session30.class"/>
| </fileset>
| </jar>
|
but still expects the same test to pass? :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105042#4105042
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105042