-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
beta2
-
unknown, sparc
-
generic, solaris_2.6
-
Not verified
The JMX Remote RMI/IIOP connector server is no able to start with Tiger Beta2 b44.
It used to work a few Tiger builds ago but I do not know exactly how many.
I guess a recent change in corba bridge is at the origin.
It is unclear why JMX Remote customers should now add that permission at their level, or why JMX code should wrap the appropriate call in a doPriviledge block.
My feeling is that corba code should deal with the doPriviledge.
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.sun.corba.se.impl.util.JDKBridge.loadClassM(JDKBridge.java:166)
at com.sun.corba.se.impl.util.JDKBridge.loadClass(JDKBridge.java:70)
at com.sun.corba.se.impl.javax.rmi.CORBA.Util.loadClass(Util.java:513)
at javax.rmi.CORBA.Util.loadClass(Util.java:234)
at com.sun.corba.se.impl.util.Utility.loadClassForClass(Utility.java:398)
at com.sun.corba.se.impl.util.Utility.loadTie(Utility.java:264)
at com.sun.corba.se.impl.util.Utility.loadTie(Utility.java:209)
at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.exportObject(PortableRemoteObject.java:91)
at javax.rmi.PortableRemoteObject.exportObject(PortableRemoteObject.java:86)
at javax.management.remote.rmi.RMIIIOPServerImpl.export(RMIIIOPServerImpl.java:46)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:390)
at javasoft.sqe.jmx.share.JmxBasicServer.do_jmxServerUp(JmxBasicServer.java:282)
at javasoft.sqe.jmx.share.JmxBasicServer.run(JmxBasicServer.java:83)
at javasoft.sqe.jmx.share.JmxBasicServer.main(JmxBasicServer.java:358)
Caused by: java.security.AccessControlException: access denied (sun.corba.BridgePermission getBridge)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:425)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
at sun.corba.Bridge.get(Bridge.java:155)
at com.sun.corba.se.impl.util.JDKClassLoader.<clinit>(JDKClassLoader.java:32)
... 14 more
It used to work a few Tiger builds ago but I do not know exactly how many.
I guess a recent change in corba bridge is at the origin.
It is unclear why JMX Remote customers should now add that permission at their level, or why JMX code should wrap the appropriate call in a doPriviledge block.
My feeling is that corba code should deal with the doPriviledge.
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.sun.corba.se.impl.util.JDKBridge.loadClassM(JDKBridge.java:166)
at com.sun.corba.se.impl.util.JDKBridge.loadClass(JDKBridge.java:70)
at com.sun.corba.se.impl.javax.rmi.CORBA.Util.loadClass(Util.java:513)
at javax.rmi.CORBA.Util.loadClass(Util.java:234)
at com.sun.corba.se.impl.util.Utility.loadClassForClass(Utility.java:398)
at com.sun.corba.se.impl.util.Utility.loadTie(Utility.java:264)
at com.sun.corba.se.impl.util.Utility.loadTie(Utility.java:209)
at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.exportObject(PortableRemoteObject.java:91)
at javax.rmi.PortableRemoteObject.exportObject(PortableRemoteObject.java:86)
at javax.management.remote.rmi.RMIIIOPServerImpl.export(RMIIIOPServerImpl.java:46)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:390)
at javasoft.sqe.jmx.share.JmxBasicServer.do_jmxServerUp(JmxBasicServer.java:282)
at javasoft.sqe.jmx.share.JmxBasicServer.run(JmxBasicServer.java:83)
at javasoft.sqe.jmx.share.JmxBasicServer.main(JmxBasicServer.java:358)
Caused by: java.security.AccessControlException: access denied (sun.corba.BridgePermission getBridge)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:425)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
at sun.corba.Bridge.get(Bridge.java:155)
at com.sun.corba.se.impl.util.JDKClassLoader.<clinit>(JDKClassLoader.java:32)
... 14 more
- duplicates
-
JDK-5027992 REGRESSION :ClientRequestInfo.received_exception() throws NoClassDefFoundError.
-
- Closed
-