求助关于JdonFrameworkTest的一个问题

06-02-28 anaiyang
我的JondFrameworkTest的持久层用的是SQL Server 2000,可是总是出现如下问题,请帮我解决一下。

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: getPageIterator's result is null, check your ModelListAction subclass

org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)

org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)

org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)

org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)

root cause

java.lang.Exception: getPageIterator's result is null, check your ModelListAction subclass

com.jdon.strutsutil.ModelListAction.execute(ModelListAction.java:74)

org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)

org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)

org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.

2006-02-28 16:55:30,490 ERROR (PageIteratorJDBCTemp.java:136) - org.apache.commo

ns.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory ([Microsoft]

[SQLServer 2000 Driver for JDBC]End of stream was detected on a read.)

2006-02-28 16:55:30,521 ERROR (PageIteratorSolver.java:213) - getPageIterator e

rror:java.lang.Exception: SQLException: Cannot create PoolableConnectionFactory

([Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read

.)

banq
2006-03-01 10:56
>Cannot create PoolableConnectionFactory ([Microsoft]

[SQLServer 2000 Driver for JDBC]End of stream was detected on a read.)

注意SQL 2000的Jdbc包,还有注意是否是太大的字节流,使用数据类型不当。

猜你喜欢