- This topic has 1 reply, 2 voices, and was last updated 16 years, 5 months ago by Loyal Water.
-
AuthorPosts
-
talalshaikhMemberHi I get the following error when i try to access the dwr directory page.I have referenced the dwr.jar library and made updates in the web.xml file but still i am getting an error.Can somebody help me with this?
Thanks!!
exception
javax.servlet.ServletException: Servlet.init() for servlet dwr-invoke threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Unknown Source)root cause
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
org.directwebremoting.dwrp.PollHandler.<clinit>(PollHandler.java:382)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Unknown Source)
org.directwebremoting.impl.ContainerUtil.class$(ContainerUtil.java:97)
org.directwebremoting.impl.ContainerUtil.setupDefaults(ContainerUtil.java:150)
org.directwebremoting.impl.ContainerUtil.setupDefaultContainer(ContainerUtil.java:125)
org.directwebremoting.servlet.DwrServlet.init(DwrServlet.java:73)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Unknown Source)This is the web.xml file
<?xml version=”1.0″ encoding=”UTF-8″?>
<web-app 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”><servlet>
<servlet-name>dwr-invoke</servlet-name>
<servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>false</param-value>
</init-param>
</servlet><servlet-mapping>
<servlet-name>dwr-invoke</servlet-name>
<url-pattern>/dwr/*</url-pattern>
</servlet-mapping><welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
Loyal WaterMemberDoes this help:-
http://www.activeobjects.no/subsonic/forum/viewtopic.php?t=43 -
AuthorPosts