"Syukur, Hiroshi Ridwan" wrote:
> Hi Abhay and Panton,
>
> As Abhay suggested, I tried to execute the servlet from other PC, but the
> same Exception error occurs...
>
> ////////////////////
> Error Execute java.security.AccessControlException: access denied
> (java.io.FilePermission C:\winnt\system32\cmd.exe execute)
> ///////////////////
>
> For your information, my OS is NT Server 4.0, and I am using J2SE build 1.3.
> 0 and J2EE ver. 1.2.1 as Servlet container...
>
Most J2EE application servers (including the J2EE RI) use the Java2 security
model to impose restrictions on what application components are allowed to do,
in order to ensure that accidental or malicious damage to the operating
environment can occur. In this case, the J2EE RI is preventing you from
executing external programs.
If you need to do this, you should use some non-J2EE servlet container (like
Tomcat) that allows you to do this.
> Hiroshi
>
Craig McClanahan
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html