Changing file permissions from within tomcat does not work

2004-08-19 Thread Christian Riedel
Hi, I have a problem with file permissions of a file that I create from within a web-app running in tomcat: I get certain data from the user via the webapp and want to save this into a new file on the computer where tomcat runs on. Creating the file via FileOutputStream works fine. But the

Re: Changing file permissions from within tomcat does not work

2004-08-19 Thread QM
On Thu, Aug 19, 2004 at 11:28:16AM +0200, Christian Riedel wrote: : Creating the file via FileOutputStream works fine. But : the problem is, that the created file has the file-permissions rw--- : although the system wide umask and the user-set umask say, that new : files should be

Re: Changing file permissions from within tomcat does not work

2004-08-19 Thread Christian Riedel
On 19.08.2004 15:35, QM wrote: On Thu, Aug 19, 2004 at 11:28:16AM +0200, Christian Riedel wrote: : Creating the file via FileOutputStream works fine. But : the problem is, that the created file has the file-permissions rw--- : although the system wide umask and the user-set umask say, that

RE: Changing file permissions from within tomcat does not work

2004-08-19 Thread Shapira, Yoav
PROTECTED] On Behalf Of Christian Riedel Sent: Thursday, August 19, 2004 10:22 AM To: [EMAIL PROTECTED] Subject: Re: Changing file permissions from within tomcat does not work On 19.08.2004 15:35, QM wrote: On Thu, Aug 19, 2004 at 11:28:16AM +0200, Christian Riedel wrote: : Creating the file via

Re: Changing file permissions from within tomcat does not work

2004-08-19 Thread John Villar
Shapira Millennium Research Informatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Christian Riedel Sent: Thursday, August 19, 2004 10:22 AM To: [EMAIL PROTECTED] Subject: Re: Changing file permissions from within tomcat does not work On 19.08.2004 15:35, QM wrote

Re: Changing file permissions from within tomcat does not work

2004-08-19 Thread Christian Riedel
On 19.08.2004 16:36, John Villar wrote: just as a gues have you sat the Sticky or the UID bit of your directory? No, I have not ... when I cd to the directory and do a touch testfile on the cosole the file's permissions are as expected rw-r--r-- So why should it not work from within

Re: Changing file permissions from within tomcat does not work

2004-08-19 Thread John Villar
And the directory's permissions are the same? (should be, but just in case) remember that new files don't necesarilly have rw-r--r-- permissions Christian Riedel escribió: On 19.08.2004 16:36, John Villar wrote: just as a gues have you sat the Sticky or the UID bit of your directory?

Re: Changing file permissions from within tomcat does not work

2004-08-19 Thread Christian Riedel
On 19.08.2004 16:31, Shapira, Yoav wrote: Hola, This is typical of when apps step outside the Servlet Spec, which does not include support for apps writing files except to a temporary directory where permissions are guaranteed to be readable back by the app and no more. Tomcat supports running

Re: Changing file permissions from within tomcat does not work

2004-08-19 Thread Christian Riedel
On 19.08.2004 17:47, John Villar wrote: And the directory's permissions are the same? (should be, but just in case) remember that new files don't necesarilly have rw-r--r-- permissions The directories permissions are drwxrwxr-x and the system wide umask is 0002 As I said: when I create a

setting codebase for rmi in servlet running in tomcat does not work

2004-04-07 Thread Markus Reis
dear all, over the last days i have tried to set up an rmi server in a cocoon servlet running in tomcat (4.1.27, started via maven goal appserver:start); all i want/need to do starting my rmi server is: (1) start the rmiregistry (via LocateRegistry.createRegistry(regPort); //therefore the

IIS 6.0 + Tomcat... does it work?

2003-10-16 Thread Hart, Justin
Hi, I've been hacking around with getting Tomcat to work with IIS 6.0 all day. Is there a known configuration for this that works? Justin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Tomcat does not work through iptables

2002-09-24 Thread Michael Lam
I have apache 1.3.26 and Tomcat 3.3.1, tomcat works correctly within the internal network but does not work through the firewall when I access it from the outside. I am using iptables and i know the router config is ok because apache works correctly but tomcat does not when using ajp13 or

Re: Tomcat does not work through iptables

2002-09-24 Thread Atif Shahab
This is not tomcat configuration problem, you need to set you iptables properly. However, if you've set apache and tomcat via a connector then apache should foward all the requests pertaining to jsp/servlets to tomcat. This forwarding is normally done internally so your iptables rules

Tomcat Does not WORK!?

2001-11-15 Thread Vara Prashanth
Hello everyone: I am running Tomcat 3.2.2 on a win2k machine with IIS. I have not tried operating tomcat on my machine for a couple of weeks now...and today when I try and start it on my machine, I get the following messageThe commands I gave was startup and tomcat start...both yielding the