java.lang.NoClassDefFoundError: oracle/security/pki/OraclePKIProvider with sqlplus instantclient - linux

I am trying to upgrade CNM (comptel) application.While installing one .jar project (Please excuse I am not from java\linux camp) i got this error:
java.lang.NoClassDefFoundError: oracle/security/pki/OraclePKIProvider with sqlplus instantclient in the installation logs.
Following is additional background:
I am using sqlplus instantclient with basic.OS is linux 64 bit Redhat 6.5
already installed java 7
created manually /usr/lib/oracle/12.1/network/admin folder. Created manually both tnsnames.ora and sqlnet.ora files in it.Provided the user who is installing the application sufficient rights over these files.
sqlplus user/pwd#servicename; is working without any problem.
I have already gone through to the question and somehow found some clue for the problem:Driver update to ojdbc7.jar gives error for oracle/security/pki/OraclePKIProvider
I could see that there are no jlib folder in my oracle_home and I have downloaded following files :osdt_core.jar,osdt_cert.jar and oraclepki.jar as suggested on one oracle standard documentation.
I am planning to create and put these files in jlib folder but my concern is would that help or just like ankur singhalLink mentioned on above post,some classpath should also be set up.
I am using /usr/lib/oracle/11.2/client64/lib/ojdbc6.jar oracle driver.
Paul

Related

shell script for oracle installation in linux

I want to install oracle 12.2 in centos 7 and there is 10 machine in my environment.
is there any shell script for oracle installation in centos 7?
path is /home with default permission.
Thanks you!
You can install the first one manually using the standard installer. Once that is done, the install also supports a "clone existing" function either on the same machine or a different one. This ensure that the various inventory metadata details are captured, which is needed as well as the binaries in the ORACLE_BASE folder.
Examples on cloning and the steps needed are at:
https://docs.oracle.com/en/database/oracle/oracle-database/12.2/ssdbi/cloning-an-oracle-home.html#GUID-494E59C3-C381-4A35-8ABE-F6E5DBF29032

How To access Cx_Oracle on Pivotal cloud factory (PCF)

I am trying to deploy my Python code where it involves usage of Oracle connection using cx_oracle module.
I referred the below link to set up my LD_LIBRARY_PATH
Deploy instant oracle on Pivotal CloudFoundry for cx_Oracle
export LD_LIBRARY_PATH=C:/Users/pm/Documents/project_1/oracle/instantclient_19_9:${LD_LIBRARY_PATH:-}
export OCI_LIB_DIR=C:/Users/pm/Documents/project_1/oracle/instantclient_19_9
export OCI_INC_DIR=C:/Users/pm/Documents/project_1/oracle/instantclient_19_9/sdk/include
Still facing same issue once code is pushed on to PCF.
[ERR] cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: "libclntsh.so: cannot open shared object file: No such file or directory".
I have downloaded the oracle client zip file for windows 64bits 19.9 version.
And unzipped into the folder in my desktop path where my application is stored and used to push the code to pcf(C:/Users/pm/Documents/project_1/).
Could someone please guide me if any of the steps need modification and help me fix the issue.
On Windows the environment variable you want to manipulate is PATH. If that doesn't help, you can also use the environment variable DPI_DEBUG_LEVEL and set that to the value 64. That will show you all of the paths that are being tried.
You can see all of this in the installation manual.

ArangoDB failed to initialize the database password

Win7 64+ArangoDB 3.4.2 server NSIS
The installation failed and the error is "failed initialize the database passord"
I have tried with the methods this web mentioned https://groups.google.com/forum/#!topic/arangodb/DCN6vECW1tI
but it doesn't work.
Stackoverflow is not well suited for bugreports, so most probably this page will be deleted anytime soon.
Please use https://github.com/arangodb/arangodb/issues herefore.
I just tried with an english version of Windows 7 installed via Win7_Pro_SP1_English_x64.iso.
I tried to install ArangoDB with an empty password and password a and both worked out without errors.
Please describe what exactly you did (like installation directory, password, etc.) and better open a github issue.
Please note that meanwhile ArangoDB 3.4.3 is available, which I used for my tests.
I have the same problem, I use windows 10 PRO x64 in Polish language version.
I set the installation directory as (c:\ArangoDB\v3.6.1-comunity) but i try too with default setings,
and I gave the password "pass20"
https://github.com/arangodb/arangodb/issues/11041
Windows Event Log for aborted instalation of ArangoDB3-3.6.1_win64.exe
failed to locate javascript.startup-directory directory, its neither available in 'C:\PROGRA~1\PTC\UTILIT~1\MKSTOO~1\usr\share\arangodb3\js' nor in 'C:\ArangoDB\v3.6.1-comunity\C:\PROGRA~1\PTC\UTILIT~1\MKSTOO~1\usr\share\arangodb3\js'
C:\vm04-windows\oskar\work\ArangoDB\lib\Basics\ArangoGlobalContext.cpp
arangodb::ArangoGlobalContext::normalizePath
376

eclipse javafx variables unresolved

When I create a new javaFX project the javaFX variables are unresolved. I use java 8 (121) and eclipse Neon on which I installed e(fx)clipse. OS is Linux Mint 18.1. What I did:
I uninstalled and installed e(fx)clipse again, that didn't help
In another post I read that someone had solved the problem by adding
jfxrt.jar to the build path. I searched for this file but it is not present on my file system
Anybody any idea what is wrong in my setup?
Edit
James_D suggested adding openjfx. I read documentation of openjfx and it says that only a subset is implemented. I decided to install the oracle JDK and adjust the building path with a reference to the oracle version of jfxrt. That worked. I wonder whether it wouldn't be better to switch to the oracle version of JDK?

Installing a oracle forms development machine

After working with Oracle databases and Apex for many years, I want to get some knowledge about Oracle forms & reports, because they are still quite widely used.
I've never seen Oracle forms & reports, so I want to create a development installation for learning purposes. Unfortunately installing Oracle forms seems a bit more tedious than I expected and I'm a bit stuck.
Windows installation
I first tried installing Oracle 12c (from http://www.oracle.com/technetwork/developer-tools/forms/downloads/index.html) on windows 7 x64. I installed the "Standalone forms builder", because when I chose "Forms and reports deployment", I got this error:
After installation I tried to start frmbld.exe, but immediately got this error:
FRM-91135: fatal error: message file D:\oracle\client\user123\product\12.1.0\client_1\forms\mesg\fmcus.msb not found
My oracle client is installed in that directory, but the mentioned file is certainty not there.
linux installation
Googling around I did not find any solution for this problem, so i decided to switch to a Linux virtual box machine. I installed Oracle linux x64 and then installed with a download from the same page again.
Once more I could only choose "Standalone forms builder", when I chose "Forms and reports deployment" I got exactly the same error as on windows. The installation ran successful.
After installation I tried to start formbuilder, this time I was presented this error:
./frmbld: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory
So now I'm a bit stuck. My questions are:
Am I going the right way with the way I'm trying to install Oracle forms? or is there a better / easier way?
Do I need a "Forms and reports deployment" to be able to experiment with Oracle forms? or is the standalone installation the right way to go?
Are there any pre-installed virtual machines available for this? (I googled but couldn't find anything.)
Do I need a running Oracle database to be able to experiment with Oracle forms?
Linux installation:
Yes you are going the correct path installing Forms/Reports. There is no easier install method (Oracle does not have a prebuilt VM with Forms/Reports).
You will require an Oracle database to connect to.
To fix the linux error you will need to install additional OS packages, probably motif - you can run (to find the packages required): yum whatprovides libXm*
I have installed Forms Builder 12c (standalone install) on Fedora and it is working correctly.
The windows error might be related to you OS PATH ENV - if you have any other Oracle products installed, the PATH order may need to be changed, put the Forms related paths at the beginning.
Unfortunately I was unable to get it properly working with my previous attempts. In the end I restarted an installed a windows 10 x64 virtual machine, after which i followed these excellent video's to get everything working: https://www.youtube.com/watch?v=4tgtHPJGc7o

Resources