Document ID: TEC606706
Last Modified Date: 2/26/2014
Author:Mary_Clark
- Products
- CA Application Performance Management
- Components
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
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.
<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>
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.
<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.
Delete temporary files and applications
Reduce security to Medium
Close browser
Open Browser and go to http://***:8081/workstation
Check "I accept the risk and want to run this application"
Click Run
The application begins to download.
Repeat for the 2nd warning box:
Click "Don't Block" when prompted to "Block potentially unsafe components from being run?"
Workstation Login appears. Enter host, port, and credentials.
Click "Connect"
The Web Start workstation opens.
Search the Entire CA APM Knowledge Base