river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Firmstone <j...@zeus.net.au>
Subject DynamicPolicyProvider SPI - Issue with DelayDiscoveryAfterDiscard.td
Date Wed, 17 Mar 2010 10:28:25 GMT
I'm having some problems with one test (part of the qa tests) 
DelayDiscoveryAfterDiscard.td

Created an ServiceProviderInterface for 
net.jini.policy.DynamicPolicyProvider and I've separated out the 
implementation from the SPI proxy class.

All jtreg tests that were passing previously are passing with the new 
implementation.

The Exception is caught from com.sun.jini.action.GetPropertyAction 
run(),  AccessController.doPrivileged()

[java] NonActGrp-out: 17/03/2010 17:55:38 class 
com.sun.jini.action.GetPropertyAction run()
[java] NonActGrp-out: FINE: security exception reading 
"java.rmi.server.codebase", returning null
[java] NonActGrp-out: java.security.AccessControlException: access 
denied (java.util.PropertyPermission java.rmi.server.codebase read)

This check doesn't utilise the DynamicPolicyProvider.implies() method.  
What has changed is the source level and target, this could have 
something to do with it not sure at this stage.

Looking at the output there seems to be some issues with file paths...

bash-3.00$ ant run-tests
Buildfile: build.xml

run-tests:
     [java]
     [java] TIME: 17:55:29
     [java]
     [java] QAConfig.loadProperties FINEST: loaded properties: 
file:/opt/src/ApacheRiver/trunk/qa/src/com/sun/jini/test/resources/qaHarness.prop
     [java] Resolver.setToken FINEST: setting token <harnessJar> to 
/opt/src/ApacheRiver/trunk/qa/lib/jiniharness.jar
     [java] Resolver.setToken FINEST: setting token <testJar> to 
/opt/src/ApacheRiver/trunk/qa/lib/jinitests.jar
     [java] QAConfig.getComponentFile FINEST: failed existance check on 
com/sun/jini/qa/resources/qaDefaults.properties
     [java] QAConfig.getComponentFile FINEST: failed existance check on 
/opt/src/ApacheRiver/trunk/qa/com/sun/jini/qa/resources/qaDefaults.properties
     [java] QAConfig.getJarEntry FINEST: getting jar entry 
/opt/src/ApacheRiver/trunk/qa/lib/jinitests.jar:com/sun/jini/qa/resources/qaDefaults.properties
     [java] QAConfig.loadProperties FINEST: loaded properties: 
jar:file:/opt/src/ApacheRiver/trunk/qa/lib/jinitests.jar!/com/sun/jini/qa/resources/qaDefaults.properties
     [java] Resolver.setToken FINEST: setting token <gethost> to bluto
     [java]
     [java] -----------------------------------------
     [java] CONFIGURATION FILE:
     [java]
     [java]    
/opt/src/ApacheRiver/trunk/qa/src/com/sun/jini/test/resources/qaHarness.prop
     [java]
     [java] -----------------------------------------
     [java] SETTING UP THE TEST LIST:
     [java]
     [java] QAConfig.getComponentFile FINEST: failed existance check on 
com/sun/jini/test/impl/locatordiscovery/DelayDiscoveryAfterDiscard.td
     [java] QAConfig.getComponentFile FINEST: failed existance check on 
/opt/src/ApacheRiver/trunk/qa/com/sun/jini/test/impl/locatordiscovery/DelayDiscoveryAfterDiscard.td
     [java] QAConfig.getJarEntry FINEST: getting jar entry 
/opt/src/ApacheRiver/trunk/qa/lib/jinitests.jar:com/sun/jini/test/impl/locatordiscovery/DelayDiscoveryAfterDiscard.td
     [java] QAConfig.loadProperties FINEST: loaded properties: 
jar:file:/opt/src/ApacheRiver/trunk/qa/lib/jinitests.jar!/com/sun/jini/test/impl/locatordiscovery/DelayDiscoveryAfterDiscard.td
     [java] QAConfig.getComponentFile FINEST: failed existance check on 
locatordiscovery.properties
     [java] QAConfig.getComponentFile FINEST: failed existance check on 
