http://bugzilla.novell.com/show_bug.cgi?id=540695
User mvyskocil@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540695#c1
Michal Vyskocil changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P5 - None |P3 - Medium
Status|NEW |ASSIGNED
Found By|--- |Community User
AssignedTo|bnc-team-java@forge.provo.n |mvyskocil@novell.com
|ovell.com |
Target Milestone|--- |unspecified
Severity|Normal |Major
--- Comment #1 from Michal Vyskocil 2009-10-13 02:01:39 MDT ---
I did not found it in init script of tomcat55, but it might be somewhere in
lower part of init script system. Init script runs with following settings
Variables:
LANG=en_US.UTF-8
LANGUAGE=
LC_ALL=POSIX
/usr/bin/locale:
LANG=en_US.UTF-8
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=POSIX
I checked tomcat6 from Factory and it seems that even if LC_ALL=POSIX is in
init script, the /usr/bin/dtomcat6 runs with system default locale
Variables:
LANG=en_US.UTF-8
locale:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
The problem is in a way how tomcat is started from the script:
tomcat55 uses just su -c "startup.sh", but tomcat6 uses su - -c "export
VARIABLES..., dtomcat6 start", so tomcat6 don't inherits a variables from init
script.
BTW: As openSUSE 10.3 will reach a EOL in about 14 days[1], this will not be
released as a maintenance update (only together with a serious security fix).
On the other side, your own fix in catalina.sh or startup.sh will not be
replaced on update, so it's safe to do it.
[1] http://en.opensuse.org/SUSE_Linux_Lifetime
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.