当前位置: 技术问答>java相关
jsp + oracle ?????(我的毕业设计????)
来源: 互联网 发布时间:2015-06-08
本文导语: 我在 win2000 下架的 tomcat4.0 写一个 新闻系统 数据库 连 另一台 win2000的 oracle9i 数据库 出现了 以下 错误, (在sql server 正确,从sql server到oracle 只是将 int->number,varchar->varchar2)请高手指点!!! 先谢了 ...
我在 win2000 下架的 tomcat4.0 写一个 新闻系统 数据库 连 另一台 win2000的
oracle9i 数据库 出现了 以下 错误, (在sql server 正确,从sql server到oracle 只是将 int->number,varchar->varchar2)请高手指点!!! 先谢了
java.sql.SQLException: ORA-00600: 内部错误代码,参数: [ttcgcshnd-1], [0], [], []
, [], [], [], []
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java)
at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.jav
a)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
edStatement.java)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePrepare
dStatement.java)
at org.netbee.news.database.DbNewsCatalog.loadFromDb(DbNewsCatalog.java:
1057)
at org.netbee.news.database.DbNewsCatalog.(DbNewsCatalog.java:121)
at org.netbee.news.database.DbNewsCatalogFactory.getNewsCatalog(DbNewsCa
talogFactory.java:153)
at org.netbee.news.database.DbNewsCatalogFactoryIterator.next(DbNewsCata
logFactoryIterator.java:82)
at org.netbee.news.NewsCatalogIteratorProxy.next(NewsCatalogIteratorProx
y.java:17)
at org.netbee.news.util.SkinUtils.isNewsAdmin(SkinUtils.java:665)
at org.apache.jsp.login$jsp._jspService(login$jsp.java:138)
at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknow
n Source)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unkn
own Source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Sour
ce)
at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.valves.CertificatesValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Sour
ce)
at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
org.netbee.news.NewsCatalogNotFoundException: NewsCatalog 1 could not be loaded
from the database.
at org.netbee.news.database.DbNewsCatalog.loadFromDb(DbNewsCatalog.java:
1077)
at org.netbee.news.database.DbNewsCatalog.(DbNewsCatalog.java:121)
at org.netbee.news.database.DbNewsCatalogFactory.getNewsCatalog(DbNewsCa
talogFactory.java:153)
at org.netbee.news.database.DbNewsCatalogFactoryIterator.next(DbNewsCata
logFactoryIterator.java:82)
at org.netbee.news.NewsCatalogIteratorProxy.next(NewsCatalogIteratorProx
y.java:17)
at org.netbee.news.util.SkinUtils.isNewsAdmin(SkinUtils.java:665)
at org.apache.jsp.login$jsp._jspService(login$jsp.java:138)
at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknow
n Source)
....
oracle9i 数据库 出现了 以下 错误, (在sql server 正确,从sql server到oracle 只是将 int->number,varchar->varchar2)请高手指点!!! 先谢了
java.sql.SQLException: ORA-00600: 内部错误代码,参数: [ttcgcshnd-1], [0], [], []
, [], [], [], []
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java)
at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.jav
a)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
edStatement.java)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePrepare
dStatement.java)
at org.netbee.news.database.DbNewsCatalog.loadFromDb(DbNewsCatalog.java:
1057)
at org.netbee.news.database.DbNewsCatalog.(DbNewsCatalog.java:121)
at org.netbee.news.database.DbNewsCatalogFactory.getNewsCatalog(DbNewsCa
talogFactory.java:153)
at org.netbee.news.database.DbNewsCatalogFactoryIterator.next(DbNewsCata
logFactoryIterator.java:82)
at org.netbee.news.NewsCatalogIteratorProxy.next(NewsCatalogIteratorProx
y.java:17)
at org.netbee.news.util.SkinUtils.isNewsAdmin(SkinUtils.java:665)
at org.apache.jsp.login$jsp._jspService(login$jsp.java:138)
at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknow
n Source)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unkn
own Source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Sour
ce)
at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.valves.CertificatesValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Sour
ce)
at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
org.netbee.news.NewsCatalogNotFoundException: NewsCatalog 1 could not be loaded
from the database.
at org.netbee.news.database.DbNewsCatalog.loadFromDb(DbNewsCatalog.java:
1077)
at org.netbee.news.database.DbNewsCatalog.(DbNewsCatalog.java:121)
at org.netbee.news.database.DbNewsCatalogFactory.getNewsCatalog(DbNewsCa
talogFactory.java:153)
at org.netbee.news.database.DbNewsCatalogFactoryIterator.next(DbNewsCata
logFactoryIterator.java:82)
at org.netbee.news.NewsCatalogIteratorProxy.next(NewsCatalogIteratorProx
y.java:17)
at org.netbee.news.util.SkinUtils.isNewsAdmin(SkinUtils.java:665)
at org.apache.jsp.login$jsp._jspService(login$jsp.java:138)
at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknow
n Source)
....
|
源代码?
如果没有一定的必要,最好都用varchar2。
如果没有一定的必要,最好都用varchar2。