/opt/src/ApacheRiver/trunk/qa/com/sun/jini/test/impl/locatordiscovery/locatordiscovery.properties
     [java] QAConfig.getComponentFile FINEST: failed existance check on 
/opt/src/ApacheRiver/trunk/qa/locatordiscovery.properties
     [java] QAConfig.getComponentURL FINEST: checking test jar file for 
com/sun/jini/test/impl/locatordiscovery/locatordiscovery.properties
     [java] QAConfig.getJarEntry FINEST: getting jar entry 
/opt/src/ApacheRiver/trunk/qa/lib/jinitests.jar:com/sun/jini/test/impl/locatordiscovery/locatordiscovery.properties
     [java] QAConfig.loadProperties FINEST: loaded properties: 
jar:file:/opt/src/ApacheRiver/trunk/qa/lib/jinitests.jar!/com/sun/jini/test/impl/locatordiscovery/locatordiscovery.properties
     [java] QAConfig.getComponentFile FINEST: failed existance check on 
com/sun/jini/test/share/reggie1_0.properties
     [java] QAConfig.getComponentFile FINEST: failed existance check on 
/opt/src/ApacheRiver/trunk/qa/com/sun/jini/test/impl/locatordiscovery/com/sun/jini/test/share/reggie1_0.properties
     [java] QAConfig.getComponentFile FINEST: failed existance check on 
/opt/src/ApacheRiver/trunk/qa/com/sun/jini/test/share/reggie1_0.properties
     [java] QAConfig.getComponentURL FINEST: checking test jar file for 
com/sun/jini/test/impl/locatordiscovery/com/sun/jini/test/share/reggie1_0.properties
     [java] QAConfig.getJarEntry FINEST: getting jar entry 
/opt/src/ApacheRiver/trunk/qa/lib/jinitests.jar:com/sun/jini/test/impl/locatordiscovery/com/sun/jini/test/share/reggie1_0.properties
     [java] QAConfig.getJarEntry FINEST: getting jar entry 
/opt/src/ApacheRiver/trunk/qa/lib/jinitests.jar:com/sun/jini/test/share/reggie1_0.properties
     [java] QAConfig.loadProperties FINEST: loaded properties: 
jar:file:/opt/src/ApacheRiver/trunk/qa/lib/jinitests.jar!/com/sun/jini/test/share/reggie1_0.properties
     [java]    Adding test: 
com/sun/jini/test/impl/locatordiscovery/DelayDiscoveryAfterDiscard.td
     [java]
     [java] -----------------------------------------
     [java] GENERAL HARNESS CONFIGURATION INFORMATION:
     [java]
     [java]    Date started:
     [java]       Wed Mar 17 17:55:30 EST 2010
     [java]    Installation directory of the JSK:
     [java]       com.sun.jini.jsk.home=/opt/src/ApacheRiver/trunk
     [java]    Installation directory of the harness:
     [java]       com.sun.jini.qa.home=/opt/src/ApacheRiver/trunk/qa
     [java]    Categories being tested:
     [java]       categories=No Categories
     [java] -----------------------------------------
     [java] ENVIRONMENT PROPERTIES:
     [java]
     [java]    JVM information:
     [java]       Java HotSpot(TM) Server VM, 10.0-b23, 32 bit VM mode
     [java]       Sun Microsystems Inc.
     [java]    OS information:
     [java]       SunOS, 5.10, sparc
     [java]
     [java] -----------------------------------------
     [java] STARTING TO RUN THE TESTS
     [java]
     [java]
     [java] Resolver.setToken FINEST: setting token <config> to none
     [java] QAConfig.loadTestConfiguration FINER: Test Configuration 
options:
     [java] QAConfig.loadTestConfiguration FINER:    -
     [java] QAConfig.loadTestConfiguration FINER:    multicast.ttl = 0
     [java] Running 
com/sun/jini/test/impl/locatordiscovery/DelayDiscoveryAfterDiscard.td
     [java] Time is Wed Mar 17 17:55:30 EST 2010
     [java] Starting test in separate process with command:
     [java] /usr/jdk/instances/jdk1.6.0/jre/bin/java 
