felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raymond Auge <raymond.a...@liferay.com>
Subject Re: ServletContextListener
Date Tue, 12 May 2015 13:09:29 GMT
You are missing the required service property
"osgi.http.whiteboard.listener=true" on your SCL.

Sincerely,
- Ray

On Tue, May 12, 2015 at 6:51 AM, Thomas Driessen <thomas.driessen@ds-lab.org
> wrote:

> Hi Carsten,
>
> forget my last question, I still used felix 4.4.1 as my OSGI Framework. I
> switched this to 5.1.0.SNAPSHOT and everything got resolved as expected.
>
> But still my ServletContextListener seems not to be invoked, as i get no
> outputs on contextInitialized.
>
> This is my ServletContextListener:
>
> @Component(provides=ServletContextListener.class)
> public class MyContextListener implements ServletContextListener {
>
> @Override
> public void contextDestroyed(ServletContextEvent arg0) {
> // TODO Auto-generated method stub
> System.out.println("MyContextListener.contextDestroyed()");
> }
>
> @Override
> public void contextInitialized(ServletContextEvent arg0) {
> // TODO Auto-generated method stub
> System.out.println("MyContextListener.contextInitialized()");
> }
> }
>
> Might it be that the DM-Annotations are not working? Or do I have to add
> some attributes?
> Sorry for all those questions but right now I'm pretty confused :(
>
> Thanks for all your advice :)
>
> Thomas
>
> 2015-05-12 12:08 GMT+02:00 Thomas Driessen <thomas.driessen@ds-lab.org>:
>
> > Hi Carsten,
> >
> > I added http.jetty (3.0.3.SNAPSHOT) and http.api (3.0.0.SNAPSHOT) to my
> > runrequirements but now it says it is missing the package org.osgi.dto ?
> > I tried to add org.osgi.core (6.0.0) but that didn't help.
> >
> > Do I have to add some other bundles on which http.jetty and http.api are
> > relying?
> >
> > Thomas
> >
> > 2015-05-11 19:20 GMT+02:00 Carsten Ziegeler <cziegeler@apache.org>:
> >
> >> Am 11.05.15 um 18:51 schrieb Scott Lewis:
> >> > On 5/11/2015 9:45 AM, Carsten Ziegeler wrote:
> >> >> <stuff deleted>
> >> >> Is there a release scheduled that will include all the http service
> >> >> changes for R6 final?
> >> >>
> >> >> Yes, once there is an official final R6 version, we can do a release.
> >> >
> >> > Any schedule around such a release?   I know that the R6 spec is not
> >> > done/approved/frozen, etc., but I'm just asking what plans exist.
> >> >
> >> I assume somewhere in Q3
> >>
> >> Carsten
> >>
> >>
> >> --
> >> Carsten Ziegeler
> >> Adobe Research Switzerland
> >> cziegeler@apache.org
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> >> For additional commands, e-mail: users-help@felix.apache.org
> >>
> >>
> >
> >
> > --
> > M.Sc. Thomas Driessen
> > Software Methodologies for Distributed Systems
> > Institute of Computer Science
> > University of Augsburg
> > Universitätsstr. 6a
> > 86135 Augsburg, Germany
> >
> > Tel:    +49 821 598-2486
> > email: thomas.driessen@informatik.uni-augsburg.de
> >
>
>
>
> --
> M.Sc. Thomas Driessen
> Software Methodologies for Distributed Systems
> Institute of Computer Science
> University of Augsburg
> Universitätsstr. 6a
> 86135 Augsburg, Germany
>
> Tel:    +49 821 598-2486
> email: thomas.driessen@informatik.uni-augsburg.de
>



-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message