Problems with Sigar lib.

View: New views
19 Messages — Rating Filter:   Alert me  

Problems with Sigar lib.

by Sergio Bossa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Parent Message unknown Re: Problems with Sigar lib.

by Alex Miller-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yeah, this is a known issue.  We don't ship (and I don't think Sigar has) a Java 1.6-compatible library for Mac.  Might be a 32-bit/64-bit thing; can't remember.  Officially, Mac is not a supported platform for Terracotta... ;)  

It shouldn't affect your ability to do anything other than see Sigar-provided stats in the console (like cpu stats, network, etc).


----- Original Message -----
From: "Sergio Bossa" <sergio.bossa@...>
To: "tc-dev" <tc-dev@...>
Sent: Sunday, June 21, 2009 8:18:38 AM GMT -06:00 US/Canada Central
Subject: [tc-dev] Problems with Sigar lib.

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
_______________________________________________
tc-dev mailing list
tc-dev@...
http://lists.terracotta.org/mailman/listinfo/tc-dev

Re: Problems with Sigar lib.

by Walter Harley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Last I checked was a few months ago and Java 1.6 support on Mac was a  
"coming soon" thing from Hyperic, so it might exist by now, in which  
case we should look into updating.  I can't find any information  
whatsoever about supported platforms on the Hyperic web site, though.


On Jun 21, 2009, at 7:28 AM, Alex Miller wrote:

> Yeah, this is a known issue.  We don't ship (and I don't think Sigar  
> has) a Java 1.6-compatible library for Mac.  Might be a 32-bit/64-
> bit thing; can't remember.  Officially, Mac is not a supported  
> platform for Terracotta... ;)
>
> It shouldn't affect your ability to do anything other than see Sigar-
> provided stats in the console (like cpu stats, network, etc).
>
>
> ----- Original Message -----
> From: "Sergio Bossa" <sergio.bossa@...>
> To: "tc-dev" <tc-dev@...>
> Sent: Sunday, June 21, 2009 8:18:38 AM GMT -06:00 US/Canada Central
> Subject: [tc-dev] Problems with Sigar lib.
>
> 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
> _______________________________________________
> tc-dev mailing list
> tc-dev@...
> http://lists.terracotta.org/mailman/listinfo/tc-dev

_______________________________________________
tc-dev mailing list
tc-dev@...
http://lists.terracotta.org/mailman/listinfo/tc-dev

Re: Problems with Sigar lib.

by Sergio Bossa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Jun 21, 2009 at 8:53 PM, Walter
Harley<wharley@...> wrote:

> Last I checked was a few months ago and Java 1.6 support on Mac was a
> "coming soon" thing from Hyperic, so it might exist by now, in which
> case we should look into updating.  I can't find any information
> whatsoever about supported platforms on the Hyperic web site, though.

What about: http://www.hyperic.com/products/osx-monitoring.html ?

--
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

Re: Problems with Sigar lib.

by Geert Bevin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The recently released version of Sigar 1.6.2 seems to support MacOSX  
Java 1.6. There's something fishy going on though when I package it in  
the TC kit ... needs some more investigation.

On 22 Jun 2009, at 10:13, Sergio Bossa wrote:

> On Sun, Jun 21, 2009 at 8:53 PM, Walter
> Harley<wharley@...> wrote:
>
>> Last I checked was a few months ago and Java 1.6 support on Mac was a
>> "coming soon" thing from Hyperic, so it might exist by now, in which
>> case we should look into updating.  I can't find any information
>> whatsoever about supported platforms on the Hyperic web site, though.
>
> What about: http://www.hyperic.com/products/osx-monitoring.html ?
>
> --
> 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

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Flytecase Band - http://flytecase.be
Music and words - http://gbevin.com

_______________________________________________
tc-dev mailing list
tc-dev@...
http://lists.terracotta.org/mailman/listinfo/tc-dev

Re: Problems with Sigar lib.

by Geert Bevin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Sergio,

I got it to work. The TC trunk now has Sigar 1.6.2 with support of  
MacOSX Java 1.6. It would be cool if you could test it out.

Take care,

Geert

On 22 Jun 2009, at 14:58, Geert Bevin wrote:

> The recently released version of Sigar 1.6.2 seems to support MacOSX
> Java 1.6. There's something fishy going on though when I package it in
> the TC kit ... needs some more investigation.
>
> On 22 Jun 2009, at 10:13, Sergio Bossa wrote:
>
>> On Sun, Jun 21, 2009 at 8:53 PM, Walter
>> Harley<wharley@...> wrote:
>>
>>> Last I checked was a few months ago and Java 1.6 support on Mac  
>>> was a
>>> "coming soon" thing from Hyperic, so it might exist by now, in which
>>> case we should look into updating.  I can't find any information
>>> whatsoever about supported platforms on the Hyperic web site,  
>>> though.
>>
>> What about: http://www.hyperic.com/products/osx-monitoring.html ?

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Flytecase Band - http://flytecase.be
Music and words - http://gbevin.com

_______________________________________________
tc-dev mailing list
tc-dev@...
http://lists.terracotta.org/mailman/listinfo/tc-dev

Re: Problems with Sigar lib.

by Sergio Bossa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jun 22, 2009 at 3:14 PM, Geert Bevin<gbevin@...> wrote:

> Hi Sergio,
>
> I got it to work. The TC trunk now has Sigar 1.6.2 with support of
> MacOSX Java 1.6. It would be cool if you could test it out.

You are the man!
I'm going to give it a try right now ...

--
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

Re: Problems with Sigar lib.

by Sergio Bossa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The latest snapshot seems not to be online yet ... I'll try again and
let you know later!

On Mon, Jun 22, 2009 at 3:18 PM, Sergio Bossa<sergio.bossa@...> wrote:

> On Mon, Jun 22, 2009 at 3:14 PM, Geert Bevin<gbevin@...> wrote:
>
>> Hi Sergio,
>>
>> I got it to work. The TC trunk now has Sigar 1.6.2 with support of
>> MacOSX Java 1.6. It would be cool if you could test it out.
>
> You are the man!
> I'm going to give it a try right now ...
>
> --
> Sergio Bossa
> Software Passionate and Open Source Enthusiast.
> URL: http://www.linkedin.com/in/sergiob
>

--
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

Re: Problems with Sigar lib.

by Geert Bevin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, cool :-)

On 22 Jun 2009, at 15:24, Sergio Bossa wrote:

> The latest snapshot seems not to be online yet ... I'll try again and
> let you know later!
>
> On Mon, Jun 22, 2009 at 3:18 PM, Sergio  
> Bossa<sergio.bossa@...> wrote:
>> On Mon, Jun 22, 2009 at 3:14 PM, Geert Bevin<gbevin@...
>> > wrote:
>>
>>> Hi Sergio,
>>>
>>> I got it to work. The TC trunk now has Sigar 1.6.2 with support of
>>> MacOSX Java 1.6. It would be cool if you could test it out.
>>
>> You are the man!
>> I'm going to give it a try right now ...
>>
>> --
>> Sergio Bossa
>> Software Passionate and Open Source Enthusiast.
>> URL: http://www.linkedin.com/in/sergiob
>>
>
> --
> 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

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Flytecase Band - http://flytecase.be
Music and words - http://gbevin.com

_______________________________________________
tc-dev mailing list
tc-dev@...
http://lists.terracotta.org/mailman/listinfo/tc-dev

Re: Problems with Sigar lib.

by Sergio Bossa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tested, now I get the following exception:

