-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Тимур,

On 1/14/14, 2:44 AM, Тимур Кулибаев wrote:
> The "user.language" and "user.country" system properties for my
> running Tomcat instance are not set.

They must be set to something. If you are not explicitly-setting them,
then they are defaulting to something, negotiated by the OS and the JVM.

> In Oracle Apllication Server I also do not see these properties set
> in "ps -ef | grep java" output. I set both properties in JAVA_OPTS
> env.var:
> 
> [oracle@n36 logs]$ echo $JAVA_OPTS -XX:MaxPermSize=128M -Xms256m
> -Xmx1024m -Duser.language=ru -Duser.country=RU
> 
> Check whether java process has these settings: [oracle@n36 logs]$
> ps -ef | grep java oracle   17311     1 18 13:31 pts/0    00:00:41 
> /u02/apache_software/apache-tomcat-7.0.47/apache-tomcat-7.0.47/jdk-6u38-linux/jdk1.6.0_38/bin/java
>
> 
-
-Djava.util.logging.config.file=/u02/apache_software/apache-tomcat-7.0.47/apache-tomcat-7.0.47/conf/logging.properties
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 
> -XX:MaxPermSize=128M -Xms256m -Xmx1024m -Duser.language=ru 
> -Duser.country=RU 
> -Djava.endorsed.dirs=/u02/apache_software/apache-tomcat-7.0.47/apache-tomcat-7.0.47/endorsed
>
> 
- -classpath
> /u02/apache_software/apache-tomcat-7.0.47/apache-tomcat-7.0.47/bin/bootstrap.jar:/u02/apache_software/apache-tomcat-7.0.47/apache-tomcat-7.0.47/bin/tomcat-juli.jar
>
> 
-
-Dcatalina.base=/u02/apache_software/apache-tomcat-7.0.47/apache-tomcat-7.0.47
> -Dcatalina.home=/u02/apache_software/apache-tomcat-7.0.47/apache-tomcat-7.0.47
>
> 
-
-Djava.io.tmpdir=/u02/apache_software/apache-tomcat-7.0.47/apache-tomcat-7.0.47/temp
> org.apache.catalina.startup.Bootstrap start oracle   17369 17164  0
> 13:35 pts/0    00:00:00 grep java
> 
> After setting "user.language" and "user.country" I tested servlet
> on Tomcat 7 again but it didn't help, trouble persists. What else
> are to be fixed in Tomcat conf ?

Don't you want user.langauge=RU user.country=kz?

If your computer is already set up to use that special addition to
WINDOWS-1215, then you should probably be good to go.

> PS: I'm in Kazakhstan, at GMT+6, so sorry for delay with answer.

It's no problem at all.

So, there can be problems in a couple of places. If you have an
extended characters correctly-stored in the Oracle database, will it
display correctly if you try to show it on a web page? Let's make sure
that works first, then we'll tackle submitting such characters via forms.

Note that using extended characters in GET requests is a nightmare:
you should try to avoid it at all costs.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJS1VXKAAoJEBzwKT+lPKRYJOsP/13p6CoZ9sJ9oHq9ErHkiyqD
j3zf8+gTbqEt+bUlQwlc8gy1rVBX3VO+GxIW0f0q8RDwDKwu16fn7KOWp31o6fxV
RO/FFvUNZCC4glbvm0Gc40VcpKbCfTkfEVL3g4YKHclYns2cInFsB9IeoOyeFuea
jJd0w0SEF1K8207ZWzx9zog5gpboN5y3piAXaESUI4y1g0V4ppp0+ESGlc5GJrnb
cZZ8bW4o8TXE2/kwMXcqI3E+R3L70yHnRTUV9cyhKbI7BAeTniHsDrFCcfx49uab
FQwocb1//ELHmCQDvSkaXF6ztfNuAf/uLTWNk84CyvFWEvgK/gm5uXDBH5zfbyym
kQEpaheNcUPrWqkXmw4L8QF8wPx7LeY2GEnyNslvkHVxAetswSn8S2kjgvwCcL98
s5AumzoGipuqflP5ZI0qPEBuQg9r1BKr7E2oeFrsrgMk7CPRDdF2BpFQtik2xiKq
evuhgMmnCnI6+ZIqEtccwOtpJcybotBtfVBrbXYiIZ7tEZ6hT8OQ4fRmftMu0Hhf
310wS57v8Yf+yKOs27GDb1camjrIn3kK1wla5p/l02V5/nkHo/o1eozZguRLT75w
aMJ0d0SCb4vcWg0kaqBETBr/bbDKqTUeYK6jhFkvD1YVy6gHXIDkW6Xj9rOXvQ8r
Hj0dCfstr13lWP5tmyHl
=wDf6
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to