Latest jbosssx release caused a regression in the org.jboss.test.util.test.TwiddleUnitTestCase because jbosssx-client.jar no longer contains org.jboss.security.plugins.DefaultSecurityManagement:
2008-10-13 17:07:32,300 DEBUG [org.jboss.test.util.test.TwiddleUnitTestCase] returned: 17:07:32,242 ERROR [Twiddle] Exec failed
java.lang.reflect.UndeclaredThrowableException
at $Proxy1.queryNames(Unknown Source)
at org.jboss.console.twiddle.command.MBeanServerCommand.queryMBeans(MBeanServerCommand.java:68)
at org.jboss.console.twiddle.command.InvokeCommand.execute(InvokeCommand.java:283)
at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:306)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.jboss.security.SecurityContextFactory.createSecurityContext(SecurityContextFactory.java:71)
at org.jboss.security.SecurityContextFactory.createSecurityContext(SecurityContextFactory.java:51)
at org.jboss.security.SecurityContextFactory.createSecurityContext(SecurityContextFactory.java:87)
at org.jboss.proxy.SecurityActions$1.createSecurityContext(SecurityActions.java:108)
at org.jboss.proxy.SecurityInterceptor.createSecurityContext(SecurityInterceptor.java:113)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:73)
at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
... 4 more
Caused by: java.lang.NoClassDefFoundError: org/jboss/security/plugins/DefaultSecurityManagement
at org.jboss.security.plugins.JBossSecurityContext.<init>(JBossSecurityContext.java:87)
... 16 more
We need a new release that re-includes this class in jbosssx-client.jar