[
https://jira.jboss.org/jira/browse/SECURITY-289?page=com.atlassian.jira.p...
]
Marcus Moyses commented on SECURITY-289:
----------------------------------------
Adding
<include>org/jboss/security/plugins/DefaultSecurityManagement.class</include>
to the jbosssx-client's pom.xml seems to fix this issue. Need to see if there are any
more classes missing.
Release jbosssx-client.jar with DefaultSecurityManagement
---------------------------------------------------------
Key: SECURITY-289
URL:
https://jira.jboss.org/jira/browse/SECURITY-289
Project: JBoss Security and Identity Management
Issue Type: Task
Security Level: Public(Everyone can see)
Components: JBossSX
Affects Versions: 2.0.2.CR7
Reporter: Stefan Guilhen
Assignee: Anil Saldhana
Fix For: 2.0.2.CR8
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira