As it is packaged now, the
org/jboss/test/jrmp/test/CustomSocketsUnitTestCase
cannot be run more than once because it includes the custom RMI
socket factories it uses in the deployment package. Because of how the
RMI subsystem tracks socket factory uniqueness(it considers the factory
class loader), this test will always fail on redeployment with an address
in use bind error.

We would need a class loader cache service into which the classes
that need to be consistent across deployments are loaded in order
to allow this test to run multiple times. That might be an interesting
service and have other applications, but its not something I want to
get into for the initial 3.0 release.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to