How to identify the jboss tread number inside Oracle 12.2.x

  • From: Eriovaldo Andrietta <ecandrietta@xxxxxxxxx>
  • To: ORACLE-L <oracle-l@xxxxxxxxxxxxx>
  • Date: Sat, 17 Apr 2021 10:22:35 -0300

Hello,

I have the following scenario in Oracle 12.2.x:

Sometimes, connections that are opened by Jboss (connection pool) stay
INACTIVE in the gv$session and with the event "waiting for the client to
respond" and if they are in transaction, they get locked in the gv$lock.
In my concern , it happens because the Jboss lost the connection with the
database server while running.

The Application has a timeout configured and also has a process to do the
node redir in intervals of 24 hours.

I would like to know if there is a way in Oracle to identify the number of
the Jboss thread that opened the connection in order to track in the
application server and check if it is still active.

Regards
Eriovaldo

Other related posts: