Hi guys,
after updating Java version to 1.6 on my MacBook, I'm getting the
following exception while trying to run any Terracotta application:
1949 [main] DEBUG Sigar - /opt/terracotta-3.0.0/lib/sigar-1.6.0.jar:
no suitable image found. Did find:
/opt/terracotta-3.0.0/lib/sigar-1.6.0.jar: unknown file type, first
eight bytes: 0x50 0x4B 0x03 0x04 0x0A 0x00 0x00 0x00
org.hyperic.sigar.SigarException:
/opt/terracotta-3.0.0/lib/sigar-1.6.0.jar: no suitable image found.
Did find: /opt/terracotta-3.0.0/lib/sigar-1.6.0.jar: unknown file
type, first eight bytes: 0x50 0x4B 0x03 0x04 0x0A 0x00 0x00 0x00
at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:174)
at org.hyperic.sigar.Sigar.<clinit>(Sigar.java:102)
at com.tc.statistics.retrieval.SigarUtil.newSigar(SigarUtil.java:24)
at com.tc.statistics.retrieval.actions.SRACpuCombined.<init>(SRACpuCombined.java:28)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.tc.management.beans.TCServerInfo.<init>(TCServerInfo.java:83)
at com.tc.server.TCServerImpl.startDSOServer(TCServerImpl.java:455)
at com.tc.server.TCServerImpl.access$600(TCServerImpl.java:82)
at com.tc.server.TCServerImpl$StartAction.execute(TCServerImpl.java:412)
at com.tc.lang.StartupHelper.startUp(StartupHelper.java:39)
at com.tc.server.TCServerImpl.startServer(TCServerImpl.java:443)
at com.tc.server.TCServerImpl.start(TCServerImpl.java:218)
at com.tc.server.TCServerMain.main(TCServerMain.java:28)
The JAVA_HOME exported path is correctly set to 1.6.
If I switch back to 1.5, everything works fine.
Any ideas?
Thanks,
Cheers,
Sergio B.
--
Sergio Bossa
Software Passionate and Open Source Enthusiast.
URL:
http://www.linkedin.com/in/sergiob_______________________________________________
tc-dev mailing list
tc-dev@...
http://lists.terracotta.org/mailman/listinfo/tc-dev