You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Paulo Sergio <pa...@gmail.com> on 2009/02/08 14:38:01 UTC
Re: configuration of bundle using web console
tryed to build latest version of felix (svn trunk ) and my module with java
6 and the issue is the same... but it still working on sling 3
does anybody have a clue?
cheers,
paulo f
On Wed, Jan 28, 2009 at 6:10 AM, Paulo Sergio <pa...@gmail.com> wrote:
> hi Carsten,
> here are my META-INF and OSGI-INF contents
>
> inside the META-INF i have the manifest.mf
>
> this is the content:
>
> Manifest-Version: 1.0
> Export-Package: org.apache.felix.examples.dictionaryservice
> Private-Package: com.pauloslf.Server,com.pauloslf.Server.comma
> nds,com.pauloslf.Server.manager,com.pauloslf.Server.responses
> ,com.pauloslf.Server.state,javax.servlet,javax.servlet.http,junit
> .extensions,junit.framework,junit.runner,junit.textui,org.apache.feli
> x.bundlerepository,org.apache.felix.bundlerepository.metadataparser,o
> rg.apache.felix.bundlerepository.metadataparser.kxmlsax,org.apache.fe
> lix.examples.dictionaryservice.impl,org.apache.log4j,org.apache.log4j
> .chainsaw,org.apache.log4j.config,org.apache.log4j.helpers,org.apache
> .log4j.jdbc,org.apache.log4j.jmx,org.apache.log4j.lf5,org.apache.log4
> j.lf5.config,org.apache.log4j.lf5.util,org.apache.log4j.lf5.viewer,or
> g.apache.log4j.lf5.viewer.categoryexplorer,org.apache.log4j.lf5.viewe
> r.configure,org.apache.log4j.lf5.viewer.images,org.apache.log4j.net,o
> rg.apache.log4j.nt,org.apache.log4j.or,org.apache.log4j.or.jms,org.ap
> ache.log4j.or.sax,org.apache.log4j.spi,org.apache.log4j.varia,org.apa
> che.log4j.xml,org.apache.mina.core,org.apache.mina.core.buffer,org.ap
> ache.mina.core.file,org.apache.mina.core.filterchain,org.apache.mina.
> core.future,org.apache.mina.core.polling,org.apache.mina.core.service
> ,org.apache.mina.core.session,org.apache.mina.core.write,org.apache.m
> ina.filter.buffer,org.apache.mina.filter.codec,org.apache.mina.filter
> .codec.demux,org.apache.mina.filter.codec.prefixedstring,org.apache.m
> ina.filter.codec.serialization,org.apache.mina.filter.codec.statemach
> ine,org.apache.mina.filter.codec.textline,org.apache.mina.filter.erro
> rgenerating,org.apache.mina.filter.executor,org.apache.mina.filter.fi
> rewall,org.apache.mina.filter.keepalive,org.apache.mina.filter.loggin
> g,org.apache.mina.filter.reqres,org.apache.mina.filter.ssl,org.apache
> .mina.filter.statistic,org.apache.mina.filter.stream,org.apache.mina.
> filter.util,org.apache.mina.handler.chain,org.apache.mina.handler.dem
> ux,org.apache.mina.handler.multiton,org.apache.mina.handler.stream,or
> g.apache.mina.transport.socket,org.apache.mina.transport.socket.nio,o
> rg.apache.mina.transport.vmpipe,org.apache.mina.util,org.hamcrest,org
> .hamcrest.core,org.hamcrest.internal,org.junit,org.junit.experimental
> .results,org.junit.experimental.theories,org.junit.experimental.theor
> ies.internal,org.junit.experimental.theories.suppliers,org.junit.inte
> rnal,org.junit.internal.requests,org.junit.internal.runners,org.junit
> .matchers,org.junit.runner,org.junit.runner.manipulation,org.junit.ru
> nner.notification,org.junit.runners,org.kxml2.io,org.kxml2.kdom,org.k
> xml2.wap,org.kxml2.wap.syncml,org.kxml2.wap.wml,org.kxml2.wap.wv,org.
> osgi.service.obr;version="1.0",org.slf4j,org.slf4j.helpers,org.slf4j.
> impl,org.slf4j.spi,org.xmlpull.v1
> Bundle-ClassPath: .,mina-core-2.0.0-M3.jar,slf4j-api-1.5.6.jar,javax.s
> ervlet-1.0.0.jar,log4j-1.2.14.jar,org.apache.felix.bundlerepository-1
> .0.3.jar,slf4j-log4j12-1.5.6.jar,junit-4.4.jar,Server-1.0.0.jar
> Built-By: sergio
> Tool: Bnd-0.0.238
> Bundle-Name: tes bundle mina server
> Created-By: Apache Maven Bundle Plugin
> Bundle-Vendor: pauloslf
> Build-Jdk: 1.6.0_10
> Bundle-Version: 0.9.0.SNAPSHOT
> Bnd-LastModified: 1232652086744
> Bundle-ManifestVersion: 2
> Bundle-Activator: org.apache.felix.examples.dictionaryservice.impl.Act
> ivator
> Bundle-Description: A bundle that registersan English dictionary servi
> ce.
> Embed-Dependency: *;scope=compile|runtime;inline=false
> Import-Package: com.sun.jdmk.comm;resolution:=optional,javax.jms;resol
> ution:=optional,javax.mail;resolution:=optional,javax.mail.internet;r
> esolution:=optional,javax.management,javax.naming,javax.net.ssl,javax
> .swing,javax.swing.border,javax.swing.event,javax.swing.table,javax.s
> wing.text,javax.swing.tree,javax.xml.parsers,org.apache.felix.example
> s.dictionaryservice,org.apache.felix.shell;version="1.0",org.osgi.fra
> mework,org.osgi.service.metatype,org.w3c.dom,org.xml.sax,org.xml.sax.
> helpers
> Bundle-SymbolicName: test mina server
>
> ------------------------------------------------------------------------------------------------------------------
>
> in my OSGI-INF i have /OSGI-INF/metatype/metatype.xml
> it's content is :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <metatype:MetaData xmlns:metatype="
> http://www.osgi.org/xmlns/metatype/v1.0.0"
> localization="OSGI-INF/metatype/metatype">
> <metatype:OCD
> id="org.apache.felix.examples.dictionaryservice.impl.manager" name="asd"
> description="asdasd">
> <metatype:AD id="username" type="String" default="admin"
> name="4444" description="33"/>
> </metatype:OCD>
> <metatype:Designate
> pid="org.apache.felix.examples.dictionaryservice.impl.manager">
> <metatype:Object
> ocdref="org.apache.felix.examples.dictionaryservice.impl.manager"/>
> </metatype:Designate>
> </metatype:MetaData>
>
> does this help?
>
> thanks in advance,
> paulo f
>
>
> On Wed, Jan 28, 2009 at 1:33 PM, Carsten Ziegeler <cz...@apache.org>wrote:
>
>> Paulo Sergio wrote:
>> > sorry to keep bothering you guys..
>> >
>> > i tryed to install all the modules available on Sling (except the ones
>> > started with Sling - ) on Felix,
>> > but event after that i was not able to see the configurations of my
>> module..
>> >
>> > another issue is that on my felix instalation i can only see the
>> > configuration for the webconsole.. shouln't i have more configurations
>> > available there?
>> >
>> The console only displays:
>> - all configurations from the config admin
>> - default configurations if information for the meta type service is
>> provided
>>
>> If you have a clean installation there are usually no configurations
>> stored in the config admin. And from your bundle list only the
>> webconsole provides the meta type service information. That's why you're
>> only seeing this one in the list.
>>
>> Can you list the contents of the META-INF directory of your bundle?
>>
>> Carsten
>> --
>> Carsten Ziegeler
>> cziegeler@apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>