Re: COMMUNICATION LINK FAILURE
"Sean Dockery" <[email protected]>
| Newsgroups | gmane.comp.jakarta.tomcat.user,gmane.comp.java.sun.servlet |
|---|---|
| Organization | SBD Consultants |
| Message-ID | <[email protected]> |
Where is the database running? On another machine? Is there a firewall between you and the database? -- Sean Dockery [email protected] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com "Laxmikanth M.S." <[email protected]> wrote in message news:[email protected]... > Hi all, > well and wish the same... > I am getting a peculiar error ...... > I am using MySQL3.23.43 with tomcat4.1.12..... > I have written a bean which talks with DB and updates a table...this is > running in a loop and so I have used PreparedStatement.... > after 33 rows are Inserted it shows the below error > > "java.sql.SQLException: Communication link failure: java.io.IOException > at org.gjt.mm.mysql.MysqlIO.clearAllReceive(Unknown Source) > at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(Unknown Source) > at org.gjt.mm.mysql.Connection.execSQL(Unknown Source) > at org.gjt.mm.mysql.PreparedStatement.executeQuery(Unknown Source) > at hkbeans.fundProfileToDB.updateprice(fundProfileToDB.java:2058) > at hkbeans.fundProfileToDB.csvToDB(fundProfileToDB.java:70) > at hkbeans.fundProfileToDB.main(fundProfileToDB.java:34)" > > what could be the problem.... > thanks in advance for the help > regards > Laxmikanth > > ********************************************************************* > Disclaimer: The information in this e-mail and any attachments is > confidential / privileged. It is intended solely for the addressee or > addressees. If you are not the addressee indicated in this message, you may > not copy or deliver this message to anyone. In such case, you should destroy > this message and kindly notify the sender by reply email. Please advise > immediately if you or your employer does not consent to Internet email for > messages of this kind. > *********************************************************************