Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1074511

Summary: Error when installing into path with a diacritic on Windows Server 2012
Product: [Retired] JBoss BRMS Platform 6 Reporter: Andrej Podhradsky <apodhrad>
Component: InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED CANTFIX QA Contact: Tomas Livora <tlivora>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.1CC: kverlaen, lpetrovi, rrajasek, thauser, tlivora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-12 20:08:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Installer error
none
Installation path is created successfully none

Description Andrej Podhradsky 2014-03-10 12:26:42 UTC
Description of problem:
The installation fails when we try to install into path with a diacritic.
See the attachment.

Version-Release number of selected component (if applicable):
6.0.1.ER2

How reproducible:
always

Steps to Reproduce:
1. During the installation select the installation path with a diacritic, for example 'č' 
2. Finish the installation with default options

Actual results:
An error occurs

Expected results:
The installation should be completed withou any error

Comment 1 Andrej Podhradsky 2014-03-10 12:27:37 UTC
Created attachment 872649 [details]
Installer error

Comment 2 Andrej Podhradsky 2014-03-10 12:28:21 UTC
Created attachment 872650 [details]
Installation path is created successfully

Comment 3 Andrej Podhradsky 2014-03-10 12:29:46 UTC
Note that this happens with JDK6 and also with JDK7

Comment 4 Thomas Hauser 2014-03-17 15:41:43 UTC
Unfortunately, it seems that the problem is deeper than the installer.

I attempted to simply run a freshly unzipped zip on Server 2008 R2, and got this:

CMD:
http://pastebin.test.redhat.com/197747

Cygwin:
http://pastebin.test.redhat.com/197750

Note the strange behavior of the CMD prompt here:
http://pastebin.test.redhat.com/197754
The second 'c' is actually the diacritic. 

Changing the font of the CMD window allows display of the diacritic correctly:
http://pastebin.test.redhat.com/197756

This does not allow for successful starting of the 6.1.1 EAP server, however:
http://pastebin.test.redhat.com/197757
(Note: the diacritic appears as a 'c' once again)

This points to an issue with the EAP startup scripts. I will investigate further. 

The root cause of the issue is as described above. The installer attempts to start the server to execute the .cli commands, and the server fails to start. This is why the exception is thrown.

Comment 5 Thomas Hauser 2014-03-17 15:51:50 UTC
In the comment above, the second line should read
'I attempted to simply run a freshly unzipped *EAP 6.1.1* on Server 2008 R2, and got this:'

Comment 6 Thomas Hauser 2014-03-17 16:17:01 UTC
Java itself seems to be stripping the diacritic. Investigating more to see if the test machine is missing something in the environment that makes the command here fail.

http://pastebin.test.redhat.com/197765

Comment 7 Thomas Hauser 2014-05-16 20:08:30 UTC
It seems my pastebin links have expired (my mistake, I will recreate them and post here). I am not certain that this bugzilla can be addressed at the installer level; the EAP scripts themselves are unable to launch when placed into a directory containing a diacritic.

Comment 8 Miles Tjandrawidjaja 2014-07-31 20:28:24 UTC
Hello we think the issue lies in java/windows and not necessarily our installer.

1. Download  http://download.eng.rdu2.redhat.com/devel/candidates/JBEAP/JBEAP-6.3.0.CR1/jboss-eap-6.3.0.CR1.zip onto your window's machine.
2. Unzip the contents of EAP
3. Say you have unzipped the contents into "C:\Users\John\Desktop\jboss-eap-6.3.0.CR1" go into that directory and rename "jboss-eap-6.3" to "diačritic"
4. Open up the command prompt and cd into "C:\Users\John\Desktop\jboss-eap-6.3.0.CR"
5. Try running java -jar diačritic\jboss-modules.jar
6. Notice that there is some issue withing java or windows that transforms "diačritic" to "diacritic".
"""
C:\Users\John\Desktop\jboss-eap-6.3.0.CR1>java -jar diačritic\jboss-modules.jar
Error: Unable to access jarfile diacritic\jboss-modules.jar
"""