• Anonymous
  • Login
  • Register
XPages Extension Library - Discussion: @jdbc -> As400 files in use

Created on Jul 30, 2012
Created by eros monzani
Status
Open

Hi,

following the example for Oracle, i made a osgi plugin for the jdbc driver JTOpen 7.7.1
Installed it without problems. I'm using it (dev server).

The problem:

>> using the @jdbcExecute

It creates many connections as the number of queries on xpage, leaving them opened ("minor" problem).


If you reload the page, it'll reuse the previous created connections, BUT leave the files/tables on the AS400 in use (huge problem).

>> using the @jdbcGetConnection (doing the classic conn->stmt->rs -> rs.close->stmt.close->conn.close)

It creates 1 connection (1 even if i call it many times -> conn.close is working correctly), BUT i'm seeing that the 1 connection remain opened in the end (??? i'm closing it), plus the previous huge problem: files remains in use.

I'm doing something wrong ?

Now i'm trying with an url like this "...;socket timeout=30000;threads used=false" (no results...)

 

Thank You for any response or ideas.


PS: on the production site, i'm using JTOpen for about 2 years (xpages first release) (pure java: java mgr -> js helper -> xpage) without problems, but it's slower than this one.

 




Documents
     
Creation Date
Author
Subject
Jul 30, 2012 eros monzani @jdbc -> As400 files in use
Aug 23, 2012 eros_ monzani     Response: simple pool
Aug 23, 2012 eros_ monzani         Response: ???
     
In this field you can enter the actual discussion topic.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.