• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Won't Fix
  • Statistics
  • asingh
  • Reporter: steve
  • June 01, 2008
  • 0
  • Watchers: 0
  • February 17, 2009
  • July 25, 2008

Description

This was printed on AIX. If the .so isn’t there it should just print an Error message not a stack trace.

nice. that worked now it starts. although for 2.6 that has the sigar implementation the .so file is missing for aix.

2008-06-01 15:20:22,161 INFO - Terracotta trunk-nightly-rev8699, as of 20080601-080629 (Revision 8699 by cruise@rh4mo0 from trunk) 2008-06-01 15:20:22,763 INFO - Configuration loaded from the file at ‘/home/u0005369/camlet/etc/tc-config.xml’. 2008-06-01 15:20:25,552 INFO - Terracotta trunk-nightly-rev8699, as of 20080601-080629 (Revision 8699 by cruise@rh4mo0 from trunk) 2008-06-01 15:20:26,054 INFO - Configuration loaded from the file at ‘/home/u0005369/camlet/etc/tc-config.xml’. 2008-06-01 15:20:26,305 INFO - Log file: ‘/home/u0005369/camlet/bin/terracotta/client-logs/terracotta-client.log’. 2008-06-01 15:20:28,304 INFO - Statistics buffer: ‘/home/u0005369/camlet/bin/statistics-172.29.140.68’. 2890 [main] DEBUG Sigar - libsigar-ppc-aix-6.so (Not found in java.library.path) org.hyperic.sigar.SigarException: libsigar-ppc-aix-6.so (Not found in java.library.path) at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:160) at org.hyperic.sigar.Sigar.(Sigar.java:90) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:194) at com.tc.statistics.retrieval.actions.SRACpu.(SRACpu.java:25) at java.lang.Class.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1328) at com.tc.statistics.retrieval.impl.StatisticsRetrievalRegistryImpl.registerActionInstance(StatisticsRetrievalRegistryImpl.java:53) at com.tc.object.DistributedObjectClient.populateStatisticsRetrievalRegistry(DistributedObjectClient.java:216) at com.tc.object.DistributedObjectClient.start(DistributedObjectClient.java:346) at com.tc.object.bytecode.ManagerImpl$2.execute(ManagerImpl.java:179) at com.tc.lang.StartupHelper.startUp(StartupHelper.java:39) at com.tc.object.bytecode.ManagerImpl.startClient(ManagerImpl.java:195) at com.tc.object.bytecode.ManagerImpl.init(ManagerImpl.java:134) at com.tc.object.bytecode.ManagerImpl.init(ManagerImpl.java:122) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.createGlobalContext(ClassProcessorHelper.java:636) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.init(ClassProcessorHelper.java:423) at com.ibm.misc.SystemIntialization.lastChanceHook(SystemIntialization.java:137) at java.lang.System.completeInitialization(System.java:111) at java.lang.Thread.(Thread.java:134) 2897 [main] INFO com.tc.statistics.StatisticRetrievalAction - "message monitor" statistic is not enabled. Please enable

Comments

Fiona OShea 2008-06-02

Please fix in 2.6 and trunk, we will push this out in a dot release

Alex Miller 2008-07-21

We would like this to instead detect the scenario and print useful message (not print stack trace).

Abhishek Singh 2008-07-25

The stacktrace is being printed from Sigar only. The code is in the sigar codebase in org.hyperic.sigar.Sigar.java

2890 [main] DEBUG Sigar - libsigar-ppc-aix-6.so (Not found in java.library.path) org.hyperic.sigar.SigarException: libsigar-ppc-aix-6.so (Not found in java.library.path) at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:160) at org.hyperic.sigar.Sigar.(Sigar.java:90) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:194) at com.tc.statistics.retrieval.actions.SRACpu.(SRACpu.java:25) at java.lang.Class.newInstanceImpl(Native Method)

We can hack/workaround here to suppress the output from the sigar logger, but it seems not worthy to do it.