Projects tigase _server server-core Issues #975
can not start tigase run on linux7 (#975)
shuiliang shen opened 6 years ago
2018-09-19 17:12:04.713 [main]             JDBCMsgRepository.initRepository()  WARNING: MsgRepository not initialized due to exception
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
	at com.mysql.jdbc.Util.getInstance(Util.java:408)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2483)
	at com.mysql.jdbc.StatementImpl.executeUpdateInternal(StatementImpl.java:1552)
	at com.mysql.jdbc.StatementImpl.executeLargeUpdate(StatementImpl.java:2607)
	at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1480)
	at tigase.db.jdbc.DataRepositoryImpl.checkTable(DataRepositoryImpl.java:147)
	at tigase.db.DataRepositoryPool.checkTable(DataRepositoryPool.java:114)
	at tigase.server.amp.JDBCMsgRepository.checkDB(JDBCMsgRepository.java:1000)
	at tigase.server.amp.JDBCMsgRepository.initRepository(JDBCMsgRepository.java:372)
	at tigase.server.amp.action.Store.setProperties(Store.java:195)
	at tigase.server.amp.AmpComponent.setProperties(AmpComponent.java:259)
	at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:519)
	at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:152)
	at tigase.conf.Configurator.componentAdded(Configurator.java:50)
	at tigase.conf.Configurator.componentAdded(Configurator.java:33)
	at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:116)
	at tigase.server.MessageRouter.addComponent(MessageRouter.java:115)
	at tigase.server.MessageRouter.addRouter(MessageRouter.java:152)
	at tigase.server.MessageRouter.setProperties(MessageRouter.java:745)
	at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:519)
	at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:152)
	at tigase.conf.Configurator.componentAdded(Configurator.java:50)
	at tigase.conf.Configurator.componentAdded(Configurator.java:33)
	at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:116)
	at tigase.server.MessageRouter.addRegistrator(MessageRouter.java:138)
	at tigase.server.MessageRouter.setConfig(MessageRouter.java:644)
	at tigase.server.XMPPServer.start(XMPPServer.java:142)
	at tigase.server.XMPPServer.main(XMPPServer.java:112)
2018-09-19 17:12:04.714 [expired-processor]  ThreadExceptionHandler.uncaughtException()  SEVERE: Uncaught thread: "expired-processor" exception
java.lang.NullPointerException
	at tigase.server.amp.JDBCMsgRepository.loadExpiredQueue(JDBCMsgRepository.java:1150)
	at tigase.server.amp.MsgRepository.getMessageExpired(MsgRepository.java:230)
	at tigase.server.amp.action.Store$1.run(Store.java:206)
2018-09-19 17:12:04.715 [main]             Configurator.componentAdded()      WARNING:  ignoring NPE
java.lang.NullPointerException
	at tigase.server.amp.JDBCMsgRepository.loadMessagesToBroadcast(JDBCMsgRepository.java:831)
	at tigase.server.amp.action.Broadcast.setProperties(Broadcast.java:270)
	at tigase.server.amp.AmpComponent.setProperties(AmpComponent.java:262)
	at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:519)
	at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:152)
	at tigase.conf.Configurator.componentAdded(Configurator.java:50)
	at tigase.conf.Configurator.componentAdded(Configurator.java:33)
	at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:116)
	at tigase.server.MessageRouter.addComponent(MessageRouter.java:115)
	at tigase.server.MessageRouter.addRouter(MessageRouter.java:152)
	at tigase.server.MessageRouter.setProperties(MessageRouter.java:745)
	at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:519)
	at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:152)
	at tigase.conf.Configurator.componentAdded(Configurator.java:50)
	at tigase.conf.Configurator.componentAdded(Configurator.java:33)
	at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:116)
	at tigase.server.MessageRouter.addRegistrator(MessageRouter.java:138)
	at tigase.server.MessageRouter.setConfig(MessageRouter.java:644)
	at tigase.server.XMPPServer.start(XMPPServer.java:142)
	at tigase.server.XMPPServer.main(XMPPServer.java:112)

wojciech.kapcia@tigase.net commented 6 years ago

Hello and welcome to Tigase. For general question and problems setting up server we recommend using dedicated forums section (https://tigase.tech/projects/tigase-server/boards). Please include all details (especially configuration files) that will help identify the issue.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
8199
Version
tigase-server-7.1.3
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#975
Please wait...
Page is in error, reload to recover