Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  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 DBF
JDBC DBF Error quering for new pks in relatedfoundset
Sebastian Schlatow
2014-05-15 00:37:38.0
I get the following error with JDBC 4.1 Package for Xbase database Implementation-Version: 5.2.002 on May 08, 2014, but I don't get the error with Implementation-Version: 5.1.207 on March 03, 20.

Error quering for new pks in relatedfoundset
> com.servoy.j2db.persistence.RepositoryException: Connection pool for server boss_db exhausted
Exception Object: com.servoy.j2db.persistence.RepositoryException: Connection pool for server boss_db exhausted
MSG: Connection pool for server boss_db exhausted
is a ServoyException
Errorcode: 227
com.servoy.j2db.persistence.RepositoryException: Connection pool for server boss_db exhausted
at com.servoy.j2db.server.Za.Zo.getRawConnection(Zo.java:1620)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:1232)
at com.servoy.j2db.server.dataprocessing.Zfb.Za(Zfb.java:3)
at com.servoy.j2db.server.dataprocessing.Zw.Za(Zw.java:1213)
at com.servoy.j2db.server.dataprocessing.Zw.performQuery(Zw.java:1516)
at sun.reflect.GeneratedMethodAccessor240.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.servoy.j2db.util.AbstractRemoteInvocationHandler.invokeMethod(AbstractRemoteInvocationHandler.java:77)
at com.servoy.j2db.util.ThreadingRemoteInvocationHandler$1.run(ThreadingRemoteInvocationHandler.java:79)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Connection pool for server boss_db exhausted
> com.servoy.j2db.persistence.RepositoryException: Connection pool for server boss_db exhausted
> com.servoy.j2db.persistence.RepositoryException: Connection pool for server boss_db exhausted
Exception Object: com.servoy.j2db.persistence.RepositoryException: Connection pool for server boss_db exhausted
MSG: Connection pool for server boss_db exhausted
is a ServoyException
Errorcode: 227
com.servoy.j2db.persistence.RepositoryException: Connection pool for server boss_db exhausted
at com.servoy.j2db.server.Za.Zo.getRawConnection(Zo.java:1620)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:1232)
at com.servoy.j2db.server.dataprocessing.Zfb.Za(Zfb.java:3)
at com.servoy.j2db.server.dataprocessing.Zw.Za(Zw.java:1213)
at com.servoy.j2db.server.dataprocessing.Zw.performQuery(Zw.java:1516)
at sun.reflect.GeneratedMethodAccessor240.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.servoy.j2db.util.AbstractRemoteInvocationHandler.invokeMethod(AbstractRemoteInvocationHandler.java:77)
at com.servoy.j2db.util.ThreadingRemoteInvocationHandler$1.run(ThreadingRemoteInvocationHandler.java:79)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Connection pool for server boss_db exhausted
> com.servoy.j2db.persistence.RepositoryException: Connection pool for server boss_db exhausted
Re:JDBC DBF Error quering for new pks in relatedfoundset
HXTT Support
2014-05-15 00:48:37.0
It's strange. Whether it failed to run, or exhaust after run normally a few time?
Re:JDBC DBF Error quering for new pks in relatedfoundset
Sebastian Schlatow
2014-05-15 00:49:29.0
See also https://support.servoy.com/browse/SVY-6564
Re:Re:Re:JDBC DBF Error quering for new pks in relatedfoundset
Sebastian Schlatow
2014-05-15 01:10:43.0
The error occurs if I logout from a Servoy Framework solution. Also I get a messsage that there is an "active transaction". See also the Servoy Thread.
Re:Re:Re:Re:JDBC DBF Error quering for new pks in relatedfoundset
HXTT Support
2014-05-15 04:07:59.0
Checked your error log:
2014-05-14 13:48:05,889 ERROR [pool-7-thread-4] com.servoy.j2db.util.Debug - Throwable [E4C0EED8-A567-4FC8-83CD-F82095E0C71D BOSS]
java.sql.SQLException: connection already closed or transaction in progress
at com.servoy.j2db.datasource.Zo.close(Zo.java:76)
at com.servoy.j2db.util.Utils.closeConnection(Utils.java:1642)
at com.servoy.j2db.server.Za.Zo.Za(Zo.java:651)
at com.servoy.j2db.server.dataprocessing.Zfb.Za(Zfb.java:38)
at com.servoy.j2db.server.dataprocessing.Zw.endTransactions(Zw.java:391)
at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.servoy.j2db.util.AbstractRemoteInvocationHandler.invokeMethod(AbstractRemoteInvocationHandler.java:77)
at com.servoy.j2db.util.ThreadingRemoteInvocationHandler$1.run(ThreadingRemoteInvocationHandler.java:79)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2014-05-14 13:49:05,945 ERROR [pool-7-thread-4] com.servoy.j2db.util.Debug - DB Pool for server boss_dbis empty for a while, you need to increase max connection usage (especially when using long transactions) [E4C0EED8-A567-4FC8-83CD-F82095E0C71D BOSS]

It seems that HxttConnection.close() should throw an error, which hasn't processed by Servoy.
Re:Re:Re:Re:Re:JDBC DBF Error quering for new pks in relatedfoundset
HXTT Support
2014-05-15 05:22:38.0
Tried Servoy Developer. The Smart Client seems normal and Logout is normal too. Failed to recur your issue.
Re:Re:Re:Re:Re:Re:JDBC DBF Error quering for new pks in relatedfoundset
Sebastian Schlatow
2014-05-15 06:01:07.0
Do you have the Servoy Framework used?
Re:Re:Re:Re:Re:Re:Re:JDBC DBF Error quering for new pks in relatedfoundset
HXTT Support
2014-05-15 06:14:44.0
I tried Servoy Developer. If possible, you can try to catch the exception:
java.sql.SQLException: connection already closed or transaction in progress
at com.servoy.j2db.datasource.Zo.close(Zo.java:76)
at com.servoy.j2db.util.Utils.closeConnection(Utils.java:1642)
to see what's the reason.
Re:Re:Re:Re:Re:Re:Re:JDBC DBF Error quering for new pks in relatedfoundset
HXTT Support
2014-05-15 06:17:22.0
Maybe you forget to commit a transaction so that it has been rollbacked?
Re:Re:Re:Re:Re:Re:Re:Re:JDBC DBF Error quering for new pks in relatedfoundset
Sebastian Schlatow
2014-05-15 09:05:20.0
"Maybe you forget to commit a transaction so that it has been rollbacked?"

How can it be, if I don't get that error with the older driver version?
Re:Re:Re:Re:Re:Re:Re:Re:JDBC DBF Error quering for new pks in relatedfoundset
HXTT Support
2014-05-16 08:53:39.0
Checked, but failed to find where code modification can result that issue.
According to Sevoy message:
servoy.error.transaction.closedOrInProgress=connection already closed or transaction in progress

You have to using 5.1.207 temporarily util we can recur your issue or received other customer's report.

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