Bugs item #1000817, was opened at 2004-07-30 11:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1000817&group_id=22866

Category: JBossServer
Group: v4.0
Status: Open
Resolution: None
Priority: 5
Submitted By: David Heinecke (dheinecke)
Assigned to: Nobody/Anonymous (nobody)
Summary: Server wont start if path contains jap character

Initial Comment:
Japanese characters on the installation will cause
JBoss to fail to start with the following STD

Failed to boot JBoss:
java.lang.ClassNotFoundException:
org.jboss.system.server.ServerImpl
        at java.net.URLClassLoader$1.run(Unknown Source)
        at
java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown
Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at
org.jboss.system.server.ServerLoader.createServer(ServerLoader.java:2
51)
        at
org.jboss.system.server.ServerLoader.load(ServerLoader.java:233)
        at org.jboss.Main.boot(Main.java:142)
        at org.jboss.Main$1.run(Main.java:395)
        at java.lang.Thread.run(Unknown Source)

When I investigated this further, I discovered that
that the file

\system\src\main\org\jboss\Main.java, line 98 makes a
deprecated API call...

path = java.net.URLDecoder.decode(path);

The following change fixes the problem and allows JBoss
to with japanese characters in the path...

path = java.net.URLDecoder.decode(path, "UTF-8");

I'm not sure where to submit this fix for
consideration, so I post it here.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1000817&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to