[INFO] [dso start] 1903 [main] DEBUG Sigar  - no
libsigar-universal64-macosx.dylib in java.library.path
[INFO] [dso start] org.hyperic.sigar.SigarException: no
libsigar-universal64-macosx.dylib in java.library.path
[INFO] [dso start]      at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:174)
[INFO] [dso start]      at org.hyperic.sigar.Sigar.<clinit>(Sigar.java:102)
[INFO] [dso start]      at
com.tc.statistics.retrieval.SigarUtil.newSigar(SigarUtil.java:24)
[INFO] [dso start]      at
com.tc.statistics.retrieval.actions.SRACpuCombined.<init>(SRACpuCombined.java:33)
[INFO] [dso start]      at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[INFO] [dso start]      at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[INFO] [dso start]      at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[INFO] [dso start]      at
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[INFO] [dso start]      at java.lang.Class.newInstance0(Class.java:355)
[INFO] [dso start]      at java.lang.Class.newInstance(Class.java:308)
[INFO] [dso start]      at
com.tc.management.beans.TCServerInfo.<init>(TCServerInfo.java:83)
[INFO] [dso start]      at
com.tc.server.TCServerImpl.startDSOServer(TCServerImpl.java:455)
[INFO] [dso start]      at
com.tc.server.TCServerImpl.access$600(TCServerImpl.java:82)
[INFO] [dso start]      at
com.tc.server.TCServerImpl$StartAction.execute(TCServerImpl.java:412)
[INFO] [dso start]      at
com.tc.lang.StartupHelper.startUp(StartupHelper.java:39)
[INFO] [dso start]      at
com.tc.server.TCServerImpl.startServer(TCServerImpl.java:443)
[INFO] [dso start]      at
com.tc.server.TCServerImpl.start(TCServerImpl.java:218)
[INFO] [dso start]      at com.tc.server.TCServerMain.main(TCServerMain.java:28)

On Mon, Jun 22, 2009 at 3:26 PM, Geert Bevin<gbevin@...> wrote:

> Ok, cool :-)
>
> On 22 Jun 2009, at 15:24, Sergio Bossa wrote:
>
>> The latest snapshot seems not to be online yet ... I'll try again and
>> let you know later!
>>
>> On Mon, Jun 22, 2009 at 3:18 PM, Sergio
>> Bossa<sergio.bossa@...> wrote:
>>> On Mon, Jun 22, 2009 at 3:14 PM, Geert Bevin<gbevin@...
>>> > wrote:
>>>
>>>> Hi Sergio,
>>>>
>>>> I got it to work. The TC trunk now has Sigar 1.6.2 with support of
>>>> MacOSX Java 1.6. It would be cool if you could test it out.
>>>
>>> You are the man!
>>> I'm going to give it a try right now ...
>>>
>>> --
>>> Sergio Bossa
>>> Software Passionate and Open Source Enthusiast.
>>> URL: http://www.linkedin.com/in/sergiob
>>>
>>
>> --
>> 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
>
> --
> Geert Bevin
> Terracotta - http://www.terracotta.org
> Uwyn "Use what you need" - http://uwyn.com
> RIFE Java application framework - http://rifers.org
> Flytecase Band - http://flytecase.be
> Music and words - http://gbevin.com
>
> _______________________________________________
> tc-dev mailing list
> tc-dev@...
> http://lists.terracotta.org/mailman/listinfo/tc-dev
>



--
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

Re: Problems with Sigar lib.

by Geert Bevin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hmmm, is libsigar-universal64-macosx.dylib in your lib directory?

On 23 Jun 2009, at 10:39, Sergio Bossa wrote:

