Unable to Launch Sessions from Session Manager or Links List

  • 7022206
  • 22-May-2013
  • 18-Mar-2018

Environment

Reflection for the Web 2011 (All Editions)
Reflection for the Web 2008 (All Editions) R3
Reflection Administrator 2011
Reflection Administrator 2008 R3
Reflection for IBM 2011
Reflection for IBM version 14.x
Reflection X 2011
Reflection X Advantage version 4.1 or higher
Reflection X version 14.x
Reflection for UNIX and OpenVMS 2011
Reflection for UNIX and OpenVMS version 14.x
Reflection for HP with NS/VT version 14.x
INFOConnect version 9.0 SP1 or higher

Situation

When you attempt to launch a Reflection or INFOConnect session from the Session Manager or Links List, the following error displays:

Figure 1 - Error Message - A failure occurred while launching the executable: Executable name has embedded quote, split the arguments.

The following exception may display in the Java console on the client:

BaseRequest:: settings file received on local disk as "C:\Users\username.company\AppData\Local\Temp\1\reflectionweb_username\RIBM2011 - 1_received.zip"
[Fatal Error] :1:1: Content is not allowed in prolog.
BaseRequest:: Exception parsing server response.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.wrq.scrp.BaseRequest.parseResponse(Unknown Source)
at com.wrq.scrp.SettingsFileRequest.doRequest(Unknown Source)
at com.wrq.scrp.tstclient.wix.WixConfigManager.createSession(Unknown Source)
at com.wrq.scrp.BaseManager.handleResponse(Unknown Source)
at com.wrq.scrp.tstclient.SessionConfigManager.handleResponse(Unknown Source)
at com.wrq.scrp.tstclient.wix.WixConfigManager.startConversation(Unknown Source)
at com.wrq.scrp.BaseManager.run(Unknown Source)
WixSessionSettings:: Zip entry: rd3x
WixSessionSettings:: Settings file by extension: [file extension: rd3x; local filespec: C:\Users\username.company\AppData\Local\Temp\1\reflectionweb_username\native\6198245\RIBM2011 - 1.rd3x; islaunchable: true; crc32 of server file: 4029241668; crc32 of local file: -1; needs download: true]
WixSessionSettings:: Launching session in Admin mode.
WixSessionSettings:: executable found at: C:\Program Files (x86)\Attachmate\Reflection\Attachmate.Emulation.Frame.exe
FatExecutive:: Commands being executed: 
"C:\Program Files (x86)\Attachmate\Reflection\Attachmate.Emulation.Frame.exe" -ProxyCookie -f "C:\Users\username.company\AppData\Local\Temp\1\reflectionweb_username\native\6198245\RIBM2011 - 1.rd3x" -rweb -aws "RIBM2011 - 1"  
FatExecutive:: Executing commands as string
FatExecutive:: doExec exception: java.lang.IllegalArgumentException
java.lang.IllegalArgumentException: Executable name has embedded quote, split the arguments
at java.lang.ProcessImpl.isQuoted(Unknown Source)
at java.lang.ProcessImpl.getExecutablePath(Unknown Source)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at com.wrq.wix.FatExecutive.a(Unknown Source)
at com.wrq.wix.FatExecutive.a(Unknown Source)
at com.wrq.wix.FatExecutive.execAndWait(Unknown Source)
at com.wrq.wix.WixSessionSettings.run(Unknown Source)
TERMSESSIONTOOL TST@72CEE1: A failure occurred while waiting for executable to finish: Executable name has embedded quote, split the arguments
TERMSESSIONTOOL TST@72CEE1: NotificationUIService late-loaded. [0ms]
WixConfigManager:: Saying goodbye
BaseRequest:: POST from GoodbyeRequest to: http://myserver.mycompany.com:8080/rweb/aws/smt/savewixsession.do;jsessionid=DE9BCF8DD38D14F61AE585F081A1F94F, with data: 
Content-Type: application/x-www-form-urlencoded
launcherid=5&rwebgroup=admin&method=goodBye

Java Security Warning

The same Java updates (Java 7 update 21 and Java 6 update 45) also make other changes that may cause Java security warnings when users connect to the Reflection for the Web management server.

Figure 2 - Security Warning - Block potentially unsafe components from being run?

Resolution

To resolve this issue, maintained customers can contact Technical Support (https://support.microfocus.com/contact/) to obtain the hotfix appropriate for their product version:

Reflection for the Web 2011: 11.0.588
Reflection for the Web 2008 R3: 10.2.547

Note: This issue has been resolved in Reflection for the Web 2014 and Refection Security Gateway 2014.

Cause

Oracle released Java 7 update 21 and Java 6 update 45; both Java updates include a change in how command strings are decoded. This change affects how Reflection launches client sessions. The error does not occur on clients running earlier versions of Java.

Additional Information

Legacy KB ID

This article was originally published as Attachmate Technical Note 2665.