Hi,
That is really fast turnaround :)
Glad I could help,
Hubert.
On Fri, Dec 19, 2008 at 5:54 AM, Jeanfrancois Arcand <
Jeanfrancois.Arcand_at_sun.com> wrote:
> Salut Hubert,
>
> Hubert Iwaniuk wrote:
>
>> Hi Jeanfrancois,
>> I've created sample project using Grizzly within OSGi.
>> Please take a look at it here:
>> http://github.com/neotyk/grizzly-usedotosgi/tree/master
>>
>> I've tried:
>> mvn clean install pax:provision
>> and it failed.
>>
>
> Many many thanks for the test case. I've proposed a fix here:
>
>
> http://www.nabble.com/-HEADS-UP--OSGi-support%3A-mandatory-changes-td21085816.html
>
> to fix our split package. With the fix applied, it works:
>
> [INFO] Installing
>> /home/jfarcand/workspace/grizzly/trunk.refacto-split/contribs/osgi/runner/deploy-pom.xml
>> to
>> /home/jfarcand/.m2/repository/net/kungfoo/grizzly/sample/usedotosgi/build/deployment/0.1-SNAPSHOT/deployment-0.1-SNAPSHOT.pom
>> ______ ________ __ __
>> / __ / / __ / / / / /
>> / ___/ / __ / _\ \ _/
>> / / / / / / / _\ \
>> /__/ /__/ /__/ /_/ /_/
>>
>> Pax Runner (0.16.0) from OPS4J - http://www.ops4j.org
>> -----------------------------------------------------
>>
>> -> Using config [classpath:META-INF/runner.properties]
>> -> Using only arguments from command line
>> -> Provision from
>> [/home/jfarcand/workspace/grizzly/trunk.refacto-split/contribs/osgi/runner/deploy-pom.xml]
>> -> Provision from
>> [scan-pom:file:/home/jfarcand/workspace/grizzly/trunk.refacto-split/contribs/osgi/runner/deploy-pom.xml]
>> -> Using property [pax.version=1.4]
>> -> Using property [grizzly.version=1.9.3-SNAPSHOT]
>> -> Using property [felix.version=1.4.3]
>> -> Installing bundle
>> [{location=mvn:net.kungfoo.grizzly.sample/usedotosgi/0.1-SNAPSHOT,startlevel=null,shouldStart=true,shouldUpdate=false}]
>> -> Installing bundle
>> [{location=mvn:com.sun.grizzly/grizzly-http/1.9.3-SNAPSHOT,startlevel=null,shouldStart=true,shouldUpdate=false}]
>> -> Installing bundle
>> [{location=mvn:com.sun.grizzly/grizzly-http-utils/1.9.3-SNAPSHOT,startlevel=null,shouldStart=true,shouldUpdate=false}]
>> -> Installing bundle
>> [{location=mvn:com.sun.grizzly/grizzly-framework/1.9.3-SNAPSHOT,startlevel=null,shouldStart=true,shouldUpdate=false}]
>> -> Installing bundle
>> [{location=mvn:com.sun.grizzly/grizzly-portunif/1.9.3-SNAPSHOT,startlevel=null,shouldStart=true,shouldUpdate=false}]
>> -> Installing bundle
>> [{location=mvn:com.sun.grizzly/grizzly-rcm/1.9.3-SNAPSHOT,startlevel=null,shouldStart=true,shouldUpdate=false}]
>> -> Using default executor
>> -> Downloading bundles...
>> -> mvn:net.kungfoo.grizzly.sample/usedotosgi/0.1-SNAPSHOT : 4815 bytes @
>> [ 1203kBps ]
>> -> mvn:com.sun.grizzly/grizzly-http/1.9.3-SNAPSHOT : 317097 bytes @ [
>> 13212kBps ]
>> -> mvn:com.sun.grizzly/grizzly-http-utils/1.9.3-SNAPSHOT : 283008 bytes @
>> [ 31445kBps ]
>> -> mvn:com.sun.grizzly/grizzly-framework/1.9.3-SNAPSHOT : 277787 bytes @
>> [ 9920kBps ]
>> -> mvn:com.sun.grizzly/grizzly-portunif/1.9.3-SNAPSHOT : 17288 bytes @ [
>> 17288kBps ]
>> -> mvn:com.sun.grizzly/grizzly-rcm/1.9.3-SNAPSHOT : 8844 bytes @ [
>> 8844kBps ]
>> -> Execution environment [J2SE-1.6]
>> -> Starting platform [Felix 1.4.0]. Runner has successfully finished his
>> job!
>>
>> Welcome to Felix.
>> =================
>>
>> -> staring sample bundle
>> 18-Dec-2008 11:28:45 PM com.sun.grizzly.tcp.StaticResourcesAdapter <init>
>> INFO: Send-file enabled:false
>> 18-Dec-2008 11:28:45 PM com.sun.grizzly.tcp.StaticResourcesAdapter <init>
>> INFO: Send-file enabled:false
>> stared sample bundle
>>
>
> I will wait for feedback from the community on the proposal and then commit
> the fix, hopefully Friday 19.
>
> Thanks!!!
>
> -- Jeanfrancois
>
>
>
>
>> I think error is because multiple bundles export same page
>> (com.sun.grizzly.util).
>>
>> Thanks,
>> Hubert.
>>
>> On Thu, Dec 18, 2008 at 3:29 PM, Jeanfrancois Arcand <
>> Jeanfrancois.Arcand_at_sun.com <mailto:Jeanfrancois.Arcand_at_sun.com>> wrote:
>>
>> Thanks Hubert. I will also try to improve this on my side.
>>
>> Thanks again.
>>
>> -- Jeanfrancois
>>
>> Hubert Iwaniuk wrote:
>>
>> Hi,
>> If I'll find time today, I'll create sample project for this
>> issue. If not today it will be next week.
>>
>> Cheers,
>> Hubert.
>>
>> On Thu, Dec 18, 2008 at 3:28 AM, Jeanfrancois Arcand
>> <Jeanfrancois.Arcand_at_sun.com
>> <mailto:Jeanfrancois.Arcand_at_sun.com>
>> <mailto:Jeanfrancois.Arcand_at_sun.com
>> <mailto:Jeanfrancois.Arcand_at_sun.com>>> wrote:
>>
>> Salut,
>>
>>
>> Hubert Iwaniuk wrote:
>>
>> Hi,
>>
>> I checked out your changes, build grizzly changed my
>> dependency
>> to use 1.9.2-SNAPSHOT, got same error.
>> Removed commons-logging deps, included explicitly all
>> grizzly
>> dependencies and got another error (attached).
>>
>>
>> Hum....can you decribe how to reproduce the issue?
>>
>> A+
>>
>> -- jeanfrancois
>>
>>
>> HTH,
>> Hubert.
>>
>>
>> On Tue, Dec 16, 2008 at 8:35 PM, Jeanfrancois Arcand
>> <Jeanfrancois.Arcand_at_sun.com
>> <mailto:Jeanfrancois.Arcand_at_sun.com>
>> <mailto:Jeanfrancois.Arcand_at_sun.com
>> <mailto:Jeanfrancois.Arcand_at_sun.com>>
>> <mailto:Jeanfrancois.Arcand_at_sun.com
>> <mailto:Jeanfrancois.Arcand_at_sun.com>
>> <mailto:Jeanfrancois.Arcand_at_sun.com
>> <mailto:Jeanfrancois.Arcand_at_sun.com>>>> wrote:
>>
>> Salut,
>>
>> I've fixed the OSGI missing meta data. If you have a
>> chance,
>> can you
>> try it?
>>
>> https://grizzly.dev.java.net/issues/show_bug.cgi?id=354
>>
>> Thanks!!!
>>
>> -- Jeanfrancois
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> <mailto:dev-unsubscribe_at_grizzly.dev.java.net>
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>> <mailto:dev-help_at_grizzly.dev.java.net>
>>
>>
>>
>>
>> --
>> Hubert Iwaniuk
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>
>
--
Hubert Iwaniuk