Hi everyone,
I'm having a problem with Servlets. I'm using Karaf 3.0.1 with the latest
BND-Annotations.
The Component Annotation for the servlet looks like this:
@Component(immediate=true, provide = Servlet.class, properties =
{"alias=/config/ConfigServlet"} )
Everything gets deployed fine and i can reach the servlet.
The problem is that when stopping and restarting (updating) the bundle
including the servlet, the servlet is listed two times when looking up
Servlet Status via http:list. One is deployed (from updated bundle version),
the other is undeployed (from old bundle version). If i build a regular wab
with web.xml etc., the Servlet seems to get updated fine, no double
servlets. When using DS, everytime the servlet is updated, it won't get
redeployed, but a new servlet is added (which then has status "deployed"),
while the old one is left in undeployed state. After a restart everything is
cleaned up.
Anyone an idea? Thanks for your help.
PS:
Any news for release dates for Karaf 3.0.2 and an updated EIK?
Kind regards,
Florin
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-3-0-1-Problem-with-Servlets-using-DS-tp4035323.html
Sent from the Karaf - User mailing list archive at Nabble.com.