Java.lang.UnsatisfiedLinkError with JMatLink under Mac OS X Leopard 10.5.5

Dear group,
I'm trying to build and use JMatLink (provides a matlab engine, callable from java) in my Intel Mac running Mac OSX 10.5.5, with Matlab 7.4 (2007a) installed.
To build the library (libJMatLink.jnilib), I'm using a makefile (see end of post) adapted from one suggested here
It compiles fine, but some strange things (for me) are happening, with the relative path of the matlab libs
Leporello:jmatlink miguel$ ldd libJMatLink.so
libJMatLink.so:
libJMatLink.so (compatibility version 0.0.0, current version 0.0.0)
../../bin/maci/libeng.dylib (compatibility version 0.0.0, current version 0.0.0)
../../bin/maci/libmx.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.1)When I try to run a simple example, Zbr.java, in which I call
System.loadLibrary( "JMatLink" );I constantly get
Exception in thread "main" java.lang.UnsatisfiedLinkError: /Volumes/Users/miguel/Desktop/JMatLink130/libJMatLink.jnilib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at Zbr.main(Zbr.java:12)whether I run it
${JAVA} Zbr
${JAVA} -Djava.library.path=/Users/miguel/Desktop/JMatLink130  Zbror even make a jar with Zbr.class, libJMatLink.jnilib and the jmatlink directory, and put it somewhere else (/Users/miguel)
${JAVA} -classpath /Users/miguel/a.jar Zbrwhere
JAVA=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java
My environment has
echo $PATH/sw/bin:/sw/sbin:/usr/local/git/bin:/Users/miguel/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin:/usr/texbin:/usr/local/HTS-2.1/bin:/usr/local/SPTK/bin:/opt/local/bin:/Applications/MATLAB74/bin:/Applications/MATLAB74/bin/maci:/usr/X11R6/bin
echo $DYLD_LIBRARY_PATH/Applications/MATLAB74/bin/maciAs a last curiosity, when I use jdk 1.5 instead of 1.6 to compile and run my example, no exception is thrown!
I can't figure out whether this is a problem of my settings or the compilation itself...
I really need this working to continue developing, and any help you could dispense me will be greatly appreciated.
Miguel
Makefile:
CC=gcc-4.0
LD=gcc-4.0
# MATLAB
MATLAB=/Applications/MATLAB74
CFLAGS = -I$(MATLAB)/extern/include -fno-common -no-cpp-precomp -fexceptions
CDEBUGFLAGS = -g
COPTIMFLAGS = -O3 -DNDEBUG
CLIBS = -L$(MATLAB)/bin/maci -leng -lmx -lstdc++
arguments = -DMX_COMPAT_32
LDFLAGS = -O -Wl,-flat_namespace -undefined suppress
# JAVA
JAVA=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
JINCLUDE = -I$(JAVA)/include
libJMatlink.jnilib  : libJMatLink.so
cp libJMatLink.so libJMatlink.jnilib
libJMatlink.so  : JMatLink.o
$(LD) -dynamiclib $(LDFLAGS) $(CLIBS) -o libJMatLink.so JMatLink.o
JMatLink.o  : JMatLink.c JMatLink.h
$(CC) $(CFLAGS) $(JINCLUDE) $(MINCLUDE) -c JMatLink.c
clean:
rm -f *.o
rm -f *.so
rm -f *.class

Hi jschell, thx for sticking with me on this one :)
1. You are not creating the library. Did you verify a file with the correct extension exists?
3. Could also be just a permissions problem.Library is there...and permissions seem ok
Leporello:JMatLink130 miguel$ ls -l libJMatLink.jnilib
-rwxr-xr-x  1 miguel  staff  17968  3 Dec 14:46 libJMatLink.jnilibWhich kind of only leaves this possibility...
2. There is something wrong in the way you created the library. Wrong in such a way that the VM is refusing to find it.I've tried deriving the compilation procedure directly from apple, but problem persists.
libJMatLink.jnilib: JMatLink.o
     $(LD) -bundle -o libJMatLink.jnilib JMatLink.o -L/Applications/MATLAB74/bin/maci -leng -lmx -lstdc++ -framework JavaVM
JMatLink.o: JMatLink.c JMatLink.h
     $(CC) -c -I/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Headers -I/Applications/MATLAB74/extern/include JMatLink.cYet again, jdk1.5 is not affected by this.
You aware of any significant changes to the jni implementation/interface between jdk1.6 and jdk1.5... even if only on the mac side?
miguel
Edited by: miguelvaz on Dec 4, 2008 12:08 AM

