oops, im sorry , I think I click on the wrong contact :)
And I found the answer to my problem by myserlf.
From: Laurie Harper <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: user@struts.apache.org
Subject: Re: [OT] Netbeans/TOMCAT RMI
Date: Tue, 02 Aug 2005 16:34:15 -0400
i would think that granting AllPermissions would have prevented this but
it's a long time since I messed with RMI. This isn't a Struts issue though;
you should probably ask on the Tomcat user list or, since it appears the
port in question is something Netbeans specific, maybe on the Netbeans
lists/forums.
L.
dumbQuestionsAsker _ wrote:
Hi everybody,
I got an RMI code which is working fine into another servlet container.
I want to port it into TOMCAT.
That's the first time Im doing it, so that's what I did :
-I added : -Djava.rmi.server.codebase=http://127.0.0.1:80/ to my JAVA_OPT
variables into the catalina.bat file.
-I changed the policy file path to another file than catalina.policy which
contain :
grant {
permission java.security.AllPermission "", "";
};
And i launched Tomcat (catalina.bat) using/and without using -security
option
I got this error :
NotifyUtil::java.security.AccessControlException: access denied
(java.net.SocketPermission 127.0.0.1:8082 connect,resolve)<----really
weird
Im using netbeans and after scanning every files the only reference to
this 8082 port is into a web.xml into
user.dir/.netbeans/4.1/tomcat557/conf
<filter>
<filter-name>HTTPMonitorFilter</filter-name>
-
<filter-class>
org.netbeans.modules.web.monitor.server.MonitorFilter
</filter-class>
-
<init-param>
<param-name>netbeans.monitor.ide</param-name>
<param-value>127.0.0.1:8082</param-value>
</init-param>
</filter>
-
<filter-mapping>
<filter-name>HTTPMonitorFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
can someone help me cause Im really lost.
Thanks in advance
_________________________________________________________________
MSN Messenger : personnalisez votre messagerie instantanée !
http://g.msn.fr/FR1001/866
--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/laurie
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Vidéoconférence plein écran avec MSN Messenger http://g.msn.fr/FR1001/866
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]