@ExtremeTalk 你好,想跟你请教个问题:部署在tomcat环境下,启动时报错,麻烦帮忙看下。
平台信息:
OS: Red Hat Enterprise Linux 6.3 64位
DB: MYSQL 5.5
Tomcat版本: 5.5.36
错误信息:
部分tomcat日志(logs目录下的catalina.out日志文件)如下:
May 8, 2013 6:06:48 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/jdk1.6.0_29/jre/lib/amd64/server:/usr/jdk1.6.0_29/jre/lib/amd64:/usr/jdk1.6.0_29/jre/../lib/amd64::/opt/euca-axis2c/lib:/usr/lib:/opt/euca-axis2c/modules/rampart:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
May 8, 2013 6:06:49 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 8, 2013 6:06:49 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 353 ms
May 8, 2013 6:06:49 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 8, 2013 6:06:49 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.36
May 8, 2013 6:06:49 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
========= Config.groovy =========
[:]
========= Config.groovy =========
[:]
========== BootStrap.groovy ==========
==================================================
= SYSTEM PROP: java.runtime.name = Java(TM) SE Runtime Environment
= SYSTEM PROP: java.vm.version = 20.4-b02
= SYSTEM PROP: java.vm.vendor = Sun Microsystems Inc.
= SYSTEM PROP: java.vendor.url = http://java.sun.com/
= SYSTEM PROP: java.util.logging.config.file = /usr/local/apache-tomcat-5.5.36/conf/logging.properties
= SYSTEM PROP: java.vm.name = Java HotSpot(TM) 64-Bit Server VM
= SYSTEM PROP: java.vm.specification.name = Java Virtual Machine Specification
= SYSTEM PROP: java.runtime.version = 1.6.0_29-b11
= SYSTEM PROP: java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
= SYSTEM PROP: java.endorsed.dirs = /usr/local/apache-tomcat-5.5.36/common/endorsed
= SYSTEM PROP: java.io.tmpdir = /usr/local/apache-tomcat-5.5.36/temp
= SYSTEM PROP: java.vm.specification.vendor = Sun Microsystems Inc.
= SYSTEM PROP: java.naming.factory.url.pkgs = org.apache.naming
= SYSTEM PROP: java.util.logging.manager = org.apache.juli.ClassLoaderLogManager
= SYSTEM PROP: java.library.path = /usr/jdk1.6.0_29/jre/lib/amd64/server:/usr/jdk1.6.0_29/jre/lib/amd64:/usr/jdk1.6.0_29/jre/../lib/amd64::/opt/euca-axis2c/lib:/usr/lib:/opt/euca-axis2c/modules/rampart:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
= SYSTEM PROP: java.specification.name = Java Platform API Specification
= SYSTEM PROP: java.class.version = 50.0
= SYSTEM PROP: java.awt.printerjob = sun.print.PSPrinterJob
= SYSTEM PROP: java.specification.version = 1.6
= SYSTEM PROP: java.class.path = /usr/local/apache-tomcat-5.5.36/bin/bootstrap.jar
= SYSTEM PROP: java.naming.factory.initial = org.apache.naming.java.javaURLContextFactory
= SYSTEM PROP: java.vm.specification.version = 1.0
= SYSTEM PROP: java.home = /usr/jdk1.6.0_29/jre
= SYSTEM PROP: java.specification.vendor = Sun Microsystems Inc.
= SYSTEM PROP: java.vm.info = mixed mode
= SYSTEM PROP: java.version = 1.6.0_29
= SYSTEM PROP: java.ext.dirs = /usr/jdk1.6.0_29/jre/lib/ext:/usr/java/packages/lib/ext
= SYSTEM PROP: java.vendor = Sun Microsystems Inc.
= SYSTEM PROP: java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
==================================================
==================================================
= SYSTEM PROP: user.country = US
= SYSTEM PROP: user.dir = /usr/local/apache-tomcat-5.5.36/bin
= SYSTEM PROP: user.home = /root
= SYSTEM PROP: user.timezone = Asia/Shanghai
= SYSTEM PROP: user.name = root
= SYSTEM PROP: user.language = en
==================================================
production config
==================================================
= SYSTEM PROP: org.xt.server.InitDemoData = false
= SYSTEM PROP: org.xt.server.hibernate.show_sql = false
= SYSTEM PROP: org.xt.server.hibernate.hbm2ddl.auto = update
= SYSTEM PROP: org.xt.server.config.dir = /root
= SYSTEM PROP: org.xt.server.cpu = 1
= SYSTEM PROP: org.xt.server.webroot.dir = /usr/local/apache-tomcat-5.5.36/webapps/xt/
==================================================
ERROR execute, could not get database metadata
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown table 'sequences' in information_schema
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.Util.getInstance(Util.java:384)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3562)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3494)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1960)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2114)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2690)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2619)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1465)
at org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100)
at org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)
at org.xt.server.PacketDispatcher.loadIocConfig(PacketDispatcher.java:159)
at org.xt.server.PacketDispatcher.<init>(PacketDispatcher.java:106)
at org.xt.server.ExtremeTalkServer.startup(ExtremeTalkServer.java:78)
at BootStrap$_closure1.doCall(BootStrap.groovy:50)
at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:264)
at grails.util.Environment.executeForEnvironment(Environment.java:257)
at grails.util.Environment.executeForCurrentEnvironment(Environment.java:233)
还请解答一下,如有问题想询问,请回复,谢谢!
把WEB-INF/db-config.properties文件的内容贴出来看看呢
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。