Kbase P4244: java.lang.NumberFormatException when monitoring CPU via Fathom
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  17/11/2008 |
|
Status: Verified
SYMPTOM(s):
CPU resource monitor does not work
java.lang.NumberFormatException presented in ads0.exp
Full version of error presented in admserv.log
Message (throw): Error polling resource.
Message (excp): 60,6
Stack Trace:
java.lang.NumberFormatException: 60,6
at java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1176)
at java.lang.Float.valueOf(Float.java:167)
at java.lang.Float.<init>(Float.java:249)
at com.progress.isq.ipqos.resources.system.CPUResource.doWork(CPUResource.java:330)
at com.progress.isq.ipqos.WorkThread.run(WorkThread.java:91)
FACT(s) (Environment):
Fathom 2.0A
CAUSE:
This is a known issue
FIX:
Set the default system locale to have a "." as the numeric separator.
To change the numeric separator on UNIX use the following commands:
LC_NUMERIC=en_US
LC_CTYPE=en_US
LC_TIME=en_US
LC_COLLATE=en_US
LC_MONETARY=en_US
export LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY
Use the LOCALE OS command to verify these settings.