Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Oracle/OAS and the fly likes Standalone OC4J - RMI-access deny Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Standalone OC4J - RMI-access deny" Watch "Standalone OC4J - RMI-access deny" New topic
Author

Standalone OC4J - RMI-access deny

Mike Yu
Ranch Hand

Joined: Nov 17, 2001
Posts: 175
I have a web application that connect to a standalaone JAVA application using RMI.

The web application runs in the standalone oc4j_10_1_2 in my local machine (Windows XP). The standalone JAVA application runs in a remote server.

When I tried to connect from the web application from my local machine to the standalone Java application in the remote server, I got following error:

In server.log,
java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:3770 accept,resolve)

In application.log,
java.security.AccessControlException: access denied (java.io.FilePermission C:\JDeveloper10g\oc4j_10_1_2\BC4J\lib\org\apache\struts\action\ActionResources_en_US.properties read)

In my application code, I did not use org\apache\struts\action\ActionResources_en_US.properties .

Can someone help?

Thanks


Thanks,<br />Mike
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Standalone OC4J - RMI-access deny