harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6538) rmid tool exits with walkback
Date Wed, 02 Jun 2010 12:37:36 GMT
rmid tool exits with walkback
-----------------------------

                 Key: HARMONY-6538
                 URL: https://issues.apache.org/jira/browse/HARMONY-6538
             Project: Harmony
          Issue Type: Bug
          Components: JDK
    Affects Versions: 5.0M13
         Environment: Windows and Linux 
5.0M14 & 6.0M2
            Reporter: Tim Ellison


Invoking the JDK tool  rmid with no arguments produces the following walkback:

java.security.AccessControlException: Permission check failed (java.net.SocketPermission localhost:1098
connect,resolve)
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:132)
        at java.security.AccessController.checkPermission(AccessController.java:194)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:862)
        at java.lang.SecurityManager.checkConnect(SecurityManager.java:163)
        at java.net.Socket.checkConnectPermission(Socket.java:334)
        at java.net.Socket.checkDestination(Socket.java:320)
        at java.net.Socket.<init>(Socket.java:150)
        at org.apache.harmony.rmi.transport.tcp.DirectRMISocketFactory.createSocket(DirectRMISocketFactory.java:52)
        at org.apache.harmony.rmi.transport.DefaultRMISocketFactory.createSocket(DefaultRMISocketFactory.java:122)
        at org.apache.harmony.rmi.transport.Endpoint.createSocket(Endpoint.java:167)
        at org.apache.harmony.rmi.client.ClientConnectionManager.getConnection(ClientConnectionManager.java:102)
        at org.apache.harmony.rmi.remoteref.UnicastRef.newCall(UnicastRef.java:226)
        at org.apache.harmony.rmi.remoteref.UnicastRef.invoke(UnicastRef.java:128)
        at org.apache.harmony.rmi.registry.RegistryImpl_Stub.rebind(RegistryImpl_Stub.java:181)
        at java.rmi.Naming.rebind(Naming.java:59)
        at org.apache.harmony.rmi.activation.Rmid.<init>(Rmid.java:299)
        at org.apache.harmony.rmi.activation.Rmid.main(Rmid.java:502)
        at org.apache.harmony.tools.rmid.Main.main(Main.java:22)

On the RI the demon starts ok with no arguments.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message