You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Ryan Moquin <fr...@gmail.com> on 2013/12/14 17:16:11 UTC

Stange error with karaf using ssh:ssh command

I'm doing some work on Apache Cellar that I wanted to contribute.  I'm
almost done, but when I sat down to work on finishing it the other day,
I've started to get a strange error from Karaf I haven't seen before.
 Basically, I just ran the integration tests in their current state so I
could see the couple errors I have left to resolve, but am now see this
error print many many times throughout the tests.  Does this ring a bell
for anyone?  Is there something I might have inadvertently changed with the
dependencies that could cause this?  I was looking at the maven
dependencies and don't see any other jars that might have the same class
but with a different signature for that method.  Any ideas would be
appreciated!!!!

I'm going to try do some more investigating in the mean time.

Shell command being executed:

instance:list | grep node2 | grep -c Started

Error:

Exception in thread "pipe-[instance:list]" java.lang.NoSuchMethodError:
org.apache.karaf.shell.table.ShellTable.print(Ljava/io/PrintStream;Z)V
        at
org.apache.karaf.instance.command.ListCommand.doExecute(ListCommand.java:55)
        at
org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
        at
org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
        at
org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)
        at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
        at
org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
        at
org.apache.karaf.shell.console.commands.$BlueprintCommand1608310629.execute(Unknown
Source)
        at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)

Re: Stange error with karaf using ssh:ssh command

Posted by Ryan Moquin <fr...@gmail.com>.
Yeah, it dawned on me earlier to try that... I have some other weird stuff
going on but I have to look at it more.

Ryan
On Dec 15, 2013 3:54 PM, "Jean-Baptiste Onofré" <jb...@nanthrax.net> wrote:

