Unable to Paste in the Reflection for the Web Terminal Window

  • 7022343
  • 07-Jan-2016
  • 25-Mar-2018

Environment

Reflection for the Web (All Editions) version 12.2
Reflection for the Web 2014 (All Editions)

Situation

When attempting to copy then paste text in a terminal session, the ability to paste may intermittently be disabled and unavailable. This can occur after upgrading to Java 7 Update 55 (1.7.0_55) and above.

Resolution

This behavior is due to a specific defect in this version of Java. For more information: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8043393. This defect is scheduled to be resolved when Java 9 is released, in September, 2016.

Workaround

Reflection for the Web versions 12.0 HF10 (12.0.521) and newer, 12.1, and 12.2 have a means of avoiding this paste problem, achieved by adding a special applet parameter to session configuration, as follows:

  1. Log into the Reflection for the Web Administrative WebStation and open “Session Managerâ€.
  2. Click the session name you want to add the parameter to.
  3. Click the blue “Applet Parameters†button.
  4. Notice the “Custom Parameters†section at the bottom of the page.
  5. Add a new custom parameter “alwaysEnableEditPaste†(without quotes). Note: the parameter is case sensitive. Be sure to capitalize the E for Enable and Edit and P for Paste.
View Full Size
Figure 1. Session Manager - Custom Parameters Figure 1. Session Manager - Custom Parameters
  1. For the parameter’s “Valueâ€, enter “true†(without quotes and in lower case).
  2. Click the “Add†button to add the parameter.
  3. Check to see that the parameter now displays in the “Current parameterâ€.window.
View Full Size
Figure 2 Session Manager - Current Parameters Figure 2 Session Manager - Current Parameters
  1. Click on the “Continue†button on the bottom left.
  2. Click the “Save Settings†button to save the change.

Sessions that are running will need to be closed and reopened for the change to take effect.

Applying the Workaround to all Sessions

In environments where this issue occurs in several session configurations, you can apply the workaround without needing to edit each session. This can be done using a launcher template “customloginpage.jsp†as described in KB 7022339, and adding the needed applet parameter in the “rweb:applet†tag:

<rweb:param name="alwaysEnableEditPaste" value="true"/>

Adding the applet parameter to the launcher template causes the parameter to be applied to any session launched from the server.


Additional Information

Legacy KB ID

This document was originally published as Attachmate Technical Note 2843.