river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Firmstone <j...@zeus.net.au>
Subject Re: Debugging River (Was: Re: new release?)
Date Mon, 15 Nov 2010 01:43:14 GMT
In Pepe the test passes when using the concurrent policy provider and 
the original DynamicPolicyProvider.

I wonder if we've made a regression somewhere?

Be nice to know what the original bug was?

Cheers,

Peter.

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

run-tests:
     [java]
     [java] -----------------------------------------
     [java] CONFIGURATION FILE:
     [java]
     [java]    
/opt/src/apache_river/pepe/qa/src/com/sun/jini/test/resources/qaHarness.prop
     [java]
     [java] -----------------------------------------
     [java] SETTING UP THE TEST LIST:
     [java]
     [java]    Adding test: 
com/sun/jini/test/impl/start/ServiceStarterCreateBadTransientServiceTest.td
     [java]
     [java] -----------------------------------------
     [java] GENERAL HARNESS CONFIGURATION INFORMATION:
     [java]
     [java]    Date started:
     [java]       Mon Nov 15 11:33:02 EST 2010
     [java]    Installation directory of the JSK:
     [java]       com.sun.jini.jsk.home=/opt/src/apache_river/pepe
     [java]    Installation directory of the harness:
     [java]       com.sun.jini.qa.home=/opt/src/apache_river/pepe/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] Running 
com/sun/jini/test/impl/start/ServiceStarterCreateBadTransientServiceTest.td
     [java] Time is Mon Nov 15 11:33:02 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/apache_river/pepe/qa/harness/policy/defaulttest.policy

-Djava.rmi.server.codebase=http://bluto:8082/qa1-start-probe-dl.jar -cp 
/opt/src/apache_river/pepe/qa/lib/jiniharness.jar:/opt/src/apache_river/pepe/qa/lib/jinitests.jar:/opt/src/apache_river/pepe/lib/jsk-platform.jar:/opt/src/apache_river/pepe/lib/jsk-lib.jar

-client 
-Djava.ext.dirs=/usr/jdk/instances/jdk1.6.0/jre/lib/ext:/usr/jdk/packages/lib/ext:/opt/src/apache_river/pepe/qa/lib-ext:/opt/src/apache_river/pepe/lib-ext

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

-Dcom.sun.jini.qa.harness.testhosts= 
-Djava.util.logging.config.file=/home/peter/logging.properties 
-Dcom.sun.jini.test.home=/opt/src/apache_river/pepe/qa 
-Dcom.sun.jini.test.port=8082 
-Dcom.sun.jini.qa.harness.policies=file:/opt/src/apache_river/pepe/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/apache_river/pepe/qa/lib-ext:/opt/src/apache_river/pepe/lib-ext

com.sun.jini.qa.harness.MasterTest 
com/sun/jini/test/impl/start/ServiceStarterCreateBadTransientServiceTest.td
     [java] 15/11/2010 11:33:20 com.sun.jini.start.HTTPDStatus httpdWarning
     [java] WARNING: Problem accessing desired 
URL[http://bluto:8080/mercury-dl_bogus.jar]: 
java.io.FileNotFoundException: http://bluto:8080/mercury-dl_bogus.jar.
     [java] 15/11/2010 11:33:22 com.sun.jini.mercury.MailboxImpl doInit
     [java] INFO: Mercury started: 
com.sun.jini.mercury.TransientMercuryImpl@d9660d
     [java] java.lang.ClassNotFoundException: 
com.sun.jini.mercury.MailboxProxy$ConstrainableMailboxProxy
     [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     [java]     at java.security.AccessController.doPrivileged(Native 
Method)
     [java]     at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java]     at 
net.jini.loader.pref.PreferredClassLoader.loadClass(PreferredClassLoader.java:941)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     [java]     at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:247)
     [java]     at 
net.jini.loader.pref.PreferredClassProvider.loadClass(PreferredClassProvider.java:613)
     [java]     at 
java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
     [java]     at 
sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
     [java]     at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
     [java]     at 
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
     [java]     at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
     [java]     at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
     [java]     at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
     [java]     at java.rmi.MarshalledObject.get(MarshalledObject.java:142)
     [java]     at 
com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:644)
     [java]     at 
com.sun.jini.test.impl.start.ServiceStarterCreateBadTransientServiceTest.run(ServiceStarterCreateBadTransientServiceTest.java:85)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
     [java] 15/11/2010 11:33:23 com.sun.jini.mercury.MailboxImpl initFailed
     [java] SEVERE: Mercury failed to initialize
     [java] net.jini.config.ConfigurationException: 