-Djava.security.policy=file:/opt/src/ApacheRiver/trunk/qa/harness/policy/defaulttest.policy

-cp 
/opt/src/ApacheRiver/trunk/qa/lib/jiniharness.jar:/opt/src/ApacheRiver/trunk/qa/lib/jinitests.jar:/opt/src/ApacheRiver/trunk/lib/jsk-platform.jar:/opt/src/ApacheRiver/trunk/lib/jsk-lib.jar

-client -Dcom.sun.jini.jsk.port=8080 -Dcom.sun.jini.qa.port=8081 
-Dcom.sun.jini.jsk.home=/opt/src/ApacheRiver/trunk 
-Dcom.sun.jini.qa.home=/opt/src/ApacheRiver/trunk/qa 
-Dcom.sun.jini.qa.harness.harnessJar=/opt/src/ApacheRiver/trunk/qa/lib/jiniharness.jar 
-Dcom.sun.jini.qa.harness.testJar=/opt/src/ApacheRiver/trunk/qa/lib/jinitests.jar 
-Dcom.sun.jini.qa.harness.runjiniserver=true 
-Dcom.sun.jini.qa.harness.runkitserver=true 
-Djava.security.properties=file:/opt/src/ApacheRiver/trunk/qa/harness/trust/dynamic-policy.properties

-Djava.util.logging.config.file=/opt/src/ApacheRiver/trunk/qa/src/com/sun/jini/test/resources/qa1.logging

-Dcom.sun.jini.test.home=/opt/src/ApacheRiver/trunk/qa 
-Dcom.sun.jini.test.port=8082 
-Dcom.sun.jini.qa.harness.policies=file:/opt/src/ApacheRiver/trunk/qa/src/com/sun/jini/test/resources/jinitest.policy

-Djava.ext.dirs=/usr/jdk/instances/jdk1.6.0/jre/lib/ext:/usr/jdk/packages/lib/ext:/opt/src/ApacheRiver/trunk/qa/lib-ext:/opt/src/ApacheRiver/trunk/lib-ext

com.sun.jini.qa.harness.MasterTest 
com/sun/jini/test/impl/locatordiscovery/DelayDiscoveryAfterDiscard.td
     [java] 17/03/2010 17:55:31 com.sun.jini.qa.harness.MasterTest main
     [java] FINE: Starting MasterTest
     [java]
     [java] TIME: 17:55:34
     [java]
     [java] QAConfig.loadTestConfiguration FINER: Test Configuration 
options:
     [java] QAConfig.loadTestConfiguration FINER:    -
     [java] QAConfig.loadTestConfiguration FINER:    multicast.ttl = 0
     [java] MasterTest.doTest INFO:
     [java] ============================== CALLING SETUP() 
==============================
     [java]
     [java] AdminManager.startService FINE: starting qaClassServer
     [java] AdminManager.getAdmin FINEST: getAdmin called with prefix 
qaClassServer
     [java] FINE:
     [java] FINE: Parameters for qaClassServer(.0):
     [java] FINE:      type              : classServer
     [java] FINE:      impl              : com.sun.jini.tool.ClassServer
     [java] FINE:      directory         : /opt/src/ApacheRiver/trunk/qa/lib
     [java] FINE:      options           :
     [java] 17/03/2010 17:55:34 com.sun.jini.tool.ClassServer run
     [java] INFO: ClassServer started 
[[/opt/src/ApacheRiver/trunk/qa/lib/], port 8081]
     [java] AdminManager.startService FINE: starting jiniClassServer
     [java] AdminManager.getAdmin FINEST: getAdmin called with prefix 
jiniClassServer
     [java] FINE:
     [java] FINE: Parameters for jiniClassServer(.0):
     [java] FINE:      type              : classServer
     [java] FINE:      impl              : com.sun.jini.tool.ClassServer
     [java] FINE:      directory         : /opt/src/ApacheRiver/trunk/lib-dl
     [java] FINE:      options           :
     [java] AdminManager.startService FINE: starting testClassServer
     [java] AdminManager.getAdmin FINEST: getAdmin called with prefix 
