tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RV Tobin" <rvto...@home.com>
Subject Re: Servlet exception: callable statements are not supported at this time
Date Fri, 22 Dec 2000 17:55:18 GMT
Change prepareCall in your connection code to prepareStatement.  Some JDBC
drivers don't support it (hence the nature of the error message you're
getting).

Val

----- Original Message -----
From: <nvadekar@netscape.net>
To: <tomcat-user@jakarta.apache.org>
Sent: Friday, December 22, 2000 11:40 AM
Subject: Servlet exception: callable statements are not supported at this
time


> I have tried tomcat 3.2.1 and 4.0 working on redhat 7, i have build a jps
> page with dreamweaver ultradev 3.0, is accesses a postgresql database
> with a jdbc driver, the driver works just fine on ultradev.   the
> class path to the jdbc driver is working fine on tomcat, other jsp
> files, for example helloworld work fine on tomcat, when I try and
> load the page made by ultradev, is procuces the following error, I
> have tried to figure this out now for a week with no luck, please
> help.
>
> Neal Vadekar
>
> A Servlet Exception Has Occurred
> Exception Report:
>
> javax.servlet.ServletException: Callable Statements are not supported
> at this time.
>     at
> org.apache.jasper.runtime.PageContextImpl.handlePageException
> (PageContextImpl.java:481)
>     at
> _0002freefology_0002dphoto_0005fgallery_0002ejspreefology_0002dphoto_0
> 005fgallery_jsp_0._jspService
> (_0002freefology_0002dphoto_0005fgallery_0002ejspreefology_0002dphoto_
> 0005fgallery_jsp_0.java:108)
>     at org.apache.jasper.runtime.HttpJspBase.service
> (HttpJspBase.java:119)
>     at javax.servlet.http.HttpServlet.service
> (HttpServlet.java:853)
>     at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
> (JspServlet.java:181)
>     at org.apache.jasper.servlet.JspServlet.serviceJspFile
> (JspServlet.java:314)
>     at org.apache.jasper.servlet.JspServlet.service
> (JspServlet.java:393)
>     at javax.servlet.http.HttpServlet.service
> (HttpServlet.java:853)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:208)
>     at org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:251)
>     at org.apache.catalina.core.ContainerBase.invoke
> (ContainerBase.java:977)
>     at org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:196)
>     at org.apache.catalina.core.ContainerBase.invoke
> (ContainerBase.java:977)
>     at org.apache.catalina.core.StandardContext.invoke
> (StandardContext.java:2038)
>     at org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:161)
>     at org.apache.catalina.valves.ValveBase.invokeNext
> (ValveBase.java:242)
>     at org.apache.catalina.valves.AccessLogValve.invoke
> (AccessLogValve.java:414)
>     at org.apache.catalina.core.ContainerBase.invoke
> (ContainerBase.java:975)
>     at org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:159)
>     at org.apache.catalina.core.ContainerBase.invoke
> (ContainerBase.java:977)
>     at org.apache.catalina.connector.http.HttpProcessor.process
> (HttpProcessor.java:811)
>     at org.apache.catalina.connector.http.HttpProcessor.run
> (HttpProcessor.java:890)
>     at java.lang.Thread.run(Thread.java:484)
> Root Cause:
>
> Callable Statements are not supported at this time.
>     at org.postgresql.jdbc2.Connection.prepareCall
> (Connection.java:99)
>     at
> _0002freefology_0002dphoto_0005fgallery_0002ejspreefology_0002dphoto_0
> 005fgallery_jsp_0._jspService
> (_0002freefology_0002dphoto_0005fgallery_0002ejspreefology_0002dphoto_
> 0005fgallery_jsp_0.java:57)
>     at org.apache.jasper.runtime.HttpJspBase.service
> (HttpJspBase.java:119)
>     at javax.servlet.http.HttpServlet.service
> (HttpServlet.java:853)
>     at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
> (JspServlet.java:181)
>     at org.apache.jasper.servlet.JspServlet.serviceJspFile
> (JspServlet.java:314)
>     at org.apache.jasper.servlet.JspServlet.service
> (JspServlet.java:393)
>     at javax.servlet.http.HttpServlet.service
> (HttpServlet.java:853)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:208)
>     at org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:251)
>     at org.apache.catalina.core.ContainerBase.invoke
> (ContainerBase.java:977)
>     at org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:196)
>     at org.apache.catalina.core.ContainerBase.invoke
> (ContainerBase.java:977)
>     at org.apache.catalina.core.StandardContext.invoke
> (StandardContext.java:2038)
>     at org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:161)
>     at org.apache.catalina.valves.ValveBase.invokeNext
> (ValveBase.java:242)
>     at org.apache.catalina.valves.AccessLogValve.invoke
> (AccessLogValve.java:414)
>     at org.apache.catalina.core.ContainerBase.invoke
> (ContainerBase.java:975)
>     at org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:159)
>     at org.apache.catalina.core.ContainerBase.invoke
> (ContainerBase.java:977)
>     at org.apache.catalina.connector.http.HttpProcessor.process
> (HttpProcessor.java:811)
>     at org.apache.catalina.connector.http.HttpProcessor.run
> (HttpProcessor.java:890)
>     at java.lang.Thread.run(Thread.java:484)
>
> __________________________________________________________________
> Get your own FREE, personal Netscape Webmail account today at
> http://webmail.netscape.com/


Mime
View raw message