You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Charles Moulliard <cm...@gmail.com> on 2010/07/16 12:57:46 UTC

Point to clarify concerning users guide of karaf - http://karaf.apache.org/42-remote-console.html

Hi,

This part of the users guide of Karaf is not clear enough and probably
wrong.

http://karaf.apache.org/42-remote-console.html - Using another Karaf
instance

Point A

I have followed what is described in the section
1) start karaf server --> bin/karaf server
2) next create a new karaf instance --> admin:create client
3) go to the directory of this 'client' instance and launch the command
      a) instance/client/bin/karaf client (ok that works)
      b) but the command --> 'instance/client/bin/karaf client remote rsh
tcp://localhost:8101/ -u karaf -p karaf' starts the client and not a console
connected to the server (= port 8101)

Point B

The command 'remote ssh' or 'remote' as presented in the text/users guide
are not part of Karaf command.

Can someone update this part of the manual (remove also servicemix/smx text)
to clarify ?

Kind regards,

Charles Moulliard

Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel - ServiceMix Committer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Blog : http://cmoulliard.blogspot.com |  Twitter :
http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard

Re: Point to clarify concerning users guide of karaf - http://karaf.apache.org/42-remote-console.html

Posted by Charles Moulliard <cm...@gmail.com>.
I change the port number but get a new error now :

https://issues.apache.org/jira/browse/KARAF-126


On Fri, Jul 16, 2010 at 2:33 PM, Guillaume Nodet <gn...@gmail.com> wrote:

> I meant 8101
>
> On Fri, Jul 16, 2010 at 14:31, Guillaume Nodet <gn...@gmail.com> wrote:
> > The default port is 8181 not 8081
> >
> > On Fri, Jul 16, 2010 at 14:20, Charles Moulliard <cm...@gmail.com>
> wrote:
> >> The  syntax is not correct, I will change the wiki page
> >>
> >> Bad :
> >>
> >> karaf@client> ssh:ssh tcp://localhost:8101/ -u karaf -p karaf
> >> Error executing command: Too many arguments specified
> >> karaf@client> ssh:ssh tcp://localhost:8101/ -l karaf -p karaf
> >> Error executing command: Too many arguments specified
> >>
> >> Good :
> >>
> >> karaf@client> ssh:ssh -l karaf -p karaf -p 8081 localhost
> >>
> >>
> >> BTW, I cannot connect to the server :
> >>
> >> karaf@client> ssh:ssh -l karaf -p karaf -p 8081 localhost
> >> Connecting to host localhost on port 8081
> >> Password: Error executing command: Failed to get the session.
> >> karaf@client>
> >>
> >>
> >>
> >> On Fri, Jul 16, 2010 at 1:59 PM, Guillaume Nodet <gn...@gmail.com>
> wrote:
> >>
> >>> Done
> >>>
> >>> On Fri, Jul 16, 2010 at 12:57, Charles Moulliard <cmoulliard@gmail.com
> >
> >>> wrote:
> >>> > Hi,
> >>> >
> >>> > This part of the users guide of Karaf is not clear enough and
> probably
> >>> > wrong.
> >>> >
> >>> > http://karaf.apache.org/42-remote-console.html - Using another Karaf
> >>> > instance
> >>> >
> >>> > Point A
> >>> >
> >>> > I have followed what is described in the section
> >>> > 1) start karaf server --> bin/karaf server
> >>> > 2) next create a new karaf instance --> admin:create client
> >>> > 3) go to the directory of this 'client' instance and launch the
> command
> >>> >      a) instance/client/bin/karaf client (ok that works)
> >>> >      b) but the command --> 'instance/client/bin/karaf client remote
> rsh
> >>> > tcp://localhost:8101/ -u karaf -p karaf' starts the client and not a
> >>> console
> >>> > connected to the server (= port 8101)
> >>> >
> >>> > Point B
> >>> >
> >>> > The command 'remote ssh' or 'remote' as presented in the text/users
> guide
> >>> > are not part of Karaf command.
> >>> >
> >>> > Can someone update this part of the manual (remove also
> servicemix/smx
> >>> text)
> >>> > to clarify ?
> >>> >
> >>> > Kind regards,
> >>> >
> >>> > Charles Moulliard
> >>> >
> >>> > Senior Enterprise Architect (J2EE, .NET, SOA)
> >>> > Apache Camel - ServiceMix Committer
> >>> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >>> > Blog : http://cmoulliard.blogspot.com |  Twitter :
> >>> > http://twitter.com/cmoulliard
> >>> > Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype:
> >>> cmoulliard
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> Cheers,
> >>> Guillaume Nodet
> >>> ------------------------
> >>> Blog: http://gnodet.blogspot.com/
> >>> ------------------------
> >>> Open Source SOA
> >>> http://fusesource.com
> >>>
> >>
> >
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> > ------------------------
> > Open Source SOA
> > http://fusesource.com
> >
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>

Re: Point to clarify concerning users guide of karaf - http://karaf.apache.org/42-remote-console.html

Posted by Guillaume Nodet <gn...@gmail.com>.
I meant 8101

On Fri, Jul 16, 2010 at 14:31, Guillaume Nodet <gn...@gmail.com> wrote:
> The default port is 8181 not 8081
>
> On Fri, Jul 16, 2010 at 14:20, Charles Moulliard <cm...@gmail.com> wrote:
>> The  syntax is not correct, I will change the wiki page
>>
>> Bad :
>>
>> karaf@client> ssh:ssh tcp://localhost:8101/ -u karaf -p karaf
>> Error executing command: Too many arguments specified
>> karaf@client> ssh:ssh tcp://localhost:8101/ -l karaf -p karaf
>> Error executing command: Too many arguments specified
>>
>> Good :
>>
>> karaf@client> ssh:ssh -l karaf -p karaf -p 8081 localhost
>>
>>
>> BTW, I cannot connect to the server :
>>
>> karaf@client> ssh:ssh -l karaf -p karaf -p 8081 localhost
>> Connecting to host localhost on port 8081
>> Password: Error executing command: Failed to get the session.
>> karaf@client>
>>
>>
>>
>> On Fri, Jul 16, 2010 at 1:59 PM, Guillaume Nodet <gn...@gmail.com> wrote:
>>
>>> Done
>>>
>>> On Fri, Jul 16, 2010 at 12:57, Charles Moulliard <cm...@gmail.com>
>>> wrote:
>>> > Hi,
>>> >
>>> > This part of the users guide of Karaf is not clear enough and probably
>>> > wrong.
>>> >
>>> > http://karaf.apache.org/42-remote-console.html - Using another Karaf
>>> > instance
>>> >
>>> > Point A
>>> >
>>> > I have followed what is described in the section
>>> > 1) start karaf server --> bin/karaf server
>>> > 2) next create a new karaf instance --> admin:create client
>>> > 3) go to the directory of this 'client' instance and launch the command
>>> >      a) instance/client/bin/karaf client (ok that works)
>>> >      b) but the command --> 'instance/client/bin/karaf client remote rsh
>>> > tcp://localhost:8101/ -u karaf -p karaf' starts the client and not a
>>> console
>>> > connected to the server (= port 8101)
>>> >
>>> > Point B
>>> >
>>> > The command 'remote ssh' or 'remote' as presented in the text/users guide
>>> > are not part of Karaf command.
>>> >
>>> > Can someone update this part of the manual (remove also servicemix/smx
>>> text)
>>> > to clarify ?
>>> >
>>> > Kind regards,
>>> >
>>> > Charles Moulliard
>>> >
>>> > Senior Enterprise Architect (J2EE, .NET, SOA)
>>> > Apache Camel - ServiceMix Committer
>>> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> > Blog : http://cmoulliard.blogspot.com |  Twitter :
>>> > http://twitter.com/cmoulliard
>>> > Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype:
>>> cmoulliard
>>> >
>>>
>>>
>>>
>>> --
>>> Cheers,
>>> Guillaume Nodet
>>> ------------------------
>>> Blog: http://gnodet.blogspot.com/
>>> ------------------------
>>> Open Source SOA
>>> http://fusesource.com
>>>
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: Point to clarify concerning users guide of karaf - http://karaf.apache.org/42-remote-console.html