testClassServer
     [java] 17/03/2010 17:55:34 com.sun.jini.tool.ClassServer run
     [java] INFO: ClassServer started 
[[/opt/src/ApacheRiver/trunk/lib-dl/], port 8080]
     [java] FINE:
     [java] FINE: Parameters for testClassServer(.0):
     [java] FINE:      type              : classServer
     [java] FINE:      impl              : com.sun.jini.tool.ClassServer
     [java] FINE:      directory         : /opt/src/ApacheRiver/trunk/qa/lib
     [java] FINE:      options           :
     [java] BaseQATest.setup FINE:  setup()
     [java] BaseQATest.getSetupInfo FINE:  ----- Harness Info -----
     [java] BaseQATest.getSetupInfo FINE:  harness codebase         -- 
no codebase
     [java] BaseQATest.getSetupInfo FINE:  harness classpath        -- 
/opt/src/ApacheRiver/trunk/qa/lib/jiniharness.jar:/opt/src/ApacheRiver/trunk/qa/lib/jinitests.jar:/opt/src/ApacheRiver/trunk/lib/jsk-platform.jar:/opt/src/ApacheRiver/trunk/lib/jsk-lib.jar
     [java] BaseQATest.getSetupInfo FINE:  
net.jini.discovery.debug        -- false
     [java] BaseQATest.getSetupInfo FINE:  
com.sun.jini.reggie.proxy.debug -- false
     [java] BaseQATest.getSetupInfo FINE:  
com.sun.jini.join.debug         -- false
     [java] BaseQATest.getSetupInfo FINE:  
com.sun.jini.sdm.debug          -- false
     [java] BaseQATest.getSetupInfo FINE:  max secs event 
wait             -- 180
     [java] BaseQATest.getSetupInfo FINE:  ----- Lookup Service Info -----
     [java] BaseQATest.getSetupInfo FINE:  # of lookup services to 
start            -- 1
     [java] BaseQATest.getSetupInfo FINE:  # of additional lookup 
services to start -- 0
     [java] BaseQATest.getSetupInfo FINE:  seconds to wait for 
discovery            -- 180
     [java] BaseQATest.getSetupInfo FINE:  discard if no announcements 
in (nSecs =) -- 120
     [java] QAConfig.getServiceHost FINE: Selecting service host
     [java] QAConfig.getServiceHost FINE: Not distributed - selecting 
this host
     [java] BaseQATest.getTestLocator FINER: getServiceHost returned null
     [java] 17/03/2010 17:55:34 com.sun.jini.tool.ClassServer run
     [java] INFO: ClassServer started 
[[/opt/src/ApacheRiver/trunk/qa/lib/], port 8082]
     [java] BaseQATest.startLookup FINE:  starting lookup service 0
     [java] BaseQATest.startLookup FINE:      BaseQATest.startLookup - 
sync on lookupList --> requested
     [java] BaseQATest.startLookup FINE:      BaseQATest.startLookup - 
sync on lookupList --> granted
     [java] AdminManager.startService FINE: starting 
net.jini.core.lookup.ServiceRegistrar
     [java] AdminManager.getAdmin FINEST: getAdmin called with prefix 
net.jini.core.lookup.ServiceRegistrar
     [java] QAConfig.getServiceHost FINE: Selecting service host
     [java] QAConfig.getServiceHost FINE: Not distributed - selecting 
this host
     [java] AbstractServiceAdmin.addServiceExporter FINER: no exporter 
definition provided
     [java] NonActivatableServiceStarterAdmin.getGroup FINER: Creating 
shared group
     [java] AdminManager.startService FINE: starting nonActivatableGroup
     [java] AdminManager.getAdmin FINEST: getAdmin called with prefix 
nonActivatableGroup
     [java] NonActivatableGroupAdmin.start FINER: NonActivatableGroup 
exec command line: '/usr/jdk/instances/jdk1.6.0/jre/bin/java 
-Djava.rmi.server.codebase=http://bluto:8081/nonactivatablegroup-dl.jar 
-Djava.security.policy=file:/opt/src/ApacheRiver/trunk/qa/harness/policy/defaultnonactvm.policy

