it seems dont work
--- Jeanfrancois Arcand <[EMAIL PROTECTED]>
escribi�: > You need to add the following line in
> catalina.policy, under
>
> // ========== WEB APPLICATION PERMISSIONS
> =====================================
>
>
> // These permissions are granted by default to all
> web applications
> // In addition, a web application will be given a
> read FilePermission
> // and JndiPermission for all files and directories
> in its document root.
> grant {
>
> ......
>
> // Required for sevlets and JSP's
> permission java.lang.RuntimePermission
> "accessClassInPackage.org.apache.catalina.util";
> permission java.lang.RuntimePermission
> "accessClassInPackage.org.apache.catalina.util.*";
> permission java.lang.RuntimePermission
> "defineClassInPackage.org.apache.catalina.util";
> permission java.lang.RuntimePermission
> "defineClassInPackage.org.apache.catalina.util.*";
>
> ....
> }
>
> -- Jeanfrancois
>
>
> Jose Antonio Martinez wrote:
>
> >I have developed a servlet that recives from a form
> >(post method) the name of a file and write its
> >content.
> >
> > --- Jeanfrancois Arcand <[EMAIL PROTECTED]>
> >escribi�: > Strange. Can you post you entire log
> file
> >(to see
> >
> >
> >>more exception info)?
> >>
> >>-- Jeanfrancois
> >>
> >>Jose Antonio Martinez wrote:
> >>
> >>
> >>
> >>>tomcat 4.0.5
> >>>
> >>>--- Jeanfrancois Arcand <[EMAIL PROTECTED]>
> >>>escribi�: > Which version of Tomcat are you
> using?
> >>>
> >>>
> >>>
> >>>
> >>>>-- Jeanfrancois
> >>>>
> >>>>Jose Antonio Martinez wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>I am using the default security configuration
> at
> >>>>>manager 'catalina.policy' file, but when i try
> to
> >>>>>access files which are under the webapp
> directory
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>who
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>i am executing i have an exception:
> >>>>>
> >>>>>
> >>>>>javax.servlet.ServletException: Servlet
> execution
> >>>>>threw an exception
> >>>>> at
> >>>>>
> >>>>>
> >>>>>
> >>>>>
>
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
> >>>
> >>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>> at
> >>>>>
> >>>>>
> >>>>>
> >>>>>
>
>>>org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
> >>>
> >>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>> at
> >>>>>
> >>>>>
> >>>>>
> >>>>>
>
>>>org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
> >>>
> >>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>> at
> >>>>>
> >>>>>
> >>>>>
> >>>>>
>
>>>>java.security.AccessController.doPrivileged(Native
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>Method)
> >>>>>
> >>>>>
> >>>>>what's the problem?
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
>
>>>_______________________________________________________________
> >>>
> >>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>Yahoo! Messenger
> >>>>>Nueva versi�n: Webcam, voz, y mucho m�s
> �Gratis!
> >>>>>Desc�rgalo ya desde http://messenger.yahoo.es
> >>>>>
> >>>>>--
> >>>>>To unsubscribe, e-mail:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
>
>>><mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> >>>
> >>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>For additional commands, e-mail:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>><mailto:tomcat-user-help@;jakarta.apache.org>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>--
> >>>>To unsubscribe, e-mail:
> >>>>
> >>>>
>
>>><mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> >>>
> >>>
> >>>>For additional commands, e-mail:
> >>>><mailto:tomcat-user-help@;jakarta.apache.org>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
>
>>_______________________________________________________________
> >>
>
=== message truncated ===
_______________________________________________________________
Yahoo! Messenger
Nueva versi�n: Webcam, voz, y mucho m�s �Gratis!
Desc�rgalo ya desde http://messenger.yahoo.es
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>