> Tested, now I get the following exception:
>
> [INFO] [dso start] 1903 [main] DEBUG Sigar  - no
> libsigar-universal64-macosx.dylib in java.library.path
> [INFO] [dso start] org.hyperic.sigar.SigarException: no
> libsigar-universal64-macosx.dylib in java.library.path
> [INFO] [dso start]      at  
> org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:174)
> [INFO] [dso start]      at  
> org.hyperic.sigar.Sigar.<clinit>(Sigar.java:102)
> [INFO] [dso start]      at
> com.tc.statistics.retrieval.SigarUtil.newSigar(SigarUtil.java:24)
> [INFO] [dso start]      at
> com
> .tc
> .statistics
> .retrieval.actions.SRACpuCombined.<init>(SRACpuCombined.java:33)
> [INFO] [dso start]      at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> [INFO] [dso start]      at
> sun
> .reflect
> .NativeConstructorAccessorImpl
> .newInstance(NativeConstructorAccessorImpl.java:39)
> [INFO] [dso start]      at
> sun
> .reflect
> .DelegatingConstructorAccessorImpl
> .newInstance(DelegatingConstructorAccessorImpl.java:27)
> [INFO] [dso start]      at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> [INFO] [dso start]      at java.lang.Class.newInstance0(Class.java:
> 355)
> [INFO] [dso start]      at java.lang.Class.newInstance(Class.java:308)
> [INFO] [dso start]      at
> com.tc.management.beans.TCServerInfo.<init>(TCServerInfo.java:83)
> [INFO] [dso start]      at
> com.tc.server.TCServerImpl.startDSOServer(TCServerImpl.java:455)
> [INFO] [dso start]      at
> com.tc.server.TCServerImpl.access$600(TCServerImpl.java:82)
> [INFO] [dso start]      at
> com.tc.server.TCServerImpl$StartAction.execute(TCServerImpl.java:412)
> [INFO] [dso start]      at
> com.tc.lang.StartupHelper.startUp(StartupHelper.java:39)
> [INFO] [dso start]      at
> com.tc.server.TCServerImpl.startServer(TCServerImpl.java:443)
> [INFO] [dso start]      at
> com.tc.server.TCServerImpl.start(TCServerImpl.java:218)
> [INFO] [dso start]      at  
> com.tc.server.TCServerMain.main(TCServerMain.java:28)
>
> On Mon, Jun 22, 2009 at 3:26 PM, Geert  
> Bevin<gbevin@...> wrote:
>> Ok, cool :-)
>>
>> On 22 Jun 2009, at 15:24, Sergio Bossa wrote:
>>
>>> The latest snapshot seems not to be online yet ... I'll try again  
>>> and
>>> let you know later!
>>>
>>> On Mon, Jun 22, 2009 at 3:18 PM, Sergio
>>> Bossa<sergio.bossa@...> wrote:
>>>> On Mon, Jun 22, 2009 at 3:14 PM, Geert Bevin<gbevin@...
>>>>> wrote:
>>>>
>>>>> Hi Sergio,
>>>>>
>>>>> I got it to work. The TC trunk now has Sigar 1.6.2 with support of
>>>>> MacOSX Java 1.6. It would be cool if you could test it out.
>>>>
>>>> You are the man!
>>>> I'm going to give it a try right now ...
>>>>
>>>> --
>>>> Sergio Bossa
>>>> Software Passionate and Open Source Enthusiast.
>>>> URL: http://www.linkedin.com/in/sergiob
>>>>
>>>
>>> --
>>> 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
>>
>> --
>> Geert Bevin
>> Terracotta - http://www.terracotta.org
>> Uwyn "Use what you need" - http://uwyn.com
>> RIFE Java application framework - http://rifers.org
>> Flytecase Band - http://flytecase.be
>> Music and words - http://gbevin.com
>>
>> _______________________________________________
>> tc-dev mailing list
>> tc-dev@...
>> http://lists.terracotta.org/mailman/listinfo/tc-dev
>>
>
>
>
> --
> 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

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Flytecase Band - http://flytecase.be
Music and words - http://gbevin.com

_______________________________________________
tc-dev mailing list
tc-dev@...
http://lists.terracotta.org/mailman/listinfo/tc-dev

Re: Problems with Sigar lib.

by Sergio Bossa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jun 23, 2009 at 1:22 PM, Geert Bevin<gbevin@...> wrote:

> Hmmm, is libsigar-universal64-macosx.dylib in your lib directory?

What lib directory are you referring to?
Please note that I'm using the tc-maven-plugin ...

--
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

Re: Problems with Sigar lib.

by Geert Bevin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ah! I think that this still needs to be updated. I was referring to  
the lib directory in the TC distribution.

On 23 Jun 2009, at 14:13, Sergio Bossa wrote:

> On Tue, Jun 23, 2009 at 1:22 PM, Geert  
> Bevin<gbevin@...> wrote:
>
>> Hmmm, is libsigar-universal64-macosx.dylib in your lib directory?
>
> What lib directory are you referring to?
> Please note that I'm using the tc-maven-plugin ...
>
> --
> 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

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Flytecase Band - http://flytecase.be
Music and words - http://gbevin.com

_______________________________________________
tc-dev mailing list
tc-dev@...
http://lists.terracotta.org/mailman/listinfo/tc-dev

Re: Problems with Sigar lib.

by Sergio Bossa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jun 23, 2009 at 2:21 PM, Geert Bevin <gbevin@...> wrote:

> Ah! I think that this still needs to be updated.

No worries: when do you think it will be updated?
If I wanted to try it with the Terracotta 3.0 distribution, is there a
way to "back-port" your changes?

--
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

Re: Problems with Sigar lib.

by Sergio Bossa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jun 23, 2009 at 2:21 PM, Geert Bevin<gbevin@...> wrote:

> Ah! I think that this still needs to be updated.

Hi Geert,

the libs seem to have been updated, but I still get the following exception:

[INFO] [dso start] 1913 [main] DEBUG Sigar  -
/Users/sergio/.m2/repository/org/hyperic/sigar/1.6.2/sigar-1.6.2.jar:
no suitable image found.  Did find:
/Users/sergio/.m2/repository/org/hyperic/sigar/1.6.2/sigar-1.6.2.jar:
unknown file type, first eight bytes: 0x50 0x4B 0x03 0x04 0x0A 0x00
0x00 0x00
[INFO] [dso start] org.hyperic.sigar.SigarException:
/Users/sergio/.m2/repository/org/hyperic/sigar/1.6.2/sigar-1.6.2.jar:
no suitable image found.  Did find:
/Users/sergio/.m2/repository/org/hyperic/sigar/1.6.2/sigar-1.6.2.jar:
unknown file type, first eight bytes: 0x50 0x4B 0x03 0x04 0x0A 0x00
0x00 0x00
[INFO] [dso start]      at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:174)
[INFO] [dso start]      at org.hyperic.sigar.Sigar.<clinit>(Sigar.java:102)
[INFO] [dso start]      at
com.tc.statistics.retrieval.SigarUtil.newSigar(SigarUtil.java:24)
[INFO] [dso start]      at
com.tc.statistics.retrieval.actions.SRACpuCombined.<init>(SRACpuCombined.java:33)
[INFO] [dso start]      at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[INFO] [dso start]      at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[INFO] [dso start]      at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[INFO] [dso start]      at
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[INFO] [dso start]      at java.lang.Class.newInstance0(Class.java:355)
[INFO] [dso start]      at java.lang.Class.newInstance(Class.java:308)
[INFO] [dso start]      at
com.tc.management.beans.TCServerInfo.<init>(TCServerInfo.java:83)
[INFO] [dso start]      at
com.tc.server.TCServerImpl.startDSOServer(TCServerImpl.java:455)
[INFO] [dso start]      at
com.tc.server.TCServerImpl.access$600(TCServerImpl.java:82)
[INFO] [dso start]      at
com.tc.server.TCServerImpl$StartAction.execute(TCServerImpl.java:412)
[INFO] [dso start]      at
com.tc.lang.StartupHelper.startUp(StartupHelper.java:39)
[INFO] [dso start]      at
com.tc.server.TCServerImpl.startServer(TCServerImpl.java:443)
[INFO] [dso start]      at
com.tc.server.TCServerImpl.start(TCServerImpl.java:218)
[INFO] [dso start]      at com.tc.server.TCServerMain.main(TCServerMain.java:28)

Any ideas?

--
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

Re: Problems with Sigar lib.

by Geert Bevin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yeah, this is strange, I used to get those exceptions initially also  
and then they suddenly went away.

Maybe clean out your maven repo?

On 24 Jun 2009, at 17:34, Sergio Bossa wrote:

