The 404 is the reason for the latter
error.
This feels familiar – is there
someplace I can get your test case? Where’s your web.xml?
Here’s what I’m running with –
you’ll notice that nothing like org.eclipse.cosmos.example.mdr.web appears. Everything gets
mapped to the muse servlet:
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID"
version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>test.cosmos.me.web</display-name>
<context-param>
<param-name>CosmosWebPort</param-name>
<param-value>8080</param-value>
</context-param>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<listener>
<listener-class>
test.cosmos.me.web.context.TestInitializer
</listener-class>
</listener>
<servlet>
<display-name>Apache Muse Servlet</display-name>
<servlet-name>ApacheMuseServlet</servlet-name>
<servlet-class>org.apache.muse.core.platform.mini.MiniServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ApacheMuseServlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>