river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Saunders <psaund...@ctica.com>
Subject Hello example
Date Thu, 04 Aug 2011 00:38:26 GMT
Hi,
I am trying yto get the hello example to work.  Any suggestions would be nice.

When I run the scripts\client.bat

I get the following error:

java -Djava.security.manager=      -Djava.security.policy=config\client.policy 
    -Djava.security.properties=config\dynamic-policy.security-properties     
-Djava.rmi.server.codebase=http://CTI-TITAN:8080/jsk-dl
.jar      -jar lib\client.jar      config\client.config
Exception in thread "main" java.lang.ExceptionInInitializerError
        at net.jini.config.ConfigurationProvider.getInstance(ConfigurationProvid
er.java:180)
        at net.jini.config.ConfigurationProvider.getInstance(ConfigurationProvid
er.java:137)
        at com.sun.jini.example.hello.Client.main(Client.java:77)
Caused by: java.security.AccessControlException: access denied (java.lang.Runtim
ePermission createSecurityManager)
        at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:374)
        at java.security.AccessController.checkPermission(AccessController.java:
546)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
        at java.lang.SecurityManager.<init>(SecurityManager.java:282)
        at net.jini.security.Security$ClassContextAccess.<init>(Security.java:96
5)
        at net.jini.security.Security$ClassContextAccess.<init>(Security.java:96
5)
        at net.jini.security.Security$1.run(Security.java:167)
        at java.security.AccessController.doPrivileged(Native Method)
        at net.jini.security.Security.<clinit>(Security.java:165)
        ... 3 more



Mime
View raw message