Java Exception at start of Spectrum OC after upgrade to Java 8 U 2x

book

Article ID: 131732

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Java Exception at start of Spectrum OC after upgrade to Java 8 U 2x

java.io.IOException: Server returned HTTP response code: 403 for URL: https://...                
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)               
at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)               
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)               
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)               
at java.security.AccessController.doPrivileged(Native Method)               
at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)               
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)               
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)               
at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)               
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)               
at com.sun.deploy.net.BasicHttpRequest.doHeadRequestEX(Unknown Source)               
at com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)               
at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)               
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)               
at com.sun.deploy.cache.ResourceProviderImpl.getJreResource(Unknown Source)               
at com.sun.javaws.LaunchDownload._downloadExtensionsHelper(Unknown Source)               
at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown Source)               
at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source)               
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)               
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)               
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)               
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)               
at com.sun.javaws.Launcher.launch(Unknown Source)               
at com.sun.javaws.Main.launchApp(Unknown Source)               
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)               
at com.sun.javaws.Main.access$000(Unknown Source)               
at com.sun.javaws.Main$1.run(Unknown Source)               
at java.lang.Thread.run(Unknown Source)


 

Environment

Release:
Component: SPCOCK

Resolution

Do the following on the OneClick system: 

1. Stop Spectrum tomcat service. 

2. Backup the $SPECROOT\tomcat\webapps\spectrum\WEB-INF\web.xml file 

3. Edit the $SPECROOT\tomcat\webapps\spectrum\WEB-INF\web.xml file and search for this section: 

<security-constraint xmlns=""> 
<web-resource-collection> 
<web-resource-name>Forbidden</web-resource-name> 
<url-pattern>/*</url-pattern> 
<http-method>PUT</http-method> 
<http-method>DELETE</http-method> 
<http-method>TRACE</http-method> 
<http-method>HEAD</http-method> 
<http-method>OPTIONS</http-method> 
</web-resource-collection> 
<auth-constraint /> 
</security-constraint> 



4. Please remove <http-method>HEAD</http-method> from above section. 

5. Save the file, start the Tomcat service 

Then, clear the java cache on the Windows client by doing the following: 

1. Start the Windows Control Panel 

2. Click on the Java icon to launch the Java Control Panel 

3. Click on the General tab 

4. Click on the Setting button 

5. Click on the Delete Files button 

6. Check all the boxes and then click on the OK button 

7. When Complete, click on the OK and Apply buttons and exit 
 

Additional Information

This is schedule to be addressed in Spectrum 10.4.0. No projected release date at the time of the writing of this knowledge document.