Bug#418826: [Fwd: Re: Bug#418826: "/etc/init.d/rc.tomcat5.5 start" uses the current directory]

2007-04-12 Thread Armin Fuerst
>> When (re)starting tomcat from command-line with the init-script
>> ("/etc/init.d/rc.tomcat5.5 start"), the current directory affects
>> the runtime-environment of tomcat. This often ends up in unwritable
>> directories for the applets or unfound config-files.
> 
> I'm not sure what you mean, can you be more specific please?

Without the "cd"-command: applets opening files without a path try to
access these files in the directory the start-command was issued from.

With the "cd"-command: applets opening files without a path always
start in $CATALINA_HOME.

Was this specific enough?

Armin


file:///C|/DOCUME%7E1/ARMIN/LOCALS%7E1/TEMP/nsmail.asc
Description: PGP signature


Bug#418826: [Fwd: Re: Bug#418826: "/etc/init.d/rc.tomcat5.5 start" uses the current directory]

2007-04-12 Thread Marcus Better
> Without the "cd"-command: applets opening files without a path try to
> access these files in the directory the start-command was issued from.
>
> With the "cd"-command: applets opening files without a path always
> start in $CATALINA_HOME.

Excuse my ignorance, but what kind of applet is this, that is opening files on 
the server? Perhaps it's a servlet?

Marcus


pgp7u0W9eeQzA.pgp
Description: PGP signature


Bug#418826: [Fwd: Re: Bug#418826: "/etc/init.d/rc.tomcat5.5 start" uses the current directory]

2007-04-12 Thread Armin Fuerst
>> Without the "cd"-command: applets opening files without a path try to
>> access these files in the directory the start-command was issued from.
>>
>> With the "cd"-command: applets opening files without a path always
>> start in $CATALINA_HOME.
> 
> Excuse my ignorance, but what kind of applet is this, that is opening files 
> on 
> the server? Perhaps it's a servlet?

Sorry I can't be too specific, but I'm only the administrator of the
system. I was given a .war-file I deployed through the web-interface.
Then it took me some days to find out why it deployed in glassfish
without any problems and it didn't work out in tomcat. For
administration reasons, I prefer tomcat. The solution for me was
the combination of the 2 bugs (#418826 and #418828).

Armin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#418826: [Fwd: Re: Bug#418826: "/etc/init.d/rc.tomcat5.5 start" uses the current directory]

2007-04-12 Thread Marcus Better
> > Excuse my ignorance, but what kind of applet is this, that is opening
> > files on the server? Perhaps it's a servlet?
>
> Sorry I can't be too specific, but I'm only the administrator of the
> system. I was given a .war-file I deployed through the web-interface.

Ok, so it's a servlet. We should give it a sensible current directory then.

Marcus


pgprGhaizc1hQ.pgp
Description: PGP signature