Hi, I'm trying to install Infoglue but when it tries to connect to MySql i get this error:
"An error made the installation stop:
Communication link failure: Bad handshake"
and when trying to connect to MS SQL Server i get
"An error made the installation stop:
[Microsoft][SQLServer JDBC Driver]Error establishing socket."
Anyone can help ... ??
Thanks a lot
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Connecting to database on jdbc:mysql://beyrouth/mysql whith driver com.mysql.jdb
c.Driver and root and root
java.sql.SQLException: Communication link failure: java.io.IOException, underlyi
ng cause: Unexpected end of input stream
** BEGIN NESTED EXCEPTION **
java.io.IOException
MESSAGE: Unexpected end of input stream
STACKTRACE:
java.io.IOException: Unexpected end of input stream
at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1073)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:619)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1511)
at com.mysql.jdbc.Connection.<init>(Connection.java:485)
at com.mysql.jdbc.Driver.connect(Driver.java:341)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.infoglue.cmsinstaller.DatabaseCommander.getConnection(DatabaseCom
mander.java:71)
at org.infoglue.cmsinstaller.MySQLDatabaseCommander.testSetupDummyDataba
se(MySQLDatabaseCommander.java:226)
at org.infoglue.cmsinstaller.InfoGlueInstaller.checkDatabase(InfoGlueIns
taller.java:126)
at org.infoglue.cmsinstaller.InstallerMouseAdapter.actionPerformed(Insta
llerMouseAdapter.java:53)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
n Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
** END NESTED EXCEPTION **
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:692)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1511)
at com.mysql.jdbc.Connection.<init>(Connection.java:485)
at com.mysql.jdbc.Driver.connect(Driver.java:341)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.infoglue.cmsinstaller.DatabaseCommander.getConnection(DatabaseCom
mander.java:71)
at org.infoglue.cmsinstaller.MySQLDatabaseCommander.testSetupDummyDataba
se(MySQLDatabaseCommander.java:226)
at org.infoglue.cmsinstaller.InfoGlueInstaller.checkDatabase(InfoGlueIns
taller.java:126)
at org.infoglue.cmsinstaller.InstallerMouseAdapter.actionPerformed(Insta
llerMouseAdapter.java:53)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
n Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, very strange exception -I have not seen it before.
I suspect it can have something to do with the driver-version shipped in InfoGlue 1.2. Can you try to install one of the latest developer version if you just want to try the system out. It is not as stable of course but the drivers are updated since 1.2 and there are tons of new features.
Thanks a lot Mattias, with this version i had 0 problems untill trying to logging in !!! using "administrator" and a blank password !!! but it's not working !!! any ideas ?
Thanks for your help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I'm trying to install Infoglue but when it tries to connect to MySql i get this error:
"An error made the installation stop:
Communication link failure: Bad handshake"
and when trying to connect to MS SQL Server i get
"An error made the installation stop:
[Microsoft][SQLServer JDBC Driver]Error establishing socket."
Anyone can help ... ??
Thanks a lot
Hi,
I suspect you write the wrong host or have a database version that is very old/very very new.
What version do you use?
Regards
Mattias Bogeblad
SQL Server 2000 or MySQL 4.1.4; Tomcat 5.0 SDK 1.4.2_05
You think i should downgrade ???
Here's the FULL ERROR
*****************
Loading JDBC driver com.mysql.jdbc.Driver
Connecting to database on jdbc:mysql://beyrouth/mysql whith driver com.mysql.jdb
c.Driver and root and root
java.sql.SQLException: Communication link failure: java.io.IOException, underlyi
ng cause: Unexpected end of input stream
** BEGIN NESTED EXCEPTION **
java.io.IOException
MESSAGE: Unexpected end of input stream
STACKTRACE:
java.io.IOException: Unexpected end of input stream
at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1073)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:619)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1511)
at com.mysql.jdbc.Connection.<init>(Connection.java:485)
at com.mysql.jdbc.Driver.connect(Driver.java:341)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.infoglue.cmsinstaller.DatabaseCommander.getConnection(DatabaseCom
mander.java:71)
at org.infoglue.cmsinstaller.MySQLDatabaseCommander.testSetupDummyDataba
se(MySQLDatabaseCommander.java:226)
at org.infoglue.cmsinstaller.InfoGlueInstaller.checkDatabase(InfoGlueIns
taller.java:126)
at org.infoglue.cmsinstaller.InstallerMouseAdapter.actionPerformed(Insta
llerMouseAdapter.java:53)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
n Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
** END NESTED EXCEPTION **
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:692)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1511)
at com.mysql.jdbc.Connection.<init>(Connection.java:485)
at com.mysql.jdbc.Driver.connect(Driver.java:341)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.infoglue.cmsinstaller.DatabaseCommander.getConnection(DatabaseCom
mander.java:71)
at org.infoglue.cmsinstaller.MySQLDatabaseCommander.testSetupDummyDataba
se(MySQLDatabaseCommander.java:226)
at org.infoglue.cmsinstaller.InfoGlueInstaller.checkDatabase(InfoGlueIns
taller.java:126)
at org.infoglue.cmsinstaller.InstallerMouseAdapter.actionPerformed(Insta
llerMouseAdapter.java:53)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
n Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Hi, very strange exception -I have not seen it before.
I suspect it can have something to do with the driver-version shipped in InfoGlue 1.2. Can you try to install one of the latest developer version if you just want to try the system out. It is not as stable of course but the drivers are updated since 1.2 and there are tons of new features.
A up2date version can be found at http://www.infoglue.org/downloads/InfoglueInstaller1.25RC1.zip
Regards
Mattias Bogeblad
Thanks a lot Mattias, with this version i had 0 problems untill trying to logging in !!! using "administrator" and a blank password !!! but it's not working !!! any ideas ?
Thanks for your help
Hi, in 1.3 the password is changeit.
Regards
Mattias
Thanks !! I just noticed that, i searched for it in the Database ;)
Thanks again ;)