I am new in OCI and I created my account in Oracle Cloud Free Tier.
I want to create an autonomous database, but I always get this error:
Operation failed because the OCI tenancy with OCID ocid1.tenancy.oc1..aaaaaaaav6vqssmwmak4toidqdnvwtj6tk2urynptsevcwikmaqmar3ebk4a is not in the Active state.
When I check at my tenancy details, it appears as Active:
Can you help me to create my autonomous database?
From screenshot account is active, however as CSI number is blank wanted to check if this is a new account created today ?
If Yes ,possibly account might not have fully-provisioned .Please contact Oracle cloud support via chat ,added screenshot for your reference.
Hope this helps . Incase if it is old account ,Please ignore my response.
Related
I am new to development and learning through lot of youtube videos and oracle documentation. I have a question for which I was not able to find a solution online and was hoping someone could help answer it here..
I want to use oracle free tier cloud based autonomous transactional database and create the rest api on it using the below url as a reference.
https://oracle.github.io/learning-library/developer-library/rest-services-for-adb-appDevLive/workshops/freetier/?lab=secure-endpoints#Task1:SecuringtheRESTEndpoint
However my question is if I create a web app where I can get the user to create account using username and password, what is the best practice to store the data and retrive for auth in the oracle database for auth user.
Is there a credentials table where I can store all the username and password details or should I use a encypted table.
Also, Can someone please help advise how to create sql post method query to retrieve the user creds for validation.
Thank you for all your guidence.
Thank you!
In the database you have a schema - this is the collection of objects -
tables
views
stored procedures
rest apis
these are owned by a USER. A database user and schema in Oracle are largely synonymous and a user will have a password.
You then also have your application. Your application most likely also has users. These are completely different users than what you have in the database.
Now, your application COULD use database authentication, but that's highly not recommended. Why? Because then your application users could also theoretically go directly into the database.
It's not clear by your question if you're asking how to manage database usernames and passwords in general or if you mean in terms of your application.
For your application, we recommend you use either our OAuth2 workflows to secure your REST APIs, or you build your own authentication system...for example you could control access to your APIs in the Oracle Cloud using the API Gateway Service.
For managing passwords in the database, you should most definitely NOT store those in a table somewhere. THe user when they get their password, should securely manage that as they would the password to their online banking system.
The web interface we have would work just fine with online password managers like LastPass, but I'm not personally advocating or saying that would be good for your scenario.
Running SQL to find out someone's password isn't really what we do in Oracle. Either you already know it, or you change the password to something so that you definitely know it.
when i tried accessing one of my APEX applications I developed on oracle cloud.
I get this error
The database service named: |ocid1.tenancy.oc1..aaaaaaaacwex5sqkhi7kwsb5s664n6brmhrjvhhsxduw35l2rzahhsa7pyaa-tmohammedb|re| does not exist
And When I logged into my Oracle Cloud account, to my dismay, My oracle ATP database is not more available. I didn't get notification either from Oracle support.
Under My resources the database is listed as stopped.
But when i Click on it it shows "Error retrieving values"
Can anyone help me with recovering the database.
Regards
Looking into this, I came across a thread you created via Cloud Customer Connect where your question was answered. I'd recommend reviewing and following up there - https://cloudcustomerconnect.oracle.com/posts/44c1ada213
TLDR - your database environment is up and running .. but it will go away for sure since you are not using the free tier database. You should get your data out of that system, it will go away. Please give this the appropriate priority
We are using Oracle cloud CRM. Our organization has been using it since quite few years and the people who set it up have already left. I am new here and am trying to connect the CRM data to Power BI. I intalled the ODAC drivers and everything. However, I do not know what to enter in my tnsnames.ora file. That file has asked for service name, server name and hostID/name. No one in the organization has this information. I reached out to Oracle support and here is the response they gave:
Oracle’s response to the service request: “These details are not found in Documentation because they cannot be provided. You'll need to reach out to Power BI support to see if there are alternate ways to create this integration without these details.”
Does anyone know why Oracle would not share these details with us? If there is any other way to find out the server and service name? How should I proceed in such scenarios.
As of now, we use a link to login to the service and we do not have much documentation
Let me attempt to translate.
We are using Oracle cloud CRM
Oracle is hosting our application.
I am new here and am trying to connect the CRM data to Power BI
We want to query the database being used to store our application data.
Oracle’s response to the service request: “These details are not found in Documentation because they cannot be provided..."
This is where it gets fun, they are saying - we do not give clients direct access to the database where their data is hosted. So in other words, you CANNOT connect your tool directly to the database.
So, I think you're best bet, is to look into REST APIs that have been published for you as a subscriber to the service. This is often provided in lieu of providing direct access to your hosted environment.
Your other bet is to contact someone in your organisation that has the oracle connections in a file which you could load SQL Developer by Oracle, and explore the connections there. Most likely this will be a data engineer or IT contact in your organisation who will have this information. Once you have the connection info visible, you can then enter this directly in Power BI after creating an Oracle connection.
I configure store user into database (SQL Server) on bpm suite v6.4.0. How to insert user into database (don't insert by manual), i want know bpm suite v6.4.0 have library support for this doesn't. I don't find document mention this problem.
Thanks for any idea or your help
Authentication/authorization is delegated to an underlying security configuration. I assume you are configuring your security domain to retrieve login information from database? jBPM has some basic user and group mgmt UI (for creating users / groups etc.) that will push these changes to the underlying service. We do have an adapter for RH-SSO so I would recommend to configure your app server to delegate authentication/authorization to RH-SSO, which could be configured to use a database for storing users.
I have got a workspace in apex.oracle.com , Now , I want to connect to that database through JDBC from ubuntu-14.04 machine. please explain the steps , From where should I download the drivers and what should be the arguments in
DriverManager.getConnection();
step by step please. Thank you
You will not be able to connect to the database that's supporting the APEX instance on apex.oracle.com. If you are hosting your own instance, it's no different than connecting to any other Oracle database.A quick code snippet can be found here: http://www.java2s.com/Code/Java/Database-SQL-JDBC/TestOracleJDBCDriverInstallation.htm. You will need a password for the user/schema that you wish to connect to. If you don't have one, then talk to your DBA.
BTW, please remember that no production-type application and data should be used on the public APEX instance.
Maybe your problem is (or was) that you cannot connect via JDBC using the users you administered in your APEX workspace.
It seems to me that APEX users are not regular users for DB connections via JDBC. If my assumption is right, then you need to create database user with sufficient privileges to access the workspace tables.