/var/tmp/Mercury63059.config:problem reading configuration file; caused by:
     [java]     java.security.AccessControlException: access denied 
(java.io.FilePermission /var/tmp/Mercury63059.config read)
     [java]     at 
net.jini.config.ConfigurationFile.oops(ConfigurationFile.java:2754)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1823)
     [java]     at 
net.jini.config.ConfigurationProvider.getInstance(ConfigurationProvider.java:225)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.init(MailboxImpl.java:597)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.<init>(MailboxImpl.java:578)
     [java]     at 
com.sun.jini.mercury.TransientMercuryImpl.<init>(TransientMercuryImpl.java:52)
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     [java]     at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     [java]     at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     [java]     at 
com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:628)
     [java]     at 
com.sun.jini.test.impl.start.ServiceStarterCreateBadTransientServiceTest.run(ServiceStarterCreateBadTransientServiceTest.java:100)
    
[java]     at com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
     [java] Caused by: java.security.AccessControlException: access 
denied (java.io.FilePermission /var/tmp/Mercury63059.config read)
     [java]     at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
     [java]     at 
java.security.AccessController.checkPermission(AccessController.java:546)
     [java]     at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
     [java]     at 
java.lang.SecurityManager.checkRead(SecurityManager.java:871)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:100)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:66)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1809)
     [java]     ... 12 more
     [java] java.lang.reflect.InvocationTargetException
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     [java]     at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     [java]     at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     [java]     at 
com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:628)
     [java]     at 
com.sun.jini.test.impl.start.ServiceStarterCreateBadTransientServiceTest.run(ServiceStarterCreateBadTransientServiceTest.java:100)
    
[java]     at com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
     [java] Caused by: net.jini.config.ConfigurationException: 
/var/tmp/Mercury63059.config:problem reading configuration file; caused by:
     [java]     java.security.AccessControlException: access denied 
(java.io.FilePermission /var/tmp/Mercury63059.config read)
     [java]     at 
net.jini.config.ConfigurationFile.oops(ConfigurationFile.java:2754)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1823)
     [java]     at 
net.jini.config.ConfigurationProvider.getInstance(ConfigurationProvider.java:225)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.init(MailboxImpl.java:597)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.<init>(MailboxImpl.java:578)
     [java]     at 
com.sun.jini.mercury.TransientMercuryImpl.<init>(TransientMercuryImpl.java:52)
     [java]     ... 8 more
     [java] Caused by: java.security.AccessControlException: access 
denied (java.io.FilePermission /var/tmp/Mercury63059.config read)
     [java]     at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
     [java]     at 
java.security.AccessController.checkPermission(AccessController.java:546)
     [java]     at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
     [java]     at 
java.lang.SecurityManager.checkRead(SecurityManager.java:871)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:100)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:66)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1809)
     [java]     ... 12 more
     [java] java.lang.ClassNotFoundException: 
com.sun.jini.mercury.TransientMercuryImpl
     [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     [java]     at java.security.AccessController.doPrivileged(Native 
Method)
     [java]     at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java]     at 
net.jini.loader.pref.PreferredClassLoader.loadClass(PreferredClassLoader.java:941)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     [java]     at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:247)
     [java]     at 
com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:615)
     [java]     at 
com.sun.jini.test.impl.start.ServiceStarterCreateBadTransientServiceTest.run(ServiceStarterCreateBadTransientServiceTest.java:126)
    
[java]     at com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
     [java] java.lang.ClassNotFoundException: 
com.sun.jini.mercury.TransientMercuryImpl_bogus
     [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     [java]     at java.security.AccessController.doPrivileged(Native 
Method)
     [java]     at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java]     at 
net.jini.loader.pref.PreferredClassLoader.loadClass(PreferredClassLoader.java:941)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     [java]     at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:247)
     [java]     at 
com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:615)
     [java]     at 
com.sun.jini.test.impl.start.ServiceStarterCreateBadTransientServiceTest.run(ServiceStarterCreateBadTransientServiceTest.java:146)
    
[java]     at com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
     [java] 15/11/2010 11:33:24 com.sun.jini.mercury.MailboxImpl initFailed
     [java] SEVERE: Mercury failed to initialize
     [java] net.jini.config.ConfigurationNotFoundException: 
/var/tmp:configuration file not found; caused by:
     [java]     java.io.FileNotFoundException: /var/tmp (Is a directory)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1815)
     [java]     at 
net.jini.config.ConfigurationProvider.getInstance(ConfigurationProvider.java:225)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.init(MailboxImpl.java:597)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.<init>(MailboxImpl.java:578)
     [java]     at 
com.sun.jini.mercury.TransientMercuryImpl.<init>(TransientMercuryImpl.java:52)
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     [java]     at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     [java]     at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     [java]     at 
com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:628)
     [java]     at 
com.sun.jini.test.impl.start.ServiceStarterCreateBadTransientServiceTest.run(ServiceStarterCreateBadTransientServiceTest.java:164)
    
[java]     at com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
     [java] Caused by: java.io.FileNotFoundException: /var/tmp (Is a 
directory)
     [java]     at java.io.FileInputStream.open(Native Method)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:106)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:66)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1809)
     [java]     ... 12 more
     [java] java.lang.reflect.InvocationTargetException
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     [java]     at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     [java]     at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     [java]     at 
com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:628)
     [java]     at 
com.sun.jini.test.impl.start.ServiceStarterCreateBadTransientServiceTest.run(ServiceStarterCreateBadTransientServiceTest.java:164)
    
[java]     at com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
     [java] Caused by: net.jini.config.ConfigurationNotFoundException: 
/var/tmp:configuration file not found; caused by:
     [java]     java.io.FileNotFoundException: /var/tmp (Is a directory)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1815)
     [java]     at 
net.jini.config.ConfigurationProvider.getInstance(ConfigurationProvider.java:225)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.init(MailboxImpl.java:597)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.<init>(MailboxImpl.java:578)
     [java]     at 
com.sun.jini.mercury.TransientMercuryImpl.<init>(TransientMercuryImpl.java:52)
     [java]     ... 8 more
     [java] Caused by: java.io.FileNotFoundException: /var/tmp (Is a 
directory)
     [java]     at java.io.FileInputStream.open(Native Method)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:106)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:66)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1809)
     [java]     ... 12 more
     [java]
     [java] TIME: 11:33:30
     [java]
     [java] Test process was destroyed and returned code 0
     [java] 
com/sun/jini/test/impl/start/ServiceStarterCreateBadTransientServiceTest.td
     [java] Test Passed: OK
     [java]
     [java]
     [java] -----------------------------------------
     [java]
     [java] SUMMARY =================================
     [java]
     [java] 
com/sun/jini/test/impl/start/ServiceStarterCreateBadTransientServiceTest.td
     [java] Test Passed: OK
     [java]
     [java] -----------------------------------------
     [java]
     [java] # of tests started   = 1
     [java] # of tests completed = 1
     [java] # of tests passed    = 1
     [java] # of tests failed    = 0
     [java]
     [java] -----------------------------------------
     [java]
     [java]    Date finished:
     [java]       Mon Nov 15 11:33:35 EST 2010
     [java]    Time elapsed:
     [java]       33 seconds
     [java]

BUILD SUCCESSFUL
Total time: 40 seconds

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

run-tests:
     [java]
     [java] -----------------------------------------
     [java] CONFIGURATION FILE:
     [java]
     [java]    
/opt/src/apache_river/pepe/qa/src/com/sun/jini/test/resources/qaHarness.prop
     [java]
     [java] -----------------------------------------
     [java] SETTING UP THE TEST LIST:
     [java]
     [java]    Adding test: 
com/sun/jini/test/impl/start/ServiceStarterCreateBadTransientServiceTest.td
     [java]
     [java] -----------------------------------------
     [java] GENERAL HARNESS CONFIGURATION INFORMATION:
     [java]
     [java]    Date started:
     [java]       Mon Nov 15 11:38:55 EST 2010
     [java]    Installation directory of the JSK:
     [java]       com.sun.jini.jsk.home=/opt/src/apache_river/pepe
     [java]    Installation directory of the harness:
     [java]       com.sun.jini.qa.home=/opt/src/apache_river/pepe/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] Running 
com/sun/jini/test/impl/start/ServiceStarterCreateBadTransientServiceTest.td
     [java] Time is Mon Nov 15 11:38:56 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/apache_river/pepe/qa/harness/policy/defaulttest.policy

-Djava.rmi.server.codebase=http://bluto:8082/qa1-start-probe-dl.jar -cp 
/opt/src/apache_river/pepe/qa/lib/jiniharness.jar:/opt/src/apache_river/pepe/qa/lib/jinitests.jar:/opt/src/apache_river/pepe/lib/jsk-platform.jar:/opt/src/apache_river/pepe/lib/jsk-lib.jar

-client 
-Djava.ext.dirs=/usr/jdk/instances/jdk1.6.0/jre/lib/ext:/usr/jdk/packages/lib/ext:/opt/src/apache_river/pepe/qa/lib-ext:/opt/src/apache_river/pepe/lib-ext

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

-Dcom.sun.jini.qa.harness.testhosts= 
-Djava.util.logging.config.file=/home/peter/logging.properties 
-Dcom.sun.jini.test.home=/opt/src/apache_river/pepe/qa 
-Dcom.sun.jini.test.port=8082 
-Dcom.sun.jini.qa.harness.policies=file:/opt/src/apache_river/pepe/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/apache_river/pepe/qa/lib-ext:/opt/src/apache_river/pepe/lib-ext

com.sun.jini.qa.harness.MasterTest 
com/sun/jini/test/impl/start/ServiceStarterCreateBadTransientServiceTest.td
     [java] 15/11/2010 11:38:58 
net.jini.security.policy.DynamicPolicyProvider <init>
     [java] INFO: Using DynamicPolicyProviderImpl
     [java] ActSys-err: 15/11/2010 11:39:01 
net.jini.security.policy.DynamicPolicyProvider <init>
     [java] ActSys-err: INFO: Using DynamicPolicyProviderImpl
     [java] ActSys-err: 15/11/2010 11:39:08:Group-0:err:15/11/2010 
11:39:08 net.jini.security.policy.DynamicPolicyProvider <init>
     [java] ActSys-err: 15/11/2010 11:39:08:Group-0:err:INFO: Using 
DynamicPolicyProviderImpl
     [java] ActSys-err: 15/11/2010 11:39:12:Group-0:err:15/11/2010 
11:39:12 net.jini.security.policy.DynamicPolicyProvider <init>
     [java] ActSys-err: 15/11/2010 11:39:12:Group-0:err:INFO: Using 
DynamicPolicyProviderImpl
     [java] ActSys-err: 15/11/2010 11:39:12:Group-0:err:15/11/2010 
11:39:12 net.jini.security.policy.DynamicPolicyProvider <init>
     [java] ActSys-err: 15/11/2010 11:39:12:Group-0:err:INFO: Using 
DynamicPolicyProviderImpl
     [java] 15/11/2010 11:39:13 com.sun.jini.start.HTTPDStatus httpdWarning
     [java] WARNING: Problem accessing desired 
URL[http://bluto:8080/mercury-dl_bogus.jar]: 
java.io.FileNotFoundException: http://bluto:8080/mercury-dl_bogus.jar.
     [java] 15/11/2010 11:39:13 
net.jini.security.policy.DynamicPolicyProvider <init>
     [java] INFO: Using DynamicPolicyProviderImpl
     [java] 15/11/2010 11:39:13 
net.jini.security.policy.DynamicPolicyProvider <init>
     [java] INFO: Using DynamicPolicyProviderImpl
     [java] 15/11/2010 11:39:14 com.sun.jini.mercury.MailboxImpl doInit
     [java] INFO: Mercury started: 
com.sun.jini.mercury.TransientMercuryImpl@17e4ca
     [java] java.lang.ClassNotFoundException: 
com.sun.jini.mercury.MailboxProxy$ConstrainableMailboxProxy
     [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     [java]     at java.security.AccessController.doPrivileged(Native 
Method)
     [java]     at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java]     at 
net.jini.loader.pref.PreferredClassLoader.loadClass(PreferredClassLoader.java:941)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     [java]     at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:247)
     [java]     at 
net.jini.loader.pref.PreferredClassProvider.loadClass(PreferredClassProvider.java:613)
     [java]     at 
java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
     [java]     at 
sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
     [java]     at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
     [java]     at 
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
     [java]     at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
     [java]     at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
     [java]     at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
     [java]     at java.rmi.MarshalledObject.get(MarshalledObject.java:142)
     [java]     at 
com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:644)
     [java]     at 
com.sun.jini.test.impl.start.ServiceStarterCreateBadTransientServiceTest.run(ServiceStarterCreateBadTransientServiceTest.java:85)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
     [java] 15/11/2010 11:39:14 
net.jini.security.policy.DynamicPolicyProvider <init>
     [java] INFO: Using DynamicPolicyProviderImpl
     [java] 15/11/2010 11:39:14 
