- This topic has 5 replies, 2 voices, and was last updated 21 years, 7 months ago by
Scott Anderson.
-
AuthorPosts
-
zaboMemberHi,
I have encountered a bad problem with tomcat5.
My environment is: winXP, eclipse2.1.1, myeclipse2.5 (I tried also 2.5.1 with the same result), tomcat5.0.3 and 5.0.4, same result both.
My XP is in spanish, but in the control panel I have my regional configuration settings to English(Usa), that is decimal symbol (.). It seems that when myclipse launches tomcat, it does not honor my configuration for the decimal symbol (well maybe more, but that’s the one I am concerned about), and my webapp displays numbers with the spanish layout: 56,7 etc instead of 56.7.
If I run tomcat from outside (the webapp was deployed by myeclise) the configuration is ok, that is, I get 56.7. So it seems myeclipse and the standalone tomcat do not start exactly in the same way concerning this??Any hint?
Is that a known issue? Maybe I should add some arguments for tomcat or the jdk??
TIA,
zabo
Scott AndersonParticipantZabo,
If I run tomcat from outside (the webapp was deployed by myeclise) the configuration is ok, that is, I get 56.7. So it seems myeclipse and the standalone tomcat do not start exactly in the same way concerning this?? … Is this a known issue?
That’s really peculiar. It’s certainly not a known issue. All of our connectors are built to directly mimic the default configuration arguments given to each of their servers by their native startup scripts. You’ll need to compare the script you use outside of MyEclipse with our launch settings to see if there’s a differenc. To help, here are our settings for a Tomcat 5 launch:
WorkingDirectory: <tomcat-install>/bin JVM Args: -Dcatalina.home=<tomcat-install> -Dcatalina.base=<tomcat-install> -Djava.endorsed.dirs=<tomcat-install>/bin; <tomcat-install>/common/endorsed -Djava.io.tmpdir=<tomcat-install>/temp -Djava.library.path=<jdk-install>/bin; <tomcat-install>/bin Classpath: <tomcat-install>/bin/bootstrap.jar; <jdk-install>/lib/tools.jar Launch class: org.apache.catalina.startup.Bootstrap Program Args: start
Please compare these setting with the ones you use to launch Tomcat from outside of MyEclipse and let us know what differences you find.
–Scott
MyEclipse Support
zaboMemberScott,
I launch Tomcat with the original scripts that come with it. I have been looking into them but I am lost very soon.
I have posted a question in the tomcat-user list, in case someone knows about that config setting….
thanks,
Scott AndersonParticipantZabo,
One thing to try might be to set the locale options manually in the JVM arguments tab by specifying something like:
-Duser.language=2-char-language-code
-Duser.region=2-char-country-codeI don’t know if this will help, but it’s worth a try. Please let us know what you determine.
–Scott
MyEclipse Support
zaboMemberIt DID help!!!!
thanks a lot!
Scott AndersonParticipantIt DID help!!!!
thanks a lot!
Great! I’m glad I guessed. 😉
–Scott
MyEclipse Support -
AuthorPosts