-server -Dcom.sun.jini.jsk.port=8080 -Dcom.sun.jini.qa.port=8081 
-Dcom.sun.jini.jsk.home=/opt/src/ApacheRiver/trunk 
-Dcom.sun.jini.qa.home=/opt/src/ApacheRiver/trunk/qa 
-Dcom.sun.jini.qa.harness.harnessJar=/opt/src/ApacheRiver/trunk/qa/lib/jiniharness.jar 
-Dcom.sun.jini.qa.harness.testJar=/opt/src/ApacheRiver/trunk/qa/lib/jinitests.jar 
-Dcom.sun.jini.qa.harness.runjiniserver=true 
-Dcom.sun.jini.qa.harness.runkitserver=true 
-Djava.security.properties=file:/opt/src/ApacheRiver/trunk/qa/harness/trust/dynamic-policy.properties

-Djava.util.logging.config.file=/opt/src/ApacheRiver/trunk/qa/src/com/sun/jini/test/resources/qa1.logging

-Dcom.sun.jini.test.home=/opt/src/ApacheRiver/trunk/qa 
-Dcom.sun.jini.test.port=8082 
-Dcom.sun.jini.qa.harness.policies=file:/opt/src/ApacheRiver/trunk/qa/src/com/sun/jini/test/resources/jinitest.policy

-cp 
/opt/src/ApacheRiver/trunk/qa/lib/nonactivatablegroup.jar:/opt/src/ApacheRiver/trunk/lib/start.jar:/opt/src/ApacheRiver/trunk/lib/jsk-platform.jar

com.sun.jini.qa.harness.NonActivatableGroupImpl'
     [java] FINE:
     [java] FINE: Parameters for nonActivatableGroup(.0):
     [java] FINE:      type              : nonactivatablegroup
     [java] FINE:      codebase          : 
http://bluto:8081/nonactivatablegroup-dl.jar
     [java] FINE:      impl              : 
com.sun.jini.qa.harness.NonActivatableGroupImpl
     [java] FINE:      policy file       : 
file:/opt/src/ApacheRiver/trunk/qa/harness/policy/defaultnonactvm.policy
     [java] FINE:      classpath         : 
/opt/src/ApacheRiver/trunk/qa/lib/nonactivatablegroup.jar:/opt/src/ApacheRiver/trunk/lib/start.jar:/opt/src/ApacheRiver/trunk/lib/jsk-platform.jar
     [java] FINE:      options           : -server
     [java] FINE:      properties        : -Dcom.sun.jini.jsk.port=8080
     [java] FINE:                        : -Dcom.sun.jini.qa.port=8081
     [java] FINE:                        : 
-Dcom.sun.jini.jsk.home=/opt/src/ApacheRiver/trunk
     [java] FINE:                        : 
-Dcom.sun.jini.qa.home=/opt/src/ApacheRiver/trunk/qa
     [java] FINE:                        : 
-Dcom.sun.jini.qa.harness.harnessJar=/opt/src/ApacheRiver/trunk/qa/lib/jiniharness.jar
     [java] FINE:                        : 
-Dcom.sun.jini.qa.harness.testJar=/opt/src/ApacheRiver/trunk/qa/lib/jinitests.jar
     [java] FINE:                        : 
-Dcom.sun.jini.qa.harness.runjiniserver=true
     [java] FINE:                        : 
-Dcom.sun.jini.qa.harness.runkitserver=true
     [java] FINE:                        : 
-Djava.security.properties=file:/opt/src/ApacheRiver/trunk/qa/harness/trust/dynamic-policy.properties
     [java] FINE:                        : 
-Djava.util.logging.config.file=/opt/src/ApacheRiver/trunk/qa/src/com/sun/jini/test/resources/qa1.logging
     [java] FINE:                        : 
-Dcom.sun.jini.test.home=/opt/src/ApacheRiver/trunk/qa
     [java] FINE:                        : -Dcom.sun.jini.test.port=8082
     [java] FINE:                        : 
