Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat Locale Problem

 
Sultan Khadar
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
I am facing one problem regarding Tomcat Locale.I am using Tomcat 5.5.23 and Eclipse 3.2.My system's locale has been changed from en-us to Japanese for my project requirement.But, whenever i am starting Tomcat the console is starting in Japanese.All the Error messages are being displayed in Japaneses . I want to see the Tomcat console in en-us, without changing the system Locale.Please help me to solve this problem.

Thanks in advance.
Regards,
Sultan.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this:

If you are using windows, in catalina.bat file modify the following line to include, 2 additional arguments (-Duser.language and -Duser.region)



For Unix, change catalina.sh to add those 2 parameters.
 
Sultan Khadar
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jai,
Thanks for Reply. Actually I am using Two Tomcat Servers. Tomcat 5.5.9 for My Project in Eclipse 3.2.1 For which the System Locale is set to Japanese and Tomcat 5.5.23 for My Practice in Eclipse 3.2.2 Versions .The CATALINA_HOME and CATALINA_BASE are set to the Tomcat 5.5.9 Version.

In Eclipse 3.2.2 , I am configuring Tomcat 5.5.23 and setting the CATALINA_HOME to the root directory, i.e c:\Apache Tomcat 5.5.23. But Still I am getting the console in Japanese language.

I have done the modifications suggested by you to the catalina.bat file of Tomcat 5.5.23 but it is not worked.Kindly tell me any possible solution, if there. Sorry for not posting the Problem in detail in my first post.

Thanks.
Regards,
Khadar.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic