karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: Problem stopping webapp
Date Tue, 07 Apr 2015 10:02:07 GMT
Hi,

I had some time to look at it.
I narrowed it down to the following. Right now if an application is stopped
the eventlisteners are firsts deregistered without calling the destroy
methods first. This seems to be the issue.
I'll fix this asap. [1]

regards, Achim
[1] - https://ops4j1.jira.com/browse/PAXWEB-808


2015-04-03 18:49 GMT+02:00 Achim Nierbeck <bcanhome@googlemail.com>:

> Hi,
>
> sorry no news :-)
> But a HttpContextListener doesn't exist.
> Only the following types of listeners are supported by Pax Web:
> - ServletContextListener.class,
> - ServletContextAttributeListener.class,
> - ServletRequestListener.class,
> - ServletRequestAttributeListener.class,
> - HttpSessionListener.class,
> - HttpSessionBindingListener.class,
> - HttpSessionAttributeListener.class,
> - HttpSessionActivationListener.class,
> - AsyncListener.class,
> - ReadListener.class,
> - WriteListener.class,
> - HttpSessionIdListener.class
>
> Since the issue is still there for you please open a bug at the Pax Web
> project [1].
> I'll look to it asap.
>
> regards, Achim
> [1] - https://ops4j1.jira.com/projects/PAXWEB/summary
>
> 2015-04-03 17:41 GMT+02:00 Michele Velotti <michele.velotti@gmail.com>:
>
>> Hi Achim, i tried with Karaf 4.0.0 M2 and the problem still persist.
>>
>> The test is really simple, just a war with an HttpContextListener defined
>> inside web.xml.
>>
>> When start bundle "onContextinitialized" is called, but when stop (or
>> uninstall) bundle "onContextDestroyed" is NOT called. I think that this is
>> an high issue, do you have some news related?
>>
>> Thank you in advance
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Problem-stopping-webapp-tp4038345p4039451.html
>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>
>
>
>
> --
>
> Apache Member
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
> Project Lead
> blog <http://notizblog.nierbeck.de/>
> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>
> Software Architect / Project Manager / Scrum Master
>
>


-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

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