Spectrum - run OneClick Console in Ubuntu 20.04 LTS
search cancel

Spectrum - run OneClick Console in Ubuntu 20.04 LTS

book

Article ID: 206638

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

What do I need to do to run OneClick console in Ubuntu 20.04 LTS?

I tried the steps described in product documentation to run the OneClick console in Linux, without luck.

Environment

Release : 20.2

Component : SPECTRUM DOCUMENTATION

Cause

You may use the openjdk 8 included in Ubuntu repositories, and Icedtea to launch the .jnlp

Resolution

Next steps are  valid for Ubuntu 20.04 LTS

1. run: sudo apt -y install openjdk-8-jre icedtea-netx

2. Create next directory, in case it doesn't already exist
    run: sudo mkdir -p /etc/.java/deployment

3. Create the deployment.properties file in that directory, in case it doesn't already exist
    run: sudo nano /etc/.java/deployment/deployment.properties

4. Add next line to the deployment.properties file, or edit it if already exist. 
    deployment.jre.dir=/usr/lib/jvm/java-1.8.0-openjdk-amd64
    The path value is where the openjdk 8 was installed in step 1. By default icedtea will install and use the openjdk release 11, but that may cause an error while loading the console, with an exception after enter credentials (SPC-OCC-10267 An unexpected error occurred:  java.lang.NoClassDefFoundError: org/omg/CORBA/StringHolder)

5. Open Firefox, browse to OneClick web page, and click on "Start Console". Use Icedtea Web Start to open the jnlp file.

6. To launch the console from the terminal, you may run: 
     /usr/bin/nohup /usr/bin/javaws <path to the downloaded oneclick.jnlp> &
    The javaws will launch the console, but the terminal is not hanged out (nohup and the "&" at the end of the line)

Additional Information

DX NetOps Spectrum Product Documentation
https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/10-4-2.html

DX NetOps Spectrum Release and Support Lifecycle Dates
https://support.broadcom.com/external/content/release-announcements/CA-Spectrum-Release-and-Support-Lifecycle-Dates/6848

Instal JRE and Java Web Start on Linux
https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/10-4-1/installing-and-upgrading/fresh-install/system-requirements-for-installing-ca-spectrum/spectroserver-and-oneclick-requirements/install-jre.html#concept.dita_cf837344910b9f05afcf4110bac856fbb614f5cf_InstallJREandJavaWebStartonLinux