Problem with Oracle & Orion


EJB programming & troubleshooting: Problem with Oracle & Orion

  1. Problem with Oracle & Orion (2 messages)


    I have some problems with Oracle and Orion. My operating system is Linux. When I try to install a program that uses Oracle database (The configurations in the data-source.xml are right) I only get followin error messages:

    Auto-deploying ejb-dir (No previous deployment found)... java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
            at java.lang.ClassLoader.loadLibrary(
            at java.lang.Runtime.loadLibrary0(
            at java.lang.System.loadLibrary(
            at oracle.jdbc.oci8.OCIDBAccess.logon(
            at oracle.jdbc.driver.OracleConnection.<init>(

    and so on...

    The path to the Oracle's database is also right because I have other java programs that uses it from the same enviroment.

    - Erik

    Threaded Messages (2)

  2. Problem with Oracle & Orion[ Go to top ]

    If I remember correctly, you will have to put your oracle driver into the orion's lib.

    Put or similar to

    and it should be picked up when the orion starts up.
  3. Problem with Oracle & Orion[ Go to top ]

    The error in plain text is that Java runtime is unable to load the (.dll on windows) because it doesn't find it.
    If adding the path to the library (usually ORACLE_HOME/bin) doesn't help, then try to put it using -Djava.library.path=... in the command line that starts the app server.
    Also there are app servers that let you define java properties using configuration files.