Activity for Toolbox for Java/JTOpen

  • yyyc28 yyyc28 modified a comment on ticket #454

    Hi, Is Tomcat's data source URL setting incorrect? Although I set ① and ②, TCP Retransmission occurs. The driver is "jt400-20.0.7-java8.jar". ①url="jdbc:as400://<ip address="">;naming=system;libraries=LIBL,LIB1;setTcpNoDelay=true" ②url="jdbc:as400://<ip address="">;naming=system;libraries=</ip>LIBL,LIB1;prompt=false;translate binary=true;minimum divide scale=9;lazy close=true;setTcpNoDelay=true"</ip> The problem was resolved after changing to "tcp no delay=true". Thank you very much. yyyc28

  • John Eberhard John Eberhard posted a comment on ticket #454

    "setTcpNoDelay" is a data source method. In the URL, you should use "tcp no delay=true" in the URL.

  • yyyc28 yyyc28 posted a comment on ticket #454

    Hi, Is Tomcat's data source URL setting incorrect? Although I set ① and ②, TCP Retransmission occurs. The driver is "jt400-20.0.7-java8.jar". ①url="jdbc:as400://<ip address="">;naming=system;libraries=LIBL,LIB1;setTcpNoDelay=true" ②url="jdbc:as400://<ip address="">;naming=system;libraries=</ip>LIBL,LIB1;prompt=false;translate binary=true;minimum divide scale=9;lazy close=true;setTcpNoDelay=true"</ip>

  • Darren S. Eyers Darren S. Eyers posted a comment on ticket #479

    Thank you so much, that really helps performance. Would be nice to have the convertToNull option too, but i'll post in other forum you mentioned.

  • John Eberhard John Eberhard modified ticket #475

    Error on connection with password blank (not null) on version 11.2

  • John Eberhard John Eberhard modified ticket #478

    Support for CCSID 65535 for Data Translation - JT400 jar ver 10.7

  • John Eberhard John Eberhard modified ticket #479

    Extremely slow queries filtering with date 0001-01-01

  • John Eberhard John Eberhard posted a comment on ticket #479

    This project has moved to github: https://github.com/IBM/JTOpen If the below information does not help, please report the problem there. It looks like you need to configure your connection to use date format ISO to correctly process the 0001-01-01 date. Here is an example of the behavior without the date format setting and with the date format setting. ~> java -jar jt400.jar "jdbc:as400:$SYSTEM" $USERID $PASSWORD >select date('0001-01-01') from sysibm.sysdummy1 00001 null *** Warning *** SQLState:...

  • Darren S. Eyers Darren S. Eyers created ticket #479

    Extremely slow queries filtering with date 0001-01-01

  • Zhang Ze Zhang Ze posted a comment on ticket #478

    We are in the process of migrating to GitHub. If you have an account, please open an issue there, at https://github.com/IBM/JTOpen

  • Sharique Hussain Sharique Hussain created ticket #478

    Support for CCSID 65535 for Data Translation - JT400 jar ver 10.7

  • Mark Mark posted a comment on ticket #477

    Small correction, the jdk9-version is available for 11.0 and 11.1, but not for 11.2

  • Mark Mark created ticket #477

    Missing version from Maven Central

  • Jesse Gorzinski Jesse Gorzinski posted a comment on ticket #472

    We are in the process of migrating to GitHub. If you have an account, please open an issue there, at https://github.com/IBM/JTOpen

  • Jesse Gorzinski Jesse Gorzinski posted a comment on ticket #476

    I like this idea and would like further discussion. I would like to accomplish similar things with WildFly. Do you have a GitHub account? If so, please open an issue at https://github.com/IBM/JTOpen

  • Jesse Gorzinski Jesse Gorzinski posted a comment on ticket #475

    we are in the process of migrating to GitHub. This should be fixed here : https://github.com/IBM/JTOpen/pull/18 The fix should be included in v20.0.0-alpha-1 which you can download from the release page. If your problem persists, please open an issue on GitHub

  • Jesse Gorzinski Jesse Gorzinski posted a comment on ticket #474

    @msillence, we are in the process of migrating to GitHub. If you have an account there, do you mind opening an issue at https://github.com/IBM/JTOpen/ ?

  • Jesse Gorzinski Jesse Gorzinski posted a comment on ticket #457

    @mromijn, I like this idea. We are in the process of moving JTOpen to GitHub. If you have an account there, can you please open an issue at https://github.com/IBM/JTOpen/ ?

  • John Eberhard John Eberhard posted a comment on ticket #454

    Yes, it should be in JTOpen 11.0 Fixes and enhancements in JTOpen 11.0 released 2022-04-13 ... JDBC: Add connection property: tcp no delay

  • Mirco Reggiani Mirco Reggiani modified a comment on ticket #454

    Hi, is this method available for jt400-11.0 version? If yes, how can I set this property in a connection string? For example, I connect with the as400 with this connection string, is the last properties setTcpNoDelay=true correctly set? jdbc:as400://IP_AS400/libraries=XXX;prompt=false;translate binary=true;minimum divide scale=9;lazy close=true;setTcpNoDelay=true; Thanks a lot for an answer. Mirco

  • Mirco Reggiani Mirco Reggiani modified a comment on ticket #454

    Hi, is this method available for jt400-11.0 version? If yes, how can I set this properties in a connection string? For example, I connect with the as400 with this connection string, is the last properties setTcpNoDelay=true correctly set? jdbc:as400://IP_AS400/libraries=XXX;prompt=false;translate binary=true;minimum divide scale=9;lazy close=true;setTcpNoDelay=true; Thanks a lot for an answer. Mirco

  • Mirco Reggiani Mirco Reggiani modified a comment on ticket #454

    Hi, is this method available for jt400-11.0 version? If yes, how can I set this properties in a connection string? For example, I connect with the as400 with this connection string, is the last properties setTcpNoDelay=true correctly set? jdbc:as400://<ip_as400>/libraries=XXX;prompt=false;translate binary=true;minimum divide scale=9;lazy close=true;setTcpNoDelay=true;</ip_as400> Thanks a lot for an answer. Mirco

  • Mirco Reggiani Mirco Reggiani modified a comment on ticket #454

    Hi, is this method available for jt400-11.0 version? If yes, how can I set this properties in a connection string? For example, I connect with the as400 with this connection string, is the last properties setTcpNoDelay=true correctly set? jdbc:as400://<hostname>/libraries=XXX;prompt=false;translate binary=true;minimum divide scale=9;lazy close=true;setTcpNoDelay=true;</hostname> Thanks a lot for an answer. Mirco

  • Mirco Reggiani Mirco Reggiani posted a comment on ticket #454

    Hi, is this method available for jt400-11.0 version? If yes, how can I set this properties in a connection string? For example, I connect with the as400 with this connection string, is the last properties setTcpNoDelay=true correctly set? jdbc:as400://<hostname>/libraries=XXX;prompt=false;translate binary=true;minimum divide scale=9;lazy close=true;setTcpNoDelay=true;</hostname> Thanks a lot for an answer. Mirco

  • Nicola Isotta Nicola Isotta created ticket #476

    AS400ConnectionPool factory

  • Davide Villa Davide Villa created ticket #475

    Error on connection with password blank (not null) on version 11.2

  • Martin Sillence Martin Sillence modified a comment on ticket #474

    Apparently I missunderstood our problem is it more the QCCSID as described here https://www.ibm.com/support/pages/what-impact-changing-qccsid-shipped-65535-another-ccsid We failed to set the qccsid but do set our ccsid on our tables

  • Martin Sillence Martin Sillence posted a comment on ticket #474

    Apparently I missunderstood our problem is it more the QCCSID as described here https://www.ibm.com/support/pages/what-impact-changing-qccsid-shipped-65535-another-ccsid

  • Zhang Ze Zhang Ze modified a wiki page

    Home

  • Toolbox for Java/JTOpen Toolbox for Java/JTOpen released /JTOpen-full/11.2/jtopen_11_2.zip

  • Toolbox for Java/JTOpen Toolbox for Java/JTOpen released /JTOpen-full/11.2/jtopen_11_2_source.zip

  • Toolbox for Java/JTOpen Toolbox for Java/JTOpen released /JTOpen-full/11.2/jtopen_11_2_javadoc.zip

  • Toolbox for Java/JTOpen Toolbox for Java/JTOpen released /JTOpen-full/11.2/readme_11_2.html

  • Toolbox for Java/JTOpen Toolbox for Java/JTOpen released /JTOpen-full/11.2/license_11_2.html

  • Toolbox for Java/JTOpen Toolbox for Java/JTOpen released /JTOpen-full/11.2/changes_11_2.html

  • Martin Sillence Martin Sillence created ticket #474

    allow overriding ccsid

  • John Eberhard John Eberhard committed [r4361] on Svn

    jdbcClient: Handle char type for reflective method call

  • Zhang Ze Zhang Ze committed [r4360] on Svn

    Clear sensitive information

  • Zhang Ze Zhang Ze committed [r4359] on Svn

    Clear sensitive information

  • Zhang Ze Zhang Ze committed [r4358] on Svn

    Clear byte array for MessageDigest

  • Zhang Ze Zhang Ze committed [r4357] on Svn

    Added comments.

  • Zhang Ze Zhang Ze committed [r4356] on Svn

    Update the flag

  • Zhang Ze Zhang Ze committed [r4355] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4354] on Svn

    Clear char array and byte array and fix profile token issue.

  • mwrekers mwrekers posted a comment on ticket #473

    In 11.1, it is deprecated.

  • Zhang Ze Zhang Ze posted a comment on ticket #473

    No, We deprecated validateSignon(String userId, String password), We did NOT deprecated validateSignon(String userId, char[] password).

  • mwrekers mwrekers created ticket #473

    validateSignon(String userId,** char[] **password) deprecated?

  • Balázs Gunics Balázs Gunics posted a comment on ticket #472

    Customer applied the changes that we above mentioned and they are able to see 5mbit of transfer speed which is not terrible but I think we should be able to do more. If we use parallel threads like on the picture I'd expect the performance to be somewhere between 5 and 20mbit but it stays 5mbit constantly.

  • Zhang Ze Zhang Ze committed [r4353] on Svn

    Fix generate profile token issue

  • Zhang Ze Zhang Ze committed [r4352] on Svn

    EnvironmentVariable Supports char array for setValue

  • Balázs Gunics Balázs Gunics created ticket #472

    JTOpen block size

  • Bruce Bruce posted a comment on ticket #470

    Happy to repot that the issue was raised with IBM Support for WebSphere Liberty. Changes were made to the Open Liberty project to fix the issue that was occurring. The fix is available in version 23.0.0.1 and higher. Here is a link to the issue report -> https://github.com/OpenLiberty/open-liberty/issues/23690 Thanks for the assistance in understanding the issue.

  • Zhang Ze Zhang Ze committed [r4351] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4350] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4349] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4348] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4347] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4346] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4345] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4344] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4343] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4342] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4341] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4340] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4339] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4338] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4337] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4336] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4335] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4334] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4333] on Svn

    Updates for JTOpen 11.2

  • Zhang Ze Zhang Ze committed [r4332] on Svn

    ProgramDocumentCall new method setCharArrayValue Fix issue

  • John Eberhard John Eberhard committed [r4331] on Svn

    JDBC:Internal Password Changes

  • John Eberhard John Eberhard committed [r4330] on Svn

    JDBC:Internal Password Changes

  • Balázs Gunics Balázs Gunics posted a comment on ticket #471

    We have V6R1 to V7R3 currently but both of these seems to be "IBM i" so we should be fine. Thank you for the quick response! We can close this ticket.

  • Balázs Gunics Balázs Gunics posted a comment on ticket #469

    Hello John, Thank you for the insight, indeed we have this: String insert_tDBOutput_1 = "INSERT INTO " + "BGUNICS_TEST" + " (newColumn,newColumn1,newColumn2,newColumn3,newColumn4) VALUES (?,?,?,?,?)"; pstmt_tDBOutput_1 = conn_tDBOutput_1.prepareStatement(insert_tDBOutput_1, java.sql.Statement.RETURN_GENERATED_KEYS); I’ll test it tomorrow and report it back to you. Balázs Gunics Product Manager, Talendhttp://www.talend.com/ From: bugs@jt400.p.re.sourceforge.net bugs@jt400.p.re.sourceforge.net On Behalf...

  • John Eberhard John Eberhard posted a comment on ticket #471

    The latest version of JTOpen should be compatible with all versions of "IBM i", as nothing is purposely changed to break backward compatibility. However, only the versions of "IBM i" that are currently in service are regularly tested and officially supported.

  • Balázs Gunics Balázs Gunics created ticket #471

    JTOpen JDBC server version compatiblity

  • John Eberhard John Eberhard modified ticket #469

    Performance Issues due to Packet Size

  • Balázs Gunics Balázs Gunics posted a comment on ticket #469

    Hello John, Yes removing the return generated keys increases the performance greatly. pstmt_<%=cid %> = conn_<%=cid%>.prepareStatement(insert_<%=cid%>, java.sql.Statement.RETURN_GENERATED_KEYS); Thank you for your help!

  • John Eberhard John Eberhard posted a comment on ticket #469

    It looks like the application is requesting that auto generated keys are to be returned by the insert statement. The JTOpen 5.4 driver did not always correctly return generated keys. If generated keys are not retrieved by the application, can the prepare of the insert statement be changed to not request generated keys? In the JTOpen 5.4 driver the inserts are batched. In the recent drivers, the inserts cannot be batched because the return of auto generated keys was requested. Details: Tracepoint...

  • Balázs Gunics Balázs Gunics posted a comment on ticket #469

    Hello John, Please find the log files attached. The old driver generates a lot smaller logs (13mb vs 26mb) advParam=block size\=512;send buffer size\=512;toolbox trace\=all;data compression\=true

  • John Eberhard John Eberhard committed [r4329] on Svn

    JDBC:Internal Password Changes

  • Zhang Ze Zhang Ze committed [r4328] on Svn

    Fix issues and Remove duplicate code.

  • John Eberhard John Eberhard posted a comment on ticket #469

    Can you provide traces of running with the old driver and the new driver so that I can compare them? Can you also use toolbox trace=all?

  • John Eberhard John Eberhard committed [r4327] on Svn

    Clear sensitive data from memory

  • John Eberhard John Eberhard committed [r4326] on Svn

    Refactor SignonConverter

  • Balázs Gunics Balázs Gunics posted a comment on ticket #469

    Hello John, Happy new year! Is there any other files / information we should provide? Regards, Balázs

  • Zhang Ze Zhang Ze committed [r4325] on Svn

    ProgramDocumentCall new method setCharArrayValue

  • Zhang Ze Zhang Ze committed [r4324] on Svn

    AS400Text support char array

  • Zhang Ze Zhang Ze committed [r4323] on Svn

    AS400Text support char array

  • John Eberhard John Eberhard committed [r4322] on Svn

    JDBC: XADataSource interfaces for char[] password

  • John Eberhard John Eberhard committed [r4321] on Svn

    JDBC: Rowset interfaces for char[] password

  • Balázs Gunics Balázs Gunics posted a comment on ticket #469

    Hello John, Block size does affect the Read Performance. By setting it to 512 we can see it's faster. (I was able to go up to 1000row/sec from 500row/sec) However the write performance is still not good. Meanwhile I got access to a system. We're using Prepared Statements. I tried with a 10/100 batch size. Here's my setting: block size=512;send buffer size=512;toolbox trace=datastream; By enabling the toolbox trace I can see that we're sending data record by record and waiting for a response from...

  • John Eberhard John Eberhard posted a comment on ticket #470

    You'll need to contact liberty / websphere support to make the changes outlined above.

  • Bruce Bruce modified a comment on ticket #470

    Hello John, Thank you for the reply, however, we have no control over the code execution. This configuration is in the server.xml for the WebSphere Liberty profile. We access the code in two potential different ways: @Resource(lookup = "jdbc/database") DataSource db; Connection conn = db.getConnection() Or I tried getting the Initial Context and getting the JDBC connection manually. DataSource db = (DataSource) new InitialContext().lookup("jdbc/database"); Connection conn = db.getConnection() Both...

  • Bruce Bruce posted a comment on ticket #470

    Hello John, Thank you for the reply, however, we have no control over the code execution. This configuration is in the server.xml for the WebSphere Liberty profile. We access the code in two potential different ways: @Resource(lookup = "jdbc/database") DataSource db; Connection conn = db.getConnection() Or I tried getting the Initial Context and getting the JDBC connection manually. DataSource db = (DataSource)ctx.lookup("jdbc/database"); Connection conn = db.getConnection() Both of these fail. Using...

  • John Eberhard John Eberhard posted a comment on ticket #470

    The JTOpen JDBCDataSources were changed to add a setPassword(char[]) method. The old setPassword(String) method was deprecated. This is because putting a password in a String is insecure, as the JVM may cache the string -- thus exposing the password if the process memory is dumped or if the JVM is dumped. It looks like com.ibm.ws.jdbc.internal.JDBCDriverService.setProperty method is confused and is trying to use the setPassword(char[]) method instead of the setPassword(String) method. It is trying...

  • Bruce Bruce created ticket #470

    JDBC Connections fail upgrading from version 11.0 to 11.1

  • Zhang Ze Zhang Ze posted a comment on ticket #455

    Fixed in JTOpen 11.1

1 >
MongoDB Logo MongoDB