DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=31731>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31731 ClassCastException from ActionServlet.getRequestProcessor() ------- Additional Comments From [EMAIL PROTECTED] 2004-10-27 21:20 ------- I tested this with the prefer-web-inf-classes setting as TRUE. I got the same ClassCastException (see stack trace below). Regarding Dakota Jack's comments, I guess I leave that decision up to the community. Yes, the issue is clearly BEA's fault. However, I don't think I am doing anything unusual or "idiosyncratic". I am just developing a Struts application in Weblogic 8.1--the same way most people using those two technologies are using them. I have in fact already modified Struts for our company, so you don't need to fix this just for me. I think this fix will help every developer using Struts and Weblogic 8.1. Since my change worked, I figured I would submit my "fix" to the Struts community. I don't think adding one line of code (checking the instanceof) is *too* much pollution of the code base. Please let me know if there is anything else I can do to help you guys decide what you want to with this issue. Thanks, Adam -------------stack trace----------------- java.lang.ClassCastException at org.apache.struts.action.ActionServlet.getProcessorForModule(ActionServlet.java:605) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1160) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
