Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Automatically executing OSGI bundles commands(For maintenance purpose...)
Automatically executing OSGI bundles commands [message #1337019] Tue, 06 May 2014 17:31 Go to next message
Laurent Le Moux is currently offline Laurent Le Moux
Messages: 153
Registered: September 2011
Senior Member
Hi all,

I would like to automatically execute OSGI and bundles commands for maintenance purpose.
In my case, stop a CDO server to perform a repository backup and restart.

So far, I added osgi.console=5555 in configuration/config.ini and felix gogo bundles.
I get Telnet access with PuTTY and can MANUALLY issue my commands.

I then tried its command line interface :
Plink -telnet -P 5555 -batch localhost ss

I get the OSGI prompt but, apparently, the ss command is not executed as I don't get anything displayed.

Can somebody tell me what's wrong or if there's a more appropriate way to achieve what I want ?

Kind regards,

Laurent
Re: Automatically executing OSGI bundles commands [message #1343419 is a reply to message #1337019] Fri, 09 May 2014 09:27 Go to previous message
Laurent Le Moux is currently offline Laurent Le Moux
Messages: 153
Registered: September 2011
Senior Member
Hi again,

I finally implemented a basic remote OSGI command runner based on Apache Commons Net library (see attached file for anyone interested).

Regards,

Laurent
Previous Topic:Problem with the -ws argument on Mac OS
Next Topic:RCP product per command line
Goto Forum:
  


Current Time: Fri Sep 19 04:01:38 GMT 2014

Powered by FUDForum. Page generated in 0.01620 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software