首页 新闻 会员 周边 捐助

将ofbiz的数据库换成oracle是出现下面错误,求帮忙

0
悬赏园豆:20 [待解决问题]

2013-12-11 13:41:21,694 (catalina-startup-0) [ UtilXml.java:1060:ERROR] XmlFileLoader: File file:/E:/Project 10/ofbiz/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml process error. Line: 165. Error message: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)". 2013-12-11 13:41:33,284 (default-invoker-Thread-18) [ SqlJdbcUtil.java:539:ERROR] ---- exception report ---------------------------------------------------------- Exception: java.sql.SQLException Message: Conversion to String failed ---- stack trace --------------------------------------------------------------- java.sql.SQLException: Conversion to String failed oracle.sql.Datum.stringValue(Datum.java:181) oracle.jdbc.driver.ScrollableResultSet.getString(ScrollableResultSet.java:518) org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:213) org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:213) org.ofbiz.entity.jdbc.JdbcValueHandler$StringJdbcValueHandler.getValue(JdbcValueHandler.java:732) org.ofbiz.entity.jdbc.JdbcValueHandler$StringJdbcValueHandler.getValue(JdbcValueHandler.java:718) org.ofbiz.entity.jdbc.SqlJdbcUtil.getValue(SqlJdbcUtil.java:536) org.ofbiz.entity.util.EntityListIterator.currentGenericValue(EntityListIterator.java:179) org.ofbiz.entity.util.EntityListIterator.next(EntityListIterator.java:321) org.ofbiz.entity.util.EntityListIterator.getCompleteList(EntityListIterator.java:435) org.ofbiz.entity.finder.EntityFinderUtil$GetAll.handleOutput(EntityFinderUtil.java:481) org.ofbiz.entity.finder.ListFinder.runFind(ListFinder.java:217) org.ofbiz.minilang.method.entityops.EntityCondition.exec(EntityCondition.java:60) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:458) org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:275) org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:294) org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79) org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163) org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:71) org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242) java.lang.Thread.run(Thread.java:722) -------------------------------------------------------------------------------- 2013-12-11 13:41:33,284 (default-invoker-Thread-18) [ SqlJdbcUtil.java:539:ERROR] ---- exception report ---------------------------------------------------------- Exception: java.sql.SQLException Message: Conversion to String failed ---- stack trace --------------------------------------------------------------- java.sql.SQLException: Conversion to String failed oracle.sql.Datum.stringValue(Datum.java:181) oracle.jdbc.driver.ScrollableResultSet.getString(ScrollableResultSet.java:518) org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:213) org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:213) org.ofbiz.entity.jdbc.JdbcValueHandler$StringJdbcValueHandler.getValue(JdbcValueHandler.java:732) org.ofbiz.entity.jdbc.JdbcValueHandler$StringJdbcValueHandler.getValue(JdbcValueHandler.java:718) org.ofbiz.entity.jdbc.SqlJdbcUtil.getValue(SqlJdbcUtil.java:536) org.ofbiz.entity.util.EntityListIterator.currentGenericValue(EntityListIterator.java:179) org.ofbiz.entity.util.EntityListIterator.next(EntityListIterator.java:321) org.ofbiz.entity.util.EntityListIterator.getCompleteList(EntityListIterator.java:435) org.ofbiz.entity.finder.EntityFinderUtil$GetAll.handleOutput(EntityFinderUtil.java:481) org.ofbiz.entity.finder.ListFinder.runFind(ListFinder.java:217) org.ofbiz.minilang.method.entityops.EntityCondition.exec(EntityCondition.java:60) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:458) org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:275) org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:294) org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79) org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163) org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:71) org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242) java.lang.Thread.run(Thread.java:722) -------------------------------------------------------------------------------- 2013-12-11 13:45:25,933 (http-bio-0.0.0.0-8080-exec-3) [ SqlJdbcUtil.java:539:ERROR] ---- exception report ---------------------------------------------------------- Exception: java.sql.SQLException Message: Conversion to String failed ---- stack trace --------------------------------------------------------------- java.sql.SQLException: Conversion to String failed oracle.sql.Datum.stringValue(Datum.java:181) oracle.jdbc.driver.ScrollableResultSet.getString(ScrollableResultSet.java:518) org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:213) org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:213) org.ofbiz.entity.jdbc.JdbcValueHandler$StringJdbcValueHandler.getValue(JdbcValueHandler.java:732) org.ofbiz.entity.jdbc.JdbcValueHandler$StringJdbcValueHandler.getValue(JdbcValueHandler.java:718) org.ofbiz.entity.jdbc.SqlJdbcUtil.getValue(SqlJdbcUtil.java:536) org.ofbiz.entity.util.EntityListIterator.currentGenericValue(EntityListIterator.java:179) org.ofbiz.entity.util.EntityListIterator.next(EntityListIterator.java:321) org.ofbiz.entity.util.EntityListIterator.getCompleteList(EntityListIterator.java:435) org.ofbiz.entity.finder.EntityFinderUtil$GetAll.handleOutput(EntityFinderUtil.java:481) org.ofbiz.entity.finder.ListFinder.runFind(ListFinder.java:217) org.ofbiz.widget.ModelWidgetAction$EntityAnd.runAction(ModelWidgetAction.java:537) org.ofbiz.widget.ModelWidgetAction.runSubActions(ModelWidgetAction.java:116) org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:184) org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396) org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.java:216) org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:585) org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104) org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191) org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396) org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104) org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:865) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:582) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224) javax.servlet.http.HttpServlet.service(HttpServlet.java:621) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:746) org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716) org.apache.jsp.index_jsp._jspService(index_jsp.java:65) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:337) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) org.ofbiz.content.content.ContentUrlFilter.doFilter(ContentUrlFilter.java:106) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) org.ofbiz.product.category.CatalogUrlFilter.doFilter(CatalogUrlFilter.java:336) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) java.lang.Thread.run(Thread.java:722) -------------------------------------------------------------------------------- 2013-12-11 13:45:25,937 (http-bio-0.0.0.0-8080-exec-3) [ SqlJdbcUtil.java:539:ERROR] ---- exception report ---------------------------------------------------------- Exception: java.sql.SQLException Message: Conversion to String failed ---- stack trace --------------------------------------------------------------- java.sql.SQLException: Conversion to String failed oracle.sql.Datum.stringValue(Datum.java:181) oracle.jdbc.driver.ScrollableResultSet.getString(ScrollableResultSet.java:518) org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:213) org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:213) org.ofbiz.entity.jdbc.JdbcValueHandler$StringJdbcValueHandler.getValue(JdbcValueHandler.java:732) org.ofbiz.entity.jdbc.JdbcValueHandler$StringJdbcValueHandler.getValue(JdbcValueHandler.java:718) org.ofbiz.entity.jdbc.SqlJdbcUtil.getValue(SqlJdbcUtil.java:536) org.ofbiz.entity.util.EntityListIterator.currentGenericValue(EntityListIterator.java:179) org.ofbiz.entity.util.EntityListIterator.next(EntityListIterator.java:321) org.ofbiz.entity.util.EntityListIterator.getCompleteList(EntityListIterator.java:435) org.ofbiz.entity.finder.EntityFinderUtil$GetAll.handleOutput(EntityFinderUtil.java:481) org.ofbiz.entity.finder.ListFinder.runFind(ListFinder.java:217) org.ofbiz.widget.ModelWidgetAction$EntityAnd.runAction(ModelWidgetAction.java:537) org.ofbiz.widget.ModelWidgetAction.runSubActions(ModelWidgetAction.java:116) org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:184) org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396) org.ofbiz.widget.screen.ScreenFactory.renderReferencedScreen(ScreenFactory.java:216) org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:585) org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:104) org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:191) org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396) org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104) org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:865) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:582) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224) javax.servlet.http.HttpServlet.service(HttpServlet.java:621) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:746) org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716) org.apache.jsp.index_jsp._jspService(index_jsp.java:65) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:337) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) org.ofbiz.content.content.ContentUrlFilter.doFilter(ContentUrlFilter.java:106) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) org.ofbiz.product.category.CatalogUrlFilter.doFilter(CatalogUrlFilter.java:336) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) java.lang.Thread.run(Thread.java:722) --------------------------------------------------------------------------------

xm_love_jaejoong的主页 xm_love_jaejoong | 初学一级 | 园豆:100
提问于:2013-12-11 14:29
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册