> Hi Ryan,
>
> just remove .sshkaraf folder from your home and it will be OK.
>
> Regards
> JB
>
> On 12/15/2013 07:28 PM, Ryan Moquin wrote:
>
>> Hey JB,
>>
>> I build all of the pax-exam libraries, then I was able to build Karaf.
>>   After I switched 2 dependencies from being snapshots in my cellar
>> trunk, I was able to get back to where I left off.  Now I just have to
>> try to remember why it's telling me that the ssh certificate doesn't
>> match when sshing between instances and then hopefully I can finish the
>> tests.... I thought what I had already there fixed that issue when I ran
>> into it a few months ago, but I guess not.. so I just need to figure it
>> out again.  I think it had something to do with what host name or ip is
>> used.  I'll debug the karaf source again so I an figure out what it
>> requires.
>>
>> Ryan
>>
>>
>> On Sun, Dec 15, 2013 at 2:14 AM, Ryan Moquin <fragility2.0@gmail.com
>> <ma...@gmail.com>> wrote:
>>
>>     Ohhhh ok... np.  I figured it had been which I wad so confused.  No
>>     biggie.. I'm fine with waiting until it's deployed, it's just
>>     confusing but that's how working with the bleeding edge is!! :)
>>
>>     Thanks for your help!  I'm just happy to know why it isn't there...
>>     I could temporarily take care of that if I really needed too... I'll
>>     give it a little and see if you get a chance to get to it.  Tha ks
>>     for all your hard work.  Your like a machine!
>>
>>     Ryan
>>
>>     Ryan
>>
>>     On Dec 15, 2013 12:17 AM, "Jean-Baptiste Onofré" <jb@nanthrax.net
>>     <ma...@nanthrax.net>> wrote:
>>
>>         It's because it has not been deployed yet.
>>
>>         Anyway, I gonna release it today.
>>
>>         Regards
>>         JB
>>
>>         On 12/14/2013 09:17 PM, Ryan Moquin wrote:
>>
>>             When I build Karaf from trunk, I failed on an error that is
>>             very similar
>>             to what I'm seeing in the Cellar int tests:
>>
>>             [ERROR] Failed to execute goal on project
>>             org.apache.karaf.http.core:
>>             Could not resolve dependencies for project
>>             org.apache.karaf.http:org.__apache.kara
>>             f.http.core:bundle:3.0.0-__SNAPSHOT: Could not find artifact
>>             org.ops4j.pax.web:pax-web-spi:__jar:3.0.5-SNAPSHOT in
>>             apache-snapshots
>>             (http://repository.apache.org/__content/groups/snapshots-
>> group
>>             <http://repository.apache.org/content/groups/snapshots-group
>> >__)
>>             -> [Help 1]
>>
>>             that 3.0.5-SNAPSHOT version can't seem to be resolved in the
>>             int tests
>>             either.. not sure why...
>>
>>
>>             On Sat, Dec 14, 2013 at 1:10 PM, Jean-Baptiste Onofré
>>             <jb@nanthrax.net <ma...@nanthrax.net>
>>             <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
>>
>>                  Hi Ryan,
>>
>>                  what's your Java version ?
>>
>>                  Did you update to the latest 3.0.0-SNAPSHOT version
>>             (build locally).
>>
>>
>>                  Regards
>>                  JB
>>
>>
>>                  On 12/14/2013 05:16 PM, Ryan Moquin wrote:
>>
>>                      I'm doing some work on Apache Cellar that I wanted to
>>                      contribute.  I'm
>>                      almost done, but when I sat down to work on
>>             finishing it the
>>                      other day,
>>                      I've started to get a strange error from Karaf I
>>             haven't seen
>>                      before.
>>                         Basically, I just ran the integration tests in
>>             their current
>>                      state so
>>                      I could see the couple errors I have left to
>>             resolve, but am now see
>>                      this error print many many times throughout the
>>             tests.  Does
>>                      this ring a
>>                      bell for anyone?  Is there something I might have
>>             inadvertently
>>                      changed
>>                      with the dependencies that could cause this?  I was
>>             looking at
>>                      the maven
>>                      dependencies and don't see any other jars that
>>             might have the
>>                      same class
>>                      but with a different signature for that method.
>>               Any ideas would be
>>                      appreciated!!!!
>>
>>                      I'm going to try do some more investigating in the
>>             mean time.
>>
>>                      Shell command being executed:
>>
>>                      instance:list | grep node2 | grep -c Started
>>
>>                      Error:
>>
>>                      Exception in thread "pipe-[instance:list]"
>>                      java.lang.NoSuchMethodError:
>>
>>             org.apache.karaf.shell.table.____ShellTable.print(Ljava/io/_
>> ___PrintStream;Z)V
>>                                at
>>
>>             org.apache.karaf.instance.____command.ListCommand.doExecute(
>> ____ListCommand.java:55)
>>                                at
>>
>>             org.apache.karaf.shell.____console.AbstractAction.____
>> execute(AbstractAction.java:____33)
>>                                at
>>
>>             org.apache.karaf.shell.____console.OsgiCommandSupport.___
>> _execute(OsgiCommandSupport.____java:39)
>>                                at
>>
>>             org.apache.karaf.shell.____commands.basic.____
>> AbstractCommand.execute(____AbstractCommand.java:33)
>>                                at
>>
>>             sun.reflect.____GeneratedMethodAccessor19.____invoke(Unknown
>>             Source)
>>                                at
>>
>>             sun.reflect.____DelegatingMethodAccessorImpl.____invoke(____
>> DelegatingMethodAccessorImpl.____java:43)
>>                                at
>>             java.lang.reflect.Method.____invoke(Method.java:606)
>>                                at
>>
>>             org.apache.aries.proxy.impl.____ProxyHandler$1.invoke(____
>> ProxyHandler.java:54)
>>                                at
>>
>>             org.apache.aries.proxy.impl.____ProxyHandler.invoke(____
>> ProxyHandler.java:119)
>>                                at
>>
>>             org.apache.karaf.shell.____console.commands.$____
>> BlueprintCommand1608310629.____execute(Unknown
>>                      Source)
>>                                at
>>
>>             sun.reflect.____GeneratedMethodAccessor19.____invoke(Unknown
>>             Source)
>>
>>
>>                  --
>>                  Jean-Baptiste Onofré
>>             jbonofre@apache.org <ma...@apache.org>
>>             <mailto:jbonofre@apache.org <ma...@apache.org>>
>>             http://blog.nanthrax.net
>>                  Talend - http://www.talend.com
>>
>>
>>
>>         --
>>         Jean-Baptiste Onofré
>>         jbonofre@apache.org <ma...@apache.org>
>>         http://blog.nanthrax.net
>>         Talend - http://www.talend.com
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: Stange error with karaf using ssh:ssh command

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Ryan,

just remove .sshkaraf folder from your home and it will be OK.

Regards
JB