> On Tue, Jun 23, 2009 at 2:21 PM, Geert  
> Bevin<gbevin@...> wrote:
>
>> Ah! I think that this still needs to be updated.
>
> Hi Geert,
>
> the libs seem to have been updated, but I still get the following  
> exception:
>
> [INFO] [dso start] 1913 [main] DEBUG Sigar  -
> /Users/sergio/.m2/repository/org/hyperic/sigar/1.6.2/sigar-1.6.2.jar:
> no suitable image found.  Did find:
> /Users/sergio/.m2/repository/org/hyperic/sigar/1.6.2/sigar-1.6.2.jar:
> unknown file type, first eight bytes: 0x50 0x4B 0x03 0x04 0x0A 0x00
> 0x00 0x00
> [INFO] [dso start] org.hyperic.sigar.SigarException:
> /Users/sergio/.m2/repository/org/hyperic/sigar/1.6.2/sigar-1.6.2.jar:
> no suitable image found.  Did find:
> /Users/sergio/.m2/repository/org/hyperic/sigar/1.6.2/sigar-1.6.2.jar:
> unknown file type, first eight bytes: 0x50 0x4B 0x03 0x04 0x0A 0x00
> 0x00 0x00
> [INFO] [dso start]      at  
> org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:174)
> [INFO] [dso start]      at  
> org.hyperic.sigar.Sigar.<clinit>(Sigar.java:102)
> [INFO] [dso start]      at
> com.tc.statistics.retrieval.SigarUtil.newSigar(SigarUtil.java:24)
> [INFO] [dso start]      at
> com
> .tc
> .statistics
> .retrieval.actions.SRACpuCombined.<init>(SRACpuCombined.java:33)
> [INFO] [dso start]      at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> [INFO] [dso start]      at
> sun
> .reflect
> .NativeConstructorAccessorImpl
> .newInstance(NativeConstructorAccessorImpl.java:39)
> [INFO] [dso start]      at
> sun
> .reflect
> .DelegatingConstructorAccessorImpl
> .newInstance(DelegatingConstructorAccessorImpl.java:27)
> [INFO] [dso start]      at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> [INFO] [dso start]      at java.lang.Class.newInstance0(Class.java:
> 355)
> [INFO] [dso start]      at java.lang.Class.newInstance(Class.java:308)
> [INFO] [dso start]      at
> com.tc.management.beans.TCServerInfo.<init>(TCServerInfo.java:83)
> [INFO] [dso start]      at
> com.tc.server.TCServerImpl.startDSOServer(TCServerImpl.java:455)
> [INFO] [dso start]      at
> com.tc.server.TCServerImpl.access$600(TCServerImpl.java:82)
> [INFO] [dso start]      at
> com.tc.server.TCServerImpl$StartAction.execute(TCServerImpl.java:412)
> [INFO] [dso start]      at
> com.tc.lang.StartupHelper.startUp(StartupHelper.java:39)
> [INFO] [dso start]      at
> com.tc.server.TCServerImpl.startServer(TCServerImpl.java:443)
> [INFO] [dso start]      at
> com.tc.server.TCServerImpl.start(TCServerImpl.java:218)
> [INFO] [dso start]      at  
> com.tc.server.TCServerMain.main(TCServerMain.java:28)
>
> Any ideas?
>
> --
> 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

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Flytecase Band - http://flytecase.be
Music and words - http://gbevin.com

_______________________________________________
tc-dev mailing list
tc-dev@...
http://lists.terracotta.org/mailman/listinfo/tc-dev

Re: Problems with Sigar lib.

by Sergio Bossa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jun 24, 2009 at 5:40 PM, Geert Bevin <gbevin@...> wrote:
>
> Yeah, this is strange, I used to get those exceptions initially also
> and then they suddenly went away.

Hi Geert,

sorry for the late response.
I tried deleting a few dirs on my maven repo, with no luck.

Am I the only one getting that exception with Java 1.6 on MacOS, even
after Geert's changes?

--
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

Re: Problems with Sigar lib.

by Hung Huynh-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Geert's change was only in trunk I think. If you're running with tc-3.1 branch, there is no change there.

Sergio Bossa wrote:
On Wed, Jun 24, 2009 at 5:40 PM, Geert Bevin gbevin@... wrote:
  
Yeah, this is strange, I used to get those exceptions initially also
and then they suddenly went away.
    

Hi Geert,

sorry for the late response.
I tried deleting a few dirs on my maven repo, with no luck.

Am I the only one getting that exception with Java 1.6 on MacOS, even
after Geert's changes?

--
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
  

_______________________________________________
tc-dev mailing list
tc-dev@...
http://lists.terracotta.org/mailman/listinfo/tc-dev

Re: Problems with Sigar lib.

by Sergio Bossa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Jun 26, 2009 at 6:20 PM, Hung Huynh<hhuynh@...> wrote:

> Geert's change was only in trunk I think. If you're running with tc-3.1
> branch, there is no change there.

I'm running with trunk.

--
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