Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT ACCESS
java.sql.SQLException
F.Javier Almeida
2009-12-18 03:48:28.0
Good morning,
we are using de Access driver (AccessJDBC_4.0.jar) to access to remote data. We have just downloaded the last version of the drivers.
Our software access to remote data constantly and, though not always, quite often we have the next exception:
"
...
2009-12-18 12:40:43[ERROR][TelevisUtilBase.getDispositivosInstalacion()] Error 1 al recuperar los dispositivos de GMAMPOSTA
java.sql.SQLException: Timeout Interrupted Exception: beyond 1000 msecs to open a database of setup.
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.sql.access.av.a(Unknown Source)
at com.hxtt.sql.access.r.a(Unknown Source)
at com.hxtt.concurrent.x.a(Unknown Source)
at com.hxtt.sql.access.bb.a(Unknown Source)
at com.hxtt.sql.access.ae.a(Unknown Source)
at com.hxtt.sql.bp.if(Unknown Source)
at com.hxtt.sql.di.a(Unknown Source)
at com.hxtt.sql.di.a(Unknown Source)
at com.hxtt.sql.bp.a(Unknown Source)
at com.hxtt.sql.bp.a(Unknown Source)
at com.hxtt.sql.ah.a(Unknown Source)
at com.hxtt.sql.ah.a(Unknown Source)
at com.hxtt.sql.ah.executeQuery(Unknown Source)
at com.systemfrost.cc.TelevisUtilBase.getDispositivosInstalacion(TelevisUtilBase.java:182)
at com.systemfrost.cc.TelevisUtilMac.getDispositivosInstalacion(TelevisUtilMac.java:39)
at com.systemfrost.cc.LectorCambiosCfg.run(LectorCambiosCfg.java:228)
Timeout Interrupted Exception: beyond 1000 msecs to open a database of setup.
Error Code:721152
SQL State:S1T00
java.sql.SQLException: Timeout Interrupted Exception: beyond 1000 msecs to open a database of setup.
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.sql.access.av.a(Unknown Source)
at com.hxtt.sql.access.r.a(Unknown Source)
at com.hxtt.concurrent.x.a(Unknown Source)
at com.hxtt.sql.access.bb.a(Unknown Source)
at com.hxtt.sql.access.ae.a(Unknown Source)
at com.hxtt.sql.bp.if(Unknown Source)
at com.hxtt.sql.di.a(Unknown Source)
at com.hxtt.sql.di.a(Unknown Source)
at com.hxtt.sql.bp.a(Unknown Source)
at com.hxtt.sql.bp.a(Unknown Source)
at com.hxtt.sql.ah.a(Unknown Source)
at com.hxtt.sql.ah.a(Unknown Source)
at com.hxtt.sql.ah.executeQuery(Unknown Source)
at com.systemfrost.cc.TelevisUtilBase.getDispositivosInstalacion(TelevisUtilBase.java:182)
at com.systemfrost.cc.TelevisUtilMac.getDispositivosInstalacion(TelevisUtilMac.java:39)
at com.systemfrost.cc.LectorCambiosCfg.run(LectorCambiosCfg.java:228)
...
"

How could we solve this problem?
Thank you very much,
Kiko.



Re:java.sql.SQLException
HXTT Support
2009-12-18 04:28:10.0
>How could we solve this problem?
Try lockTimeout connection with a bigger value.
Re:Re:java.sql.SQLException
HXTT Support
2009-12-18 07:49:47.0
I did it using the method setQueryTimeout( seconds ) for my Statement Object.
I setted the timeout to 25 seconds, but I still had the message.
"java.sql.SQLException: Timeout Interrupted Exception: beyond 1000 msecs to open a database of setup. "
I saw "1000 msecs" instead of "25000 msecs" so I though it was not the problem.
And I printed out the times and, although I had setted the time to 25 secs., the error still was happening after 1 second.
The method setQueryTimeout() is the correct way to lockTimeout connection, isnt it?
Thank you very much.
Re:Re:Re:java.sql.SQLException
HXTT Support
2009-12-18 17:40:08.0
>I did it using the method setQueryTimeout( seconds ) for my Statement Object.
That method hasn't relation with lockTimeout connection property now.
Re:Re:Re:Re:java.sql.SQLException
HXTT Support
2009-12-21 02:34:30.0
Thank you very much. I've solved the problem setting the lockTimeout connection property in the correct way.

Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap