Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-30-2007, 02:56 PM
Member
 
Join Date: May 2007
Posts: 38
Marty is on a distinguished road
RMI help
I am doing a test to use RMI.
When I want to run the server an error appears:


D:\test\classes>java -Djava.rmi.server.codebase=file:/d:\test\classes/ -Djava.
rmi.server.hostname=zaphod.east.sun.com -Djava.security.policy=file:/d:\test\p
olicia\policia.policy engine.ComputeEngine
ComputeEngine exception: access denied (java.net.SocketPermission 127.0.0.1:1099
connect,resolve)
java.security.AccessControlException: access denied (java.net.SocketPermission 1
27.0.0.1:1099 connect,resolve)
at java.security.AccessControlContext.checkPermission (Unknown Source)
at java.security.AccessController.checkPermission(Unk nown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkConnect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.cre ateSocket(Unknown S
ource)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.cre ateSocket(Unknown S
ource)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknow n Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection( Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unk nown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Unknown Source)
at engine.ComputeEngine.main(ComputeEngine.java:32)


??
what is it?


regards
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-31-2007, 03:20 AM
Member
 
Join Date: May 2007
Posts: 39
Nick15 is on a distinguished road
hello
I think that somebody is listening this port. is your partner working?

Last edited by levent : 05-31-2007 at 12:50 PM.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply

« Flex | Jboss Portal »

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +3. The time now is 03:15 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org