-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
utPLSQL-cli having connection issues #98
Comments
Hm, never experienced such behaviour. |
I'm using |
Did I understand that correctly that you don't experience this problem every time but only sometimes? |
Yes, I don't experience this every time . |
Would you be willing to help me debug that issue? |
Sure thing! |
Okay, thank you very much! I will come back to you this week with some instructions/questions. |
Hi @pesse , |
|
@pesse, As discussed on Slack, I add my case as comment: After updating my UTPLSQL version from 3.0.3 to 3.1.3, now I'm using UTPLSQL-CLI (java client) to run. When I run several time the following pl/sql code on the same DB it works always: Here are the client and api info: During my tries, I executed pl/sql run in the same time than the java client is stuck (start java client, wait, run several time in pl sql session the pl sql run) and pl sql runs were completed successfully and very fast always. So don't think about an issue on DB side. |
After few tries, in summary I do: |
More Input from slack (@SebGt): When run is successfull, I have up to 3 sessions running. When run is stuck third session never displays Module "utPLSQL" (edited) When run is struck, the last query of the active session is: select owner || '.' || type_name,
case
when sys_connect_by_path(owner || '.' || type_name, ',') like '%TEST.UT_OUTPUT_REPORTER_BASE%' then
'Y'
else
'N'
end is_output_reporter
from dba_types t
where instantiable = 'YES'
connect by supertype_name = prior type_name
and supertype_owner = prior owner
start with type_name = 'UT_REPORTER_BASE'
and owner = 'TEST' I checked with my DBAs, Session is active but it does nothing. |
Hey @SebGt, can you try whether https://bintray.com/utplsql/utPLSQL-cli/download_file?file_path=utPLSQL-cli-develop-201901102355.zip fixes the problems? |
hello @pesse, thanks, I'm trying. |
@pesse, sorry, I still have the stuck execs. |
Can you tell me what's the latest SQL when being stuck now? |
I'm checking |
The last query is SELECT TEXT, ITEM_TYPE FROM TABLE((:B1 ).GET_LINES(:B2 , :B3 )) |
I checked with DBA on enterprise manager, session has no activity. |
I made tests on Oracle18c and I was not able to reproduce the issue. I ran around 30 times several unit tests and I had no stuck case. |
This SQL is issued by |
I think we've established that the issue with session getting stuck is related to combination of |
Test done today with dev version provided by @pesse. I still have stuck cases. |
This should be dealt with by the meanwhile implemented watchdog. |
The tests takes a long time when the connection parameter is passed (username/pass@localhost:1521/sid) .This happens rarely but since I'm working with Jenkins the Testing build step takes about an hour and fails.
The text was updated successfully, but these errors were encountered: