Replies: 9 comments 1 reply
-
Did you ever manage to get past this error? We recently migrated an app from Quarkus 2.x to 3.x, and are now experiencing the same error. We went as far as creating a simple test application using the same JDBC parameters and still receive the same error. |
Beta Was this translation helpful? Give feedback.
-
Came to these post by pure chance, I don't use (yet) Quarkus. Looking up the error, there is this in metalink:
|
Beta Was this translation helpful? Give feedback.
-
I am having a similar problem. Are there any further solutions? |
Beta Was this translation helpful? Give feedback.
-
@LarsKoelpin we spent several weeks trying different solutions and ended up reverting to our 2.x codebase. Unfortunately, until the Quarkus team recognizes this as an issue, 2.x is the last version we'll be able to use. Fingers crossed someone from Red Hat acknowledges this post! |
Beta Was this translation helpful? Give feedback.
-
Upgrade the OJDBC8 to 23.3.0.23.09 |
Beta Was this translation helpful? Give feedback.
-
Godd morning everyone . We are running a project on quarkus 2.6 (planning to upgrade to quarkus 3.x) and we had the same issue : @chileme88 @aniash007 @LarsKoelpin @ccarv Actually in our deployment scenario, the workaround provided by @solerman worked out : Good luck |
Beta Was this translation helpful? Give feedback.
-
Thanks @LarsKoelpin , when we upgrade to quarkus 3 we'll neet to take it into consideration (and it will be soon as quarkus 2.X is at end of life) |
Beta Was this translation helpful? Give feedback.
-
-Doracle.jdbc.javaNetNio=false did not work for me. However, setting a high quarkus.datasource.jdbc.acquisition-timeout did. Turns out that (at least in my case) the Socket read is interrupted because of the timeout. That's why I think some queries fail, up until a connection is made and then you never have the same issue again. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I just came across this issue. My config is :
Using -Doracle.jdbc.javaNetNio=false with the latest ojdb driver 23.7.0.25.01 (as of now) worked for me. The following drivers did not work me :
I guess some drivers have bugs from what I understand. Hope it helps. Good luck ! |
Beta Was this translation helpful? Give feedback.
-
Hi all, can you help me with this strange issue?
In my project I need to use Quarkus with Oracle 19c
Quarkus configuration:
Quarkus 2.16.7
Driver jdbc:quarkus-jdbc-oracle (ojdbc11 21.5.0.0)
Framework ORM: Hibernate (5.6.15) with Panache
jdbc configuration:
quarkus.datasource.db-kind=oracle
quarkus.datasource.jdbc.driver=oracle.jdbc.driver.OracleDriver
quarkus.hibernate-orm.dialect=org.hibernate.dialect.Oracle12cDialect
Connection configuration:
quarkus.datasource.jdbc.url=jdbc:oracle:thin:@//aaa:1521/bbb
quarkus.datasource.username
quarkus.datasource.password
Database configuration:
Version: 19.17
Pluggable database
Single node
SQLNET.ORA SERVER:
SQLNET.ENCRYPTION_SERVER=required
NAMES.DIRECTORY_PATH=(TNSNAMES, EZCONNECT)
SQLNET.CRYPTO_SEED='sasfafafsafasfsadsadasdadsada'
SQLNET.ENCRYPTION_TYPES_SERVER=(AES256)
TRACE_TIMESTAMP_CLIENT=ON
ADR_BASE=/u01/oracle/app/db
SQLNET.CRYPTO_CHECKSUM_SERVER=required
SQLNET.CRYPTO_CHECKSUM_TYPES_SERVER=(SHA512, SHA1)
ORACLE SERVICE:
Service name: PDBMWDEVSRV
Cardinality: SINGLETON
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: false
Global: false
Commit Outcome: true
Failover type: AUTO
Failover method:
Failover retries: 1
Failover delay: 3
Failover restore: AUTO
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: THROUGHPUT
TAF policy specification: NONE
Edition:
Pluggable database name: PDBMWDEV
Hub service:
Maximum lag time: ANY
SQL Translation Profile:
Retention: 86400 seconds
Replay Initiation Time: 600 seconds
Drain timeout:
Stop option: transactional
Session State Consistency: AUTO
GSM Flags: 0
Service is enabled
Service uses Java: false
When I start the pod, I can see an estabilished connection to the server:
12-JUN-2023 15:24:21 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=jdbc)(USER=1001560000))(SERVICE_NAME=PDBMWDEVSRV)(CONNECTION_ID=z9MY0UBhTBqddgtLw9xRxw==)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.32.8)(PORT=33756)) * establish * PDBMWDEVSRV * 0
but in the Quarkus logs I have:
2023-06-12 15:24:48,285 WARN [io.agr.pool] (agroal-11) Datasource '': IO Error: Socket read interrupted, Authentication lapse 0 ms.
After this connection no session are created in the database and the next query fails.
This goes on for a number of retry on the same or different query calls, up until it suddely starts working
After the first succesfull query is executed, the app works fine for some time (even some days) until it runs again in the connection problem and I have to restart the pod
Do you can help me please? I don't understand what is happening.
Beta Was this translation helpful? Give feedback.
All reactions