Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OracleJet Keycloak authentication

Zeta411Sep 2 2022 — edited Sep 2 2022

 have a oracleJet app , I am using key cloak for authentication.

app.keycloakAuth.init({onLoad: 'login-required' , adapter: 'cordova',})

This code seems to work fine for android, but in iOS, after the authentication, the control is not coming back to the app. The redirect URL http://localhost opens in safari with the message "Safari cannot open the page because it could not connect to the server".
I do have the URL http://localhost configured as valid redirect URL in key cloak,
I tried using the adapter: 'cordova-native' also, I still see the same error.
I also see the error message "null is not an object (evaluating 'ref.addEventListener')"
Can anyone tell how to fix this in iOS ?

Comments

Mannamal-Oracle
Hi Wolfgang,

Are you looking to load data into 10g or 11g?

If you are looking at 11g, sample files are located at $ORACLE_HOME/md/demo/network/rdf_demos/ (as specified in the documentation). This location contains a ctl file and a sample sql file that uses that ctl file. You could modify the sample sql file (bulkload.sql) to load multiple files (please refer to the SQL*Loader documentation for more details).

Detailed instructions on the load process are in section 1.7 of the 11g Oracle Database Semantic Technologies documentation. The Oracle Technology Network includes links to the 11g documentation.

Melli
609276
Hi Melli,

Thanks for your answer. I am loading data into 11g.
I found the samples. I was also looking for an easy way for uploading all files within a directory, which I found out is not possible directly (i.e. it is not possible to specify a directory in the ctl file). So there are two possible solutions to this:
1.) Create a list of all files in the directory (on Windows with "dir/b *.nt > files.dat"), prefix every line with "INFILE", surround the filenames with a paragraph and include all that in the ctl file.
2.) It should also be possible to let a SQL-script create the list ("host dir/b *.nt > files.dat"), load this list into a temp-table and iteratively invoke the sqlldr.

For me solution 1 worked perfectly.

However when trying some sample queries (the LUBM test queries) I observed some very strange behaviour of SEM_MATCH (see thread "Missing triples in SEM_MATCH query")

Wolfgang
1 - 2

Post Details

Added on Sep 2 2022
1 comment
470 views