We've been facing test failures in the CTS interop web vehicles related to loading the
stub classes used in the tests.
The ejb container succeeds at loading the stub classes because it uses the WebCL that
generates these stubs on the fly. So, we've considered using a similar approach in the
web container to get the stubs loaded - this logic is already available in the
WebAppClassLoader but the logs show that this class loader is not being used in the tests
scenarios.
I first wanted to just enforce the use of this class loader again, but Scott thinks a more
general solution is needed:
anonymous wrote :
| The ejb container to dynamic class loader behavior is very specific to the class
loader in use. We should come up with a more general solution based on the new class
loading domains so that any component can register its dynamic class loading with a
domain.
|
As Adrian said, we can always include the stub classes in the vehicles war deployments to
have the tests passing, but it would be good to have a more general solution in place.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157052#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...