我有一个 Eclipse RAP 应用程序。web.xml 如下:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0"
id="WebApp">
<session-config>
<cookie-config>
<http-only>true</http-only>
</cookie-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
<servlet id="bridge">
<servlet-name>equinoxbridgeservlet</servlet-name>
<servlet-class>org.eclipse.equinox.servletbridge.BridgeServlet</servlet-class>
<init-param>
<param-name>enableFrameworkControls</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>commandline</param-name>
<param-value>-registryMultiLanguage -ws rap -Dhelp.url.prefix="/foobar" -Dhelp.topic.path="topic" -Dhelp.start.page="index.jsp" -Declipse.product=com.XXXXXXXXXXX -console 7272</param-value>
</init-param>
<init-param>
<param-name>other.info</param-name>
<param-value>org.eclipse.help</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>equinoxbridgeservlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
当我启动应用程序时,我在日志中收到以下错误:
[11/11/13 10:31:39:136 CET] 00000071 webapp W com.ibm.ws.webcontainer.webapp.WebApp initializeStaticFileHandler SRVE0278E: 添加 servlet 映射时出错 --> /*。
我试过这个(禁用文件服务):http ://www-01.ibm.com/support/docview.wss?uid=swg1PK18713
关于让它发挥作用的任何想法?