Similar Messages

  • Exception "java.lang.UnsatisfiedLinkError" with a library

    Hi,
    I'm using Avetana Bluetooth with linux. I have no compilation errors but I get this error when executing:
         Could not find own library libavetanaBT.so. Will try from ld.library.path
    Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: no libavetanaBT.so in java.library.path
    The library exists and it is in the '/sources/build' folder, and I export the path to the library in $LD_LIBRARY_PATH
    What can I do?
    Thanks

    Re: ./runInstaller problem

  • Java.lang.UnsatisfiedLinkError when loading libaries

    Hi,
    I coded an ejb, in which I want to call funtionality coming from a dll via JNI.
    In order to achieve it I copied the libary 'XXX.dll' to the windows directory system32
    and call in my ejb : System.loadLibary("XXX").
    The following exception occured:
    javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: no XXX in java.library.path
    Can anybody help me by saying
    1) where to put the .dll and what path to set in calling System.loadLibary(...)
    3) or even where and how to set the java.libary.path variable (Instance Template via configtool?)
    Honour and points are garanteed.
    Jens

    Hi,
    Check This,
    File f = new File("C:");
    System.out.println(f + " \t" + f.exists());
    f = new File(f, "sampleDLL2");
    System.out.println(f + " \t" + f.exists());
    System.load( f.toString() );
    When the library can not be found, you get a java.lang.UnsatisfiedLinkError with the message "no library in java.library.path". To solve this, move the library in one of the directories specified by java.library.path or alter the property so that it points to the directory containing your library. You can print this property with the following code:
    1: System.out.println(System.getProperty("java.library.path"));
    Another possibility when things do not work is when the DLL can be found, but the methods can not. A DLL exports functions according to specific names an calling conventions. When your compiler is not configured the right way your methods may get anther name than they should be. To solve this, you should include the header file generated by javah and configure your compiler the right way.
    Thanks,
    gopal

  • DBCA fails with java.lang.UnsatisfiedLinkError: Can't load library: /u01/oracle/prod/tech_st/product/11.2.0/db_1/oui/lib/linux/liboraInstaller.so Error in Oracle 11g

    Hi,
    After ORACLE 11G software installation i tried to change the ORACLE_HOME directory.
    OS : RHEL 4.5
    DB : 11.2.0
    Previous Home Location :
    [oracle@localhost ~]$ echo $ORACLE_HOME
    /u01/oracle/prod/tech_st/product/11.2.0/db_1
    Current Home Loc:
    [oracle@localhost ~]$ echo $ORACLE_HOME
    /u01/oracle/db/tech_st/product/11.2.0/db_1
    When i am trying the DBCA command i am getting the below error:
    [oracle@localhost ~]$ dbca
    java.lang.UnsatisfiedLinkError: Can't load library: /u01/oracle/prod/tech_st/product/11.2.0/db_1/oui/lib/linux/liboraInstaller.so
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
            at java.lang.Runtime.load0(Runtime.java:769)
            at java.lang.System.load(System.java:968)
            at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:387)
            at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:122)
            at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
            at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.initUnixPtrFileLoc(OiipgPropertyLoader.java:212)
            at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.<clinit>(OiipgPropertyLoader.java:125)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(OiicStandardInventorySession.java:492)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:266)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
            at oracle.sysman.assistants.util.InventoryUtil.getOUIInvSession(InventoryUtil.java:346)
            at oracle.sysman.assistants.util.InventoryUtil.getHomeName(InventoryUtil.java:87)
            at oracle.sysman.assistants.util.OracleHome.getInventoryHomeName(OracleHome.java:1023)
            at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:798)
            at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:257)
            at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
            at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
            at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
            at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:184)
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
            at java.lang.Runtime.loadLibrary0(Runtime.java:822)
            at java.lang.System.loadLibrary(System.java:993)
            at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:405)
            at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:122)
            at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
            at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.initUnixPtrFileLoc(OiipgPropertyLoader.java:212)
            at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.<clinit>(OiipgPropertyLoader.java:125)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(OiicStandardInventorySession.java:492)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:266)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
            at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
            at oracle.sysman.assistants.util.InventoryUtil.getOUIInvSession(InventoryUtil.java:346)
            at oracle.sysman.assistants.util.InventoryUtil.getHomeName(InventoryUtil.java:87)
            at oracle.sysman.assistants.util.OracleHome.getInventoryHomeName(OracleHome.java:1023)
            at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:798)
            at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:257)
            at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
            at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
            at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
            at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:184)
    [oracle@localhost ~]$
    I tried all possible ways with google help but still i am facing the same issue.Kindly check and suggest to solve the issue.
    Thanks in advance.
    Vijay.

    Hi all,
    I give you the clear details about the issue what i am currently facing,
    1. I installed the 11g (11.2.0) database alone(No EBS) in my local vmware machine.
    2. Created my ORACLE_HOME under /u01/oracle/prod/tech_st/product/11.2.0/db_1 directory after that i tried to change my home location from /u01/oracle/prod/tech_st/product/11.2.0/db_1 location to /u01/oracle/db/tech_st/product/11.2.0/db_1 location, like created /u01/oracle/db directory and moved files from /u01/oracle/prod location.
    3. I changed my bash_profile and exported home with the modified location also deregistered an old home and registered the new home.
    4. When i am issuing echo $ORACLE_HOME it is showing the current home location and ORACLE_SID is same what i created before.
    5. But when i am trying to create one more db using DBCA utility it is through the above error.
    Please suggest me is it possible to change the location after db creation or any extra steps i have to do for this issue.
    Thanks.

  • Exception in thread "main" java.lang.UnsatisfiedLinkError: /lib (MAC/Unix)

    Ok....newbie to JNI here. I know there are quite a few posts like this here..but everyone seems to be on XP/Vista, nothing for MAC/Unix
    This is my problem:
    I have just created a small bit of code to test the JNI and it fails rather miserably with an unhelpful UnsatisfiedLinkError message. So onto the code and my observations:
    This is my HelloJNI.java
    class HelloJNI {
        private native static void print();
        public static void main(String[] args) {
         print();
        static {System.out.println ( System.getProperty( "java.library.path" ) );System.loadLibrary("HelloJNI");System.out.println("Done");}
    }Compiled successfully to HelloJNI.class
    This is my HelloJNI.h header file as generated by javah -jni HelloJNI
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <jni.h>
    /* Header for class HelloJNI */
    #ifndef _Included_HelloJNI
    #define _Included_HelloJNI
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class:     HelloJNI
    * Method:    print
    * Signature: ()V
    JNIEXPORT void JNICALL Java_HelloJNI_print
      (JNIEnv *, jclass);
    #ifdef __cplusplus
    #endif
    #endifHere is the HelloJNI.cpp file:
    #include "HelloJNI.h"
    #include <iostream>
    using namespace std;
    JNIEXPORT void JNICALL Java_HelloJNI_print (JNIEnv *, jclass) {
      cout<<"Aye hello from JNI";
    }Now I have gone about this several ways....but in general the correct way to go about compiling this seems to have been to generate a .o file and then generate a file named libHelloJNI.jnilib. For all you doubters out there, this is the CORRECT name of the file, MAC OSX expects a library with the lib prefix and the .jnilib suffix. I can prove this to you in a second...but even the official technical notes I have come across on the web have told me that I need this special name on OSX in order for java to find my library. But this command works successfully:
    g++ -O3 -DNDEBUG -feliminate-unused-debug-symbols -fPIC -dynamiclib -o libHelloJNI.jnilib -I\/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers HelloJNI.cpp
    When I next run "java HelloJNI" I get this:
    .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/javaException in thread "main" java.lang.UnsatisfiedLinkError: /libHelloJNI.jnilib:
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         at java.lang.System.loadLibrary(System.java:1030)
         at HelloJNI.<clinit>(HelloJNI.java:6)HOWEVER this does NOT mean it hasn't found the file...because if I delete the libHelloJNI.jnilib from the root directory and run "java HelloJNI" I get this:
    .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/javaException in thread "main" java.lang.UnsatisfiedLinkError: no HelloJNI in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1753)
         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         at java.lang.System.loadLibrary(System.java:1030)
         at HelloJNI.<clinit>(HelloJNI.java:6)So, this is kinda proof that my library file needs to be called libHelloJNI.jnilib, as the error message seems to change when it is present. FYI yes I am running this from the root of my drive, and I also have a file called libHelloJNI.so in the same directory, which java could seem to care less about.
    Any help would be great, this is a very frustrating problem.
    EDIT:
    Quickly some information I forgot to include:
    OS: 10.5.4 OSX
    JAVA: java -version produces: java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13-120)
    Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_05-b13-52, mixed mode)g++ ---version:
    i686-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488)
    Copyright (C) 2005 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.Processor: 2.1 GHz Intel Core 2 Duo
    Type of Computer: 3rd or 4th generation macbook
    Edited by: LordDelta on Sep 20, 2008 10:44 AM

    LordDelta wrote:
    Ok....newbie to JNI here. I know there are quite a few posts like this here..but everyone seems to be on XP/Vista, nothing for MAC/Unix
    Keep in mind that they are not using the same VM either. Nor is the VM from the same vendor.
    So the rules for what is required exactly will be different.
    loadLibrary() is intended to provide a generic mechanism to load a "shared library" across different platforms.
    The exact naming of the shared libraries is expected to be different.
    It might help, if you can't find other sources, to skip JNI and investigate how to create shared libraries
    which are accessible via C/C++ code. The rules that define that will be the same as those
    used by the VM. Once you understand those rules understanding what your VM needs
    will be easier.

  • Help needed with JNI -  java.lang.UnsatisfiedLinkError

    I need some help with JNI. I am running on Sun Solaris 7 using their CC compiler. I wrote a simple java program that calls a native method to get a pid. Everything work until I use cout or cerr. Can anyone help? Below is what I am working with.
    Note: The application works. The problem is when the C++ code tries to display text output.
    My error log is as follows:
    java Pid
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/dew/test/libPid.so: ld.so.1: /usr/j2se/bin/../bin/sparc/native_threads/java: fatal: relocation error: file /home/dew/test/libPid.so: symbol __1cDstdEcerr_: referenced symbol not found
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at Pid.<clinit>(Pid.java:5)
    Pid.java
    ========
    * Pid: Obtains the pid from the jvm.
    class Pid {
    static { System.loadLibrary("Pid"); }
    public native int getPid();
    public static void main(String args[])
    System.out.println("Before construction of Pid");
    Pid z = new Pid();
    System.out.println(z.getPid());
    z = null;
    Pid.cpp
    =========
    * Native method that obtains and returns the processid.
    #include "Pid.h"
    #include "unistd.h"
    #include <iostream.h>
    JNIEXPORT jint JNICALL Java_Pid_getPid(JNIEnv *env, jobject obj) {
    /* cout << "Getting pid\n"; */
    cerr << "Getting pid\n";
    /* printf("Getting pid\n"); */
    return getpid();

    I forgot to include my build information.
    JAVA_HOME = /usr/j2se/
    LD_LIBRARY_PATH = ./:/opt/readline/lib:/opt/termcap/lib:/usr/bxpro/xcessory/lib:/${JAVA_HOME}/lib:/usr/RogueWave/workspaces/SOLARIS7/SUNPRO50/0d/lib:/usr/RogueWave/workspaces/SOLARIS7/SUNPRO50/3d/lib:/usr/sybase/lib
    javac Pid.java
    javah Pid
    CC -G -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris Pid.cpp -o libPid.so
    Thanks again,
    Don

  • Java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path

    Hi,
    I'm using Java 1.5 with Oracle 10g on a Mac 10.5.6 and trying to use the OCI cilent. Sadly, I'm getting the following error
    Caused by: java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1753)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:993)
    at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3147)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3143)
    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:221)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
    at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132) at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:78)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    at com.caucho.sql.DriverConfig.createDriverConnection(DriverConfig.java:567)
    at com.caucho.sql.ManagedConnectionImpl.initDriverConnection(ManagedConnectionImpl.java:242) at com.caucho.sql.ManagedConnectionImpl.<init>(ManagedConnectionImpl.java:131)
    at com.caucho.sql.ManagedFactoryImpl.createManagedConnection(ManagedFactoryImpl.java:121) at com.caucho.jca.ConnectionPool.create(ConnectionPool.java:792)
    at com.caucho.jca.ConnectionPool.allocatePool(ConnectionPool.java:661) at com.caucho.jca.ConnectionPool.allocate(ConnectionPool.java:620)
    ... 23 more
    My database connection string is
    jdbc:oracle:oci:@test-database:1521:orcl11
    I am using a Resin 3.0.19 app server, and the java.library.path I set it to is /opt/oracle:/opt/oracle/lib. Here are the contents of those directories
    /opt/oracle:
    bin     lib     network     ord     sqlj
    /opt/oracle/lib
    README_IC.htm          libheteroxa10.dylib     libocijdbc10.dylib     orai18n.jar
    classes12.jar          libnnz10.dylib          libsqlplus.dylib     sqlplus
    glogin.sql          libocci.dylib.10.1     ocrs12.jar
    libclntsh.dylib.10.1     libociei.dylib          ojdbc14.jar
    Any ideas for further troubleshooting? Thanks, - Dave

    The oci library must be in the shared library path of the platform. Simple as that.
    Do you have that library(ocijdbc10) installed? On platforms besides MAC a client install of the Oracle GUI allows for it.

  • Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/oracle/libo

    Hi,
    I"m using Mac OS X (32 bit) and trying to connect to an Oracle 10g server via JDBC. I just installed the Mac OS X 10.2 Instant Client Package - Basic Lite from here -- http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/intel_macsoft.html. Sadly, when I try and run my console app to connect, I get this error ...
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/oracle/libocijdbc10.jnilib:
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
         at java.lang.Runtime.loadLibrary0(Runtime.java:822)
         at java.lang.System.loadLibrary(System.java:993)
         at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3135)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3131)
         at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:221)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
         at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132)
         at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:78)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:140)
         at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:133)
         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:111)
         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2097)
         at myco.dor.dmv.driver.youthful.database.YouthfulDriverDatabase.<init>(YouthfulDriverDatabase.java:77)
         at myco.dor.dmv.driver.youthful.database.YouthfulDriverDatabase.getInstance(YouthfulDriverDatabase.java:83)
         at myco.dor.dmv.driver.youthful.AddressFileProcessor.execute(AddressFileProcessor.java:86)
         at myco.dor.dmv.driver.youthful.AddressFileProcessor.main(AddressFileProcessor.java:81)
    Any ideas? My CLASSPATH is set to include /opt/oracle/classes12.jar. My ORACLE_HOME is set to /opt/oracle and LD_LIBRARY_PATH is set to ORACLE_HOME (since that's where all the jars are). How can I troubleshoot this further?
    Thanks, - Dave

    You can verify the settings of the path to your libraries with
    System.out.println(System.getProperty("java.library.path"));before you call System.loadLibrary(), so you know if it is correct.
    I also found this information (for Solaris):
    The shared library file name requires a "lib" prefix and a ".so" extension. Do not include the "lib" prefix or the ".so" extension for the argument that you pass to the System.loadLibrary method.
    I don't know if that helps you solving your problem.

  • RWServlet -- java.lang.UnsatisfiedLinkError rwinit

    Hi,
    I am using IBM Websphere 5.1 and try to generate Oracle reports with 6i using a servlet. The servlet looks to be correctly mapped, but when I run the report I get the java.lang.UnsatisfiedLinkError rwinit, which basically means that the JVM cannot find the appropriate native-language definition of a method declared native, in this case the init() method from the RWServlet class.
    I used the same class with JRun server and it worked fine.
    Did anybody encounter this problem? Any suggestions?
    Thanks,
    Paul

    It looks like you did not set PATH for 6iserver/bin...
    Good luck
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by k_achar([email protected]):
    Hi,
    I am using IAS- Apache and Jserv for running the servlets. I am able to see the sample servlets. But, when I try the RWServlet I get the following error:
    java.lang.UnsatisfiedLinkError: rwinit
    I have updated the zone.properties, set up the LD_LIBRARY_PATH to ORACLE_HOME/lib, copied the rwsvl60.so to librwsvl60.so of ORACLE_HOME/lib. Copied the RWServlet to proper dir under Apache/Jserv/servlets with proper directory structure.
    I even tried linking the rwsvl60.so lib of the root.
    I am still getting the same error. I have the latest version of RWServlet.
    I went through the metalink, discussion forum...couldnt get much of help.
    I appreciate your help.
    - Kavitha<HR></BLOCKQUOTE>
    null

  • Java.lang.UnsatisfiedLinkError: no muxer in java.library.path

    error while starting weblogic
    plz help me

    According to CR087944 for weblogic 6.1
    "Running under Windows XP resulted in a java.lang.UnsatisfiedLinkError: no muxer in java.library.path error.
    This is because WebLogic Server does not correctly report Windows XP as the host operating system. With JDK 1.3.1_03, os.name is returned "Windows 2000".
    Modification of a method in the SocketMuxer resolved the problem.."
    U need to get the service pack 5 or above in order to resolve this problem

  • Error running applet, java.lang.UnsatisfiedLinkError: enableModeless

    hi guys
    I write an applet with JDevloper 3.1 using Oracle's B4J to connect to oracle 8.1.5. In Jdev all works fine. After deploying with the wizard to a webserver und running the applet using JRE 1.2.2 i got the following exception:
    Opening http://test.woow.at/awork/oracle/dacf/control/ResTable_de_DE.class no proxy
    Opening http://test.woow.at/awork/oracle/dacf/control/ResTable_de_DE.properties no proxy
    Opening http://test.woow.at/awork/oracle/dacf/control/ResTable_de.class no proxy
    Opening http://test.woow.at/awork/oracle/dacf/control/ResTable_de.properties.class no proxy
    Opening http://test.woow.at/awork/borland/jbuilder/addin/VersionedAddin.class no proxy
    java.lang.UnsatisfiedLinkError: enableModeless
    at sun.beans.ole.OleEmbeddedFrame.modalityPushed(Unknown Source)
    at sun.beans.ole.ModalityListenerImpl.modalityPushed(Unknown Source)
    at sun.awt.windows.WToolkit$ModalityListenerList.modalityPushed(Unkown Source)
    at sun.awt.windows.ModalityEvent.dispatch(Unkown Source)
    at sun.awt.windows.WToolkit.notifyModalityChange(Unkown Source)
    at sun.awt.windows.WDialogPeer.show(Unkown Source)
    at sun.awt.Dialog.conditionalShow(Unkown Source)
    at sun.awt.Dialog.show(Unkown Source)
    at oracle.dacf.control.swing.LoginDlg.show(LoginDlg.java:503)
    at oracle.dacf.control.swing.LoginDlg.showDialog(LoginDlg.java:488)
    at package6.Applet1.init(Applet.java:290)
    at sun.applet.AppletPanel.run(Unkown Source)
    at java,lang.Thread.run(Unkown Source)
    any idea, thanx a lot
    Armin

    Armin,
    I haven't seen this one before.
    Is your browser set to run with German locale?
    Here is my standard reply for problems with applet deployment in 3.1. It is probably the case that some classes available in the JDeveloper environment were not deployed to your web server environment.
    Applet Deployment for JDev 3.1
    Deployment issues for client and server:
    1. Make sure you have the JDK 1.2 plugin installed on the client.
    2. If your webserver and database are not on the same machine, you will have to configure your applet
    differently, or install the Net8 Connection Manager. See the Oracle JDBC Developer's Guide for more
    information (exact location of applet info depends on which version of the DB).
    Creating your Applet within JDeveloper:
    1. Create a new workspace.
    2. Create a new Business Components project. You will define your data model and business logic in this
    project. This is effectively your middle tier, but can be deployed to any tier you choose. In this
    project you will use the Business Components wizard to create:
    a. entity objects for each of the tables/views you want to develop against
    b. view objects (and optionally view links, associations) for each of the entity objects or
    combination of entity objects
    c. application module(s) to represent your data model(s)
    3. Save and build your business components project.
    4. Create a new empty project to contain your applet code.
    5. Launch the Infobus DataForm wizard to create your DAC applet. Choose the app module you created in
    step 2 as a data source. (Alternately, you can create the applet from scratch using the controls and
    binding your sessioninfo object to your app module).
    Deployment Steps within JDeveloper:
    1. Deploy your business components project.
    a. decide how you will deploy your app module (local, visibroker, etc.)
    b. if you decide to deploy in local mode, use the Deployment Profile Wizard and choose 'Simple
    Archive', including all of the business components project's XML and .JAVA files in the archive.
    c. if you will deploy to visibroker, see the online help for deploying your business components,
    and see the Release Notes for additional changes you need to make to your applet project.
    2. (if deploying BC4J project in local mode) Create a library using the archive you generated in Step
    1. Add this library to your applet project from the Project Properties Libraries tab.
    3. Clear out a directory on your local machine where the deployment wizard can copy everything you
    need to deploy.
    4. Deploy your applet project.
    a. Run the JDeveloper Deployment Profile Wizard and choose the Web Application to Web Server option
    on Page 1.
    b. On page 2, select all of the .class files in your project that make up the applet.
    c. Select all the libraries listed and shuttle them to the selected list. The contents of these
    libraries will automatically be added to your applet's HTML file during deployment
    d. Give the .jar file a name, and run the deployment to generate that jar file.
    e. select the location of the 'clean' directory you created in step 3.
    Deploying to your WebServer:
    1. Copy everything that the deployment process placed in your 'clean' directory to your WebServer.
    If you deployed your BC4J project locally, you will need to deploy the archive file containing your
    business components to the webserver along with all of the other archives.
    2. If you want to put the dependency archives in a different location from the applet's HTML file
    under the webserver root, then you need to set the CODEBASE tag in the HTML file to the (relative)
    location of the archives.
    Troubleshooting:
    1. Try both Netscape and IE. Different Browsers sometimes give different errors and one might be more
    helpful/indicative of the problem's source.
    2. Use the Java Console to get a more detailed stack trace. For Netscape, choose
    Communicator->Tools->Java Console.
    References w/in Oracle -
    JDBC Developer's Guide
    Net8 Admin Guide
    Referenc es outside Oracle -
    Borland JBuilder doc: http://www.borland.com/techpubs/jbuilder/jbuilder3-s/pg/applets.html
    JavaSoft Plugin Download: http://java.sun.com/products/plugin/
    JavaSoft Applets Resources Page: http://www.javasoft.com/applets/index.html
    null

  • Java.lang.UnsatisfiedLinkError: nativeSAP_CMLISTEN - Error

    Hi All,
    We are in process of upgrading SRM Java from 7.01 to 7.02. While JSPM was running 250GB of trace files (around 29317 files) have been written under D:\usr\sap\SJ7\JC01\j2ee\cluster\server0 and we are forced to stop JSPM and complete SAP instance.
    As soon as we start the instance with minutes 1GB trace files are written. All these files are dev_jrfc_xxxxx.trc.
    All these files have single error repeated continuously, kindly let us know how to resolve this issue.
    Error file opened at 20110706 102426 Eastern Daylight Time Rel 7.01.3 (2008-10-28) [710.234]
    Error thrown [Wed Jul 06
    10:26:12,128]:Error in RequestDispatcher.DispatcherWorker.run() java.lang.UnsatisfiedLinkError: nativeSAP_CMLISTEN
                at com.sap.mw.rfc.driver.CpicDriver.nativeSAP_CMLISTEN(Native Method)
                at com.sap.mw.rfc.driver.CpicDriver.SAP_CMLISTEN(CpicDriver.java:1137)
                at com.sap.mw.rfc.driver.RfcTypeRegisterCpic.waitForRequest(RfcTypeRegisterCpic.java:593)
                at com.sap.mw.rfc.api.RfcApi.RfcWaitForCpicRequest(RfcApi.java:1262)
                at com.sap.mw.jco.MiddlewareJRfc.waitForRequest(MiddlewareJRfc.java:641)
                at com.sap.mw.jco.RequestDispatcher$DispatcherWorker.run(RequestDispatcher.java:159)
                at java.lang.Thread.run(Thread.java:534)
    Regards,
    Siva.

    Hi,
    java.lang.UnsatisfiedLinkError:
    This exception is raised, when there is a problem loading the native SAP JCo library (Windows: sapjco3.dll or UNIX: libsapjco3.so). Typical reasons for this are:
    native library is not in the same directory as sapjco3.jar
    native library is for incorrect OS
    native library is for 64-bit, but Java used is 32-bit. or vice-versa. E.g. use java -d64 option
    there is a problem loading dependent libraries
    Also, please check if the required ports are open.
    Hope this helps.

  • Java.lang.UnsatisfiedLinkError: Can't load library: /

    Hello
    I downloaded the 32 bit JRE 5 for powerpc evaluation copy. When i try to execute the sample awt program using java.awt.headless=false. I'm getting following error.
    java -Djava.awt.headless=false AWTExample
    Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /
    mnt/usb/jre1.5.0_10/lib/ppc/xawt/libmawt.so
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
    at java.lang.Runtime.load0(Runtime.java:769)
    at java.lang.System.load(System.java:968)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:993)
    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
    at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
    at java.awt.Component.<clinit>(Component.java:545)
    please letme know where can i get ppc/xawt/libmawt.so.
    Is there any alternate solution for it. Please help me in this regard.
    Thanks and Regards
    Murali Krishna

    Hi all,
    I give you the clear details about the issue what i am currently facing,
    1. I installed the 11g (11.2.0) database alone(No EBS) in my local vmware machine.
    2. Created my ORACLE_HOME under /u01/oracle/prod/tech_st/product/11.2.0/db_1 directory after that i tried to change my home location from /u01/oracle/prod/tech_st/product/11.2.0/db_1 location to /u01/oracle/db/tech_st/product/11.2.0/db_1 location, like created /u01/oracle/db directory and moved files from /u01/oracle/prod location.
    3. I changed my bash_profile and exported home with the modified location also deregistered an old home and registered the new home.
    4. When i am issuing echo $ORACLE_HOME it is showing the current home location and ORACLE_SID is same what i created before.
    5. But when i am trying to create one more db using DBCA utility it is through the above error.
    Please suggest me is it possible to change the location after db creation or any extra steps i have to do for this issue.
    Thanks.

  • OS X 10.5.2, Java 6, java.lang.UnsatisfiedLinkError

    Hi,
    I'm getting an UnsatisifiedLinkError when dbxml tries to load a native library file.
    My environment is:
    Mac OS X 10.5.2
    JDK 6
    dbxml 2.3.10
    Here's how I can reproduce the problem:
    I downloaded the dbxml distribution, and ran ./buildall.sh --enable-java
    The application built without error messages, and placed the resulting files in
    /Users/fsommers/Applications/dbxml-2.3.10/install
    At that point I was able to execute the native tools, such as dbxml, from the bin subdirectory of the install directory.
    I then configured the following environment variables:
    DYLD_LIBRARY_PATH=/Users/fsommers/Applications/dbxml-2.3.10/install/lib
    CLASSPATH=/Users/fsommers/Applications/dbxml-2.3.10/install/lib/db.jar:/Users/fsommers/Applications/dbxml-2.3.10/install/lib/dbxml.jar:.
    Finally, I wrote a simple Java test application, e.g.:
    public class DBTest {
    public static void main(String[] args) throws Exception {
    XmlManager manager = new XmlManager();
    This class compiled fine.
    I ran this with the following command line:
    java -Djava.library.path="/Users/fsommers/Applications/dbxml-2.3.10/install/lib" DBTest
    At that point, however, I received the following exception trace:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /Users/fsommers/Applications/dbxml-2.3.10/install/lib/libdb_java-4.5.jnilib:
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         at java.lang.System.loadLibrary(System.java:1030)
         at com.sleepycat.db.internal.db_javaJNI.<clinit>(db_javaJNI.java:49)
         at com.sleepycat.db.internal.DbEnv.<init>(DbEnv.java:213)
         at com.sleepycat.dbxml.XmlManager.<init>(XmlManager.java:73)
         at com.sleepycat.dbxml.XmlManager.<init>(XmlManager.java:97)
         at com.dealercommand.DBTest.main(DBTest.java:22)
    I'm not familiar with OS X programming and its native libraries, so I'm not sure exactly how linking, etc., work in OS X.
    Any suggestions as to how I could resolve that would be appreciated.
    Thanks,
    -- Frank

    Hi George,
    Thanks for the suggestion. However, I'm still getting the same error.
    I did the following:
    1. Added dbxmlexamples.jar to the classpath. My classpath is:
    /Users/fsommers/Applications/dbxml-2.3.10/install/lib/db.jar:/Users/fsommers/Applications/dbxml-2.3.10/install/lib/dbxml.jar:.:/Users/fsommers/Applications/dbxml-2.3.10/dbxml/build_unix/dbxmlexamples.jar
    2. Executed:
    java -Djava.library.path=/Users/fsommers/Applications/dbxml-2.3.10/install/lib dbxml.basic.helloWorld
    This resulted in the following exception trace:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /Users/fsommers/Applications/dbxml-2.3.10/install/lib/libdb_java-4.5.jnilib:
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         at java.lang.System.loadLibrary(System.java:1030)
         at com.sleepycat.db.internal.db_javaJNI.<clinit>(db_javaJNI.java:49)
         at com.sleepycat.db.internal.DbEnv.<init>(DbEnv.java:213)
         at com.sleepycat.dbxml.XmlManager.<init>(XmlManager.java:73)
         at com.sleepycat.dbxml.XmlManager.<init>(XmlManager.java:97)
         at dbxml.basic.helloWorld.main(helloWorld.java:57)
    This is still the same UnsatisfiedLinkError that I had before.
    Thanks, in advance, for any further suggestions.
    -- Frank

  • Java.lang.UnsatisfiedLinkError: no HssJNIDriver950 in java.library.path

    Hi,
    I'm getting an error while trying to run a Hyperion Application Link (HAL) routine from a perl- cgi script initiated from a web browser.
    07/23/2010|183648|N/A|Info|N/A|Analytic Services Adapter Log File Started
    07/23/2010|183648|AppName/Plan2|Info|Connect|Method Started
    07/23/2010|183648|AppName/Plan2**|Error|Connect|java.lang.UnsatisfiedLinkError: no HssJNIDriver950 in java.library.path**
    07/23/2010|183648|AppName/Plan2|Error|Connect|Method Ended - Connect completed with exceptions.
    07/23/2010|183648|N/A|Info|N/A|Analytic Services Adapter Log File Ended
    Please note that Perl-Cgi script runs fine when run from command line.
    I've added the following env. variables in Apache server's httpd.conf file
    SetEnv ARBORPATH "E:\\Hyperion\\products\\Essbase\\EssbaseClient"
    SetEnv APS_HOME "E:\\Hyperion\\products\\Essbase\\aps"
    SetEnv ESSLANG "English_UnitedStates.Latin1@Binary"
    SetEnv EASPATH "E:\\Hyperion\\products\\Essbase\\eas\\server"
    SetEnv HYPERION_HOME "E:\\Hyperion"
    SetEnv ESSBASEPATH "E:\\Hyperion\\products\\Essbase\\EssbaseClient"
    SetEnv EAS_HOME "E:\Hyperion\products\Essbase\eas\console"
    SetEnv CLASSPATH "E:\\Vignette\\V7\\vbis\\Hyperion\\EssbaseAdapter"
    SetEnv PATH "E:\\Hyperion\\common\\ADM\\9.5.0.0\\Essbase\\9.5.0.0\\bin;E:\\Vignette\\V7\\vbis\\Hyperion\\EssbaseAdapter\\adm;C:\\
    Program Files (x86)\\Java\\jre1.5.0_17\\bin\\;E:\\Hyperion\\products\\Essbase\\EssbaseClient\\bin;E:\\Hyperion\\products\\Essbase\\EssbaseClient;E:\\Hyperion\\common\\CSS\\9.5.0.0\\bin;E:\\Hyperion\\products\\Essbase\\eas\\console\\bin;"
    Also note that HssJNIDriver950.dll is present in the file system under two locations :
    * E:\Vignette\V7\vbis\Hyperion\EssbaseAdapter\adm
    * E:\Hyperion\common\ADM\9.5.0.0\Essbase\9.5.0.0\bin
    Any pointers would be appreciated.
    Thanks in Advance!!

    Hi,
    Thanks for the reply.
    I ran a perl script to print environment variables and also included all of them the apache httpd.conf file.
    SetEnv ALLUSERSPROFILE "C:\\Documents and Settings\\All Users"
    SetEnv APPDATA "C:\\Documents and Settings\\svc-auk-hyperion\\Application Data"
    SetEnv ARBORPATH "E:\\Hyperion\\products\\Essbase\\EssbaseClient"
    SetEnv CLASSPATH ";;;E:\\Vignette\\V7\\vbis\\Hyperion\\EssbaseAdapter"
    SetEnv CLUSTERLOG "C:\\WINDOWS\\Cluster\\cluster.log"
    SetEnv COMMONPROGRAMFILES "C:\\Program Files (x86)\\Common Files"
    SetEnv COMMONPROGRAMFILES(X86) "C:\\Program Files (x86)\\Common Files"
    SetEnv COMMONPROGRAMW6432 "C:\\Program Files\\Common Files"
    SetEnv COMSPEC "C:\\WINDOWS\\system32\\cmd.exe"
    SetEnv EAS_HOME "E:\\Hyperion\\products\\Essbase\\eas\\console"
    SetEnv ESSBASEPATH "E:\\Hyperion\\products\\Essbase\\EssbaseClient"
    SetEnv ESSLANG "English_UnitedStates.Latin1@Binary"
    SetEnv FP_NO_HOST_CHECK "NO"
    SetEnv HOMEDRIVE "C:"
    SetEnv HOMEPATH "\\Documents and Settings\\svc-auk-hyperion"
    SetEnv HYPERION_HOME "E:\\Hyperion"
    SetEnv NUMBER_OF_PROCESSORS "2"
    SetEnv ODI_JAVA_HOME "E:\\OraHome_1\\jre\\1.4.2"
    SetEnv OS "Windows_NT"
    SetEnv PATH "E:\\Perl\\site\\bin;E:\\Perl\\bin;E:\\Hyperion\\products\\Essbase\\EssbaseClient\\bin;E:\\Hyperion\\products\\Essbase\\EssbaseClient;E:\\Oracle\\product\\11.1.0\\client_2\\bin;E:\\product\\11.1.0\\client_1;E:\\Hyperion\\common\\CSS\\9.5.0.0\\bin;C:\\Program Files (x86)\\Windows Resource Kits\\Tools\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Microsoft Network Monitor 3\\;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0;C:\\Program Files\\PSTools;E:\\Hyperion\\common\\ODBC-64\\Merant\\5.2\\Drivers;C:\\Program Files (x86)\\Java\\jre1.5.0_17\\bin\\;E:\\Hyperion\\products\\Essbase\\EssbaseClient\\bin;E:\\Hyperion\\products\\Essbase\\eas\\console\\bin;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0;C:\\Program Files (x86)\\Java\\jre1.5.0_17\\bin\\client\\;C:\\Program Files\\System Center Operations Manager 2007\\;;;C:\\Program Files(x86)\\Java\\jre1.5.0_17\\bin\\;;E:\\Vignette\\V7\\vbis\\Hyperion\\EssbaseAdapter\\adm"
    SetEnv PATHEXT ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1;.PSC1"
    SetEnv PLANNING_HOME "E:\\Hyperion\\products\\Planning"
    SetEnv PROGRAMFILES "C:\\Program Files (x86)"
    SetEnv PROGRAMFILES(X86) "C:\\Program Files (x86)"
    SetEnv PROGRAMW6432 "C:\\Program Files"
    SetEnv PROMPT "$P$G"
    SetEnv PSMODULEPATH "C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules\\"
    SetEnv SESSIONNAME "RDP-Tcp#5"
    SetEnv SYSTEMDRIVE "C:"
    SetEnv SYSTEMROOT "C:\\WINDOWS"
    SetEnv TEMP "C:\\DOCUME~1\\SVC-AU~1\\LOCALS~1\\Temp\\1"
    SetEnv TMP "C:\\DOCUME~1\\SVC-AU~1\\LOCALS~1\\Temp\\1"
    SetEnv TNS_ADMIN "E:\\Oracle\\product\\11.1.0\\client_2\\network\\admin"
    SetEnv USERNAME "svc-auk-hyperion"
    SetEnv USERPROFILE "C:\\Documents and Settings\\svc-auk-hyperion"
    SetEnv WINDIR "C:\\WINDOWS"
    I know that more than half of the above variables are not required
    Even after including all the environment variables, I'm still getting the same error
    07/27/2010|111549|N/A|Info|N/A|Analytic Services Adapter Log File Started
    07/27/2010|111549|Appname/Plan2|Info|Connect|Method Started
    07/27/2010|111549|Appname/Plan2|*Error|Connect|java.lang.UnsatisfiedLinkError: no HssJNIDriver950 in java.library.path*
    07/27/2010|111549|Appname/Plan2|Error|Connect|Method Ended - Connect completed with exceptions.
    07/27/2010|111549|N/A|Info|N/A|Analytic Services Adapter Log File Ended
    Please help.
    Thanks in Advance

Maybe you are looking for

  • Adobe Bridge Scripting!

    Hi, I would like to open a folder images in Adobe Bridge, -> Open Images in Camera Raw --> Adjust tone curve as 'Medium Contrast" and save it. and then I would start editing the processed images through photoshop scripting. help me! thanks in advance

  • How do I get Integer in JTable cell to be selected when edit using keyboard

    I have some cells in a JTable, when I double-click on the cell to edit it the current value (if any) is selected and is replaced by any value I enter, which is the behaviour I want. But when I use the keyboard to navigate to the cell and start editin

  • Jakarta commons ServletFileUpload parseRequest return 0 items, migration ?

    I used ServletFileUpload.parseRequest(request) to get my list of items, with Struts 1.3, JBoss 4.2.2GA(migrated from JBoss 4.0.5GA) I am using JDK 1.5, on myEclipse 6.6 ( migrated from myEclipse 5.5.1GA). My file upload application used to work and S

  • "New" error during ApplyLogOnInfo(...): Invalid parameter value: exceeds...

    Invalid parameter value: exceeds the Min or Max or conflicts with existing value or edit mask error during ApplyLogOnInfo() to the tables contained within a report.  Now, this is a "new" error because this was not being thrown when the application wa

  • Absorb LMS (Learning Management System), not working

    I'm launching an online learning course that is implemented by Absorb LMS. They seem to be using flash and JAVA for their online courses. I installed the latest flash and JAVA runtime, but I can't hear any sound just can see video in Safari. I have O