4 Replies Latest reply on Apr 18, 2012 5:26 PM by Tomaz Cerar

    Installing JBoss as a windows service with non-ascii character directory

    suminub Newbie

      Hi All,

       

      I followed the steps in this link (https://community.jboss.org/wiki/RunningJBossAS7AsAWindowsService) to install jboss as a windows service on a windows server 2008 rc2 64 bit environment.

      Everything works fine and we are able to access the deployed web applications.

       

      However, if the install directory contains a non-ascii character (eg chinese characters) eg: c:\云服务

      then it fails to start the service. Doesnt throw any error.

       

      I am wondering, if this is a known issue in jboss and if there is any workaround for this?

       

      thanks in advance

       

      S.

        • 1. Re: Installing JBoss as a windows service with non-ascii character directory
          Tomaz Cerar Master

          Hi,

           

          we haven't tested instalation in folder with non-ascii characters in name.

          Is the problem only when installing it as a service or also when running standalone.bat / domain.bat manualy from console?

           

          Anyhow workaround would be to rename a folder to include only acsii characters

           

          --

          tomaz

          • 2. Re: Installing JBoss as a windows service with non-ascii character directory
            suminub Newbie

            Hi Tomaz

             

            thanks for your reply.

            I tried running the standalone.bat as well and I get this error

             

            09:33:57,864 ERROR [stderr] Exception in thread "Controller Boot Thread" java.lang.RuntimeException: org.jboss.as.controller.persistence.ConfigurationPersistenc

            eException: Failed to parse configuration

            09:33:57,865 ERROR [stderr]     at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:89)

            09:33:57,866 ERROR [stderr]     at java.lang.Thread.run(Thread.java:722)

            09:33:57,867 ERROR [stderr] Caused by: org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse configuration

            09:33:57,868 ERROR [stderr]     at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:115)

            09:33:57,869 ERROR [stderr]     at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:104)

            09:33:57,870 ERROR [stderr]     at org.jboss.as.server.ServerService.boot(ServerService.java:195)

            09:33:57,871 ERROR [stderr]     at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:83)

            09:33:57,872 ERROR [stderr]     ... 1 more

            09:33:57,873 ERROR [stderr] Caused by: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0xe4 (at char #14560, byte #11999)

            • 3. Re: Installing JBoss as a windows service with non-ascii character directory
              Brian Stansberry Master

              Hi suminub,

               

              Can you file a JIRA and please include the complete stack trace on it.

               

              Thanks!

              • 4. Re: Installing JBoss as a windows service with non-ascii character directory
                Tomaz Cerar Master

                Hi,

                 

                it looks like an issue,

                 

                can you please file issue in jira and provide and provide full stacktrace, this one misses the important part

                 

                 

                --

                tomaz