Java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path

hi,
i am trying to connect to an oracle 8.1.7 database from my application running on tomcat 4.0.3 / jdk1.4 /windows nt.
using the thin jdbc-driver (classes12.zip) everything works fine.
when i try using the oci8-driver, i get an error-message saying:
java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
i have the oracle-client installed on my machine.
the ocijdbc8.dll can be found in D:\server\oracla81\bin
the environment-variables PATH, CLASSPATH, LD_LIBRARY_PATH (i'm not sure if this has any meaning on nt) all point to this directory.
i start tomcat using the following option: -Djava.library.path="D:\server\oracla81\bin"
my application can see this variable:
System.out.println("java.library.path: "+System.getProperty("java.library.path"));
prints out the correct value.
then i try to load the library by myself:
try {
System.loadLibrary("ocijdbc8");
System.out.println("Successfully Loaded");
} catch(Exception e) {
System.out.println("LD_LIBRARY_PATH is not properly set");
e.printStackTrace();
everything works fine! the library is loaded!
finally i try to connect to the database and the application throws the mentioned exception:
lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1410)
     at java.lang.Runtime.loadLibrary0(Runtime.java:772)
     at java.lang.System.loadLibrary(System.java:832)
     at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
     at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:249)
     at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
     at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
any help would be appreciated.
thanx in advance,
frank.
[email protected]

It is probably JDK 1.4 that causes the problem. I was able to get strange errors with that version of the JDK with code that worked fine using 1.31.

