TEC606706: Using Web Start Workstation with Java 7 u51 (Java7u51, Java 1.7.0_51-b13)

Document created by Mary_Clark Employee on May 26, 2016Last modified by SamCreek on May 26, 2016
Version 2Show Document
  • View in full screen mode

Document ID:  TEC606706
Last Modified Date:  2/26/2014

Author:Mary_Clark

 

  • Products
    • CA Application Performance Management
  • Components
    • INTROSCOPE

 

Description:

A Technical Advisory has been issued to address problems starting the APM Web Start Workstation. The Advisory allows users to run the Web Start workstation with Java 7 u45, but does not work with Java 7 u51. This article updates the Advisory to allow users to run the Web Start workstation with the enhanced security present in Java 7 u51 and above by taking the additional step of reducing the Security Level from High to Medium.

Solution:

Java 7u51x64 is installed on the user's Workstation PC.
APM Web Start Workstation 9.5.1.0

Check the local Java version on the workstation PC with the command

java -version

 

Figure 1

Open an IE browser on the user's Workstation PC.

Enter the address of the EM Web Start in the browser:

http://***:8081/workstation

The Web Start workstation fails to launch.

 

Figure 2

 

Figure 3

 

<jnlp codebase="http://***.ca.com:8081/"> <information> <title>CA Introscope Workstation 9.5.1.0</title> <vendor>CA Technologies</vendor> <description>Introscope Workstation</description> <icon href="/images/ca_technologies_logo.png"/> <icon kind="splash" href="/images/ca_technologies_logo.png"/> </information> <security> <all-permissions/> </security> <resources> <jar href="workstationProduct/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar"/> <extension name="Introscope Workstation" href="jnlp/com.wily.introscope.workstation.feature.jsp"/> <extension name="Eclipse Plugins" href="jnlp/eclipseplugins.jsp"/> <property name="osgi.instance.area" value="@user.home/Application Data/Wily/Introscope/product/workstation"/> <property name="osgi.configuration.area" value="@user.home/Application Data/Wily/Introscope/product/workstation"/> <property name="eclipse.product" value="com.wily.introscope.workstation.productWebstart"/> <j2se version="1.6*&1.6.0_05+" java-vm-args="-Xms64m -Xmx512m -Dsun.java2d.noddraw=true" href="http://java.sun.com/products/autodl/j2se"/> <property name="sun.java2d.noddraw" value="true"/> </resources> <application-desc main-class="org.eclipse.equinox.launcher.WebStartMain"> <argument>-noexit</argument> <argument>-clean</argument> <argument>-loginhost</argument> <argument>***.ca.com</argument> <argument>-loginport</argument> <argument>5001</argument> <argument>-autofill</argument> <argument>true</argument> <argument>-timezone</argument> <argument>timezone</argument> <argument>-conmeth</argument> <argument>all</argument> </application-desc> </jnlp> 

 

 

Figure 4

java.lang.SecurityException: Missing required Permissions manifest attribute in main jar: http://***.ca.com:8081/workstationProduct/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar

 

    at com.sun.deploy.security.DeployManifestChecker.verifyMainJar(Unknown Source) at com.sun.deploy.security.DeployManifestChecker.verifyMainJar(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

 

Web Start fails to start with SecurityException.

Implement Technical Advisory Workaround Option 1 for Java 7u45 by making updates on EM-MOM.

Option 1. Update the file <EM_HOME>/product/enterprisemanager/plugins/com.wily.introscope.workstation.webstart_X .X.X/WebContent/jnlp/workstation.jsp with the following items. This workaround requires that the Security Level setting for Java in the Java Control Panel is set to a maximum of "High".

  • Remove the following JNLP properties in the <resources> section
    <property name="osgi.instance.area" value="@user.home/Application Data/Wily/Introscope/product/workstation"/> <property name="osgi.configuration.area" value="@user.home/Application Data/Wily/Introscope/product/workstation"/> <property name="eclipse.product" value="com.wily.introscope.workstation.productWebstart"/> 
  • Add the following arguments to the <application-desc main-class="org.eclipse.equinox.launcher.WebStartMain"> section
    <argument>-product</argument> <argument>com.wily.introscope.workstation.productWebstart</argument> <argument>-data</argument> <argument>@user.home/Application Data/Wily/Introscope/product/workstation</argument> <argument>-dev</argument> <argument>@user.home/Application Data/Wily/Introscope/product/workstation</argument> 

 

Web Start still fails to launch.

 

Figure 5

 

Figure 6

 

<jnlp codebase="http://***.ca.com:8081/"> <information> <title>CA Introscope Workstation 9.5.1.0</title> <vendor>CA Technologies</vendor> <description>Introscope Workstation</description> <icon href="/images/ca_technologies_logo.png"/> <icon kind="splash" href="/images/ca_technologies_logo.png"/> </information> <security> <all-permissions/> </security> <resources> <jar href="workstationProduct/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar"/> <extension name="Introscope Workstation" href="jnlp/com.wily.introscope.workstation.feature.jsp"/> <extension name="Eclipse Plugins" href="jnlp/eclipseplugins.jsp"/> <j2se version="1.6*&1.6.0_05+" java-vm-args="-Xms64m -Xmx512m -Dsun.java2d.noddraw=true" href="http://java.sun.com/products/autodl/j2se"/> <property name="sun.java2d.noddraw" value="true"/> </resources> <application-desc main-class="org.eclipse.equinox.launcher.WebStartMain"> <argument>-noexit</argument> <argument>-clean</argument> <argument>-loginhost</argument> <argument>***.ca.com</argument> <argument>-loginport</argument> <argument>5001</argument> <argument>-autofill</argument> <argument>true</argument> <argument>-timezone</argument> <argument>timezone</argument> <argument>-product</argument> <argument>com.wily.introscope.workstation.productWebstart</argument> <argument>-data</argument> <argument>@user.home/Application Data/Wily/Introscope/product/workstation</argument> <argument>-dev</argument> <argument>@user.home/Application Data/Wily/Introscope/product/workstation</argument> <argument>-conmeth</argument> <argument>all</argument> </application-desc> </jnlp> 

 

java.lang.SecurityException: Missing required Permissions manifest attribute in main jar:http://***.ca.com:8081/workstationProduct/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar

 

     at com.sun.deploy.security.DeployManifestChecker.verifyMainJar(Unknown Source) at com.sun.deploy.security.DeployManifestChecker.verifyMainJar(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

 

Implement extra steps for Java 7 u51

Execute javacpl.exe for Java 7 on workstation box to invoke the Java Control Panel.

 

Figure 7

Delete temporary files and applications

 

Figure 8

Reduce security to Medium

 

Figure 9

 

Figure 10

Close browser

Open Browser and go to http://***:8081/workstation

Check "I accept the risk and want to run this application"

Click Run

 

Figure 11

The application begins to download.

 

Figure 12

Repeat for the 2nd warning box:

 

Figure 13

Click "Don't Block" when prompted to "Block potentially unsafe components from being run?"

 

Figure 14

Workstation Login appears. Enter host, port, and credentials.

Click "Connect"

 

Figure 15

The Web Start workstation opens.

 

Figure 16

 

Figure 17

 

 

Search the Entire CA APM Knowledge Base

 

search-kb.jpg

Attachments

    Outcomes