-Dcom.sun.jini.qa.harness.policies=file:/opt/src/ApacheRiver/trunk/qa/src/com/sun/jini/test/resources/jinitest.policy
     [java] NonActGrp-out: 17/03/2010 17:55:37 
sun.rmi.transport.tcp.TCPEndpoint <clinit>
     [java] NonActGrp-out: FINE: main: localHostKnown = false, localHost 
= 127.0.0.1
     [java] NonActGrp-out: 17/03/2010 17:55:37 
sun.rmi.transport.tcp.TCPTransport <init>
     [java] NonActGrp-out: FINE: main: Version = 2, ep = [127.0.0.1:0]
     [java] NonActGrp-out: 17/03/2010 17:55:37 
sun.rmi.transport.tcp.TCPEndpoint getLocalEndpoint
     [java] NonActGrp-out: FINE: main: created local endpoint for socket 
factory null on port 0
     [java] NonActGrp-out: 17/03/2010 17:55:37 
sun.rmi.transport.tcp.TCPTransport listen
     [java] NonActGrp-out: FINE: main: (port 0) create server socket
     [java] NonActGrp-out: 17/03/2010 17:55:37 
sun.rmi.transport.tcp.TCPEndpoint newServerSocket
     [java] NonActGrp-out: FINER: main: creating server socket on 
[127.0.0.1:0]
     [java] NonActGrp-out: 17/03/2010 17:55:37 
sun.rmi.transport.tcp.TCPEndpoint setDefaultPort
     [java] NonActGrp-out: FINE: main: default port for server socket 
factory null and client socket factory null set to 43714
     [java] NonActGrp-out: 17/03/2010 17:55:37 
sun.rmi.transport.tcp.TCPTransport$AcceptLoop executeAcceptLoop
     [java] NonActGrp-out: FINE: RMI TCP Accept-0: listening on port 43714
     [java] NonActGrp-out: 17/03/2010 17:55:38 sun.rmi.transport.WeakRef pin
     [java] NonActGrp-out: FINER: main: strongRef = 
sun.rmi.transport.DGCImpl@23e5d1
     [java] NonActGrp-out: 17/03/2010 17:55:38 
sun.rmi.transport.ObjectTable putTarget
     [java] NonActGrp-out: FINER: main: add object [0:0:0, 2]
     [java] NonActGrp-out: 17/03/2010 17:55:38 
sun.rmi.transport.ObjectTable putTarget
     [java] NonActGrp-out: FINER: main: add object 
[-4157aacf:1276b1ed96b:-7fff, -7451044415159636041]
     [java] NonActGrp-out: 17/03/2010 17:55:38 sun.rmi.server.Util 
computeMethodHash
     [java] NonActGrp-out: FINER: main: string used for method hash: 
"stop()V"
     [java] NonActGrp-out: 17/03/2010 17:55:38 sun.rmi.server.Util 
computeMethodHash
     [java] NonActGrp-out: FINER: main: string used for method hash: 
"startService(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Lcom/sun/jini/qa/harness/ServiceDescriptorTransformer;)Ljava/lang/Object;"
     [java] NonActGrp-out: 17/03/2010 17:55:38 class 
com.sun.jini.action.GetPropertyAction run()
     [java] NonActGrp-out: FINE: security exception reading 
"java.rmi.server.codebase", returningnull
     [java] NonActGrp-out: java.security.AccessControlException: access 
denied (java.util.PropertyPermission java.rmi.server.codebase read)
     [java] NonActGrp-out:      at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
     [java] NonActGrp-out:      at 
java.security.AccessController.checkPermission(AccessController.java:546)
     [java] NonActGrp-out:      at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
     [java] NonActGrp-out:      at 
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
     [java] NonActGrp-out:      at 
java.lang.System.getProperty(System.java:652)
     [java] NonActGrp-out:      at 
com.sun.jini.action.GetPropertyAction.run(Unknown Source)
     [java] NonActGrp-out:      at 
java.security.AccessController.doPrivileged(Native Method)
     [java] NonActGrp-out:      at 
