-
1. Re: JBoss 7.1.1- Server does not start if the installation path contains non-English characters [UTF-8 characters]
nickarls Sep 25, 2012 8:09 AM (in response to dprakash)What does the startup env dump from boot.log look like?
-
2. Re: JBoss 7.1.1- Server does not start if the installation path contains non-English characters [UTF-8 characters]
dprakash Sep 25, 2012 8:14 AM (in response to nickarls)Hi Nicklas,
boot.log has not generated.
-
3. Re: JBoss 7.1.1- Server does not start if the installation path contains non-English characters [UTF-8 characters]
nickarls Sep 25, 2012 8:19 AM (in response to dprakash)Try moving the AS to a place with no special characters and re-run in order to get the boot.log
-
4. Re: JBoss 7.1.1- Server does not start if the installation path contains non-English characters [UTF-8 characters]
nickarls Sep 25, 2012 8:20 AM (in response to nickarls)Also, try running it without setting the JBOSS_HOME at all.
-
5. Re: JBoss 7.1.1- Server does not start if the installation path contains non-English characters [UTF-8 characters]
dprakash Sep 25, 2012 9:54 AM (in response to nickarls)Hi Nicklas,
PFA, boot logs of Italian machine. Server starts in both the cases you mentioned.
But it does not in Japanese machine with "期間に印刷され" [UTF-8 characters] as one of the folders in the path. I am not able to get the boot log in this case.
It throws the same errors as I mentioned earlier.
Any idea why it could be?
-
6. Re: JBoss 7.1.1- Server does not start if the installation path contains non-English characters [UTF-8 characters]
dprakash Sep 26, 2012 1:37 AM (in response to dprakash)This looks like a bug. Am I wrong here?
-
7. Re: JBoss 7.1.1- Server does not start if the installation path contains non-English characters [UTF-8 characters]
nickarls Sep 26, 2012 2:10 AM (in response to dprakash)I would say so, I changed a path element from "AS" to "ASä" and it failed to start. I debugged standalone.xml and got
if not "%PRESERVE_JAVA_OPTS%" == "true" ( echo "1" rem Add -client to the JVM options, if supported (32 bit VM), and not overriden echo "2" echo "%JAVA_OPTS%" | findstr /I \-server > nul echo "3" if errorlevel == 1 ( echo "4" "%JAVA%" -client -version 2>&1 | findstr /I /C:"Client VM" > nul echo "5" if not errorlevel == 1 ( echo "6" set "JAVA_OPTS=-client %JAVA_OPTS%" ) echo "7" ) echo "8"
outputting
"1" "2" "3" "4"
I don't know how the client check version can fail in that way...
-
8. Re: JBoss 7.1.1- Server does not start if the installation path contains non-English characters [UTF-8 characters]
jaikiran Sep 26, 2012 2:15 AM (in response to nickarls)Nicklas Karlsson wrote:
outputting
"1" "2" "3" "4"
I don't know how the client check version can fail in that way...
Can you change that:
"%JAVA%" -client -version 2>&1 | findstr /I /C:"Client VM" > nul
to
"%JAVA%" -client -version 2>&1 | findstr /I /C:"Client VM"
and see what it throws up?
-
9. Re: JBoss 7.1.1- Server does not start if the installation path contains non-English characters [UTF-8 characters]
nickarls Sep 26, 2012 2:19 AM (in response to jaikiran)Nothing happens
But now I noticed that the AS fails to start even with no special chars! ;-)
Must have done something else (JVM upgrade or something). I usually start my AS from Eclipse so I hadn't noticed this.
-
10. Re: JBoss 7.1.1- Server does not start if the installation path contains non-English characters [UTF-8 characters]
nickarls Sep 26, 2012 2:29 AM (in response to nickarls)Got it booting. With a "ä" in the path. Also tried "Quantità" and it worked.
-
11. Re: JBoss 7.1.1- Server does not start if the installation path contains non-English characters [UTF-8 characters]
dprakash Sep 26, 2012 2:31 AM (in response to nickarls)It worked for me with some accented characters, but it fails with Japanese characters. Can you please try with some Japanese UTF8 characters in installation path?
-
12. Re: JBoss 7.1.1- Server does not start if the installation path contains non-English characters [UTF-8 characters]
nickarls Sep 26, 2012 2:54 AM (in response to dprakash)I get a
Error: Unable to access jarfile C:\Java\???????\jboss-7.1.1\jboss-modules.jar
with the japanses chars in your example
-
13. Re: JBoss 7.1.1- Server does not start if the installation path contains non-English characters [UTF-8 characters]
ctomc Sep 26, 2012 1:52 PM (in response to nickarls)1 of 1 people found this helpfulJapanese charachers won't work by default unless you have your windows locale settings set to japanese.
otherwise CMD/explorer won't be able to work with folder like that.
but if you do that, it works.
--
tomaz
-
14. Re: JBoss 7.1.1- Server does not start if the installation path contains non-English characters [UTF-8 characters]
dprakash Sep 26, 2012 1:41 PM (in response to ctomc)I tried it...It worked today but yesterday it didn't.
Checked in Windows OS[Ja] with no JBOSS_HOME set as envt variable. Hopefully it will work even with Chinese/Korean characters.
Thanks.