net.jini.security.policy.DynamicPolicyProvider <init>
     [java] INFO: Using DynamicPolicyProviderImpl
     [java] 15/11/2010 11:39:15 com.sun.jini.mercury.MailboxImpl initFailed
     [java] SEVERE: Mercury failed to initialize
     [java] net.jini.config.ConfigurationException: 
/var/tmp/Mercury17721.config:problem reading configuration file; caused by:
     [java]     java.security.AccessControlException: access denied 
(java.io.FilePermission /var/tmp/Mercury17721.config read)
     [java]     at 
net.jini.config.ConfigurationFile.oops(ConfigurationFile.java:2754)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1823)
     [java]     at 
net.jini.config.ConfigurationProvider.getInstance(ConfigurationProvider.java:225)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.init(MailboxImpl.java:597)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.<init>(MailboxImpl.java:578)
     [java]     at 
com.sun.jini.mercury.TransientMercuryImpl.<init>(TransientMercuryImpl.java:52)
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     [java]     at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     [java]     at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     [java]     at 
com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:628)
     [java]     at 
com.sun.jini.test.impl.start.ServiceStarterCreateBadTransientServiceTest.run(ServiceStarterCreateBadTransientServiceTest.java:100)
    
[java]     at com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
     [java] Caused by: java.security.AccessControlException: access 
denied (java.io.FilePermission /var/tmp/Mercury17721.config read)
     [java]     at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
     [java]     at 
java.security.AccessController.checkPermission(AccessController.java:546)
     [java]     at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
     [java]     at 
java.lang.SecurityManager.checkRead(SecurityManager.java:871)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:100)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:66)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1809)
     [java]     ... 12 more
     [java] java.lang.reflect.InvocationTargetException
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     [java]     at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     [java]     at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     [java]     at 
com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:628)
     [java]     at 
com.sun.jini.test.impl.start.ServiceStarterCreateBadTransientServiceTest.run(ServiceStarterCreateBadTransientServiceTest.java:100)
    
[java]     at com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
     [java] Caused by: net.jini.config.ConfigurationException: 
/var/tmp/Mercury17721.config:problem reading configuration file; caused by:
     [java]     java.security.AccessControlException: access denied 
(java.io.FilePermission /var/tmp/Mercury17721.config read)
     [java]     at 
net.jini.config.ConfigurationFile.oops(ConfigurationFile.java:2754)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1823)
     [java]     at 
net.jini.config.ConfigurationProvider.getInstance(ConfigurationProvider.java:225)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.init(MailboxImpl.java:597)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.<init>(MailboxImpl.java:578)
     [java]     at 
com.sun.jini.mercury.TransientMercuryImpl.<init>(TransientMercuryImpl.java:52)
     [java]     ... 8 more
     [java] Caused by: java.security.AccessControlException: access 
denied (java.io.FilePermission /var/tmp/Mercury17721.config read)
     [java]     at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
     [java]     at 
java.security.AccessController.checkPermission(AccessController.java:546)
     [java]     at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
     [java]     at 
java.lang.SecurityManager.checkRead(SecurityManager.java:871)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:100)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:66)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1809)
     [java]     ... 12 more
     [java] 15/11/2010 11:39:15 
net.jini.security.policy.DynamicPolicyProvider <init>
     [java] INFO: Using DynamicPolicyProviderImpl
     [java] 15/11/2010 11:39:15 
net.jini.security.policy.DynamicPolicyProvider <init>
     [java] INFO: Using DynamicPolicyProviderImpl
     [java] java.lang.ClassNotFoundException: 
com.sun.jini.mercury.TransientMercuryImpl
     [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     [java]     at java.security.AccessController.doPrivileged(Native 
Method)
     [java]     at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java]     at 
net.jini.loader.pref.PreferredClassLoader.loadClass(PreferredClassLoader.java:941)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     [java]     at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:247)
     [java]     at 
com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:615)
     [java]     at 
com.sun.jini.test.impl.start.ServiceStarterCreateBadTransientServiceTest.run(ServiceStarterCreateBadTransientServiceTest.java:126)
    
[java]     at com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
     [java] 15/11/2010 11:39:15 
net.jini.security.policy.DynamicPolicyProvider <init>
     [java] INFO: Using DynamicPolicyProviderImpl
     [java] 15/11/2010 11:39:15 
net.jini.security.policy.DynamicPolicyProvider <init>
     [java] INFO: Using DynamicPolicyProviderImpl
     [java] java.lang.ClassNotFoundException: 
