File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes urgent ...help needed apache/resin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "urgent ...help needed apache/resin" Watch "urgent ...help needed apache/resin" New topic
Author

urgent ...help needed apache/resin

Red Anil
Greenhorn

Joined: Feb 19, 2002
Posts: 7
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
 
subject: urgent ...help needed apache/resin