On Thu, Apr 7, 2016 at 6:11 AM, André Warnier (tomcat) <a...@ice-sa.com> wrote:
> On 07.04.2016 00:14, Saurav Maulick wrote: > >> Hi All, >> >> I am using tomcat 5.5.28. >> > > Before anything else, you do realise that Tomcat 5.5 was archived in 2012, > do you ? > And that the people developing Tomcat, as well as the experts available on > this users list, are volunteers who do this on their own time ? > > The current released version is Tomcat 8.0.33. > > I am pointing this out, to stress the fact that not many people here - if > any - would even still have a running version of Tomcat 5.5 (and java 1.4), > where they could even start looking at your issue. > > I would suggest that you first update to a more recent version of Tomcat > (and Java), and retry it all, to see if the problem still exists. > Look here : http://tomcat.apache.org/whichversion.html > > > I know that current Tomcat version is 8.0.33, but upgrading tomcat is not > possible for our application as our application code is not Java 1.7 > comparable and updating code involves lots of time and money. On the > internet I didn`t find much help about creating windows services (apart > from https://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html) > hence I request in this forum. Also, I believe below settings are same for > all the Tomcat versions. > > >> I have a problem, when we run the tomcat`s node from console it is working >> fine, but when we run it from windows services we have found that >> application is not able to handle UTF8 encoding. >> >> I have tried to build windows services both from tsm2.0 software and >> command prompt. >> >> At the command prompt, I am using the below code- >> >> tomcat5.exe //IS//OTISTomcatInstance9 --DisplayName="OTISTomcatInstance9" >> --Install="D:\apache-tomcat-5.5.28\bin\tomcat5.exe" --Jvm=auto >> --StartMode=jvm --StopMode=jvm >> --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start >> --StopClass=org.apache.catalina.startup.Bootstrap --StopParams=stop >> --StartParams "-config;D:\Apache >> TomcatInstances\OTISTomcatInstance9\conf\server.xml;start" --Startup Auto >> --Description "OTISTomcatInstance9" --StdOutput "D:\Apache >> TomcatInstances\OTISTomcatInstance9\logs\OTISTomcatInstance9_out.log" >> --StdError "D:\Apache >> TomcatInstances\OTISTomcatInstance9\logs\OTISTomcatInstance9_err.log" >> --Jvm >> "D:\j2sdk1.4.2_15\jre\bin\server\jvm.dll" --JvmSs 640 --JvmMx 768 --JvmMs >> 512 --Classpath "D:\apache-tomcat-5.5.28\bin\bootstrap.jar" --JavaHome >> "D:\j2sdk1.4.2_15\jre" --JvmOptions >> >> "-Djava.endorsed.dirs=D:\apache-tomcat-5.5.28\common\endorsed;-Dcatalina.home=D:\apache-tomcat-5.5.28;-Djava.home=D:\j2sdk1.4.2_15\jre;-Xrs;-Djava.io.tmpdir=D:\Apache >> TomcatInstances\OTISTomcatInstance9\temp;-Dcatalina.base=D:\Apache >> TomcatInstances\OTISTomcatInstance9;-Dfile.encoding=UTF8" >> >> >> Please guide me. >> >> Thanks in advance >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Thanks and Regards, Saurav Maulick Rochester, NY, USA Cell: 585-441-8030