Posted by Guillaume Nodet <gn...@gmail.com>.
The default port is 8181 not 8081

On Fri, Jul 16, 2010 at 14:20, Charles Moulliard <cm...@gmail.com> wrote:
> The  syntax is not correct, I will change the wiki page
>
> Bad :
>
> karaf@client> ssh:ssh tcp://localhost:8101/ -u karaf -p karaf
> Error executing command: Too many arguments specified
> karaf@client> ssh:ssh tcp://localhost:8101/ -l karaf -p karaf
> Error executing command: Too many arguments specified
>
> Good :
>
> karaf@client> ssh:ssh -l karaf -p karaf -p 8081 localhost
>
>
> BTW, I cannot connect to the server :
>
> karaf@client> ssh:ssh -l karaf -p karaf -p 8081 localhost
> Connecting to host localhost on port 8081
> Password: Error executing command: Failed to get the session.
> karaf@client>
>
>
>
> On Fri, Jul 16, 2010 at 1:59 PM, Guillaume Nodet <gn...@gmail.com> wrote:
>
>> Done
>>
>> On Fri, Jul 16, 2010 at 12:57, Charles Moulliard <cm...@gmail.com>
>> wrote:
>> > Hi,
>> >
>> > This part of the users guide of Karaf is not clear enough and probably
>> > wrong.
>> >
>> > http://karaf.apache.org/42-remote-console.html - Using another Karaf
>> > instance
>> >
>> > Point A
>> >
>> > I have followed what is described in the section
>> > 1) start karaf server --> bin/karaf server
>> > 2) next create a new karaf instance --> admin:create client
>> > 3) go to the directory of this 'client' instance and launch the command
>> >      a) instance/client/bin/karaf client (ok that works)
>> >      b) but the command --> 'instance/client/bin/karaf client remote rsh
>> > tcp://localhost:8101/ -u karaf -p karaf' starts the client and not a
>> console
>> > connected to the server (= port 8101)
>> >
>> > Point B
>> >
>> > The command 'remote ssh' or 'remote' as presented in the text/users guide
>> > are not part of Karaf command.
>> >
>> > Can someone update this part of the manual (remove also servicemix/smx
>> text)
>> > to clarify ?
>> >
>> > Kind regards,
>> >
>> > Charles Moulliard
>> >
>> > Senior Enterprise Architect (J2EE, .NET, SOA)
>> > Apache Camel - ServiceMix Committer
>> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> > Blog : http://cmoulliard.blogspot.com |  Twitter :
>> > http://twitter.com/cmoulliard
>> > Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype:
>> cmoulliard
>> >
>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: Point to clarify concerning users guide of karaf - http://karaf.apache.org/42-remote-console.html

Posted by Charles Moulliard <cm...@gmail.com>.
The  syntax is not correct, I will change the wiki page

Bad :

karaf@client> ssh:ssh tcp://localhost:8101/ -u karaf -p karaf
Error executing command: Too many arguments specified
karaf@client> ssh:ssh tcp://localhost:8101/ -l karaf -p karaf
Error executing command: Too many arguments specified

Good :

karaf@client> ssh:ssh -l karaf -p karaf -p 8081 localhost


BTW, I cannot connect to the server :

karaf@client> ssh:ssh -l karaf -p karaf -p 8081 localhost
Connecting to host localhost on port 8081
Password: Error executing command: Failed to get the session.
karaf@client>



On Fri, Jul 16, 2010 at 1:59 PM, Guillaume Nodet <gn...@gmail.com> wrote:

