This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hello personal, I am executing a program server using RMI and this happening the following mistake: "Exception occurred: java.security.AccessControlException: access denied (java.ne t.SocketPermission 127.0.0.1:1099 connect,resolve)" I am executing with the following command: "java - Djava.security.policy=C:\test3\wideopen.policy myRMIServer" How do I can contrornar the problem?. Thankful for the help
Hey Sergio, What platform are you using (Windows 98, Windows 2000, etc.) and what permissions does your policy file grant? Also make sure the path to your policy file is correct and there are no other services running on port 1099. Further verify that the RMI registry is running. You can start it in your server by:
where port is the TCP/IP port which in your case would be 1099 (although any available port above 1024 should be acceptable). Hope this helps, Michael Morris
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: How to solve mistake this problem with RMI?