Similar Messages

  • Java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library path

    Hello
    i am getting this unsatisfied error whenever i use servlet & in my servlet i am using JDBC for connecting to Oracle.
    i need to know the solution for this please do let me know . Also do i need to know the JDBC re-alm set-up in Tomcat server.
    java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library path
    at java.lang.Runtime.loadLibrary(Runtime.java)
    at java.lang.System.loadLibrary(System.java)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java)
    at oracle.jdbc.driver.OracleConnection.(OracleConnection.java)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
    at java.sql.DriverManager.getConnection(DriverManager.java:83)
    at java.sql.DriverManager.getConnection(DriverManager.java:126)
    at sdsi.sdsi.doGet(sdsi.java:29)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
    at org.apache.tomcat.core.Handler.service(Handler.java:287)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
    at java.lang.Thread.run(Thread.java)

    Make sure the oracle library ($ORACLE_HOME/lib) is included in the LD_LIBRARY_PATH.
    Or, you can use JDBC thin driver instead of OCI driver.

  • JDBC+Lite+WinCE : java.lang.UnsatisfiedLinkError: no oljdbc40 in shared library path

    Greetings,
    I'm trying to work with Oracle 9i Lite on PocketPC and I got one
    exception when I try to use jdbc package (oljdbc40.jar):
    java.lang.UnsatisfiedLinkError: no oljdbc40 in shared library
    path
    Since I didn't made the dll (is an Oracle product), I can't make
    much about the dll or the native class file where the call take
    place.
    my standard definitions are:
    -PocketPC (ipaq)
    -Personal Java 1.1 beta
    -I have my application in a JAR-based file in "\Program
    Files\App"
    -Oracle Lite installation in "\ORACE";
    -dll files installed by oracle in "\Windows";
    -wince registry classpath for JAR/CLASS file aimed
    to "\ORACE\oljdbc40.jar"
    So, what should I do to run my application that uses a jdbc
    package from oracle based on a dll file?
    I'm hopeful to solve this and avoid my thought from using any
    Microsoft Visual tool...
    thanks,
    Pedro Salazar

    Hi Pedro,
    Did you ever get this problem fixed? I'm seeing the same issue running Personal Java 1.1 beta for StrongARM on PocketPC 2000 with Oracle 9i Lite 5.0.2
    Any help much appreciated!
    Thanks,
    Simon.

  • Java.lang.UnsatisfiedLinkError: no msawt in shared library path

    I am using IE5.5 on Windows 98SE, and every time I try to run an applet, I get the error "java.lang.UnsatisfiedLinkError: no msawt in shared library path" I have installed the JDK/JRE, but it has not done anything. I discovered that I was missing msawt.dll from my windows/system folder, but when I got it, it had no effect on the error message. I have gotten the same applets to run on other win98/IE5.5 machines. I read of this same problem in a linux forum somewhere, but nobody had a solution. What should I do? Thanks.

    Well, as tacky as it is to reply with the solution to my own problem, I found that installing a newer version of Microsoft's Java Virtual Machine, free from Microsoft's site, helped elminate that error. Perhaps this will help someone else.

  • Solution of "no ocijdbc8 in shared library path" Windows95 Jdeveloper 3.0

    I installed Jdeveloper 3.0 and got the message "no ocijdbc8 in shared library path".
    We are using Oracle 8.0.5 so I had Oracle 8.0.5 client in my PC.
    1. I down loaded oci805jdbc.dll, oci805jdbc_g.dll and put my c:\orawin95\bin directory. The PATH contains the directory.
    2. Then I tested the dll with the following program: (provided with sombody else in this discussion forum.)
    public class Test4 {
    public static void main (String [] args)
    try
    System.loadLibrary("oci805jdbc");
    System.out.println("Successfully Loaded");
    } catch(Exception e)
    System.out.println("LD_LIBRARY_PATH is not properly set");
    e.printStackTrace();
    The output:
    Successfully Loaded
    I tried the following too (ocijdbc8.dll exists in c:\orawin95\bin directory):
    public class Test {
    public static void main (String [] args)
    try
    System.loadLibrary("ocijdbc8");
    System.out.println("Successfully Loaded");
    } catch(Exception e)
    System.out.println("LD_LIBRARY_PATH is not properly set");
    e.printStackTrace();
    The output:
    java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library path
    May be I need Oracle 8.1.5 client or the dll is corrupted?
    3. I modified my Jdeveloper.ini file (changed jdbc lib: 8.1.5 to 8.0.5:
    Original row:
    [Java_Global]
    IDEClassPath=..\lib\jdeveloper.zip;..\lib\jdev-rt.zip;..\lib\jbcl2.0.zip;..\lib\jgl3.1.0.jar;..\sqlj\lib\translator.zip;..\aurora\lib\aurora_client.jar;..\aurora\lib\jasper.zip;..\ aurora\lib\vbjtools.jar;..\aurora\lib\vbjorb.jar;..\aurora\lib\vbjapp.jar;..\aurora\lib\vbj30ssl.jar;..\aurora\lib\aurora.zip;..\jdbc\lib\oracle8.1.5\classes111.zip;..\lib\javax_ej b.zip;..\lib\jndi.jar;..\lib\netasst.jar;..\lib\jsp2java.jar;..\lib\jsdk.jar;..\lib\oasdeploy.jar;..\lib\f60all.jar;..\lib\jbodatum.zip;..\lib\jbomt.zip;..\lib\jbovb.zip;..\lib\jbo o8i.zip;..\lib\jboejb.jar;..\lib\jbodt.zip;..\lib\jbotester.zip;..\lib\xmlparserv2.jar;..\lib\dacf.zip;..\lib\dacfdt.zip;..\infobus\lib\infobus.jar;..\lib\LW_pfjbean.jar
    Modified row:
    [Java_Global]
    IDEClassPath=..\lib\jdeveloper.zip;..\lib\jdev-rt.zip;..\lib\jbcl2.0.zip;..\lib\jgl3.1.0.jar;..\sqlj\lib\translator.zip;..\aurora\lib\aurora_client.jar;..\aurora\lib\jasper.zip;..\ aurora\lib\vbjtools.jar;..\aurora\lib\vbjorb.jar;..\aurora\lib\vbjapp.jar;..\aurora\lib\vbj30ssl.jar;..\aurora\lib\aurora.zip;..\jdbc\lib\oracle8.0.5\classes111.zip;..\lib\javax_ej b.zip;..\lib\jndi.jar;..\lib\netasst.jar;..\lib\jsp2java.jar;..\lib\jsdk.jar;..\lib\oasdeploy.jar;..\lib\f60all.jar;..\lib\jbodatum.zip;..\lib\jbomt.zip;..\lib\jbovb.zip;..\lib\jbo o8i.zip;..\lib\jboejb.jar;..\lib\jbodt.zip;..\lib\jbotester.zip;..\lib\xmlparserv2.jar;..\lib\dacf.zip;..\lib\dacfdt.zip;..\infobus\lib\infobus.jar;..\lib\LW_pfjbean.jar
    I am sure that the actual ..\jdbc\.. \lib\classes111.zip (or classes12 in java2) responsible for the ocijdbc8/oci805jdbc etc calling.
    The OracleDriver.class contains the name of the dll without the .dll extension.
    With this parameter is called the system.loadLibrary method!
    Importent:
    USE THE APPROPIATE ORACLE CLIENT (appropiate ocijdbc.dll)!
    USE THE APPROPIATE classes111.zip,
    (classes12.zip)!
    Manual setup using sqlj from DOS promt:
    set CLASSPATH=.;c:\orawin95\LITE\CLASSES\OLJDK11.JAR;c:\orawin95\LITE\CLASSES\OLITE40.JAR;d:\jdev\sqlj\lib\runtime.zip;d:\jdev\sqlj\lib\translator.zip;d:\jdev\jdbc\lib\oracle8.0.5\clas ses111.zip;d:\jdev\sqlj\lib\translator.zip;d:\jdev\java\lib\classes.zip;d:\jdev\jdbc\lib\oracle8.1.5\nls_charset11.zip;c:\orawin95\bin
    PATH C:\ORAWIN95\bin;d:\mgwin\bin;d:\bcc55;d:\bcc55\bin;d:\TC;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WNETFIN;C:\PROGRA~1\PERSON~1;C:\PSM;C:\WINDOWS\UTILS;d:\jdev\java\bin;d:\jdev\bin;d:\jdev\ jdbc\lib
    Good Luck!
    Otto
    [email protected]
    [email protected]
    null

    nstall the Oracle8i client on your machine, and make sure that
    <ORACLE_HOME> is set correctly. (From The Tools->IDE Options and click on the
    environment TAB ) and select an ORACLE_HOME from the List Box)
    or
    Exit from JDeveloper and edit the jdeveloper.ini file which is located in
    <J Developer Home>\bin.
    Modify the entries:
    JLP=-Djava.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin
    SLP=-Dsun.boot.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin
    to include the Oracle Bin directory. For example:
    JLP=-Djava.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin;D:\ORA8i\BIN
    SLP=-Dsun.boot.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin;D:\ORA8i\BIN

  • Java.lang.UnsatisfiedLinkError: no ocijdbc8 in java

    hi!
    i've tried to run entity-bean with jboss and store it into oracle-db
    this is what i get: java.lang.UnsatisfiedLinkError: no ocijdbc8 in java
    what is ocijdbc8.dll where can i get it, and where must i put it

    Hi,
    I have the same problem - i.e my java.library.path is not setup so I can use the jdbcoci8 driver. I thought all I needed to do was set LD_LIBRARY_PATH to point to the $9iAS_HOME/lib/libocijdbc8.so. But this is not working.
    How do I set java.library.path?
    Thanks for the help,
    Kendall

  • Java.lang.UnsatisfiedLinkError: no ocijdbc8

    I received the java.lang.UnsatisfiedLinkError: no ocijdbc8 error while running the following command:
    java OracleXML putXML -user xxx/xxx .....
    I saw a few posts regarding dll files for NT but nothing for AIX.
    Any help would be greatly appreciated.
    Thanks,
    John

    Hi Jinyu,
    Here are the things I was checking for to fix this error.
    I made sure the xsu12.jar and classes12.zip file were in the classpath, and they are.
    I made sure the directory that contains the libocijdbc8.so library was in the classpath. It wasn't so I added it.
    I added the directory that holds the libocijdbc8.so library to the LD_LIBRARY_PATH env variable.
    Thanks,
    John

  • UnsatisfiedLinkError: no ocijdbc8 in java.library.path

    In case any of you have gotten this error (I've seen a lot of posts in reference to it) and are using Windows Apache Jserv..... make sure to update your jserv.properties's wrapper.path property with the path to your OCIJDBC8.DLL.
    Here is the error log from my mod_jserv.log file:
    [26/07/2000 00:08:12:433] (ERROR) ajp12: Servlet Error: java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path: no ocijdbc8 in java.library.path
    so if you've got similar problems and already have ocijdbc8.dll in your WINDOWS path.. remember that JSERV requires it in ITS OWN PATH property.
    Just trying to be helpfull :^)
    Moran Ben-David
    [email protected]

    are you able to run jdbc programs from javac?

  • 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.

  • HELP: java.lang.UnsatisfiedLinkError: no ... in java.library.path

    am the beginner of JNI. I write a test program to use C code in JAVA.
    [yxz155@lionxo JAVAaC]$ ls
    AClassWithNativeMethods.java theNativeMethod.c
    [yxz155@lionxo JAVAaC]$ javac AClassWithNativeMethods.java
    [yxz155@lionxo JAVAaC]$ javah -jni AClassWithNativeMethods
    [yxz155@lionxo JAVAaC]$ ls
    AClassWithNativeMethods.class AClassWithNativeMethods.java
    AClassWithNativeMethods.h theNativeMethod.c
    [yxz155@lionxo JAVAaC]$ gcc -c -fPIC -I/usr/global/java/include -I/usr/global/java/include/linux theNativeMethod.c
    [yxz155@lionxo JAVAaC]$ ls
    AClassWithNativeMethods.class AClassWithNativeMethods.java theNativeMethod.o
    AClassWithNativeMethods.h theNativeMethod.c
    [yxz155@lionxo JAVAaC]$ ld -G theNativeMethod.o -o libJCI.so -lm -lc -lpthread
    [yxz155@lionxo JAVAaC]$ ls
    AClassWithNativeMethods.class AClassWithNativeMethods.java theNativeMethod.c
    AClassWithNativeMethods.h libJCI.so theNativeMethod.o
    [yxz155@lionxo JAVAaC]$ java AClassWithNativeMethods
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no CJI 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:992)
    at AClassWithNativeMethods.<clinit>(AClassWithNativeMethods.java:9)
    [yxz155@lionxo JAVAaC]$
    The codes are as follows, I tried setProperty() as in java program, but it did not work. I also tried set LD_LIBRARY_PATH and it did not work either.
    //AClassWithNativeMethods.java
    import java.io.File;
    import java.lang.System;
    public class AClassWithNativeMethods{
    public native void theNativeMethod();
    static {
    //System.setProperty("java.library.path",System.getProperty("java.library.path")+ File.pathSeparator+"/home2/yxz155/JAVAaC");
    //System.out.println(System.getProperty("java.library.path"));
    System.loadLibrary("CJI");
    public static void main(String[] args){
    AClassWithNativeMethods test = new AClassWithNativeMethods ();
    test.theNativeMethod();
    // theNativeMethod.c
    #include <stdio.h>
    #include "AClassWithNativeMethods.h"
    JNIEXPORT void JNICALL Java_AClassWithNativeMethods_theNativeMethod
    (JNIEnv *env, jobject obj){
    printf("Hello~~~~");
    //AClassWithNativeMethods.h
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <jni.h>
    /* Header for class AClassWithNativeMethods */
    #ifndef IncludedAClassWithNativeMethods
    #define IncludedAClassWithNativeMethods
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class: AClassWithNativeMethods
    * Method: theNativeMethod
    * Signature: ()V
    JNIEXPORT void JNICALL Java_AClassWithNativeMethods_theNativeMethod
    (JNIEnv *, jobject);
    #ifdef __cplusplus
    #endif
    #endif

    Hi all,
    I am getting the error in jdk 5:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: getObjectSize0
    at sun.instrument.InstrumentationImpl.getObjectSize0(Native Method)
    at sun.instrument.InstrumentationImpl.getObjectSize(InstrumentationImpl.java:97)
    at ObjectSizeEstimator.main(ObjectSizeEstimator.java:25)
    while executing the following code:
    public class ObjectSizeEstimator {
    static {
    System.loadLibrary("instrument");
    public static void main(String[] args) throws Exception {
    Constructor ctor = InstrumentationImpl.class
    .getDeclaredConstructor(new Class[] { long.class, boolean.class });
    ctor.setAccessible(true);
    Instrumentation inst = (Instrumentation) ctor.newInstance(new Object[] {
    Long.valueOf(0L), Boolean.TRUE });
    System.out.println(inst.getObjectSize(new Object()));
    "getObjectSize0" is the native method. All of my classpath setting is in place. Can Anybody tell me why i am getting this error.
    Thanks in advance....:)

  • 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

  • Still got java.lang.UnsatisfiedLinkError even after I set java.library.path

    Hi,
    I developed a Java application which uses JNI. Before I run the application, I set an environment variable JAVA_LIBRARY_PATH to where I put the .dll file required by my application. But when I try to run the application, I always get the exception of "java.lang.UnsatisfiedLinkError " saying that no the required .dll in java.library.path. Could anyone please tell me what's going on there ?(I am using JDK1.5.0_05.)
    thanks !

    Hi Scott,
    Thanks for your help !
    I also tried setting PATH before. But with this setting I got another problem that if I tried to the application the second time or more times, it always gives me an exception saying that the dll library already loaded by another loader. That's why I moved to set JAVA_LIBRARY_PATH because this way ever worked for me when I used lower version of Java. I did not use -Djava.library.path= option because I want to invoke my application from web application which may use RMI or HTTP.

  • Windows too - java.lang.UnsatisfiedLinkError: no cis in java.library.path

    There have been many posts of people who get the following exception:
    java.lang.UnsatisfiedLinkError: no cis in java.library.path
    And it is always on solaris only, they don't seem to get it on windows. However, I AM using windows and am getting this error trying to run a simple stand alone java app to connect to a jms topic. I'm trying to connect like so:
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");     
    env.put(Context.PROVIDER_URL, "iiop://localhost:3700");
    jndiContext = new InitialContext(env);
    Thus far I have been COMPLETELY unable to get a simple little standalone java app to connect to a jms topic on the sun server. Why is this so @#%$#@ hard? Anyway, even though it compiles file, I get the above exception when I try. I imagine it's a environment varaible/classpath issue. Soooo, can someone please give me the complete list of all required jar/dll files which must be in the classpath, as well as all environment variables which must be set in order to get a simple java app to connect to a jms topic? Please? Thank you.
    Tony

    Sorry, but I have those .dll files in my classpath. Here is the batch file I'm using to try to run my simple standalone app (called SimpleTopicPublisher):
    cls
    setlocal
    set JAVA_HOME=C:\sun\AppServer7\jdk
    set ANT_HOME=C:\prog\java\BOABackOffice\3rdparty\ant
    set IMQ_HOME=C:\sun\AppServer7\imq
    set classpath=.;
    set classpath=%classpath%;C:\prog\java\BOABackOffice\3rdparty\junit\junit.jar
    set classpath=%classpath%;C:\sun\AppServer7\imq\lib\jms.jar;C:\sun\AppServer7\imq\lib\imq.jar;C:\sun\AppServer7\imq\lib\fscontext.jar
    set classpath=%classpath%;C:\sun\AppServer7\lib\appserv-ext.jar;C:\sun\AppServer7\lib\appserv-rt.jar;C:\sun\AppServer7\lib\appserv-admin.jar
    set classpath=%classpath%;C:\sun\AppServer7\bin\cis.dll;C:\sun\AppServer7\bin\libnspr4.dll;C:\sun\AppServer7\bin\libplc4.dll
    set classpath=%classpath%;C:\sun\AppServer7\bin\libplds4.dll;C:\sun\AppServer7\bin\nss3.dll;C:\sun\AppServer7\bin\ssl3.dll
    set path=%path%;%JAVA_HOME%\bin;%ANT_HOME%\bin
    java SimpleTopicPublisher com.ecc.utils.LoggerTopic 1
    endlocal
    I have all the .dll's in my classpath, as well as .jar files that I can think of. Still no luck.
    - Tony

  • Install FB 2 on vista got java.lang.UnsatisfiedLinkError: no swt-win32-3139 in java.library.path

    The following is a re-posting of a thread regarding
    UnsatisfiedLinkError issue. One author posted the workaround below.
    That workaround was posted multiple times by mistake, and the
    author asked Moderator to delete the extra posting.
    An operating error caused the topic to be deleted instead of
    the individual messages. I am reposting the content of the thread,
    and apologize to the authors who participated in this thread
    before.
    Workaround :
    I experienced the same issue when I tried to install Flex on
    a new Vista system. Here's how I corrected it:
    1) Navigate to C:\Program Files\Adobe\Flex Builder 2\plugins
    2) Look for the file
    "org.eclipse.swt.win32.win32.x86_3.1.2.jar". You will need to open
    this in a file compression program such as WinRar or WinZip. If you
    don't have such a program you can try:
    2a) Copy (make sure you COPY, not MOVE) the file to another
    location, such as your desktop.
    2b) Rename the file with a ".zip" extension (i.e. change
    ".jar" to ".zip"). NOTE: You will not see the file extension if
    your system is configured to hide extensions. In this case, open a
    Windows Explorer window ("My Computer", etc.) and press the "Alt"
    key. A menu bar will appear. Select "Tools -> Folder Options".
    Select the "View" tab, and look for "Hide extensions for known file
    types". Uncheck the box, then click OK.
    2c) You should now be able to right-click the file and use
    Vista's built-in .zip extraction to extract the contents to a
    folder.
    3) Within the org.eclipse.swt.win32.win32.x86_3.1.2.jar file
    is a file called "swt-win32-3139.dll". Copy this file to
    C:\Windows\System32\ (You will be asked for a confirmation when you
    do this).
    Once that is done, Flex should run correctly. You can now
    delete the copy of the .jar file that you made, as well as the
    folder created by Vista's .zip extraction (if applicable).
    Hope this helps!
    Error :
    !SESSION 2007-04-20 10:16:39.138
    eclipse.buildId=unknown java.version=1.4.2_12 java.vendor=Sun
    Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86,
    WS=win32, NL=en_GB Command-line arguments: -os win32 -ws win32
    -arch x86
    !ENTRY org.eclipse.update.configurator 2007-04-20 10:16:40.18
    !MESSAGE Cannot backup current configuration !ENTRY
    org.eclipse.update.configurator 2007-04-20 10:16:40.42
    !MESSAGE Could not rename configuration temp file
    !ENTRY org.eclipse.osgi 2007-04-20 10:16:40.938
    !MESSAGE Application error
    !STACK 1 java.lang.UnsatisfiedLinkError: no swt-win32-3139 in
    java.library.path at java.lang.ClassLoader.loadLibrary(Unknown
    Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at
    java.lang.System.loadLibrary(Unknown Source) at
    org.eclipse.swt.internal.Library.loadLibrary(Library.java:123) at
    org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18) at
    org.eclipse.swt.widgets.Display.<clinit>(Display.java:125) at
    org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:381)
    at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:155) at
    com.adobe.flexbuilder.standalone.FlexBuilderApplication.run(FlexBuilderApplication.java:4 5)
    at
    org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
    java.lang.reflect.Method.invoke(Unknown Source) at
    org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at
    org.eclipse.core.launcher.Main.basicRun(Main.java:278) at
    org.eclipse.core.launcher.Main.run(Main.java:973) at
    org.eclipse.core.launcher.Main.main(Main.java:948) !ENTRY
    org.eclipse.osgi 2007-04-20 10:16:40.948 !MESSAGE Bundle
    update@plugins/com.adobe.flexbuilder.debug.e32_2.0.155577/ [70] was
    not resolved. !SUBENTRY 1 org.eclipse.osgi 2007-04-20 10:16:40.948
    !MESSAGE Missing required bundle
    org.eclipse.debug.ui_[3.2.0,99.0.0).</

    Unfortunately I don't have the
    "org.eclipse.swt.win32.win32.x86_3.1.2.jar" file. On my computer
    the folder is not set up the same way (C:\Program Files\Adobe\Flex
    Builder 2\plugins) instead it is set up as (C:\Program
    Files\Adobe\Flex Builder 2\metadata\plugins) but I've looked in
    everything and that file just isn't in there. I've re downloaded it
    twice. Still not there. Is there anything else i can do.

  • Java.lang.UnsatisfiedLinkError: no swt-win32-3062 in java.library.path

    Hi
    I have installed JasperAssistant in eclipse 3.2.2. But I am getting the following the error when I am trying to view the reports through the application. This error found only after the installation. Earlier I used to view the reports through the Eclipse.
    Exception in thread "Thread-28" java.lang.UnsatisfiedLinkError: no swt-win32-3062 in java.library.path
         at java.lang.ClassLoader.loadLibrary(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
         at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
         at org.eclipse.swt.graphics.Device.init(Device.java:564)
         at org.eclipse.swt.widgets.Display.init(Display.java:1780)
         at org.eclipse.swt.graphics.Device.<init>(Device.java:100)
         at org.eclipse.swt.widgets.Display.<init>(Display.java:355)
         at org.eclipse.swt.widgets.Display.<init>(Display.java:351)
         at com.austco.client.gui.reports.ReportThread.run(ReportThread.java:40)
         at java.lang.Thread.run(Unknown Source)
    Could you please help me asap.
    I tried some of the alternatives found in the web.
    1. Changed the VM arguments: -Djava.library.path=${system:ECLIPSE_HOME}/plugins/org.eclipse.swt.win32_3.0.1/os/win32/x86
    2. Set the environment variable PATH to the location of the dll.
    But this doesn't work.
    Your help is very much appreciated. Thanks in advance.

    Maybe you can report this to the makers of JasperAssistant or Eclipse. I think they are in a better position to help you since they made that plugin.

Maybe you are looking for

  • How to rename an Outlook mail folder with Automator.

    Hello, I would like to use a Service from Automator to rename a mail folder in Outlook. The folder names are "<first name> <last name>". And they need to be renamed as "<last name>, <first name>". E.g. "John Doe" becomes "Doe, John". In Outlook that

  • Blank spaces at the end of an IDoc text field get lost when posted to R/3

    Hi Guys, I am facing the following issue: In an XML file-to-Idoc scenario, there are spaces at the end of a text field in the inbound XML file, which I can see when I open the inbound file with a text editor like notepad, and they are kept after XI m

  • Output message from XI Validations aganist Schma?

    Hi,    My scenario is such that whenever a message is outputted by XI it must be validated aganist the schema.I am using XSL mapping in interface mapping. By default the output message is not validating aganist the output schema. As per the suggestio

  • Help! CS3 InDesign will not launch

    Suddenly, I am not able to get my InDesign to open.  It starts, then I get the message that the program is closing.  What can I try?

  • Customizing contact record storage

    Hi, CCA_AM_813 guide on page 97 tells about "six main configuration options for customizing contact record storage". I tried to use "Configuration 4". The guide says: "In Configuration 4, you keep your contact records in a new table that you create i