Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » servlet-mapping to equinoxbridgeservlet
servlet-mapping to equinoxbridgeservlet [message #102822] Thu, 13 December 2007 08:05 Go to next message
Stefan   is currently offline Stefan Friend
Messages: 316
Registered: July 2009
Senior Member
Hi,

I have a war file running in Tomcat5.5 which contains multiple servlets.
One of them is an equinox application, others are "standard" web apps.

For the equinox app the following servlet-mapping is set in my web.xml:
<servlet-mapping>
<servlet-name>equinoxbridgeservlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>

The problem now is, that the asterisk prevents access to files which are
in the root directory of "standard" web application. It seems as if all
request to these files are delegated to the equinox app which of course
doesn't know these files.

If I replace the mapping with some specific path, my equinox app doesn't
run anymore. Example:

<servlet-mapping>
<servlet-name>equinoxbridgeservlet</servlet-name>
<url-pattern>/rap</url-pattern>
</servlet-mapping>

The always leads to the following error page:

HTTP Status 404 - ProxyServlet: /rapdemo/rap
type Status report
message ProxyServlet: /rapdemo/rap
description The requested resource (ProxyServlet: /rapdemo/rap) is not
available.
Apache Tomcat/5.5

Any idea?

Regards,
Stefan.
Re: servlet-mapping to equinoxbridgeservlet [message #102864 is a reply to message #102822] Thu, 13 December 2007 13:31 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Hi Stefan,

That usage should be fine. I'm aware of some users doing exactly what you're
asking.
You might want to investigate how paths in the webapp are being generated as
they may be making assumptions on the URI space.

-Simon

"Stefan R
Previous Topic:OSGi Service Platform 4.0 4.1 ?
Next Topic:jvm.dll and Could not reserve enough space for object heap
Goto Forum:
  


Current Time: Wed Apr 24 16:24:41 GMT 2024

Powered by FUDForum. Page generated in 0.02974 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top