Any new revelations?

- Joel


> -----Original Message-----
> From: Jean-Baptiste Onofré [mailto:[email protected]]
> Sent: Friday, August 17, 2012 9:50 AM
> To: [email protected]
> Subject: Re: ipojo arch on karaf
> 
> I suspect a problem around there (as Karaf already embeds and provides
> org.apache.felix.shell).
> 
> I gonna take a look later today.
> 
> I keep you posted.
> 
> Regards
> JB
> 
> On 08/17/2012 05:48 PM, Joel Schuster wrote:
> > Karaf shell does not provide the correct requirement.
> >
> > org.osgi.framework.BundleException: Unresolved constraint in bundle
> > org.apache.felix.ipojo.arch [59]: Unable to resolve 59.0: missing
> > requirement [59.0] package;
> > (&(package=org.apache.felix.shell)(version>=1.0.0))
> >
> >
> >
> > Apache Karaf :: Shell :: Development Commands (18)
> > --------------------------------------------------
> > Manifest-Version = 1.0
> > Bnd-LastModified = 1340214822528
> > Tool = Bnd-1.50.0
> > Embedded-Artifacts =
> > pax-url-mvn-1.2.8.jar;g="org.ops4j.pax.url";a="pax-url-mvn";v="1.2.8"
> > Built-By = jgoodyea
> > Embed-Dependency = pax-url-mvn
> > Build-Jdk = 1.6.0_21
> > Created-By = Apache Maven Bundle Plugin
> >
> > Bundle-Vendor = The Apache Software Foundation Bundle-Name =
> Apache
> > Karaf :: Shell :: Development Commands Bundle-DocURL =
> > http://www.apache.org/ Bundle-Description = This bundle provides Karaf
> > shell commands aim to help the developer.
> > Bundle-SymbolicName = org.apache.karaf.shell.dev Bundle-Version =
> > 2.2.8 Bundle-License = http://www.apache.org/licenses/LICENSE-2.0.txt
> > Bundle-ManifestVersion = 2
> > Bundle-ClassPath = .,pax-url-mvn-1.2.8.jar
> >
> > Import-Service =
> >     org.osgi.service.cm.ConfigurationAdmin;multiple:=false
> >
> > Import-Package =
> >     javax.net.ssl,
> >     javax.xml.parsers,
> >     org.apache.felix.gogo.commands;version="[0.10,1)",
> >
> > org.apache.felix.service.command;status=provisional;version="[0.10,1)",
> >     org.apache.karaf.shell.console;version="[2.2,3)",
> >     org.osgi.framework;version="[1.5,2)",
> >     org.osgi.service.blueprint;version="[1.0.0,2.0.0)",
> >     org.osgi.service.cm;version="[1.3,2)",
> >     org.osgi.service.packageadmin;version="[1.2,2)",
> >     org.osgi.service.url;version="[1.0,2)",
> >     org.slf4j;version="[1.6,2)",
> >     org.w3c.dom,
> >     org.xml.sax
> > Export-Package =
> >     org.apache.karaf.shell.dev;
> >             uses:="org.apache.karaf.shell.console,
> >                     org.osgi.framework,
> >                     org.apache.felix.gogo.commands,
> >                     org.osgi.service.packageadmin,
> >                     org.slf4j,
> >                     org.apache.karaf.shell.dev.framework,
> >                     org.apache.felix.service.command,
> >                     org.apache.karaf.shell.dev.util,
> >                     org.apache.karaf.shell.dev.watch";
> >             version=2.2.8,
> >     org.apache.karaf.shell.dev.util;version=2.2.8,
> >
> > org.apache.karaf.shell.dev.framework;uses:=org.apache.karaf.shell.dev.
> > util;v
> > ersion=2.2.8,
> >
> > org.apache.karaf.shell.dev.watch;uses:="org.osgi.service.packageadmin,
> > org.sl
> > f4j,org.osgi.framework,org.osgi.service.cm";version=2.2.8
> >
> >
> > - Joel
> >
> >
> >> -----Original Message-----
> >> From: Jean-Baptiste Onofré [mailto:[email protected]]
> >> Sent: Friday, August 17, 2012 9:33 AM
> >> To: [email protected]
> >> Subject: Re: ipojo arch on karaf
> >>
> >> Could you try without installing felix.shell (already provided by
> >> Karaf
> >> shell) ?
> >>
> >> Regards
> >> JB
> >>
> >> On 08/17/2012 05:30 PM, Joel Schuster wrote:
> >>> Just tried it on Karaf 2.2.8, fresh install. No arch command.
> >>>
> >>>> osgi:install -s mvn:org.apache.felix/org.apache.felix.shell/1.4.3
> >>>> osgi:install -s mvn:org.apache.felix/org.apache.felix.ipojo/1.8.0
> >>>> osgi:install -s
> >>>> mvn:org.apache.felix/org.apache.felix.ipojo.arch/1.6.0
> >>>
> >>> karaf@root> Display all 225 possibilities? (y or n)
> >>> *:help                           addurl
> >>> admin:change-opts                admin:change-rmi-registry-port
> >>> admin:change-rmi-server-port
> >>> admin:change-ssh-port            admin:connect
> >>> admin:create                     admin:destroy
> > admin:list
> >>>
> >>> admin:rename                     admin:start
> > admin:stop
> >>> bundle-level                     bundle:headers
> >>> bundle:info                      bundle:install
> >>> bundle:list                      bundle:refresh
> >>> bundle:resolve
> >>> bundle:restart                   bundle:start
> >>> bundle:start-level               bundle:stop
> >>> bundle:uninstall
> >>> bundle:update                    cancel                           cat
> >>> change-opts                      change-rmi-registry-port
> >>> change-rmi-server-port           change-ssh-port
> > chooseurl
> >>> cl                               clear
> >>> command-watch                    config:cancel
> >>> config:delete                    config:edit
> >>> config:list
> >>> config:propappend                config:propdel
> >>> config:proplist                  config:propset
> >>> config:update
> >>> connect                          create
> >>> create-dump                      delete
> > destroy
> >>>
> >>> dev:create-dump                  dev:dynamic-import
> >>> dev:framework                    dev:print-stack-traces
> >>> dev:restart
> >>> dev:show-tree                    dev:watch
> > display
> >>> display-exception                dynamic-import
> >>> each                             echo                             edit
> >>> exec                             exports
> >>> feature:add-url                  feature:info
> >>> feature:install                  feature:list
> >>> feature:list-repository
> >>> feature:list-url                 feature:list-version
> >>> feature:refresh-url              feature:remove-repository
> >>> feature:remove-url
> >>> feature:uninstall                features:addurl
> >>> features:chooseurl               features:info
> >>> features:install
> >>> features:list                    features:listrepositories
> >>> features:listurl                 features:listversions
> >>> features:refreshurl
> >>> features:removerepository        features:removeurl
> >>> features:uninstall               framework                        get
> >>>
> >>> grep                             head
> > headers
> >>> help                             history
> >>> if                               imports                          info
> >>> install                          jaas:cancel
> >>> jaas:manage                      jaas:pending
> >>> jaas:realms                      jaas:roleadd
> >>> jaas:roledel
> >>> jaas:update                      jaas:useradd
> >>> jaas:userdel                     jaas:users                       java
> >>>
> >>> la                               ld                               lde
> >>> list                             listrepositories
> >>> listurl                          listversions
> > log:clear
> >>> log:display                      log:display-exception
> >>> log:get                          log:set
> > log:tail
> >>> logout                           ls
> >>> man                              manage                           more
> >>> new                              osgi:bundle-level
> >>> osgi:headers                     osgi:info
> >>> osgi:install                     osgi:list
> > osgi:ls
> >>>
> >>> osgi:refresh                     osgi:resolve
> >>> osgi:restart                     osgi:shutdown
> > osgi:start
> >>>
> >>> osgi:start-level                 osgi:stop
> >>> osgi:uninstall                   osgi:update
> >>> package:export
> >>> package:import                   packages:exports
> >>> packages:imports                 pending
> >>> print-stack-traces
> >>> printf                           propappend
> > propdel
> >>> proplist                         propset
> >>> realms                           refresh
> > refreshurl
> >>> removerepository                 removeurl
> >>> rename                           resolve
> > restart
> >>> roleadd                          roledel
> >>> service:list                     set
> > shell:cat
> >>> shell:clear                      shell:command-watch
> >>> shell:each                       shell:echo
> > shell:exec
> >>> shell:grep                       shell:head
> >>> shell:history                    shell:if
> > shell:info
> >>> shell:java                       shell:logout
> >>> shell:more                       shell:new
> >>> shell:printf                     shell:sleep
> > shell:sort
> >>>
> >>> shell:source                     shell:tac
> > shell:tail
> >>> show-tree                        shutdown
> >>> sleep                            sort
source
> >>> ssh                              ssh:ssh
> >>> ssh:sshd                         sshd
start
> >>> start-level                      stop
> >>> system:shutdown                  system:start-level               tac
> >>> tail                             uninstall
> >>> update                           useradd
> > userdel
> >>> users                            watch
> >>>
> >>>
> >>> - Joel
> >>>
> >>>> -----Original Message-----
> >>>> From: Jean-Baptiste Onofré [mailto:[email protected]]
> >>>> Sent: Friday, August 17, 2012 9:04 AM
> >>>> To: [email protected]
> >>>> Subject: Re: ipojo arch on karaf
> >>>>
> >>>> Hi Joel,
> >>>>
> >>>> It should work out of the box. I gonna make a try with Karaf 2.2.8.
> >>>>
> >>>> Regards
> >>>> JB
> >>>>
> >>>> On 08/17/2012 04:48 PM, Joel Schuster wrote:
> >>>>> I’m just wondering what I’m missing to get iPojo’s Arch command to
> >>>>> work on Karaf 2.2.2.
> >>>>>
> >>>>>    > osgi:install -s
> >>>>> mvn:org.apache.felix/org.apache.felix.shell/1.4.3
> >>>>>
> >>>>>    > osgi:install -s
> >>>>> mvn:org.apache.felix/org.apache.felix.ipojo.arch/1.6.0
> >>>>>
> >>>>> In my environment all dependencies are resolved but there are no
> > ‘arch’
> >>>>> or ‘ipojo:arch’ commands.
> >>>>>
> >>>>> The gogo variant of the ipojo arch command doesn’t work on karaf
> >>>>> unless I uninstall the karaf shell and replace it with the gogo
> >>>>> one… which has it’s own set of problems.
> >>>>>
> >>>>> - Joel
> >>>>>
> >>>>
> >>>> --
> >>>> Jean-Baptiste Onofré
> >>>> [email protected]
> >>>> http://blog.nanthrax.net
> >>>> Talend - http://www.talend.com
> >>
> >> --
> >> Jean-Baptiste Onofré
> >> [email protected]
> >> http://blog.nanthrax.net
> >> Talend - http://www.talend.com
> 
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to