tur1ik 0 Опубликовано 3 ноября, 2011 Привет всем. В обшем недавно столкнулся с такой проблемой - http://saveimg.ru/show-image.php?id=2abbad...8ea7a76363397b0 причём проблема такая со всеми сборками, но спустя 2-3 минуты начинает грузить.... но всё оканчивается этим - Скрытый текстLoading: ./config/main/security.properties.Loading: ./config/main/ban.properties. Loading: ./config/main/loginserver.properties. Loading: ./config/versionning/build-time.properties. =================================================-[ LoginServer DataBase Load ] INFO [00:46:45] MLog clients using java 1.4+ standard logging. INFO [00:46:45] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? tr ue; trace: 10] INFO [00:47:07] Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSou rce [ java.beans.IntrospectionException: java.lang.reflect.InvocationTargetExcep tion [numThreadsAwaitingCheckoutDefaultUser] ] WARNING [00:47:29] org.hibernate.util.JDBCExceptionReporter.logExceptions(): SQL Error: 0, SQLState: 08S01 SEVERE [00:47:29] org.hibernate.util.JDBCExceptionReporter.logExceptions(): Comm unications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driv er has not received any packets from the server. WARNING [00:47:29] org.hibernate.cfg.SettingsFactory.buildSettings(): Could not obtain connection metadata com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link fai lure The last packet sent successfully to the server was 0 milliseconds ago. The driv er has not received any packets from the server. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1 118) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2 308) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2122) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:774) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:49) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:375) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java :289) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManag erDataSource.java:119) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti on(WrapperConnectionPoolDataSource.java:143) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti on(WrapperConnectionPoolDataSource.java:132) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu tomaticTestTable(C3P0PooledConnectionPoolManager.java:772) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled ConnectionPool(C3P0PooledConnectionPoolManager.java:696) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0 PooledConnectionPoolManager.java:257) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0 PooledConnectionPoolManager.java:271) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(A bstractPoolBackedDataSource.java:128) at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider. getConnection(LocalDataSourceConnectionProvider.java:82) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java: 84) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073 ) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav a:1298) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSession Factory(LocalSessionFactoryBean.java:816) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessi onFactory(LocalSessionFactoryBean.java:734) at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPr opertiesSet(AbstractSessionFactoryBean.java:211) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1367) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1333) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:217) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory. preInstantiateSingletons(DefaultListableBeanFactory.java:423) at org.springframework.context.support.AbstractApplicationContext.finish BeanFactoryInitialization(AbstractApplicationContext.java:729) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:381) at org.springframework.context.support.ClassPathXmlApplicationContext.<i nit>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<i nit>(ClassPathXmlApplicationContext.java:93) at com.emurt.L2Registry.loadRegistry(L2Registry.java:63) at com.emurt.loginserver.L2LoginServer.<init>(L2LoginServer.java:85) at com.emurt.loginserver.L2LoginServer.main(L2LoginServer.java:42) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.ja va:256) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292) ... 45 more INFO [00:47:30] Loaded 127 server names INFO [00:47:30] .................................................. INFO [00:47:30] System Time: 04-11-2011 12:47:30 AM INFO [00:47:30] .................................................. INFO [00:47:30] OS: Windows 7 Build: 6.1 INFO [00:47:30] OS Arch: x86 INFO [00:47:30] .................................................. INFO [00:47:30] .................................................. INFO [00:47:30] Avaible CPU(s): 4 INFO [00:47:30] Processor(s) Identifier: x86 Family 16 Model 5 Stepping 3, Authe nticAMD INFO [00:47:30] .................................................. INFO [00:47:30] .................................................. INFO [00:47:30] Runtime Information INFO [00:47:30] Current Free Heap Size: 11 mb INFO [00:47:30] Current Heap Size: 15 mb INFO [00:47:30] Maximum Heap Size: 123 mb INFO [00:47:30] .................................................. INFO [00:47:30] .................................................. INFO [00:47:30] Java Platform Information INFO [00:47:30] Java Runtime Name: Java SE Runtime Environment INFO [00:47:30] Java Version: 1.6.0_29 INFO [00:47:30] Java Class Version: 50.0 INFO [00:47:30] .................................................. INFO [00:47:30] .................................................. INFO [00:47:30] Virtual Machine Information (JVM) INFO [00:47:30] JVM Name: Java HotSpot Client VM INFO [00:47:30] JVM installation directory: C:\Program Files\Java\jre6 INFO [00:47:30] JVM version: 20.4-b02 INFO [00:47:30] JVM Vendor: Sun Microsystems Inc. INFO [00:47:30] JVM Info: mixed mode, sharing INFO [00:47:30] .................................................. INFO [00:47:30] .................................................. INFO [00:47:30] LoginManager initiating INFO [00:47:33] Cached 10 KeyPairs for RSA communication INFO [00:47:33] Stored 20 keys for Blowfish communication WARNING [00:47:55] org.hibernate.util.JDBCExceptionReporter.logExceptions(): SQL Error: 0, SQLState: 08S01 SEVERE [00:47:55] org.hibernate.util.JDBCExceptionReporter.logExceptions(): Comm unications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driv er has not received any packets from the server. WARNING [00:47:55] org.hibernate.util.JDBCExceptionReporter.logExceptions(): SQL Error: 0, SQLState: 08S01 SEVERE [00:47:55] org.hibernate.util.JDBCExceptionReporter.logExceptions(): Comm unications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driv er has not received any packets from the server. Exception in thread "main" org.springframework.transaction.CannotCreateTransacti onException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.JDBCConnectionException: Cannot open connection at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegi n(HibernateTransactionManager.java:550) at org.springframework.transaction.support.AbstractPlatformTransactionMa nager.getTransaction(AbstractPlatformTransactionManager.java:377) at org.springframework.transaction.interceptor.TransactionAspectSupport. createTransactionIfNecessary(TransactionAspectSupport.java:263) at org.springframework.transaction.interceptor.TransactionInterceptor.in voke(TransactionInterceptor.java:101) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterc eptor.intercept(Cglib2AopProxy.java:635) at com.emurt.loginserver.services.GameserversServices$$EnhancerByCGLIB$$ f940f13b.getAllGameservers(<generated>) at com.emurt.loginserver.manager.GameServerManager.load(GameServerManage r.java:209) at com.emurt.loginserver.manager.GameServerManager.<init>(GameServerMana ger.java:113) at com.emurt.loginserver.manager.GameServerManager.getInstance(GameServe rManager.java:82) at com.emurt.loginserver.L2LoginServer.<init>(L2LoginServer.java:97) at com.emurt.loginserver.L2LoginServer.main(L2LoginServer.java:42) Caused by: org.hibernate.exception.JDBCConnectionException: Cannot open connecti on at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j ava:74) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp er.java:43) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp er.java:29) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager .java:426) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager. java:144) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java: 57) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326 ) at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegi n(HibernateTransactionManager.java:509) ... 11 more Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communicatio ns link failure The last packet sent successfully to the server was 0 milliseconds ago. The driv er has not received any packets from the server. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1 118) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2 308) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2122) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:774) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:49) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:375) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java :289) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManag erDataSource.java:119) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti on(WrapperConnectionPoolDataSource.java:143) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti on(WrapperConnectionPoolDataSource.java:132) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu tomaticTestTable(C3P0PooledConnectionPoolManager.java:772) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled ConnectionPool(C3P0PooledConnectionPoolManager.java:696) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0 PooledConnectionPoolManager.java:257) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0 PooledConnectionPoolManager.java:271) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(A bstractPoolBackedDataSource.java:128) at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider. getConnection(LocalDataSourceConnectionProvider.java:82) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager .java:423) ... 16 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.ja va:256) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292) ... 37 more LoginServer terminated abnormaly LoginServer terminated Для продолжения нажмите любую клавишу . . . Подскажите плиз что я делаю не так... раньше всё замечательно работало. Заранее спасибо Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
Nolland 0 Опубликовано 3 ноября, 2011 мне кажется java или mysql барахлит Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
SHARK 39 Опубликовано 3 ноября, 2011 Пиши в скайп, помогу. Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
tur1ik 0 Опубликовано 4 ноября, 2011 Пиши в скайп, помогу. А можно как нибудь без скайпа? Просто микр накрылся) Хотя я вроде сам разобрался.....Что-то с мускулом. Выдаёт ошибку мускул при установке базы. Киньте плиз нормальные: мускул, яву, навикат. Перелопатил весь инет, и нихрена нормального не нашёл, мускул как выдавал ошибку, так и выдаёт..... Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
SHARK 39 Опубликовано 4 ноября, 2011 Я на форуме уже скидывал ссылки, ищи. Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
««†KENVOOD†»» 12 Опубликовано 4 ноября, 2011 все дело в MySQL Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
SHARK 39 Опубликовано 4 ноября, 2011 MySQL <<<< Ссылка MySQL-5.1 /MySQL Community Server 5.1/ mysql-essential-5.1.53-win32.msi версия для Windows (x86, 32-bit), MSI Installer Essentials - Recommended 5.1.53 (38.9M) mysql-essential-5.1.53-winx64.msi версия для Windows (x86, 64-bit), MSI Installer Essentials - Recommended 5.1.53 (31.4M) Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
tur1ik 0 Опубликовано 4 ноября, 2011 Хм.... Поставил новый мускул, и всё равно, такая-же ошибка...( Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
SHARK 39 Опубликовано 4 ноября, 2011 TeamViewer данные дай - я сделаю. Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты