[jboss-dev-forums] [Design of POJO Server] - Register dynamic class loading with a domain
sguilhen@redhat.com
do-not-reply at jboss.com
Tue Jun 10 10:55:31 EDT 2008
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#4157052
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157052
More information about the jboss-dev-forums
mailing list