This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

urgent ...help needed apache/resin

 
Red Anil
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is exactly what the exception is
500 Servlet Exception
java.lang.ClassCastException
at _directories__jsp._jspService(_directories__jsp.java, Compiled Code)
at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
at com.caucho.jsp.Page.subservice(Page.java:485)
at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:176)
at com.caucho.server.http.Invocation.service(Invocation.java:278)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:129)
at com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:214)
at com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:99)
at com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:76)
at RouterServlet.service(RouterServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:82)
at com.caucho.server.http.Invocation.service(Invocation.java:278)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:129)
at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:338)
at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java, Compiled Code)
at com.caucho.server.TcpConnection.run(TcpConnection.java, Compiled Code)
at java.lang.Thread.run(Thread.java:479)

this is the same JSP which works well when on JavaWebServer...i ported my application on apache/resin...not all JSP give me this error...only ones which i had modified and complied while on resin...in my System Classpath i had changed my classes directory from d:\Javawebserver2.0\classes to d:\resin\my-apps\WEB-INF\classes...i have all my classes under proper directory structure(packages)in WEB-INF/classes folder... as far as i know resin reads all class files from web-inf\classes directory by default...but if i remove the classpath setting from my System classpath i get this error.-
500 Servlet Exception
/rcom/directories.jsp:4: jsp:useBean can't find class `com.sbm.handler.GlobalBean'
i hope i was descriptive...hoping for a reply...thanx in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic