Here is part of the stacktrace , 2003-03-31 10:47:41 Exception - SearchInventory:doSearch()java.lang.ClassCastException java.lang.ClassCastException at doas.inventory.SearchInventory.doSearch(SearchInventory.java:189) at org.apache.jsp.search_inventory_jsp._jspService(search_inventory_jsp. java:351) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:204) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2 95) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp atcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD ispatcher.java:575) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis patcher.java:498) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary .java:822) at org.apache.jsp.main_jsp._jspService(main_jsp.java:282) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:204) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2 95) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:247)
-Sundar -----Original Message----- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 11:02 AM To: Tomcat Users List Subject: [OT] Re: Casting DBCP Connection to OracleConnection What kind of run-time failure? Is it a class-cast exception? If so what is the exception? -Tim Chakravarthy, Sundar wrote: > Run-time failure using both getInnermostDelegate() and getDelegate(). > Any other alternatives ? > > -Sundar > > -----Original Message----- > From: Tim Funk [mailto:[EMAIL PROTECTED] > Sent: Monday, March 31, 2003 10:49 AM > To: Tomcat Users List > Subject: Re: Casting DBCP Connection to OracleConnection > > Compile fail or run-time fail? > > If compile fail - you need a nightly of dbcp. > If run-time fail, you may need to use getInnermostDelegate() instead > > -Tim > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]