Spectrum - Launching Java console with IP address instead of hostname
search cancel

Spectrum - Launching Java console with IP address instead of hostname

book

Article ID: 136578

calendar_today

Updated On:

Products

CA Spectrum CA eHealth

Issue/Introduction

After upgrade to Spectrum 10.4 customer is unable to launch the Java console with the IP address instead of the Hostname.

This may be a major issue if no DNS is in place.

If hostname is not resolved, the OneClick console will not open.

 

 

 

Environment

Release : 10.4

OneClick Console

Cause

The cause for this are:

1. The OneClick server do not have FQDN, only hostname

2. The oneClick Hostname is not resolved by remote sites.

Resolution

Broadcom engineering has resolved this in 10.4 with patch Spectrum_10.04.00.PTF_10.4.002

 

DE432288 Details:

             Symptom : Spectrum-10.4 oneclick.jnlp href generation changed. It is creating url href with static FQDN of the webserver.
              Resolution: OneClick.jnlp href generation will use the Hostname from request(Host Header) instead of static FQDN of webserver.
              (DE432288, 20067349)

 

If you need patch Spectrum_10.04.00.PTF_10.4.002 please open a case with Broadcom support.

 

If this is not possible, next is an alternative solution (which will still have configuration issues with load balancers but works if load balancers are not in use):

 

1. In OneClick server, backup the $SPECROOT/tomcat/webapps/spectrum/oneclick.jnlp file

2. Edit then oneclick.jnlp, and change line 4-5, from

 

<jnlp spec="1.0+" codebase="$$codebase"
                  href="$$href">

-TO- 

<jnlp spec="1.0+" codebase="http://<OneClick_IP>:<OneClick_Port>/spectrum"
                  href="$$href">

 

replacing http://<OneClick_IP>:<OneClick_Port>/spectrum with the oneclick ip address and port.

For instance: http://xxx.xxx.xx.x:8080/spectrum

 

3. Save the file

 

4. In OneClick server, backup the $SPECROOT/tomcat/webapps/spectrum/cryptoj.jnlp file

 

5. Edit then, cryptoj.jnlp, and change line 24-25, from

 

<jnlp spec="1.0+" codebase="$$codebase"
                  href="$$href">

-TO-

<jnlp spec="1.0+" codebase="http://<OneClick_IP>:<OneClick_Port>/spectrum"
                  href="$$href">

 

replacing http://<OneClick_IP>:<OneClick_Port>/spectrum with the oneclick ip address and port.

For instance: http://xxx.xxx.xx.x:8080/spectrum

 

6. Attempt to open the console again, using the Start Console link, or the latest .jnlp file downloaded.

 

Additional Information

- In one instance the change from using the hostname in the incoming request header to using the FQDN. The hosts file on the 
     OneClick server contained an old domain suffix for the OC server and thus a FQDN the client could not resolve was sent back.
     The entry in the hosts file was corrected and the correct FQDN was sent back. Further more, applying PTF_10.4.002 will revert
     the OC back to using the name that was entered by the user in the initial url to OneClick.