You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by siv vasan <sv...@gmail.com> on 2013/01/31 20:22:18 UTC
Exception if jsp is declated in web.xml servlet elemnt
I am using karaf 2.3 with pax.web.pax-web-extender-war 1.1.3. My web.xml has
following mapping.
<servlet>
<servlet-name>login</servlet-name>
<jsp-file>/login.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>login</servlet-name>
<url-pattern>/login</url-pattern>
</servlet-mapping>
When i deploy the web app below exception is thrown. It looks like pax web
it is not able to handle this kind of mapping. Is this a bug or am I missing
some thing ?
org.ops4j.pax.web.pax-web-extender-war - 1.1.3 | Registration exception.
Skipping.
java.lang.IllegalArgumentException: Registered servlet must have at least
one url pattern
at
org.ops4j.pax.web.service.spi.model.ServletModel.<init>(ServletModel.java:69)[74:org.ops4j.pax.web.pax-web-spi:1.1.3]
at
org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:327)[75:org.ops4j.pax.web.pax-web-runtime:1.1.3]
at
org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:314)[75:org.ops4j.pax.web.pax-web-runtime:1.1.3]
at
org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:100)[75:org.ops4j.pax.web.pax-web-runtime:1.1.3]
at
org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:206)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
at
org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:615)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
at
org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
at
org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
at
org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
at
org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
at
org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
at
org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
at
org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
at
org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)[karaf.jar:2.3.0]
at
org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)[karaf.jar:2.3.0]
at
org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[karaf.jar:2.3.0]
at
org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[karaf.jar:2.3.0]
at
org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)[karaf.jar:2.3.0]
at
org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[karaf.jar:2.3.0]
--
View this message in context: http://karaf.922171.n3.nabble.com/Exception-if-jsp-is-declated-in-web-xml-servlet-elemnt-tp4027558.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Exception if jsp is declated in web.xml servlet elemnt
Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi,
https://issues.apache.org/jira/browse/KARAF-2162
is about upgrading to 1.1.12 of Pax-Web :)
I'm gonna release 1.1.12 asap.
Could you give the latest SNAPSHOT versions a try?
thanks.
regards, Achim
2013/2/5 siv vasan <sv...@gmail.com>
> Thanks for the reply.
>
> Looks like it was fixed in pax web 1.1.12. Is possible to update pax-web on
> Karaf 2.3 to this version ?
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Exception-if-jsp-is-declated-in-web-xml-servlet-elemnt-tp4027558p4027624.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>
Re: Exception if jsp is declated in web.xml servlet elemnt
Posted by siv vasan <sv...@gmail.com>.
Thanks for the reply.
Looks like it was fixed in pax web 1.1.12. Is possible to update pax-web on
Karaf 2.3 to this version ?
--
View this message in context: http://karaf.922171.n3.nabble.com/Exception-if-jsp-is-declated-in-web-xml-servlet-elemnt-tp4027558p4027624.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Exception if jsp is declated in web.xml servlet elemnt
Posted by Achim Nierbeck <bc...@googlemail.com>.
I looked through the code once more.
It's been fixed for 2.0 already have to check out why this fix wasn't
migrated to 1.1.x
I opened http://team.ops4j.org/browse/PAXWEB-491 for it.
regards, Achim
2013/2/4 Achim Nierbeck <bc...@googlemail.com>
> Could you open a Issue at Pax-Web for this, a sample would be nice also.
> I'm gonna take a look at it ASAP :)
>
> regards, Achim
>
>
> 2013/2/4 Achim Nierbeck <bc...@googlemail.com>
>
>> Ok, I have to check if this is a bug which should have been closed
>> already.
>>
>>
>>
>>
>> 2013/2/2 siv vasan <sv...@gmail.com>
>>
>>> Hi,
>>>
>>> I am able to reproduce this in pax web 1.1.3
>>> (https://github.com/ops4j/org.ops4j.pax.web/tree/web-1.1.3).
>>>
>>> I have debugged in to the pax-web code. Looks like web xml parser code
>>> looks
>>> for servelet-class element, if it is not found then servelet mapping
>>> parsing
>>> is skipped entirely. This is causing deployment to fail. Is there a work
>>> around for this ?
>>>
>>> Code from
>>> org.ops4j.pax.web.extender.war.internal.parser.dom.DOMWebXmlParser
>>> private static void parseServlets(final Element rootElement,
>>> final WebApp webApp) {
>>> final Element[] elements = getChildren(rootElement,
>>> "servlet");
>>> if (elements != null && elements.length > 0) {
>>> for (Element element : elements) {
>>> final WebAppServlet servlet = new
>>> WebAppServlet();
>>>
>>> servlet.setServletName(getTextContent(getChild(element,
>>> "servlet-name")));
>>> String servletClass =
>>> getTextContent(getChild(element,
>>> "servlet-class"));
>>> *if (servletClass != null) {
>>>
>>> servlet.setServletClass(servletClass);
>>> webApp.addServlet(servlet);
>>> } else {
>>> LOG.warn("No Servlet-class found
>>> while parsing servlet definition");
>>> return;
>>> }*
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://karaf.922171.n3.nabble.com/Exception-if-jsp-is-declated-in-web-xml-servlet-elemnt-tp4027558p4027586.html
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>
>>
>>
>>
>> --
>>
>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
>> & Project Lead
>> OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
>> Commiter & Project Lead
>> blog <http://notizblog.nierbeck.de/>
>>
>
>
>
> --
>
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
> Project Lead
> OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
> Commiter & Project Lead
> blog <http://notizblog.nierbeck.de/>
>
--
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>
Re: Exception if jsp is declated in web.xml servlet elemnt
Posted by Achim Nierbeck <bc...@googlemail.com>.
Could you open a Issue at Pax-Web for this, a sample would be nice also.
I'm gonna take a look at it ASAP :)
regards, Achim
2013/2/4 Achim Nierbeck <bc...@googlemail.com>
> Ok, I have to check if this is a bug which should have been closed
> already.
>
>
>
>
> 2013/2/2 siv vasan <sv...@gmail.com>
>
>> Hi,
>>
>> I am able to reproduce this in pax web 1.1.3
>> (https://github.com/ops4j/org.ops4j.pax.web/tree/web-1.1.3).
>>
>> I have debugged in to the pax-web code. Looks like web xml parser code
>> looks
>> for servelet-class element, if it is not found then servelet mapping
>> parsing
>> is skipped entirely. This is causing deployment to fail. Is there a work
>> around for this ?
>>
>> Code from
>> org.ops4j.pax.web.extender.war.internal.parser.dom.DOMWebXmlParser
>> private static void parseServlets(final Element rootElement,
>> final WebApp webApp) {
>> final Element[] elements = getChildren(rootElement,
>> "servlet");
>> if (elements != null && elements.length > 0) {
>> for (Element element : elements) {
>> final WebAppServlet servlet = new
>> WebAppServlet();
>>
>> servlet.setServletName(getTextContent(getChild(element,
>> "servlet-name")));
>> String servletClass =
>> getTextContent(getChild(element,
>> "servlet-class"));
>> *if (servletClass != null) {
>>
>> servlet.setServletClass(servletClass);
>> webApp.addServlet(servlet);
>> } else {
>> LOG.warn("No Servlet-class found
>> while parsing servlet definition");
>> return;
>> }*
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Exception-if-jsp-is-declated-in-web-xml-servlet-elemnt-tp4027558p4027586.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
>
>
> --
>
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
> Project Lead
> OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
> Commiter & Project Lead
> blog <http://notizblog.nierbeck.de/>
>
--
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>
Re: Exception if jsp is declated in web.xml servlet elemnt
Posted by Achim Nierbeck <bc...@googlemail.com>.
Ok, I have to check if this is a bug which should have been closed already.
2013/2/2 siv vasan <sv...@gmail.com>
> Hi,
>
> I am able to reproduce this in pax web 1.1.3
> (https://github.com/ops4j/org.ops4j.pax.web/tree/web-1.1.3).
>
> I have debugged in to the pax-web code. Looks like web xml parser code
> looks
> for servelet-class element, if it is not found then servelet mapping
> parsing
> is skipped entirely. This is causing deployment to fail. Is there a work
> around for this ?
>
> Code from
> org.ops4j.pax.web.extender.war.internal.parser.dom.DOMWebXmlParser
> private static void parseServlets(final Element rootElement,
> final WebApp webApp) {
> final Element[] elements = getChildren(rootElement,
> "servlet");
> if (elements != null && elements.length > 0) {
> for (Element element : elements) {
> final WebAppServlet servlet = new
> WebAppServlet();
>
> servlet.setServletName(getTextContent(getChild(element,
> "servlet-name")));
> String servletClass =
> getTextContent(getChild(element,
> "servlet-class"));
> *if (servletClass != null) {
>
> servlet.setServletClass(servletClass);
> webApp.addServlet(servlet);
> } else {
> LOG.warn("No Servlet-class found
> while parsing servlet definition");
> return;
> }*
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Exception-if-jsp-is-declated-in-web-xml-servlet-elemnt-tp4027558p4027586.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>
Re: Exception if jsp is declated in web.xml servlet elemnt
Posted by siv vasan <sv...@gmail.com>.
Hi,
I am able to reproduce this in pax web 1.1.3
(https://github.com/ops4j/org.ops4j.pax.web/tree/web-1.1.3).
I have debugged in to the pax-web code. Looks like web xml parser code looks
for servelet-class element, if it is not found then servelet mapping parsing
is skipped entirely. This is causing deployment to fail. Is there a work
around for this ?
Code from org.ops4j.pax.web.extender.war.internal.parser.dom.DOMWebXmlParser
private static void parseServlets(final Element rootElement,
final WebApp webApp) {
final Element[] elements = getChildren(rootElement, "servlet");
if (elements != null && elements.length > 0) {
for (Element element : elements) {
final WebAppServlet servlet = new WebAppServlet();
servlet.setServletName(getTextContent(getChild(element,
"servlet-name")));
String servletClass = getTextContent(getChild(element,
"servlet-class"));
*if (servletClass != null) {
servlet.setServletClass(servletClass);
webApp.addServlet(servlet);
} else {
LOG.warn("No Servlet-class found while parsing servlet definition");
return;
}*
--
View this message in context: http://karaf.922171.n3.nabble.com/Exception-if-jsp-is-declated-in-web-xml-servlet-elemnt-tp4027558p4027586.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Exception if jsp is declated in web.xml servlet elemnt
Posted by Achim Nierbeck <bc...@googlemail.com>.
I just gave it a try with the Pax-Web Sample WAR,
this one does work.
For an example web.xml take a look at [1].
regards, Achim
[1] -
https://github.com/ops4j/org.ops4j.pax.web/blob/master/samples/war/src/main/webapp/WEB-INF/web.xml
2013/1/31 Achim Nierbeck <bc...@googlemail.com>
> Hi,
>
> I'm quite astonished that this seems to be an issue. I'm gonna check this,
> cause Pax-Web is able to handle JSPs since 0.x time.
>
> Regards, Achim
>
>
> 2013/1/31 siv vasan <sv...@gmail.com>
>
>> I am using karaf 2.3 with pax.web.pax-web-extender-war 1.1.3. My web.xml
>> has
>> following mapping.
>>
>> <servlet>
>> <servlet-name>login</servlet-name>
>> <jsp-file>/login.jsp</jsp-file>
>> </servlet>
>>
>> <servlet-mapping>
>> <servlet-name>login</servlet-name>
>> <url-pattern>/login</url-pattern>
>> </servlet-mapping>
>>
>> When i deploy the web app below exception is thrown. It looks like pax
>> web
>> it is not able to handle this kind of mapping. Is this a bug or am I
>> missing
>> some thing ?
>>
>> org.ops4j.pax.web.pax-web-extender-war - 1.1.3 | Registration exception.
>> Skipping.
>> java.lang.IllegalArgumentException: Registered servlet must have at least
>> one url pattern
>> at
>>
>> org.ops4j.pax.web.service.spi.model.ServletModel.<init>(ServletModel.java:69)[74:org.ops4j.pax.web.pax-web-spi:1.1.3]
>> at
>>
>> org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:327)[75:org.ops4j.pax.web.pax-web-runtime:1.1.3]
>> at
>>
>> org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:314)[75:org.ops4j.pax.web.pax-web-runtime:1.1.3]
>> at
>>
>> org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:100)[75:org.ops4j.pax.web.pax-web-runtime:1.1.3]
>> at
>>
>> org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:206)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
>> at
>>
>> org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:615)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
>> at
>>
>> org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
>> at
>>
>> org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
>> at
>>
>> org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
>> at
>>
>> org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
>> at
>>
>> org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
>> at
>>
>> org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
>> at
>>
>> org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
>> at
>>
>> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)[karaf.jar:2.3.0]
>> at
>>
>> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)[karaf.jar:2.3.0]
>> at
>>
>> org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[karaf.jar:2.3.0]
>> at
>>
>> org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[karaf.jar:2.3.0]
>> at
>>
>> org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)[karaf.jar:2.3.0]
>> at
>>
>> org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[karaf.jar:2.3.0]
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Exception-if-jsp-is-declated-in-web-xml-servlet-elemnt-tp4027558.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
>
>
> --
>
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
> Project Lead
> OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
> Commiter & Project Lead
> blog <http://notizblog.nierbeck.de/>
>
--
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>
Re: Exception if jsp is declated in web.xml servlet elemnt
Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi,
I'm quite astonished that this seems to be an issue. I'm gonna check this,
cause Pax-Web is able to handle JSPs since 0.x time.
Regards, Achim
2013/1/31 siv vasan <sv...@gmail.com>
> I am using karaf 2.3 with pax.web.pax-web-extender-war 1.1.3. My web.xml
> has
> following mapping.
>
> <servlet>
> <servlet-name>login</servlet-name>
> <jsp-file>/login.jsp</jsp-file>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>login</servlet-name>
> <url-pattern>/login</url-pattern>
> </servlet-mapping>
>
> When i deploy the web app below exception is thrown. It looks like pax web
> it is not able to handle this kind of mapping. Is this a bug or am I
> missing
> some thing ?
>
> org.ops4j.pax.web.pax-web-extender-war - 1.1.3 | Registration exception.
> Skipping.
> java.lang.IllegalArgumentException: Registered servlet must have at least
> one url pattern
> at
>
> org.ops4j.pax.web.service.spi.model.ServletModel.<init>(ServletModel.java:69)[74:org.ops4j.pax.web.pax-web-spi:1.1.3]
> at
>
> org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:327)[75:org.ops4j.pax.web.pax-web-runtime:1.1.3]
> at
>
> org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:314)[75:org.ops4j.pax.web.pax-web-runtime:1.1.3]
> at
>
> org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:100)[75:org.ops4j.pax.web.pax-web-runtime:1.1.3]
> at
>
> org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:206)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
> at
>
> org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:615)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
> at
>
> org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
> at
>
> org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
> at
>
> org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
> at
>
> org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
> at
>
> org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
> at
>
> org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
> at
>
> org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)[81:org.ops4j.pax.web.pax-web-extender-war:1.1.3]
> at
>
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)[karaf.jar:2.3.0]
> at
>
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)[karaf.jar:2.3.0]
> at
>
> org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[karaf.jar:2.3.0]
> at
>
> org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[karaf.jar:2.3.0]
> at
>
> org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)[karaf.jar:2.3.0]
> at
>
> org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[karaf.jar:2.3.0]
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Exception-if-jsp-is-declated-in-web-xml-servlet-elemnt-tp4027558.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>