I have a question on environment configuration for TomEE. 

On the old Tomcat, I can use the following line on the command prompt to add
the environment. 
As the tool that I need to use requires UTF-8. 
 
Tomcat7 //US//Tomcat7 ++Environment="LANG=C;NLS_LANG=_.UTF8;MX_CHARSET=UTF8"

For TomEE, I try to add this environment on regedit, but nothing happens. 
as well as on CATILINA.bat and SETENV.bat. 

Which the following lines are added. 
-------------------------------------------------------------
set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_45
set JRE_HOME=C:\Program Files\Java\jre7

set CATALINA_HOME=D:\apache-tomee-plus-1.7.0
set CATALINA_OPTS=-Dfile.encoding=UTF-8 -Xms4096m -Xmx4096m -server
set LANG=C
set NLS_LANG=_.UTF8
set MX_CHARSET=UTF8

But with the startup.bat, when I add the above line, it works. 
But I prefer to have my TomEE worked as TomEE Window service.

Can someone provide me some guideline on where I could put the above
language environment? 

Kind Regards.

Toffee 




--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Configuring-Environment-LANG-C-NLS-LANG-UTF8-MX-CHARSET-UTF8-on-TomEE-tp4671707.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to