Subject Encoding problem with database when starting server as windows server
Author josebinaries
My application details : App server : tomcat 5.0.28Database : firebird
2.1.3database connector : jaybird 2.1.6
Jre : 1.6.0_11 (build 1.6.0_11-b03)
I have set URIEncoding="UTF-8" setting in the <Connector> tag of
server.xml
I send a korean character string as a request param, store it in
database and retrieve it.
When I start tomcat from command prompt, everything works fine (uses the
Administrator user profile), the database could store it and retrieve
it.
The problem occurs when I start the server as windows service (uses
LocalService user profile), the database could neither store it nor
retrieve it.
Windows service starts the wrapper
<http://www.google.co.in/url?sa=t&source=web&cd=2&ved=0CCEQFjAB&url=http\
%3A%2F%2Fwrapper.tanukisoftware.com%2F&ei=32o0TaSLGofprQem4JyFCQ&usg=AFQ\
jCNHksW2OVgPEoCpn8wQqFCJxXujfkw&sig2=pM6wJr50vbYvw8ZbDsrbUw> (wrapper
-s wrapper.conf) and the wrapper starts the server. When I start the
wrapper without the service, it works fine. So wrapper should not be the
problem.
I need to know where to set the encoding stuff to make the app work with
other language characters even if it starts as windows service.



[Non-text portions of this message have been removed]