Red Anil

Greenhorn
+ Follow
since Feb 19, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Red Anil

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
22 years ago
thanx for ur reply ...i have resin2.0.4...but i dont think it to be a problem...i have my resin.conf set accordingly...but this problem has risen while porting...cause all my pages in my application work well other than this...i m not able to see at exactly what line the error is occuring in JSP as resin doesnt show that...thanx for help in advance.
[ March 04, 2002: Message edited by: Red Anil ]
22 years ago
JSP
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.
22 years ago
i have checked for my directory names...that is it is /WEB-INF/classes...plz help me.
22 years ago
JSP
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.
22 years ago
JSP
hi...u need not pass any special URL in ur File constructor as ur application will be residing on the server provided u have access permissions...it would work fine providied u have the same directory structure at both places...so keep the same relative URL which u r using...hope that i understood ur question...bye
[ March 02, 2002: Message edited by: Red Anil ]
22 years ago
JSP
Hi Folks...I have got this problem,when i ported my applicatioon from JWS to Apache/Resin...which worked fine on JWS...but in some of the pages i get this exception after porting...i cant figure out from where it comes...i had updated my classpath to the current version of jsdk which comes with resin but still i am encountering the problem...any help would be appreciated...thanx in advance.
22 years ago
JSP