My Oracle Support Banner

Web Workspaces Fails to Start and NumberFormatException is in the Java Console Log (Doc ID 2724869.1)

Last updated on OCTOBER 30, 2020

Applies to:

Oracle Utilities Network Management System - Version 2.3.0.2.0 and later
Oracle Network Management for Utilities - DMS - Version 2.3.0.2.0 and later
Information in this document applies to any platform.

Symptoms

On : 2.4.0.1.0 version, Web Workspace

When attempting to launch Web Workspace, it fails to start, and this error appears in the client log file:

java.lang.NumberFormatException: For input string: "10 "
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at com.splwg.oms.fcp.JWSLauncher.getLogDirectory(JWSLauncher.java:498)
at com.splwg.oms.fcp.JWSLauncher.createLogFile(JWSLauncher.java:520)
at com.splwg.oms.fcp.JWSLauncher.getLogFile(JWSLauncher.java:514)
at com.splwg.oms.fcp.JWSLauncher.main(JWSLauncher.java:246)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(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)

The issue can be reproduced at will with the following steps:

  1. Edit $NMS_CONFIG/jconfig/global/properties/CentricityTools.properties
  2. Edit this line:
    log_retain_days = 5
    Add a space (or other non-numeric character) after the 5 (or whatever numeric value you may have configured)
  3. Rebuild the cesejb.ear (via nms-install-config --java)
  4. Redeploy the ear and restart the managed server
  5. Attempt to launch a web workspace client
  6. Check the client log for the exception.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.