Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [virgo-dev] Virgo console shows multiple instances of declarative services commands

I'll take care of this. I'm also raising a bug on the DS side that requests improved supportability for multiple regions as we discussed with Glyn some time ago.

I'll link the DS bug with this one.

Best Regards
Borislav


On Mar 28, 2011, at 12:04 PM, Hristo Iliev wrote:

Bug 341072 created

Regards,
Hristo Iliev

On 28 March 2011 11:15, Glyn Normington <gnormington@xxxxxxxxxx> wrote:
Please would someone log a bug?

Regards,
Glyn

On 27 Mar 2011, at 22:57, Hristo Iliev wrote:

Hi,

There are two DS bundles (kernel and user region). This is possible with the property org.osgi.framework.bsnversion=multiple.

Having both command groups seems ok since we have 2 regions.  On the other side there is no way to specify which group to execute, so we should think of a way to improve the situation.

Regards,
Hristo Iliev

On 25 March 2011 18:18, Dmitry Sklyut <dmitry@xxxxxxxxxxx> wrote:
Hi,

I noticed today that there are multiple instances of command for
declarative services in osgi console.  Not sure how and why that is.

Regards,
Dmitry

See bellow.  ---Service Component Runtime--- is repeated twice.

osgi> help
---Controlling the OSGi framework---
       launch - start the OSGi Framework
       shutdown - shutdown the OSGi Framework
       close - shutdown and exit
       exit - exit immediately (System.exit)
       init - uninstall all bundles
       setprop <key>=<value> - set the OSGi property
---Controlling Bundles---
       install - install and optionally start bundle from the given URL
       uninstall - uninstall the specified bundle(s)
       start - start the specified bundle(s)
       stop - stop the specified bundle(s)
       refresh - refresh the packages of the specified bundles
       update - update the specified bundle(s)
---Displaying Status---
       status [-s [<comma separated list of bundle states>]  [<segment of
bsn>]] - display installed bundles and registered services
       ss [-s [<comma separated list of bundle states>]  [<segment of bsn>]]
- display installed bundles (short status)
       services [filter] - display registered service details
       packages [<pkgname>|<id>|<location>] - display imported/exported
package details
       bundles [-s [<comma separated list of bundle states>]  [<segment of
bsn>]] - display details for all installed bundles
       bundle (<id>|<location>) - display details for the specified bundle(s)
       headers (<id>|<location>) - print bundle headers
---Extras---
       exec <command> - execute a command in a separate process and wait
       fork <command> - execute a command in a separate process
       gc - perform a garbage collection
       getprop  [ name ] - displays the system properties with the given
name, or all of them.
---Controlling Start Level---
       sl [<id>|<location>] - display the start level for the specified
bundle, or for the framework if no bundle specified
       setfwsl <start level> - set the framework start level
       setbsl <start level> (<id>|<location>) - set the start level for the bundle(s)
       setibsl <start level> - set the initial bundle start level
---Controlling the Profiling---
       profilelog - Display & flush the profile log messages
---Eclipse Runtime commands---
       diag - Displays unsatisfied constraints for the specified bundle(s).
       enableBundle - enable the specified bundle(s)
       disableBundle - disable the specified bundle(s)
       disabledBundles - list disabled bundles in the system
---Service Component Runtime---
       list/ls [-c] [bundle id] - Lists all components; add -c to display
the complete info for each component;
                       use [bundle id] to list the components of the specified bundle
       component/comp <component id> - Prints all available information
about the specified component;
                       <component id> - The ID of the component as displayed by the list command
       enable/en <component id> - Enables the specified component;
                       <component id> - The ID of the component as displayed by the list command
       disable/dis <component id> - Disables the specified component;
                       <component id> - The ID of the component as displayed by the list command
       enableAll/enAll [bundle id] - Enables all components; use [bundle id]
to enable all components of the specified bundle
       disableAll/disAll [bundle id] - Disables all components; use [bundle
id] to disable all components of the specified bundle
---Service Component Runtime---
       list/ls [-c] [bundle id] - Lists all components; add -c to display
the complete info for each component;
                       use [bundle id] to list the components of the specified bundle
       component/comp <component id> - Prints all available information
about the specified component;
                       <component id> - The ID of the component as displayed by the list command
       enable/en <component id> - Enables the specified component;
                       <component id> - The ID of the component as displayed by the list command
       disable/dis <component id> - Disables the specified component;
                       <component id> - The ID of the component as displayed by the list command
       enableAll/enAll [bundle id] - Enables all components; use [bundle id]
to enable all components of the specified bundle
       disableAll/disAll [bundle id] - Disables all components; use [bundle
id] to disable all components of the specified bundle
---Classloading Commands---
       clhas <class name> - lists all bundles that contain a class with the
specified name.
       clload <class name> [<bundle id> | <bundle name>]- lists all bundles
that can load a class or tries to load the class with specified
bundle.
       clexport <class name> - lists all bundles that export a class with
the specified name.
       vsh - Virgo shell commands; 'vsh help' to list available commands
---Controlling the Console---
       more - More prompt for console output
       disconnect - Disconnects from telnet session
_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/virgo-dev

_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/virgo-dev


_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/virgo-dev


_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/virgo-dev


Back to the top