com.sun.jini.mercury.TransientMercuryImpl_bogus
     [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
     [java]     at java.security.AccessController.doPrivileged(Native 
Method)
     [java]     at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [java]     at 
net.jini.loader.pref.PreferredClassLoader.loadClass(PreferredClassLoader.java:941)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     [java]     at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:247)
     [java]     at 
com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:615)
     [java]     at 
com.sun.jini.test.impl.start.ServiceStarterCreateBadTransientServiceTest.run(ServiceStarterCreateBadTransientServiceTest.java:146)
    
[java]     at com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
     [java] 15/11/2010 11:39:15 
net.jini.security.policy.DynamicPolicyProvider <init>
     [java] INFO: Using DynamicPolicyProviderImpl
     [java] 15/11/2010 11:39:15 
net.jini.security.policy.DynamicPolicyProvider <init>
     [java] INFO: Using DynamicPolicyProviderImpl
     [java] 15/11/2010 11:39:15 com.sun.jini.mercury.MailboxImpl initFailed
     [java] SEVERE: Mercury failed to initialize
     [java] net.jini.config.ConfigurationNotFoundException: 
/var/tmp:configuration file not found; caused by:
     [java]     java.io.FileNotFoundException: /var/tmp (Is a directory)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1815)
     [java]     at 
net.jini.config.ConfigurationProvider.getInstance(ConfigurationProvider.java:225)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.init(MailboxImpl.java:597)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.<init>(MailboxImpl.java:578)
     [java]     at 
com.sun.jini.mercury.TransientMercuryImpl.<init>(TransientMercuryImpl.java:52)
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     [java]     at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     [java]     at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     [java]     at 
com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:628)
     [java]     at 
com.sun.jini.test.impl.start.ServiceStarterCreateBadTransientServiceTest.run(ServiceStarterCreateBadTransientServiceTest.java:164)
    
[java]     at com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
     [java] Caused by: java.io.FileNotFoundException: /var/tmp (Is a 
directory)
     [java]     at java.io.FileInputStream.open(Native Method)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:106)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:66)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1809)
     [java]     ... 12 more
     [java] java.lang.reflect.InvocationTargetException
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     [java]     at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     [java]     at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     [java]     at 
com.sun.jini.start.NonActivatableServiceDescriptor.create(NonActivatableServiceDescriptor.java:628)
     [java]     at 
com.sun.jini.test.impl.start.ServiceStarterCreateBadTransientServiceTest.run(ServiceStarterCreateBadTransientServiceTest.java:164)
    
[java]     at com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
     [java]     at 
com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
     [java] Caused by: net.jini.config.ConfigurationNotFoundException: 
/var/tmp:configuration file not found; caused by:
     [java]     java.io.FileNotFoundException: /var/tmp (Is a directory)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1815)
     [java]     at 
net.jini.config.ConfigurationProvider.getInstance(ConfigurationProvider.java:225)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.init(MailboxImpl.java:597)
     [java]     at 
com.sun.jini.mercury.MailboxImpl.<init>(MailboxImpl.java:578)
     [java]     at 
com.sun.jini.mercury.TransientMercuryImpl.<init>(TransientMercuryImpl.java:52)
     [java]     ... 8 more
     [java] Caused by: java.io.FileNotFoundException: /var/tmp (Is a 
directory)
     [java]     at java.io.FileInputStream.open(Native Method)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:106)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:66)
     [java]     at 
net.jini.config.ConfigurationFile.<init>(ConfigurationFile.java:1809)
     [java]     ... 12 more
     [java]
     [java] TIME: 11:39:22
     [java]
     [java] Test process was destroyed and returned code 0
     [java] 
com/sun/jini/test/impl/start/ServiceStarterCreateBadTransientServiceTest.td
     [java] Test Passed: OK
     [java]
     [java]
     [java] -----------------------------------------
     [java]
     [java] SUMMARY =================================
     [java]
     [java] 
com/sun/jini/test/impl/start/ServiceStarterCreateBadTransientServiceTest.td
     [java] Test Passed: OK
     [java]
     [java] -----------------------------------------
     [java]
     [java] # of tests started   = 1
     [java] # of tests completed = 1
     [java] # of tests passed    = 1
     [java] # of tests failed    = 0
     [java]
     [java] -----------------------------------------
     [java]
     [java]    Date finished:
     [java]       Mon Nov 15 11:39:27 EST 2010
     [java]    Time elapsed:
     [java]       31 seconds
     [java]

BUILD SUCCESSFUL
Total time: 37 seconds


Mime
View raw message