On 12/15/2013 07:28 PM, Ryan Moquin wrote:
> Hey JB,
>
> I build all of the pax-exam libraries, then I was able to build Karaf.
>   After I switched 2 dependencies from being snapshots in my cellar
> trunk, I was able to get back to where I left off.  Now I just have to
> try to remember why it's telling me that the ssh certificate doesn't
> match when sshing between instances and then hopefully I can finish the
> tests.... I thought what I had already there fixed that issue when I ran
> into it a few months ago, but I guess not.. so I just need to figure it
> out again.  I think it had something to do with what host name or ip is
> used.  I'll debug the karaf source again so I an figure out what it
> requires.
>
> Ryan
>
>
> On Sun, Dec 15, 2013 at 2:14 AM, Ryan Moquin <fragility2.0@gmail.com
> <ma...@gmail.com>> wrote:
>
>     Ohhhh ok... np.  I figured it had been which I wad so confused.  No
>     biggie.. I'm fine with waiting until it's deployed, it's just
>     confusing but that's how working with the bleeding edge is!! :)
>
>     Thanks for your help!  I'm just happy to know why it isn't there...
>     I could temporarily take care of that if I really needed too... I'll
>     give it a little and see if you get a chance to get to it.  Tha ks
>     for all your hard work.  Your like a machine!
>
>     Ryan
>
>     Ryan
>
>     On Dec 15, 2013 12:17 AM, "Jean-Baptiste Onofré" <jb@nanthrax.net
>     <ma...@nanthrax.net>> wrote:
>
>         It's because it has not been deployed yet.
>
>         Anyway, I gonna release it today.
>
>         Regards
>         JB
>
>         On 12/14/2013 09:17 PM, Ryan Moquin wrote:
>
>             When I build Karaf from trunk, I failed on an error that is
>             very similar
>             to what I'm seeing in the Cellar int tests:
>
>             [ERROR] Failed to execute goal on project
>             org.apache.karaf.http.core:
>             Could not resolve dependencies for project
>             org.apache.karaf.http:org.__apache.kara
>             f.http.core:bundle:3.0.0-__SNAPSHOT: Could not find artifact
>             org.ops4j.pax.web:pax-web-spi:__jar:3.0.5-SNAPSHOT in
>             apache-snapshots
>             (http://repository.apache.org/__content/groups/snapshots-group
>             <http://repository.apache.org/content/groups/snapshots-group>__)
>             -> [Help 1]
>
>             that 3.0.5-SNAPSHOT version can't seem to be resolved in the
>             int tests
>             either.. not sure why...
>
>
>             On Sat, Dec 14, 2013 at 1:10 PM, Jean-Baptiste Onofré
>             <jb@nanthrax.net <ma...@nanthrax.net>
>             <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
>
>                  Hi Ryan,
>
>                  what's your Java version ?
>
>                  Did you update to the latest 3.0.0-SNAPSHOT version
>             (build locally).
>
>
>                  Regards
>                  JB
>
>
>                  On 12/14/2013 05:16 PM, Ryan Moquin wrote:
>
>                      I'm doing some work on Apache Cellar that I wanted to
>                      contribute.  I'm
>                      almost done, but when I sat down to work on
>             finishing it the
>                      other day,
>                      I've started to get a strange error from Karaf I
>             haven't seen
>                      before.
>                         Basically, I just ran the integration tests in
>             their current
>                      state so
>                      I could see the couple errors I have left to
>             resolve, but am now see
>                      this error print many many times throughout the
>             tests.  Does
>                      this ring a
>                      bell for anyone?  Is there something I might have
>             inadvertently
>                      changed
>                      with the dependencies that could cause this?  I was
>             looking at
>                      the maven
>                      dependencies and don't see any other jars that
>             might have the
>                      same class
>                      but with a different signature for that method.
>               Any ideas would be
>                      appreciated!!!!
>
>                      I'm going to try do some more investigating in the
>             mean time.
>
>                      Shell command being executed:
>
>                      instance:list | grep node2 | grep -c Started
>
>                      Error:
>
>                      Exception in thread "pipe-[instance:list]"
>                      java.lang.NoSuchMethodError:
>
>             org.apache.karaf.shell.table.____ShellTable.print(Ljava/io/____PrintStream;Z)V
>                                at
>
>             org.apache.karaf.instance.____command.ListCommand.doExecute(____ListCommand.java:55)
>                                at
>
>             org.apache.karaf.shell.____console.AbstractAction.____execute(AbstractAction.java:____33)
>                                at
>
>             org.apache.karaf.shell.____console.OsgiCommandSupport.____execute(OsgiCommandSupport.____java:39)
>                                at
>
>             org.apache.karaf.shell.____commands.basic.____AbstractCommand.execute(____AbstractCommand.java:33)
>                                at
>
>             sun.reflect.____GeneratedMethodAccessor19.____invoke(Unknown
>             Source)
>                                at
>
>             sun.reflect.____DelegatingMethodAccessorImpl.____invoke(____DelegatingMethodAccessorImpl.____java:43)
>                                at
>             java.lang.reflect.Method.____invoke(Method.java:606)
>                                at
>
>             org.apache.aries.proxy.impl.____ProxyHandler$1.invoke(____ProxyHandler.java:54)
>                                at
>
>             org.apache.aries.proxy.impl.____ProxyHandler.invoke(____ProxyHandler.java:119)
>                                at
>
>             org.apache.karaf.shell.____console.commands.$____BlueprintCommand1608310629.____execute(Unknown
>                      Source)
>                                at
>
>             sun.reflect.____GeneratedMethodAccessor19.____invoke(Unknown
>             Source)
>
>
>                  --
>                  Jean-Baptiste Onofré
>             jbonofre@apache.org <ma...@apache.org>
>             <mailto:jbonofre@apache.org <ma...@apache.org>>
>             http://blog.nanthrax.net
>                  Talend - http://www.talend.com
>
>
>
>         --
>         Jean-Baptiste Onofré
>         jbonofre@apache.org <ma...@apache.org>
>         http://blog.nanthrax.net
>         Talend - http://www.talend.com
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Stange error with karaf using ssh:ssh command

Posted by Ryan Moquin <fr...@gmail.com>.
Hey JB,

I build all of the pax-exam libraries, then I was able to build Karaf.
 After I switched 2 dependencies from being snapshots in my cellar trunk, I
was able to get back to where I left off.  Now I just have to try to
remember why it's telling me that the ssh certificate doesn't match when
sshing between instances and then hopefully I can finish the tests.... I
thought what I had already there fixed that issue when I ran into it a few
months ago, but I guess not.. so I just need to figure it out again.  I
think it had something to do with what host name or ip is used.  I'll debug
the karaf source again so I an figure out what it requires.

Ryan


On Sun, Dec 15, 2013 at 2:14 AM, Ryan Moquin <fr...@gmail.com> wrote:

> Ohhhh ok... np.  I figured it had been which I wad so confused.  No
> biggie.. I'm fine with waiting until it's deployed, it's just confusing but
> that's how working with the bleeding edge is!! :)
>
> Thanks for your help!  I'm just happy to know why it isn't there... I
> could temporarily take care of that if I really needed too... I'll give it
> a little and see if you get a chance to get to it.  Tha ks for all your
> hard work.  Your like a machine!
>
> Ryan
>
> Ryan
> On Dec 15, 2013 12:17 AM, "Jean-Baptiste Onofré" <jb...@nanthrax.net> wrote:
>
>> It's because it has not been deployed yet.
>>
>> Anyway, I gonna release it today.
>>
>> Regards
>> JB
>>
>> On 12/14/2013 09:17 PM, Ryan Moquin wrote:
>>
>>> When I build Karaf from trunk, I failed on an error that is very similar
>>> to what I'm seeing in the Cellar int tests:
>>>
>>> [ERROR] Failed to execute goal on project org.apache.karaf.http.core:
>>> Could not resolve dependencies for project
>>> org.apache.karaf.http:org.apache.kara
>>> f.http.core:bundle:3.0.0-SNAPSHOT: Could not find artifact
>>> org.ops4j.pax.web:pax-web-spi:jar:3.0.5-SNAPSHOT in apache-snapshots
>>> (http://repository.apache.org/content/groups/snapshots-group) -> [Help
>>> 1]
>>>
>>> that 3.0.5-SNAPSHOT version can't seem to be resolved in the int tests
>>> either.. not sure why...
>>>
>>>
>>> On Sat, Dec 14, 2013 at 1:10 PM, Jean-Baptiste Onofré <jb@nanthrax.net
>>> <ma...@nanthrax.net>> wrote:
>>>
>>>     Hi Ryan,
>>>
>>>     what's your Java version ?
>>>
>>>     Did you update to the latest 3.0.0-SNAPSHOT version (build locally).
>>>
>>>
>>>     Regards
>>>     JB
>>>
>>>
>>>     On 12/14/2013 05:16 PM, Ryan Moquin wrote:
>>>
>>>         I'm doing some work on Apache Cellar that I wanted to
>>>         contribute.  I'm
>>>         almost done, but when I sat down to work on finishing it the
>>>         other day,
>>>         I've started to get a strange error from Karaf I haven't seen
>>>         before.
>>>            Basically, I just ran the integration tests in their current
>>>         state so
>>>         I could see the couple errors I have left to resolve, but am now
>>> see
>>>         this error print many many times throughout the tests.  Does
>>>         this ring a
>>>         bell for anyone?  Is there something I might have inadvertently
>>>         changed
>>>         with the dependencies that could cause this?  I was looking at
>>>         the maven
>>>         dependencies and don't see any other jars that might have the
>>>         same class
>>>         but with a different signature for that method.  Any ideas would
>>> be
>>>         appreciated!!!!
>>>
>>>         I'm going to try do some more investigating in the mean time.
>>>
>>>         Shell command being executed:
>>>
>>>         instance:list | grep node2 | grep -c Started
>>>
>>>         Error:
>>>
>>>         Exception in thread "pipe-[instance:list]"
>>>         java.lang.NoSuchMethodError:
>>>         org.apache.karaf.shell.table.__ShellTable.print(Ljava/io/__
>>> PrintStream;Z)V
>>>                   at
>>>         org.apache.karaf.instance.__command.ListCommand.doExecute(
>>> __ListCommand.java:55)
>>>                   at
>>>         org.apache.karaf.shell.__console.AbstractAction.__
>>> execute(AbstractAction.java:__33)
>>>                   at
>>>         org.apache.karaf.shell.__console.OsgiCommandSupport.__
>>> execute(OsgiCommandSupport.__java:39)
>>>                   at
>>>         org.apache.karaf.shell.__commands.basic.__
>>> AbstractCommand.execute(__AbstractCommand.java:33)
>>>                   at
>>>         sun.reflect.__GeneratedMethodAccessor19.__invoke(Unknown Source)
>>>                   at
>>>         sun.reflect.__DelegatingMethodAccessorImpl.__invoke(__
>>> DelegatingMethodAccessorImpl.__java:43)
>>>                   at java.lang.reflect.Method.__invoke(Method.java:606)
>>>                   at
>>>         org.apache.aries.proxy.impl.__ProxyHandler$1.invoke(__
>>> ProxyHandler.java:54)
>>>                   at
>>>         org.apache.aries.proxy.impl.__ProxyHandler.invoke(__
>>> ProxyHandler.java:119)
>>>                   at
>>>         org.apache.karaf.shell.__console.commands.$__
>>> BlueprintCommand1608310629.__execute(Unknown
>>>         Source)
>>>                   at
>>>         sun.reflect.__GeneratedMethodAccessor19.__invoke(Unknown Source)
>>>
>>>
>>>     --
>>>     Jean-Baptiste Onofré
>>>     jbonofre@apache.org <ma...@apache.org>
>>>     http://blog.nanthrax.net
>>>     Talend - http://www.talend.com
>>>
>>>
>>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>

Re: Stange error with karaf using ssh:ssh command

Posted by Ryan Moquin <fr...@gmail.com>.
Ohhhh ok... np.  I figured it had been which I wad so confused.  No
biggie.. I'm fine with waiting until it's deployed, it's just confusing but
that's how working with the bleeding edge is!! :)

Thanks for your help!  I'm just happy to know why it isn't there... I could
temporarily take care of that if I really needed too... I'll give it a
little and see if you get a chance to get to it.  Tha ks for all your hard
work.  Your like a machine!

Ryan

Ryan
On Dec 15, 2013 12:17 AM, "Jean-Baptiste Onofré" <jb...@nanthrax.net> wrote:

> It's because it has not been deployed yet.
>
> Anyway, I gonna release it today.
>
> Regards
> JB
>
> On 12/14/2013 09:17 PM, Ryan Moquin wrote:
>
>> When I build Karaf from trunk, I failed on an error that is very similar
>> to what I'm seeing in the Cellar int tests:
>>
>> [ERROR] Failed to execute goal on project org.apache.karaf.http.core:
>> Could not resolve dependencies for project
>> org.apache.karaf.http:org.apache.kara
>> f.http.core:bundle:3.0.0-SNAPSHOT: Could not find artifact
>> org.ops4j.pax.web:pax-web-spi:jar:3.0.5-SNAPSHOT in apache-snapshots
>> (http://repository.apache.org/content/groups/snapshots-group) -> [Help 1]
>>
>> that 3.0.5-SNAPSHOT version can't seem to be resolved in the int tests
>> either.. not sure why...
>>
>>
>> On Sat, Dec 14, 2013 at 1:10 PM, Jean-Baptiste Onofré <jb@nanthrax.net
>> <ma...@nanthrax.net>> wrote:
>>
>>     Hi Ryan,
>>
>>     what's your Java version ?
>>
>>     Did you update to the latest 3.0.0-SNAPSHOT version (build locally).
>>
>>
>>     Regards
>>     JB
>>
>>
>>     On 12/14/2013 05:16 PM, Ryan Moquin wrote:
>>
>>         I'm doing some work on Apache Cellar that I wanted to
>>         contribute.  I'm
>>         almost done, but when I sat down to work on finishing it the
>>         other day,
>>         I've started to get a strange error from Karaf I haven't seen
>>         before.
>>            Basically, I just ran the integration tests in their current
>>         state so
>>         I could see the couple errors I have left to resolve, but am now
>> see
>>         this error print many many times throughout the tests.  Does
>>         this ring a
>>         bell for anyone?  Is there something I might have inadvertently
>>         changed
>>         with the dependencies that could cause this?  I was looking at
>>         the maven
>>         dependencies and don't see any other jars that might have the
>>         same class
>>         but with a different signature for that method.  Any ideas would
>> be
>>         appreciated!!!!
>>
>>         I'm going to try do some more investigating in the mean time.
>>
>>         Shell command being executed:
>>
>>         instance:list | grep node2 | grep -c Started
>>
>>         Error:
>>
>>         Exception in thread "pipe-[instance:list]"
>>         java.lang.NoSuchMethodError:
>>         org.apache.karaf.shell.table.__ShellTable.print(Ljava/io/__
>> PrintStream;Z)V
>>                   at
>>         org.apache.karaf.instance.__command.ListCommand.doExecute(
>> __ListCommand.java:55)
>>                   at
>>         org.apache.karaf.shell.__console.AbstractAction.__
>> execute(AbstractAction.java:__33)
>>                   at
>>         org.apache.karaf.shell.__console.OsgiCommandSupport.__
>> execute(OsgiCommandSupport.__java:39)
>>                   at
>>         org.apache.karaf.shell.__commands.basic.__
>> AbstractCommand.execute(__AbstractCommand.java:33)
>>                   at
>>         sun.reflect.__GeneratedMethodAccessor19.__invoke(Unknown Source)
>>                   at
>>         sun.reflect.__DelegatingMethodAccessorImpl.__invoke(__
>> DelegatingMethodAccessorImpl.__java:43)
>>                   at java.lang.reflect.Method.__invoke(Method.java:606)
>>                   at
>>         org.apache.aries.proxy.impl.__ProxyHandler$1.invoke(__
>> ProxyHandler.java:54)
>>                   at
>>         org.apache.aries.proxy.impl.__ProxyHandler.invoke(__
>> ProxyHandler.java:119)
>>                   at
>>         org.apache.karaf.shell.__console.commands.$__
>> BlueprintCommand1608310629.__execute(Unknown
>>         Source)
>>                   at
>>         sun.reflect.__GeneratedMethodAccessor19.__invoke(Unknown Source)
>>
>>
>>     --
>>     Jean-Baptiste Onofré
>>     jbonofre@apache.org <ma...@apache.org>
>>     http://blog.nanthrax.net
>>     Talend - http://www.talend.com
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: Stange error with karaf using ssh:ssh command

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
It's because it has not been deployed yet.

Anyway, I gonna release it today.

Regards
JB

On 12/14/2013 09:17 PM, Ryan Moquin wrote:
> When I build Karaf from trunk, I failed on an error that is very similar
> to what I'm seeing in the Cellar int tests:
>
> [ERROR] Failed to execute goal on project org.apache.karaf.http.core:
> Could not resolve dependencies for project
> org.apache.karaf.http:org.apache.kara
> f.http.core:bundle:3.0.0-SNAPSHOT: Could not find artifact
> org.ops4j.pax.web:pax-web-spi:jar:3.0.5-SNAPSHOT in apache-snapshots
> (http://repository.apache.org/content/groups/snapshots-group) -> [Help 1]
>
> that 3.0.5-SNAPSHOT version can't seem to be resolved in the int tests
> either.. not sure why...
>
>
> On Sat, Dec 14, 2013 at 1:10 PM, Jean-Baptiste Onofré <jb@nanthrax.net
> <ma...@nanthrax.net>> wrote:
>
>     Hi Ryan,
>
>     what's your Java version ?
>
>     Did you update to the latest 3.0.0-SNAPSHOT version (build locally).
>
>
>     Regards
>     JB
>
>
>     On 12/14/2013 05:16 PM, Ryan Moquin wrote:
>
>         I'm doing some work on Apache Cellar that I wanted to
>         contribute.  I'm
>         almost done, but when I sat down to work on finishing it the
>         other day,
>         I've started to get a strange error from Karaf I haven't seen
>         before.
>            Basically, I just ran the integration tests in their current
>         state so
>         I could see the couple errors I have left to resolve, but am now see
>         this error print many many times throughout the tests.  Does
>         this ring a
>         bell for anyone?  Is there something I might have inadvertently
>         changed
>         with the dependencies that could cause this?  I was looking at
>         the maven
>         dependencies and don't see any other jars that might have the
>         same class
>         but with a different signature for that method.  Any ideas would be
>         appreciated!!!!
>
>         I'm going to try do some more investigating in the mean time.
>
>         Shell command being executed:
>
>         instance:list | grep node2 | grep -c Started
>
>         Error:
>
>         Exception in thread "pipe-[instance:list]"
>         java.lang.NoSuchMethodError:
>         org.apache.karaf.shell.table.__ShellTable.print(Ljava/io/__PrintStream;Z)V
>                   at
>         org.apache.karaf.instance.__command.ListCommand.doExecute(__ListCommand.java:55)
>                   at
>         org.apache.karaf.shell.__console.AbstractAction.__execute(AbstractAction.java:__33)
>                   at
>         org.apache.karaf.shell.__console.OsgiCommandSupport.__execute(OsgiCommandSupport.__java:39)
>                   at
>         org.apache.karaf.shell.__commands.basic.__AbstractCommand.execute(__AbstractCommand.java:33)
>                   at
>         sun.reflect.__GeneratedMethodAccessor19.__invoke(Unknown Source)
>                   at
>         sun.reflect.__DelegatingMethodAccessorImpl.__invoke(__DelegatingMethodAccessorImpl.__java:43)
>                   at java.lang.reflect.Method.__invoke(Method.java:606)
>                   at
>         org.apache.aries.proxy.impl.__ProxyHandler$1.invoke(__ProxyHandler.java:54)
>                   at
>         org.apache.aries.proxy.impl.__ProxyHandler.invoke(__ProxyHandler.java:119)
>                   at
>         org.apache.karaf.shell.__console.commands.$__BlueprintCommand1608310629.__execute(Unknown
>         Source)
>                   at
>         sun.reflect.__GeneratedMethodAccessor19.__invoke(Unknown Source)
>
>
>     --
>     Jean-Baptiste Onofré
>     jbonofre@apache.org <ma...@apache.org>
>     http://blog.nanthrax.net
>     Talend - http://www.talend.com
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Stange error with karaf using ssh:ssh command

Posted by Ryan Moquin <fr...@gmail.com>.
When I build Karaf from trunk, I failed on an error that is very similar to
what I'm seeing in the Cellar int tests:

[ERROR] Failed to execute goal on project org.apache.karaf.http.core: Could
not resolve dependencies for project org.apache.karaf.http:org.apache.kara
f.http.core:bundle:3.0.0-SNAPSHOT: Could not find artifact
org.ops4j.pax.web:pax-web-spi:jar:3.0.5-SNAPSHOT in apache-snapshots (
http://repository.apache.org/content/groups/snapshots-group) -> [Help 1]

that 3.0.5-SNAPSHOT version can't seem to be resolved in the int tests
either.. not sure why...


On Sat, Dec 14, 2013 at 1:10 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:

> Hi Ryan,
>
> what's your Java version ?
>
> Did you update to the latest 3.0.0-SNAPSHOT version (build locally).
>
>
> Regards
> JB
>
>
> On 12/14/2013 05:16 PM, Ryan Moquin wrote:
>
>> I'm doing some work on Apache Cellar that I wanted to contribute.  I'm
>> almost done, but when I sat down to work on finishing it the other day,
>> I've started to get a strange error from Karaf I haven't seen before.
>>   Basically, I just ran the integration tests in their current state so
>> I could see the couple errors I have left to resolve, but am now see
>> this error print many many times throughout the tests.  Does this ring a
>> bell for anyone?  Is there something I might have inadvertently changed
>> with the dependencies that could cause this?  I was looking at the maven
>> dependencies and don't see any other jars that might have the same class
>> but with a different signature for that method.  Any ideas would be
>> appreciated!!!!
>>
>> I'm going to try do some more investigating in the mean time.
>>
>> Shell command being executed:
>>
>> instance:list | grep node2 | grep -c Started
>>
>> Error:
>>
>> Exception in thread "pipe-[instance:list]" java.lang.NoSuchMethodError:
>> org.apache.karaf.shell.table.ShellTable.print(Ljava/io/PrintStream;Z)V
>>          at
>> org.apache.karaf.instance.command.ListCommand.doExecute(
>> ListCommand.java:55)
>>          at
>> org.apache.karaf.shell.console.AbstractAction.
>> execute(AbstractAction.java:33)
>>          at
>> org.apache.karaf.shell.console.OsgiCommandSupport.
>> execute(OsgiCommandSupport.java:39)
>>          at
>> org.apache.karaf.shell.commands.basic.AbstractCommand.execute(
>> AbstractCommand.java:33)
>>          at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
>>          at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> DelegatingMethodAccessorImpl.java:43)
>>          at java.lang.reflect.Method.invoke(Method.java:606)
>>          at
>> org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
>>          at
>> org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
>>          at
>> org.apache.karaf.shell.console.commands.$BlueprintCommand1608310629.
>> execute(Unknown
>> Source)
>>          at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: Stange error with karaf using ssh:ssh command

Posted by Ryan Moquin <fr...@gmail.com>.
I didn't build the latest version locally... would that fix the problem?  I
blew away all the karaf stuff in my local repo and now non of the pax stuff
can be resolved at integration test time...... I'll try building the latest
karaf and see if that helps...

Thanks!


On Sat, Dec 14, 2013 at 1:10 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:

> Hi Ryan,
>
> what's your Java version ?
>
> Did you update to the latest 3.0.0-SNAPSHOT version (build locally).
>
>
> Regards
> JB
>
>
> On 12/14/2013 05:16 PM, Ryan Moquin wrote:
>
>> I'm doing some work on Apache Cellar that I wanted to contribute.  I'm
>> almost done, but when I sat down to work on finishing it the other day,
>> I've started to get a strange error from Karaf I haven't seen before.
>>   Basically, I just ran the integration tests in their current state so
>> I could see the couple errors I have left to resolve, but am now see
>> this error print many many times throughout the tests.  Does this ring a
>> bell for anyone?  Is there something I might have inadvertently changed
>> with the dependencies that could cause this?  I was looking at the maven
>> dependencies and don't see any other jars that might have the same class
>> but with a different signature for that method.  Any ideas would be
>> appreciated!!!!
>>
>> I'm going to try do some more investigating in the mean time.
>>
>> Shell command being executed:
>>
>> instance:list | grep node2 | grep -c Started
>>
>> Error:
>>
>> Exception in thread "pipe-[instance:list]" java.lang.NoSuchMethodError:
>> org.apache.karaf.shell.table.ShellTable.print(Ljava/io/PrintStream;Z)V
>>          at
>> org.apache.karaf.instance.command.ListCommand.doExecute(
>> ListCommand.java:55)
>>          at
>> org.apache.karaf.shell.console.AbstractAction.
>> execute(AbstractAction.java:33)
>>          at
>> org.apache.karaf.shell.console.OsgiCommandSupport.
>> execute(OsgiCommandSupport.java:39)
>>          at
>> org.apache.karaf.shell.commands.basic.AbstractCommand.execute(
>> AbstractCommand.java:33)
>>          at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
>>          at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> DelegatingMethodAccessorImpl.java:43)
>>          at java.lang.reflect.Method.invoke(Method.java:606)
>>          at
>> org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
>>          at
>> org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
>>          at
>> org.apache.karaf.shell.console.commands.$BlueprintCommand1608310629.
>> execute(Unknown
>> Source)
>>          at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: Stange error with karaf using ssh:ssh command

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Ryan,

what's your Java version ?

Did you update to the latest 3.0.0-SNAPSHOT version (build locally).


Regards
JB

On 12/14/2013 05:16 PM, Ryan Moquin wrote:
> I'm doing some work on Apache Cellar that I wanted to contribute.  I'm
> almost done, but when I sat down to work on finishing it the other day,
> I've started to get a strange error from Karaf I haven't seen before.
>   Basically, I just ran the integration tests in their current state so
> I could see the couple errors I have left to resolve, but am now see
> this error print many many times throughout the tests.  Does this ring a
> bell for anyone?  Is there something I might have inadvertently changed
> with the dependencies that could cause this?  I was looking at the maven
> dependencies and don't see any other jars that might have the same class
> but with a different signature for that method.  Any ideas would be
> appreciated!!!!
>
> I'm going to try do some more investigating in the mean time.
>
> Shell command being executed:
>
> instance:list | grep node2 | grep -c Started
>
> Error:
>
> Exception in thread "pipe-[instance:list]" java.lang.NoSuchMethodError:
> org.apache.karaf.shell.table.ShellTable.print(Ljava/io/PrintStream;Z)V
>          at
> org.apache.karaf.instance.command.ListCommand.doExecute(ListCommand.java:55)
>          at
> org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
>          at
> org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
>          at
> org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)
>          at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>          at java.lang.reflect.Method.invoke(Method.java:606)
>          at
> org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
>          at
> org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
>          at
> org.apache.karaf.shell.console.commands.$BlueprintCommand1608310629.execute(Unknown
> Source)
>          at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com