"Oracle user needs execute access on DBMS_LOCK" error messages are back
Hi,
our DBAs had assigned the authorization and the error messages were gone. With the update to v9.9 I took a closer look at the logs again and unfortunately the error message is back !?
Of course I first checked the DB user permissions, but this looks fine - see screenshot. I can display the data of the two views mentioned (SYS.V_$LOCK and SYS.V_$SESSION), as well as "begin DBMS_LOCK.SLEEP(1); End; " successfully. Both of these together indicate that the permissions are correct and working as well.
Only YF doesn't notice it anymore and reports again :
YF:2023-08-04 11:40:55.625: WARN (OracleLockService) - Error during capability test for oracle session locking: java.sql.SQLSyntaxErrorException: ORA-00942: Tabelle oder View nicht vorhanden
YF:2023-08-04 11:40:55.625: WARN (OracleLockService) - Oracle user needs execute access on DBMS_LOCK, and select access on SYS.V_$LOCK and SYS.V_$SESSION to use session locking
Please check this on your end.
;) Stefan
Hi Stefan,
Thanks for reaching out to support. was there a previous ticket on this issue? Were there updates to the Oracle setup in addition to Yellowfin upgrades? Any observed behavior in the system outside the errors in the logs?
In order to get a bug to developers I'll need detailed replication steps, eg
1. Setup Yf version x on Oracle DB version y with user z
2 Upgrade- access issue
I'd recommend restoring previous working setup if this is causing issues.
Thanks,
Eric
Hi Stefan,
Thanks for reaching out to support. was there a previous ticket on this issue? Were there updates to the Oracle setup in addition to Yellowfin upgrades? Any observed behavior in the system outside the errors in the logs?
In order to get a bug to developers I'll need detailed replication steps, eg
1. Setup Yf version x on Oracle DB version y with user z
2 Upgrade- access issue
I'd recommend restoring previous working setup if this is causing issues.
Thanks,
Eric
HI Stefan,
Thanks for the reply,
Just for context, this was showing, then not showing for a bit after the permission change, and now showing again? What was the timelineline / changelog on that if possible? Is this a new implementation?
It looks like there's a previous related ticket here-
https://community.yellowfinbi.com/topic/26862-warnings-in-the-log-related-to-dbms_lock-oracle-but-dbms-is-deprecated
It sounds like there may have been for a particular code change here, is this what you're referring to?
Would you be able to provide a compressed copy of your logs folder for analysis? You can upload to our FTP https://ftp.yellowfin.bi using the "send files" option, just reply here with a filename and any relevant timestamps.
Also, would you be able to provide a copy of your info.jsp page for reference in this case?
Thanks,
Eric
HI Stefan,
Thanks for the reply,
Just for context, this was showing, then not showing for a bit after the permission change, and now showing again? What was the timelineline / changelog on that if possible? Is this a new implementation?
It looks like there's a previous related ticket here-
https://community.yellowfinbi.com/topic/26862-warnings-in-the-log-related-to-dbms_lock-oracle-but-dbms-is-deprecated
It sounds like there may have been for a particular code change here, is this what you're referring to?
Would you be able to provide a compressed copy of your logs folder for analysis? You can upload to our FTP https://ftp.yellowfin.bi using the "send files" option, just reply here with a filename and any relevant timestamps.
Also, would you be able to provide a copy of your info.jsp page for reference in this case?
Thanks,
Eric
Hi Stefan,
Based on the previous developer comment,
I suppose if you wanted the the warning investigated we could look into it, but it doesn't sound like this has any impact on functionality. Hope this helps, let me know if you need anything additionally.
Thanks,
Eric
Hi Stefan,
Based on the previous developer comment,
I suppose if you wanted the the warning investigated we could look into it, but it doesn't sound like this has any impact on functionality. Hope this helps, let me know if you need anything additionally.
Thanks,
Eric
Hi Stefan,
Thanks for the reply, what was the working version of YF and Oracle for reference?
Thanks,
Eric
Hi Stefan,
Thanks for the reply, what was the working version of YF and Oracle for reference?
Thanks,
Eric
Hi Stefan,
Just wanted to check in to see if you had a chance to review my reply at this time.
Thanks,
Eric
Hi Stefan,
Just wanted to check in to see if you had a chance to review my reply at this time.
Thanks,
Eric
Hi Stefan,
In order to test
1. Install version including original session locking functionality to oracle, see it working
2. Upgrade to 9.9
3. Startup, see oracle warning
I would need specific working Oracle and YF versions / build dates. Let me know if this is a possibility.
Thanks,
Eric
Hi Stefan,
In order to test
1. Install version including original session locking functionality to oracle, see it working
2. Upgrade to 9.9
3. Startup, see oracle warning
I would need specific working Oracle and YF versions / build dates. Let me know if this is a possibility.
Thanks,
Eric
Hi Stefan,
I'm going to go ahead and mark this ticket as Completed due to inactivity at this time. Feel welcome to reach out in the future.
Thanks,
Eric
Hi Stefan,
I'm going to go ahead and mark this ticket as Completed due to inactivity at this time. Feel welcome to reach out in the future.
Thanks,
Eric
Hi Eric,
you're kidding, right? The problem doesn't solve itself and I'm happy to help as part of a customer.
But your last request goes far beyond the customer relationship and I can't take over the tasks from support. I can point out problems/errors, I can provide log files and add a video if necessary, but at some point support or a developer with their code knowledge has to take action.
So no, I'm not going to install various versions on my end to provide you with the faulty line of code. I expect that from YF. I want to use your product and I need to be able to run it cleanly.
;) Stefan
Hi Eric,
you're kidding, right? The problem doesn't solve itself and I'm happy to help as part of a customer.
But your last request goes far beyond the customer relationship and I can't take over the tasks from support. I can point out problems/errors, I can provide log files and add a video if necessary, but at some point support or a developer with their code knowledge has to take action.
So no, I'm not going to install various versions on my end to provide you with the faulty line of code. I expect that from YF. I want to use your product and I need to be able to run it cleanly.
;) Stefan
Hello Stefan,
Happy Thursday! I hope you are doing well.
With regards to this case, we had a offline discussion with the Product team to understand a few things better in different directions altogether. Please see the detailed updates, I hope that helps.
We added session lock support for MySQL, PostgreSQL, Oracle, and (later) SQL Server. MySQL, PostgreSQL and SQL Server, do not require any database configuration to work, however, Oracle requires changes to it's configuration to support session locks.
The message: Oracle user needs execute access on DBMS_LOCK, and select access on SYS.V_$LOCK and SYS.V_$SESSION to use session locking was added to show that Oracle doesn't have the configuration to use Session locking. However, it will just fall-back to the standard Liquibase locking if it is unsupported.
So this message can be ignored, or the client can make the configuration changes to Oracle and enable Session locks, which it sounds like they did. Yellowfin should still work fine with the fall-back locking method. The locking mechanism is only required when Liquibase runs, which is in the Updater, and during Yellowfin startup (to check if there are any migration jobs to run, and run those migration jobs). Doesn't have any impact on how Yellowfin actually runs after Startup. So this reiterates that we can ignore the warnings. I hope this information helps.
Regards
Sainath Yadav
Manager, Technical Support
E: sainath.yadav@yellowfin.bi
Hello Stefan,
Happy Thursday! I hope you are doing well.
With regards to this case, we had a offline discussion with the Product team to understand a few things better in different directions altogether. Please see the detailed updates, I hope that helps.
We added session lock support for MySQL, PostgreSQL, Oracle, and (later) SQL Server. MySQL, PostgreSQL and SQL Server, do not require any database configuration to work, however, Oracle requires changes to it's configuration to support session locks.
The message: Oracle user needs execute access on DBMS_LOCK, and select access on SYS.V_$LOCK and SYS.V_$SESSION to use session locking was added to show that Oracle doesn't have the configuration to use Session locking. However, it will just fall-back to the standard Liquibase locking if it is unsupported.
So this message can be ignored, or the client can make the configuration changes to Oracle and enable Session locks, which it sounds like they did. Yellowfin should still work fine with the fall-back locking method. The locking mechanism is only required when Liquibase runs, which is in the Updater, and during Yellowfin startup (to check if there are any migration jobs to run, and run those migration jobs). Doesn't have any impact on how Yellowfin actually runs after Startup. So this reiterates that we can ignore the warnings. I hope this information helps.
Regards
Sainath Yadav
Manager, Technical Support
E: sainath.yadav@yellowfin.bi
Hello Stefan,
Greetings of the day!
We are pleased to inform you that the issue you reported in this ticket has been resolved in our latest release 9.14 version. You can access the release notes and downloads by visiting
https://portal.yellowfinbi.com/public/releases/home
As a result, we will now mark this ticket as "Defect fixed". Would love to get confirmation your issue has been resolved with the latest release, so kindly let me know how it all goes post update. Please reach out to us if you need any additional assistance we would be happy to assist you.
Sincerely,
Siddartha Pathi
Yellowfin Technical Support Engineer
Hello Stefan,
Greetings of the day!
We are pleased to inform you that the issue you reported in this ticket has been resolved in our latest release 9.14 version. You can access the release notes and downloads by visiting
https://portal.yellowfinbi.com/public/releases/home
As a result, we will now mark this ticket as "Defect fixed". Would love to get confirmation your issue has been resolved with the latest release, so kindly let me know how it all goes post update. Please reach out to us if you need any additional assistance we would be happy to assist you.
Sincerely,
Siddartha Pathi
Yellowfin Technical Support Engineer
Replies have been locked on this page!