Bug#418826: /etc/init.d/rc.tomcat5.5 start uses the current directory

2007-04-18 Thread Marcus Better
Justin Pryzby wrote: > Is there reason why the only invocation of s-s-d in the tomcat5.5 > initscript without --test is to send kill -9? Why isn't the server > started with s-s-d, and write out its pid to a file for s-s-d --stop > --pidfile to use? If you check the unstable version 5.5.20-4 you w

Bug#418826: this bug/418826: /etc/init.d/rc.tomcat5.5 start uses the current directory

2007-04-17 Thread Pryzby, Justin
man start-stop-daemon |sed -nre '/^ *-d/,/^$/p' Reformatting start-stop-daemon(8), please wait... -d|--chdir path Chdir to path before starting the process. This is done after the chroot if the -r|--chroot option is set. When not specified, start-

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 shou

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 i

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, t

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"), > > There is no such init script. Do you mean "/etc/init.d/tomcat5.5" ? Ups, yes, sorry. I'm still used to Slackware... Armin file:///C|/DOCUME%7E1/ARMIN/LOCALS%7E1/TEMP/nsmail.asc Descri

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

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

2007-04-12 Thread Marcus Better
> When (re)starting tomcat from command-line with the init-script > ("/etc/init.d/rc.tomcat5.5 start"), There is no such init script. Do you mean "/etc/init.d/tomcat5.5" ? Marcus pgpInqKnBnWzU.pgp Description: PGP signature

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

2007-04-12 Thread Marcus Better
> 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

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

2007-04-11 Thread Armin Fuerst
Package: tomcat5.5 Version: 5.5.20-2 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. We solved