The following error that occurs in ActionServlet's startup with the newest
Struts nightly build and Orion:
register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN',
'jndi:/home/jblum/web/struts/WEB-INF/lib/struts.jar/org/apache/struts/resour
ces/struts-config_1_0.dtd'
resolveEntity('-//Apache Software Foundation//DTD Struts Configuration
1.0//EN', 'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd')
Resolving to alternate DTD
'jndi:/home/jblum/web/struts/WEB-INF/lib/struts.jar/org/apache/struts/resour
ces/struts-config_1_0.dtd'
seems be caused from the following line in ActionServlet.java (about line
881):
URL url = this.getClass().getResource(registrations[i+1]);
when this is replaced with:
URL url = getServletContext().getResource(registrations[i+1]);
the dtd is found and everything works.
However you have to rebuild struts.jar - but that is easy ant.
Hope this helps!
Olli P�yry, Essaim Oy, Helsinki, Finland