Users are unable to launch or access the DX NetOps Spectrum OneClick Webswing application.
The following error is displayed:
SPC-OCC-10248: Could not obtain codebase:
java.lang.ClassNotFoundException: javax.jnlp.ServiceManager
DX Netops Spectrum 24.3.x & 25.3.x Releases
This error typically indicates an issue with the Webswing server's codebase URL configuration, specifically
when running in an SSL/HTTPS environment. The Webswing client is attempting to fetch necessary resources
from a codebase URL that is either incorrect, inaccessible, or still configured for HTTP when HTTPS is expected
(or uses localhost when an external FQDN is required). This often occurs after an initial SSL configuration or a
change in the OneClick server's network identity.
The SPC-OCC-10248 error is generally resolved by ensuring the Webswing codebase URLs within the OneClick
server's configuration are correctly set for your SSL/HTTPS environment.
SPC-OCC-10248: Could not obtain codebase:
java.lang.ClassNotFoundException: javax.jnlp.ServiceManager
There are two primary methods to achieve this, as detailed in the DX NetOps documentation:
Method 1: Using the sslConfig.sh Utility (Recommended)
The sslConfig.sh utility automates the process of configuring OneClick for SSL, including the necessary Webswing
settings. This is the recommended approach for ease of use and to ensure all relevant files are updated correctly.
Method 2: Manual Configuration
If the sslConfig.sh utility cannot be used or for advanced troubleshooting, you can manually update the relevant
configuration files. This typically involves modifying properties that define the Webswing server's base URL and
WebSocket URL to reflect the correct HTTPS hostname and port.
Action Plan: