tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Access denied... to /tmp !?
Date Mon, 02 Dec 2002 17:03:00 GMT
Mr. Arcand already answered, but I wanted to add something: you can use
the directory indicated by context property
javax.servlet.context.tempdir as your temporary directory, rather than
hard-coding /tmp.  See the servlet spec, section 3.7.1, for details.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Simon Brooke []
>Sent: Monday, December 02, 2002 11:40 AM
>To: 'Tomcat Users List'
>Subject: Access denied... to /tmp !?
>I've been running things under various versions of Tomcat for a long
>now, but it's always been Tomcats I've compiled and installed myself.
>trying to get things running with the version of Tomcat which is
>the Debian package 'tomcat4  4.0.3-3woody1'. The tomcat install works,
>can install my webapp OK, and tomcat serves static pages out of my
>just fine. But when I try to access a Servlet, I get
>  Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
>  type Exception report
>  message Internal Server Error
>  description The server encountered an internal error (Internal Server
>  Error) that prevented it from fulfilling this request.
>  exception
>  javax.servlet.ServletException: Servlet.init() for servlet items
>  exception at
>... usual stuf...
>  root cause
> access denied
>  /tmp read) at
>Compiled Code))
>Now if I understand what's going on there, the servlet is falling over
>because it can't read /tmp...
>What I want to know is where this security policy is set?
> (Simon Brooke)
>	Error 1109: There is no message for this error
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>For additional commands, e-mail: <mailto:tomcat-user-

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message