net.jini.loader.pref.PreferredClassProvider.<clinit>(Unknown Source)
     [java] NonActGrp-out:      at java.lang.Class.forName0(Native Method)
     [java] NonActGrp-out:      at java.lang.Class.forName(Class.java:247)
     [java] NonActGrp-out:      at 
sun.misc.Service$LazyIterator.next(Service.java:271)
     [java] NonActGrp-out:      at 
java.rmi.server.RMIClassLoader.initializeProvider(RMIClassLoader.java:688)
     [java] NonActGrp-out:      at 
java.rmi.server.RMIClassLoader.access$000(RMIClassLoader.java:93)
     [java] NonActGrp-out:      at 
java.rmi.server.RMIClassLoader$1.run(RMIClassLoader.java:103)
     [java] NonActGrp-out:      at 
java.security.AccessController.doPrivileged(Native Method)
     [java] NonActGrp-out:      at 
java.rmi.server.RMIClassLoader.<clinit>(RMIClassLoader.java:100)
     [java] NonActGrp-out:      at 
sun.rmi.server.MarshalOutputStream.annotateClass(MarshalOutputStream.java:75)
     [java] NonActGrp-out:      at 
java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1250)
     [java] NonActGrp-out:      at 
java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1203)
     [java] NonActGrp-out:      at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1387)
     [java] NonActGrp-out:      at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
     [java] NonActGrp-out:      at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
     [java] NonActGrp-out:      at 
java.rmi.MarshalledObject.<init>(MarshalledObject.java:101)
     [java] NonActGrp-out:      at 
com.sun.jini.qa.harness.NonActivatableGroupImpl.main(Unknown Source)
     [java] NonActGrp-out: Exception in thread "main" 
java.lang.ExceptionInInitializerError
     [java] NonActGrp-out:      at java.lang.Class.forName0(Native Method)
     [java] NonActGrp-out:      at java.lang.Class.forName(Class.java:247)
     [java] NonActGrp-out:      at 
sun.misc.Service$LazyIterator.next(Service.java:271)
     [java] NonActGrp-out:      at 
java.rmi.server.RMIClassLoader.initializeProvider(RMIClassLoader.java:688)
     [java] NonActGrp-out:      at 
java.rmi.server.RMIClassLoader.access$000(RMIClassLoader.java:93)
     [java] NonActGrp-out:      at 
java.rmi.server.RMIClassLoader$1.run(RMIClassLoader.java:103)
     [java] NonActGrp-out:      at 
java.security.AccessController.doPrivileged(Native Method)
     [java] NonActGrp-out:      at 
java.rmi.server.RMIClassLoader.<clinit>(RMIClassLoader.java:100)
     [java] NonActGrp-out:      at 
sun.rmi.server.MarshalOutputStream.annotateClass(MarshalOutputStream.java:75)
     [java] NonActGrp-out:      at 
java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1250)
     [java] NonActGrp-out:      at 
java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1203)
     [java] NonActGrp-out:      at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1387)
     [java] NonActGrp-out:      at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
     [java] NonActGrp-out:      at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
     [java] NonActGrp-out:      at 
java.rmi.MarshalledObject.<init>(MarshalledObject.java:101)
     [java] NonActGrp-out:      at 
com.sun.jini.qa.harness.NonActivatableGroupImpl.main(Unknown Source)
     [java] NonActGrp-out: Caused by: 
java.security.AccessControlException: access denied 
(java.util.PropertyPermission java.rmi.server.codebase read)
     [java] NonActGrp-out:      at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
     [java] NonActGrp-out:      at 
java.security.AccessController.checkPermission(AccessController.java:546)
     [java] NonActGrp-out:      at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
     [java] NonActGrp-out:      at 
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
     [java] NonActGrp-out:      at 
java.lang.System.getProperty(System.java:652)
     [java] NonActGrp-out:      at 
com.sun.jini.action.GetPropertyAction.run(Unknown Source)
     [java] NonActGrp-out:      at 
java.security.AccessController.doPrivileged(Native Method)
     [java] NonActGrp-out:      at 
net.jini.loader.pref.PreferredClassProvider.<clinit>(Unknown Source)
     [java] NonActGrp-out:      ... 16 more


Mime
View raw message