Thxs. Will correct my blueprint file
On Thu, Dec 8, 2011 at 11:22 AM, Guillaume Nodet <[email protected]> wrote: > The shell 1.1.0 is only available on karaf 3 iirc. > > On Thu, Dec 8, 2011 at 11:20, Charles Moulliard <[email protected]> wrote: >> Here is the info with more debug >> >> 2011-12-08 11:18:43,477 | DEBUG | l Console Thread | BlueprintExtender >> | rint.container.BlueprintExtender 256 | 9 - >> org.apache.aries.blueprint - 0.3.1 | Scanning bundle ejb-commands for >> blueprint application >> 2011-12-08 11:18:43,478 | DEBUG | l Console Thread | BlueprintExtender >> | rint.container.BlueprintExtender 307 | 9 - >> org.apache.aries.blueprint - 0.3.1 | Found blueprint application in >> bundle ejb-commands with paths: >> [bundle://215.3:0/OSGI-INF/blueprint/ejb-management.xml] >> 2011-12-08 11:18:43,492 | DEBUG | rint Extender: 3 | >> BlueprintContainerImpl | container.BlueprintContainerImpl >> 245 | 9 - org.apache.aries.blueprint - 0.3.1 | Running blueprint >> container for bundle ejb-commands in state Unknown >> 2011-12-08 11:18:43,493 | DEBUG | rint Extender: 3 | >> BlueprintEventDispatcher | ntainer.BlueprintEventDispatcher >> 123 | 9 - org.apache.aries.blueprint - 0.3.1 | Sending blueprint >> container event BlueprintEvent[type=CREATING] for bundle ejb-commands >> ... >> 2011-12-08 11:18:43,495 | DEBUG | rint Extender: 3 | >> BlueprintContainerImpl | container.BlueprintContainerImpl >> 245 | 9 - org.apache.aries.blueprint - 0.3.1 | Running blueprint >> container for bundle ejb-commands in state WaitForNamespaceHandlers >> 2011-12-08 11:18:43,495 | INFO | rint Extender: 3 | >> BlueprintContainerImpl | container.BlueprintContainerImpl >> 266 | 9 - org.apache.aries.blueprint - 0.3.1 | Bundle ejb-commands is >> waiting for namespace handlers >> 2011-12-08 11:18:43,495 | DEBUG | rint Extender: 3 | >> BlueprintEventDispatcher | ntainer.BlueprintEventDispatcher >> 123 | 9 - org.apache.aries.blueprint - 0.3.1 | Sending blueprint >> container event BlueprintEvent[type=GRACE_PERIOD, >> dependencies=[(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://karaf.apache.org/xmlns/shell/v1.1.0))]] >> for bundle ejb-commands >> 2011-12-08 11:18:53,802 | DEBUG | l Console Thread | ServiceRecipe >> | lueprint.container.ServiceRecipe 244 | 9 - >> org.apache.aries.blueprint - 0.3.1 | Retrieving service for bundle >> org.apache.karaf.shell.console [23] and service registration >> org.apache.felix.framework.ServiceRegistrationImpl@33f82290 >> 2011-12-08 11:18:53,802 | DEBUG | l Console Thread | ServiceRecipe >> | viceRecipe$TriggerServiceFactory 431 | 9 - >> org.apache.aries.blueprint - 0.3.1 | Method entry: getService, args >> org.apache.karaf.shell.console.commands.BlueprintCommand@4004198e >> 2011-12-08 11:18:53,803 | DEBUG | l Console Thread | >> BlueprintContainerImpl | container.BlueprintContainerImpl >> 717 | 9 - org.apache.aries.blueprint - 0.3.1 | Instantiating component >> shell-41 >> 2011-12-08 11:18:53,803 | DEBUG | l Console Thread | >> BlueprintContainerImpl | container.BlueprintContainerImpl >> 717 | 9 - org.apache.aries.blueprint - 0.3.1 | Instantiating component >> blueprintBundleContext >> >> >> >> On Thu, Dec 8, 2011 at 11:12 AM, Guillaume Nodet <[email protected]> wrote: >>> Please switch to debug logging and you should see which namespaces are >>> waited for. >>> >>> On Thu, Dec 8, 2011 at 10:45, Charles Moulliard <[email protected]> >>> wrote: >>>> Hi, >>>> >>>> I have created a project to deploy a new command on Apache Karaf >>>> 2.2.4. Here is the list of the bundles imported >>>> >>>> Import-Package = >>>> javax.management, >>>> javax.management.loading, >>>> org.apache.aries.blueprint;version=0.3, >>>> org.apache.felix.service.command;status=provisional;version=0.10, >>>> org.apache.karaf.shell.commands, >>>> org.apache.karaf.shell.console;version=2.2, >>>> org.osgi.service.blueprint;version="[1.0.0,2.0.0)", >>>> org.osgi.service.blueprint.container;version=1.0, >>>> org.osgi.service.blueprint.reflect;version=1.0 >>>> >>>> But I get a GracePeriod status for Blueprint >>>> >>>> [ 215] [Active ] [GracePeriod ] [ ] [ 60] OpenEJB :: OSGI >>>> :: Karaf :: EJB deploy Commands (4.0.0.beta-2-SNAPSHOT) >>>> >>>> and in the log I see this message >>>> >>>> 2011-12-08 10:41:48,913 | INFO | rint Extender: 2 | >>>> BlueprintContainerImpl | container.BlueprintContainerImpl >>>> 266 | 9 - org.apache.aries.blueprint - 0.3.1 | Bundle ejb-commands is >>>> waiting for namespace handlers >>>> >>>> Regards, >>>> >>>> Charles Moulliard >>>> >>>> Apache Committer >>>> >>>> Blog : http://cmoulliard.blogspot.com >>>> Twitter : http://twitter.com/cmoulliard >>>> Linkedin : http://www.linkedin.com/in/charlesmoulliard >>>> Skype: cmoulliard >>> >>> >>> >>> -- >>> ------------------------ >>> Guillaume Nodet >>> ------------------------ >>> Blog: http://gnodet.blogspot.com/ >>> ------------------------ >>> Open Source SOA >>> http://fusesource.com > > > > -- > ------------------------ > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > ------------------------ > Open Source SOA > http://fusesource.com
