Автор: AlimovAlexandr
Дата сообщения: 28.08.2012 15:54
Люди помогите, оф поддержка молчит.
Только что созданная виртуалка serv2003r2 standart, свежеустановленный билд 8027, при попытке обновления до 8100 - доходит до 98% долго думает и выдает ошибку.
Вот кусок лога который наверно содержит разгадку, ток чета у мя ума не хватает понять в чем дело.
8.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : Entering changeDocType
28.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : publicChanged :: false
28.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : Does not contain SYSTEM in the line
28.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : written the file :: [server\default\conf\datasource-configuration.xml_tmp]
28.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : Finally publicChanged :: false
28.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : public ID not there in datasource-configuration.xml
28.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : Exiting changeDocType
28.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : extractLocation : file:/C:/ManageEngine/ServiceDesk/applications/extracted/
28.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : startDBServer :: [true]
28.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : jndiName :: [MySqlDS]
28.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : setdbhomearg set in mappings.xml :: [null]
28.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : Final setdbhomearg :: [false]
28.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : properties sent to adapter initialization :: {jndiname=MySqlDS, name=mysql, setdbhomearg=false, sqlgenerator=com.adventnet.db.adapter.mysql.MysqlSQLGenerator}
28.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : db.home :: [.\mysql] finally
28.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : connectionProperties :: [useUnicode=true
characterEncoding=UTF-8
]
28.08.2012 14:07:42 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : url :: [jdbc:mysql://localhost:33366/servicedesk?&useUnicode=true&characterEncoding=UTF-8]
28.08.2012 14:07:42 [SYSERR] [INFO] : Error while trying to instantiate SQLGeneratir com.adventnet.db.adapter.mysql.MysqlSQLGenerator javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
28.08.2012 14:07:42 [SYSERR] [INFO] :
28.08.2012 14:07:51 [com.adventnet.db.adapter.DBInitializer] [INFO] : Command to start DB server [cmd, /c, ".\\bin\startDB.bat", 33366]
28.08.2012 14:07:52 [com.adventnet.persistence.AddEAR] [INFO] : database started
28.08.2012 14:07:52 [SYSOUT] [INFO] : Going to invoke SchemaBrowserUtil.loadAllModuleDD
28.08.2012 14:07:52 [SYSOUT] [INFO] :
28.08.2012 14:07:52 [com.adventnet.persistence.SchemaBrowserUtil] [INFO] : loadAllModuleDD :: loaded the DD for the module :: MetaPersistence
28.08.2012 14:07:52 [org.enhydra.jdbc.xapool] [SEVERE] : Error Exception in GenericPool:start java.sql.SQLException: Cannot get connection for URL jdbc:mysql://localhost:33366/servicedesk?&useUnicode=true&characterEncoding=UTF-8 : Communication link failure: java.net.SocketException, underlying cause: Connection reset
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: Connection reset
STACKTRACE:
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1313)
at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1335)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:562)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1651)
at com.mysql.jdbc.Connection.<init>(Connection.java:429)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:397)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.enhydra.jdbc.standard.StandardDataSource.getConnection(StandardDataSource.java:206)
at org.enhydra.jdbc.standard.StandardPooledConnection.<init>(StandardPooledConnection.java:65)
at org.enhydra.jdbc.standard.StandardXAConnection.<init>(StandardXAConnection.java:81)
at org.enhydra.jdbc.standard.StandardXADataSource.getXAConnection(StandardXADataSource.java:110)
at org.enhydra.jdbc.pool.StandardXAPoolDataSource.create(StandardXAPoolDataSource.java:155)
at org.enhydra.jdbc.pool.StandardPoolDataSource.create(StandardPoolDataSource.java:333)
at org.enhydra.jdbc.pool.GenericPool.start(GenericPool.java:140)
at org.enhydra.jdbc.pool.StandardPoolDataSource.getConnection(StandardPoolDataSource.java:181)
at org.enhydra.jdbc.pool.StandardPoolDataSource.getConnection(StandardPoolDataSource.java:164)
at com.adventnet.db.api.RelationalAPI.getConnection(RelationalAPI.java:184)
at com.adventnet.persistence.internal.GetUtil.get(GetUtil.java:88)
at com.adventnet.persistence.DataAccess.get(DataAccess.java:1126)
at com.adventnet.persistence.SchemaBrowserUtil.getData(SchemaBrowserUtil.java:1886)
at com.adventnet.persistence.SchemaBrowserUtil.fetchData(SchemaBrowserUtil.java:95)
at com.adventnet.persistence.SchemaBrowserUtil.init(SchemaBrowserUtil.java:50)
at com.adventnet.persistence.SchemaBrowserUtil.loadAllModuleDD(SchemaBrowserUtil.java:1177)
at com.adventnet.persistence.AddEAR.initializeMickey(Unknown Source)
at com.adventnet.persistence.AddEAR.install(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.adventnet.tools.update.installer.Unzipper.contextPostInstallation(Unzipper.java:1406)
at com.adventnet.tools.update.installer.Unzipper.invokePostInstallationClasses(Unzipper.java:1238)
at com.adventnet.tools.update.installer.ApplyPatch.installPatch(ApplyPatch.java:289)
at com.adventnet.tools.update.installer.ApplyPatch.run(ApplyPatch.java:223)
at java.lang.Thread.run(Unknown Source)
** END NESTED EXCEPTION **
28.08.2012 14:07:53 [org.enhydra.jdbc.xapool] [SEVERE] : GenericPool:checkOut Error Exception in GenericPool:checkOut
28.08.2012 14:07:53 [SYSERR] [INFO] : com.adventnet.persistence.DataAccessException: java.sql.SQLException: SQLException in StandardPoolDataSource:getConnection exception: java.sql.SQLException: SQLException in StandardPoolDataSource:getConnection no connection available java.sql.SQLException: Cannot get connection for URL jdbc:mysql://localhost:33366/servicedesk?&useUnicode=true&characterEncoding=UTF-8 : Unable to connect to any hosts due to exception: java.net.ConnectException: Connection refused: connect
28.08.2012 14:07:53 [SYSERR] [INFO] : at com.adventnet.persistence.internal.GetUtil.get(GetUtil.java:102)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at com.adventnet.persistence.DataAccess.get(DataAccess.java:1126)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at com.adventnet.persistence.SchemaBrowserUtil.getData(SchemaBrowserUtil.java:1886)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at com.adventnet.persistence.SchemaBrowserUtil.fetchData(SchemaBrowserUtil.java:95)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at com.adventnet.persistence.SchemaBrowserUtil.init(SchemaBrowserUtil.java:50)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at com.adventnet.persistence.SchemaBrowserUtil.loadAllModuleDD(SchemaBrowserUtil.java:1177)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at com.adventnet.persistence.AddEAR.initializeMickey(Unknown Source)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at com.adventnet.persistence.AddEAR.install(Unknown Source)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at java.lang.reflect.Method.invoke(Unknown Source)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at com.adventnet.tools.update.installer.Unzipper.contextPostInstallation(Unzipper.java:1406)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at com.adventnet.tools.update.installer.Unzipper.invokePostInstallationClasses(Unzipper.java:1238)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at com.adventnet.tools.update.installer.ApplyPatch.installPatch(ApplyPatch.java:289)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at com.adventnet.tools.update.installer.ApplyPatch.run(ApplyPatch.java:223)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at java.lang.Thread.run(Unknown Source)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : Caused by: java.sql.SQLException: SQLException in StandardPoolDataSource:getConnection exception: java.sql.SQLException: SQLException in StandardPoolDataSource:getConnection no connection available java.sql.SQLException: Cannot get connection for URL jdbc:mysql://localhost:33366/servicedesk?&useUnicode=true&characterEncoding=UTF-8 : Unable to connect to any hosts due to exception: java.net.ConnectException: Connection refused: connect
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at org.enhydra.jdbc.pool.StandardPoolDataSource.getConnection(StandardPoolDataSource.java:211)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at org.enhydra.jdbc.pool.StandardPoolDataSource.getConnection(StandardPoolDataSource.java:164)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at com.adventnet.db.api.RelationalAPI.getConnection(RelationalAPI.java:184)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : at com.adventnet.persistence.internal.GetUtil.get(GetUtil.java:88)
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [SYSERR] [INFO] : ... 16 more
28.08.2012 14:07:53 [SYSERR] [INFO] :
28.08.2012 14:07:53 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : dbadapter :: [com.adventnet.db.adapter.mysql.MysqlDBAdapter@150475b], startDBServer :: [true], dbProp :: {Password=null, ConnectionProperties=useUnicode=true
characterEncoding=UTF-8
, TransactionIsolation=TRANSACTION_READ_COMMITTED, DriverClass=org.gjt.mm.mysql.Driver, UserName=root, ConnectionURL=jdbc:mysql://localhost:33366/servicedesk}
28.08.2012 14:07:53 [com.adventnet.db.adapter.mysql.MysqlDBAdapter] [INFO] : connectionURL :: [jdbc:mysql://localhost:33366/servicedesk], userName :: [root], password :: [null]
28.08.2012 14:07:53 [com.adventnet.db.adapter.mysql.MysqlDBAdapter] [INFO] : Stopping MySQL Server ...
28.08.2012 14:07:53 [com.adventnet.db.adapter.DBInitializer] [INFO] : Command to stop DB server [cmd, /c, .\\bin\stopDB.bat, 33366, root]
28.08.2012 14:07:57 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : waitAfterDBStop :: val :: [60]
28.08.2012 14:07:57 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : Thread is going to sleep for [60] seconds
28.08.2012 14:08:04 [SYSOUT] [INFO] : .\mysql\bin\mysqladmin: connect to server at 'localhost' failed
28.08.2012 14:08:04 [SYSOUT] [INFO] :
28.08.2012 14:08:04 [SYSOUT] [INFO] : error: 'Can't connect to MySQL server on 'localhost' (10061)'
28.08.2012 14:08:04 [SYSOUT] [INFO] :
28.08.2012 14:08:04 [SYSOUT] [INFO] : Check that mysqld is running on localhost and that the port is 33366.
28.08.2012 14:08:04 [SYSOUT] [INFO] :
28.08.2012 14:08:04 [SYSOUT] [INFO] : You can check this by doing 'telnet localhost 33366'
28.08.2012 14:08:04 [SYSOUT] [INFO] :
28.08.2012 14:08:57 [com.adventnet.updatemgr.util.ConfUtils] [INFO] : Coming out of stopDB
28.08.2012 14:08:57 [com.adventnet.servicedesk.updatemgr.util.SDPostProcessorUpd] [SEVERE] : Inside SDPostProcessorUpd.