Salut,
Hubert Iwaniuk wrote:
> Hi,
>
> Answers inline.
>
> On Wed, Mar 25, 2009 at 5:22 PM, TheWinch
> <vincent.girardreydet_at_thalesgroup.com
> <mailto:vincent.girardreydet_at_thalesgroup.com>> wrote:
>
>
>
> Hubert Iwaniuk wrote:
> >
> > 1. I don't know how to do it in Eclipse. But if you clone
> gitorial you
> > just
> > need to change <framework> in pom.xml from felix to equinox and
> do mvn
> > install pax:provision.
> >
>
> Unfortunately we're not using Maven here (yeah, I know, it's bad...)
> and btw
> I don't know anything to Maven. So what I'm trying to do is basically
> installing the bundle jar into Equinox by wrapping it inside an eclipse
> plugin. At first I thought I could embed it as is, but it seems a
> little bit
> more trickier (I have created the bundle, run it, it seems installed
> as it
> appears as RESOLVED when I ask for its status, but I have nobody
> listening
> on the http port nor on port 8080). Perhaps I must start the webserver
> manually in the plugin activator ? I thought it was already done.
>
>
> Resolved is not enough you need to get to STARTED state.
> I think when you create your config.ini in osgi.bundles property you
> should append @start to grizzly-httpservice-bundle.
>
>
>
>
> Hubert Iwaniuk wrote:
> >
> > 2. I'm having problems understanding problem here, could you
> elaborate a
> > bit
> > more on what you want to achieve with grizzly and jetty connector.
> >
> > OSGi Http Service is all that you get from Grizzlys OSGi
> implementation,
> > though Grizzly supports nearly full Servlet spec.
> >
>
> It seems that both the Grizzly OSGi bundle AND the jetty equinox bundle
> provide the Http Service, so I guess there is a clash here.
>
> So my idea is to re-use the jetty equinox bundle, and package the
> jetty-grizzly connector and the grizzly framework in another plugin.
> I hope
> that doing this I would be able to develop other plugins that
> register GWT
> Comet servlets using support from grizzly. But I'm not sure what's the
> proper way to do this.
>
> Is it a bit more clear ?
>
>
> Yes a bit :)
> You can control which bundles are deployed, so can avoid a clash by
> editing config.ini.
> Don't know how to get Comet on Grizzly OSGi Http Service, idea is great
> will try to figure it out with JFA. I'll keep you posted.
Like we discussed yesterday (same city helps :-)), adding Comet to the
bundle is really simple. Just add the comet artifact to pom.xml and
that's it.
A+
-- Jeanfrancois
>
> Cheers,
> Hubert.
>
>
> Vincent
> --
> View this message in context:
> http://www.nabble.com/Grizzly-%2B-Equinox-OSGi-%2B-Eclipse-tp22702068p22705367.html
> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> <mailto:users-unsubscribe_at_grizzly.dev.java.net>
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
> <mailto:users-help_at_grizzly.dev.java.net>
>
>