> Done
>
> On Fri, Jul 16, 2010 at 12:57, Charles Moulliard <cm...@gmail.com>
> wrote:
> > Hi,
> >
> > This part of the users guide of Karaf is not clear enough and probably
> > wrong.
> >
> > http://karaf.apache.org/42-remote-console.html - Using another Karaf
> > instance
> >
> > Point A
> >
> > I have followed what is described in the section
> > 1) start karaf server --> bin/karaf server
> > 2) next create a new karaf instance --> admin:create client
> > 3) go to the directory of this 'client' instance and launch the command
> >      a) instance/client/bin/karaf client (ok that works)
> >      b) but the command --> 'instance/client/bin/karaf client remote rsh
> > tcp://localhost:8101/ -u karaf -p karaf' starts the client and not a
> console
> > connected to the server (= port 8101)
> >
> > Point B
> >
> > The command 'remote ssh' or 'remote' as presented in the text/users guide
> > are not part of Karaf command.
> >
> > Can someone update this part of the manual (remove also servicemix/smx
> text)
> > to clarify ?
> >
> > Kind regards,
> >
> > Charles Moulliard
> >
> > Senior Enterprise Architect (J2EE, .NET, SOA)
> > Apache Camel - ServiceMix Committer
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Blog : http://cmoulliard.blogspot.com |  Twitter :
> > http://twitter.com/cmoulliard
> > Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype:
> cmoulliard
> >
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>

Re: Point to clarify concerning users guide of karaf - http://karaf.apache.org/42-remote-console.html

Posted by Charles Moulliard <cm...@gmail.com>.
Thx

On Fri, Jul 16, 2010 at 1:59 PM, Guillaume Nodet <gn...@gmail.com> wrote:

> Done
>
> On Fri, Jul 16, 2010 at 12:57, Charles Moulliard <cm...@gmail.com>
> wrote:
> > Hi,
> >
> > This part of the users guide of Karaf is not clear enough and probably
> > wrong.
> >
> > http://karaf.apache.org/42-remote-console.html - Using another Karaf
> > instance
> >
> > Point A
> >
> > I have followed what is described in the section
> > 1) start karaf server --> bin/karaf server
> > 2) next create a new karaf instance --> admin:create client
> > 3) go to the directory of this 'client' instance and launch the command
> >      a) instance/client/bin/karaf client (ok that works)
> >      b) but the command --> 'instance/client/bin/karaf client remote rsh
> > tcp://localhost:8101/ -u karaf -p karaf' starts the client and not a
> console
> > connected to the server (= port 8101)
> >
> > Point B
> >
> > The command 'remote ssh' or 'remote' as presented in the text/users guide
> > are not part of Karaf command.
> >
> > Can someone update this part of the manual (remove also servicemix/smx
> text)
> > to clarify ?
> >
> > Kind regards,
> >
> > Charles Moulliard
> >
> > Senior Enterprise Architect (J2EE, .NET, SOA)
> > Apache Camel - ServiceMix Committer
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Blog : http://cmoulliard.blogspot.com |  Twitter :
> > http://twitter.com/cmoulliard
> > Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype:
> cmoulliard
> >
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>

Re: Point to clarify concerning users guide of karaf - http://karaf.apache.org/42-remote-console.html

Posted by Guillaume Nodet <gn...@gmail.com>.
Done

On Fri, Jul 16, 2010 at 12:57, Charles Moulliard <cm...@gmail.com> wrote:
> Hi,
>
> This part of the users guide of Karaf is not clear enough and probably
> wrong.
>
> http://karaf.apache.org/42-remote-console.html - Using another Karaf
> instance
>
> Point A
>
> I have followed what is described in the section
> 1) start karaf server --> bin/karaf server
> 2) next create a new karaf instance --> admin:create client
> 3) go to the directory of this 'client' instance and launch the command
>      a) instance/client/bin/karaf client (ok that works)
>      b) but the command --> 'instance/client/bin/karaf client remote rsh
> tcp://localhost:8101/ -u karaf -p karaf' starts the client and not a console
> connected to the server (= port 8101)
>
> Point B
>
> The command 'remote ssh' or 'remote' as presented in the text/users guide
> are not part of Karaf command.
>
> Can someone update this part of the manual (remove also servicemix/smx text)
> to clarify ?
>
> Kind regards,
>
> Charles Moulliard
>
> Senior Enterprise Architect (J2EE, .NET, SOA)
> Apache Camel - ServiceMix Committer
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Blog : http://cmoulliard.blogspot.com |  Twitter :
> http://twitter.com/cmoulliard
> Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com