Java.lang.UnsatisfiedLinkError(cause: architecture word width mismatch)

Hi All,
I am running 64 bit JRE, and trying to load a 32 bit library provided by USPS. The jre is running on a 64 bit Linux environment.
The code works perfectly fine on a 32 bit linux environment running a 32 bit JRE.
The error we are getting is as follows;
java.lang.UnsatisfiedLinkError: /tmp/usps4cb.so: /tmp/usps4cb.so: cannot open shared object file: No such file or directory (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at gov.usps.USPS4CB.loadLibrary(USPS4CB.java:308)
at gov.usps.USPS4CB.getBarCode(USPS4CB.java:215)
Could someone help us here.
Thanks & Regards,
-Lester

(Possible cause: architecture word width mismatch)As a guess that basically means the build will not load. So either you need a new build or you need to wrap it in a 64 build that correctly calls out to the 32 bit build.

Similar Messages

  • (Possible cause: architecture word width mismatch)

    Dear Experts,
    I am facing the below error while trying to apply the opatch.
    Patch number 14703419
    Please go through and advise.
    System Command: /u01/applmgr/ORACLE/apps/tech_st/10.1.2/jdk/jre/bin/java -Doracle.installer.invPtrLoc=/etc/oraInst.loc -Dopatch.retry=10 -Dopatch.delay=30  -classpath "/u01/applmgr/ORACLE/apps/tech_st/10.1.2/oui/jlib/OraInstaller.jar:/u01/applmgr/ORACLE/apps/tech_st/10.1.2/oui/jlib/srvm.jar:/u01/applmgr/ORACLE/apps/tech_st/10.1.2/OPatch/jlib/opatch.jar:/u01/applmgr/ORACLE/apps/tech_st/10.1.2/oui/jlib/xmlparserv2.jar:/u01/applmgr/ORACLE/apps/tech_st/10.1.2/oui/jlib/share.jar" opatch/CheckConflict "/u01/applmgr/ORACLE/apps/tech_st/10.1.2/oui" "/u01/applmgr/ORACLE/apps/tech_st/10.1.2" opatch.pl 1.0.0.0.62 14703419 "14703419 " /u01/applmgr/ORACLE/apps/tech_st/10.1.2/OPatch/14703419/etc/config/actions /u01/applmgr/ORACLE/apps/tech_st/10.1.2/OPatch/14703419/etc/config/inventory
    Result :
    java.lang.UnsatisfiedLinkError: /u01/applmgr/ORACLE/apps/tech_st/10.1.2/oui/lib/linux/liboraInstaller.so: /u01/applmgr/ORACLE/apps/tech_st/10.1.2/oui/lib/linux/liboraInstaller.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1957)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1882)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843)
            at java.lang.Runtime.load0(Runtime.java:795)
            at java.lang.System.load(System.java:1061)
            at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:372)
            at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:119)
            at oracle.sysman.oii.oiio.oiiol.OiiolTextLogger.initializeInstallActionLog(OiiolTextLogger.java:1046)
            at oracle.sysman.oii.oiio.oiiol.OiiolTextLogger.initializeTextLog(OiiolTextLogger.java:923)
            at oracle.sysman.oii.oiio.oiiol.OiiolTextLogger.clearLog(OiiolTextLogger.java:821)
    Regards
    Mohammed.

    MohammedAbdulMuqeet wrote:
    java -version
    java version "1.7.0_25"
    Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
    Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode)
    See the above and am able to run the patches successfully.
    Yes, this indicates a 32-bit version of Java and this explains why you are able to run the patch successfully now.
    Marking your reply "MohammedAbdulMuqeet Aug 13, 2013 3:15 PM (in response to MohammedAbdulMuqeet)" as the Correct Answer is not helpful to those who might hit the same issue in the future and come to the forum looking for the correct answer.
    Note: Marking your replies as helpful or correct does not give you any points.
    Thanks,
    Hussein

  • Java.lang.UnsatisfiedLinkError - Unknown file type.

    Hi
    I am trying load a library file A.so using System.load function and I get the below error
    java.lang.UnsatisfiedLinkError: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: ld.so.1: java: fatal: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: unknown file type (Possible cause: endianness mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
    at java.lang.Runtime.load0(Runtime.java:769)
    at java.lang.System.load(System.java:968)
    Can some one please help.
    Also when I am using the libraries of next version,I get the below error
    java.lang.UnsatisfiedLinkError: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: ld.so.1: java: fatal: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: wrong ELFCLASS:ELFCLASS32(Possible cause: architecture word width mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
    at java.lang.Runtime.load0(Runtime.java:769)
    at java.lang.System.load(System.java:968)
    Thanks
    Phani

    phani_sridhar wrote:
    Hi
    I am trying load a library file A.so using System.load function and I get the below error
    java.lang.UnsatisfiedLinkError: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: ld.so.1: java: fatal: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: unknown file type (Possible cause: endianness mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
    at java.lang.Runtime.load0(Runtime.java:769)
    at java.lang.System.load(System.java:968)
    Can some one please help.
    Also when I am using the libraries of next version,I get the below error
    java.lang.UnsatisfiedLinkError: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: ld.so.1: java: fatal: /u1/weblogic/weblogic92/weblogic92/server/native
    /solaris/sparc/A.so: wrong ELFCLASS:ELFCLASS32(Possible cause: architecture word width mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
    at java.lang.Runtime.load0(Runtime.java:769)
    at java.lang.System.load(System.java:968)
    I see several possibilities.
    1. What you are trying to load is not a shared library.
    2. The shared library is compiled incorrectly to match the process space of the VM. There can be any number of causes for this.
    Note that the word width mismatch strongly suggests the second.
    You should start by forgetting weblogic entirely. Write a simple java app and using an explicit path in the load() method, not loadLibrary(), get it to load. Until it works there it you have no chance in weblogic.

  • Java.lang.reflect.InvocationTargetException Caused by: java.lang.UnsatisfiedLinkError

    Hi all,
    I'm using jdic web browser (windows version) and customizing it for a project. I want to make an executable jar file. Since I'm using NetBeans 6.7.1, I'm getting a jar file in dist folder. Bt when I run it it does not open the jdic browser.
    Then I tried java web start and make a jnlp file. When it tries to run I get the below error..
    java.lang.reflect.InvocationTargetException
    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 com.sun.javaws.Launcher.executeApplication(Launcher.java:1293)
    at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1239)
    at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1086)
    at com.sun.javaws.Launcher.run(Launcher.java:105)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.UnsatisfiedLinkError: no jdic 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.jdesktop.jdic.browser.internal.WebBrowserUtil$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.jdesktop.jdic.browser.internal.WebBrowserUtil.loadLibrary(Unknown Source)
    at org.jdesktop.jdic.browser.internal.WebBrowserUtil.getDefaultBrowserPath(Unknown Source)
    at org.jdesktop.jdic.browser.BrowserEngineManager.selectEngine(Unknown Source)
    at org.jdesktop.jdic.browser.BrowserEngineManager.getActiveEngine(Unknown Source)
    at AgentBrowser.Browser.jbInit(Browser.java:362)
    at AgentBrowser.Browser.<init>(Browser.java:99)
    at AgentBrowser.Browser.main(Browser.java:117)
    ... 9 more
    http://java.ittoolbox.com/groups/technical-functio...ocationtargetexception-1710507
    A person shared his view on "java.lang.reflect.InvocationTargetException" but I'm not quite sure about that since the browser works nicely if I run through NetBeans. (running the project through NetBeans).
    I dnt know how does this library path problem occurs
    please help me..!!
    thanks in advance

    Yeah..! it's working :)
    I just copied jdic files (jdic.jar,jdic.dll, IeEmbed.exe etc) into dict/lib/ folder and now it is working.

  • Exception of type java.lang.UnsatisfiedLinkError was thrown Anyone ?

    We are getting this exception when trying to run a very basic aspx. This project works across several other servers, after bringing a new server online, we are finding we get this exception. Below is the complete response from tcptrace.
    HTTP/1.1 500 Internal Server ErrorServer: Microsoft-IIS/5.0Date: Tue, 24 Feb 2004 16:28:31 GMTX-Powered-By: ASP.NETX-AspNet-Version: 1.1.4322Cache-Control: privateContent-Type: text/html; charset=utf-8Content-Length: 5522
    <html> <head> <title>Exception of type java.lang.UnsatisfiedLinkError was thrown.</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head>
    <body bgcolor="white">
    <span><H1>Server Error in '/PPAApps' Application.<hr width=100% size=1 color=silver></H1>
    <h2> <i>Exception of type java.lang.UnsatisfiedLinkError was thrown.</i> </h2></span>
    <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
    <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    <br><br>
    <b> Exception Details: </b>java.lang.UnsatisfiedLinkError: Exception of type java.lang.UnsatisfiedLinkError was thrown.<br><br>
    <b>Source Error:</b> <br><br>
    <table width=100% bgcolor="#ffffcc"> <tr> <td> <code>
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
    </td> </tr> </table>
    <br>
    <b>Stack Trace:</b> <br><br>
    <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre>
    [UnsatisfiedLinkError: Exception of type java.lang.UnsatisfiedLinkError was thrown.] java.lang.ExceptionInInitializerError.checkAndThrowException(Throwable thrown) +59 java.util.Locale..cctor() +1678
    [TypeInitializationException: The type initializer for "java.util.Locale" threw an exception.] java.lang.Float..ctor(String s) +214 com.plumtree.remote.portlet.xp.XPSettingsManager.IsCSPVersionAtLeast(Double version) com.plumtree.remote.portlet.xp.XPSettingsManager..ctor(IXPRequest request, IXPResponse response) com.plumtree.remote.portlet.xp.XPSettingsFactory.getXPSettingsManager(IXPRequest request, IXPResponse response) com.plumtree.remote.portlet.xp.XPPortletContext..ctor(IXPRequest request, IXPResponse response) com.plumtree.remote.portlet.xp.XPPortletContextFactory.createPortletContext(IXPRequest req, IXPResponse resp) Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(HttpRequest req, HttpResponse resp) Com.Plumtree.Remote.Transformer.Condition.GatewayedStandardCondition.UseFilter(HttpContext ctx) Com.Plumtree.Remote.Transformer.FilterManager.UpdateFilter(HttpContext ctx) Com.Plumtree.Remote.Transformer.PTTransformer.BeginRequestHandler(Object sender, EventArgs e) System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87</pre></code>
    </td> </tr> </table>
    <br>
    <hr width=100% size=1 color=silver>
    <b>Version Information:</b> Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
    </font>
    </body></html><!-- [UnsatisfiedLinkError]: Exception of type java.lang.UnsatisfiedLinkError was thrown. at java.lang.ExceptionInInitializerError.checkAndThrowException(Throwable thrown) at java.util.Locale..cctor()[TypeInitializationException]: The type initializer for "java.util.Locale" threw an exception. at java.lang.Float..ctor(String s) at com.plumtree.remote.portlet.xp.XPSettingsManager.IsCSPVersionAtLeast(Double version) at com.plumtree.remote.portlet.xp.XPSettingsManager..ctor(IXPRequest request, IXPResponse response) at com.plumtree.remote.portlet.xp.XPSettingsFactory.getXPSettingsManager(IXPRequest request, IXPResponse response) at com.plumtree.remote.portlet.xp.XPPortletContext..ctor(IXPRequest request, IXPResponse response) at com.plumtree.remote.portlet.xp.XPPortletContextFactory.createPortletContext(IXPRequest req, IXPResponse resp) at Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(HttpRequest req, HttpResponse resp) at Com.Plumtree.Remote.Transformer.Condition.GatewayedStandardCondition.UseFilter(HttpContext ctx) at Com.Plumtree.Remote.Transformer.FilterManager.UpdateFilter(HttpContext ctx) at Com.Plumtree.Remote.Transformer.PTTransformer.BeginRequestHandler(Object sender, EventArgs e) at System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)-->HTTP/1.1 500 Internal Server ErrorServer: Microsoft-IIS/5.0Date: Tue, 24 Feb 2004 16:29:06 GMTX-Powered-By: ASP.NETX-AspNet-Version: 1.1.4322Cache-Control: privateContent-Type: text/html; charset=utf-8Content-Length: 5522
    <html> <head> <title>Exception of type java.lang.UnsatisfiedLinkError was thrown.</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head>
    <body bgcolor="white">
    <span><H1>Server Error in '/PPAApps' Application.<hr width=100% size=1 color=silver></H1>
    <h2> <i>Exception of type java.lang.UnsatisfiedLinkError was thrown.</i> </h2></span>
    <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
    <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    <br><br>
    <b> Exception Details: </b>java.lang.UnsatisfiedLinkError: Exception of type java.lang.UnsatisfiedLinkError was thrown.<br><br>
    <b>Source Error:</b> <br><br>
    <table width=100% bgcolor="#ffffcc"> <tr> <td> <code>

    This is the response I got from support:
    This is bug 22205 and will be fixed in the release of the Exchange Groupware Portlet Suite 3.0.4 at the end of April. The workaround in the interim is to copy the D:\Program Files\plumtree\jre folder from the installation CD (or another working portal server) onto the problem server. Please let me know if this resolves the issue for you. Neal Rapoporthttp://www.portalconsultant.com

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

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

  • Error loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError: no Linux

    Trying to start demo from Sun commapi:
    $ java SimpleRead
    Error loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError: no LinuxSerialParallel in java.library.path
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at SimpleRead.main(SimpleRead.java:67)
    Caused by: java.lang.NullPointerException
    at javax.comm.CommPortIdentifier.findConfFile(CommPortIdentifier.java:199)
    at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:117)
    ... 1 more
    What does it need?
    java version "1.5.0_04" on Linux 2.6.10-1.770_FC2smp

    hey i have the exact same problem, this is the error:
    # java BlackBox
    Error loading LinuxSerialParallel: java.lang.UnsatisfiedLinkError: no LinuxSerialParallel in java.library.path
    Exception in thread "main" java.lang.UnsatisfiedLinkError: isDevLink
    at com.sun.comm.Unix.isDevLink(Native Method)
    at com.sun.comm.PathBundle.add(PathBundle.java:108)
    at com.sun.comm.PlatformPortBundle.<init>(PlatformPortBundle.java:44)
    at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:138)
    at BlackBox.main(BlackBox.java:223)
    what can i do?
    P.D: i also hate this fvasldkfmnlds API, but i need it

  • Java.lang.UnsatisfiedLinkError - Urgent please help

    Hi,
    I want to thank you for looking into this problem first.
    I have a very headache problem for the past week. I have an applet that uses JNI to call an existing dll to get the system resources. It works fine on windows 2000 server with IE 5.0. The dll get loaded fine and the function call is working fine.
    However, now I tried to move the applet to an application for me to test with jbuilder, I have problems and I get the error java.lang.UnsatisfiedLinkError: ooInit.
    Does anyone know why this is happening in Jbuilder. I traced to see if the dll get loaded with System.loadlibrary("dll"), and it seems to load the library. But when I call the ooInit() native method, it throws that exception.
    Please help. This will be greatly appreciated and I can do something for you guys in return.
    Thank you so much.
    Regards,
    guna

    Here, for the benefit of others who might search for this, is my approach to resolving this error.
    Two things to note:
    1. I didn't worry about paths, etc. - I was in a hurry so I just copied files into required directories.
    2. I named both the Java and C files "mainFrame". I have not subsequently checked to see if this is required, since it worked for me.
    Summary of getting jni routine to work with Jbuilder:
    created Java project mintest, two principle classes - mainFrame and WelcomeFrame
    key code fragments:
    --------------------------------------- mainFrame --------------------------------------------------
    package mintest;
    import javax.swing.JLabel;
    import javax.swing.JButton;
    import javax.swing.JPanel;
    import java.awt.GridBagLayout;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseAdapter;
    public class mainFrame {
        boolean packFrame = false;
        WelcomeFrame frame = new WelcomeFrame();
        public static native int cRoutine(int value);
        static {System.loadLibrary("mainFrame"); }
    public mainFrame() {
        //Pack frames that have useful preferred size info, e.g. from their layout
        //Validate frames that have preset sizes
        if (packFrame) {
          frame.pack();
        else {
          frame.validate();
        // Center the frame
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        Dimension frameSize = frame.getSize();
        if (frameSize.height > screenSize.height) {
          frameSize.height = screenSize.height;
        if (frameSize.width > screenSize.width) {
          frameSize.width = screenSize.width;
        frame.setLocation( (screenSize.width - frameSize.width) / 2,
                          (screenSize.height - frameSize.height) / 2);
        frame.setVisible(true);
        try {
          jbInit();
        catch (Exception ex) {
          ex.printStackTrace();
    * Main method
    * @param args String[]
    static public void main(String[] args) {
      try {
        UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
      catch (Exception e) {
        e.printStackTrace();
      new mainFrame();
            cRoutine(1);     // this works at this point...
            System.out.println("cRoutine - should be 4: " + cRoutine(3));
      private void jbInit() throws Exception {
    }--------------------------------------- end of mainFrame --------------------------------------------------
    --------------------------------------- (portions of) WelcomeFrame --------------------------------------
    package mintest;
    import java.awt.*;
    ..... more imports, setting up of window, buttons, etc. .... iValue is an integer....
      public void jToggleButton1_mousePressed(MouseEvent e) {
          jToggleButton1.setText("cRoutine in: " + iValue + "  out: " + (iValue = 
                                   mainFrame.cRoutine(iValue)));
      }--------------------------------------- end of (portions of) WelcomeFrame -----------------------------
    mainFrame was compiled with Jbuilder into a class file, makeFrame.class. That was copied into
    the C:\Borland\JBuilder2005\jdk1.4\bin directory, and javah was run to create the C header file:
    javah -jni mainFrame
    This generated:
    --------------------------------------- mainFrame.h generated by javah ----------------------------------
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <jni.h>
    /* Header for class mainFrame */
    #ifndef _Included_mainFrame
    #define _Included_mainFrame
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class:     mainFrame
    * Method:    cRoutine
    * Signature: (I)I
    JNIEXPORT jint JNICALL Java_mainFrame_cRoutine
      (JNIEnv *, jclass, jint);
    #ifdef __cplusplus
    #endif
    #endif--------------------------------------- end of mainFrame.h generated by javah -------------------------
    OKAY, HERE COMES THE CRITICAL STEP. DESPITE THE FACT THE COMMENT SAYS DO NOT EDIT, THIS FILE HAS TO BE EDITED TO INCLUDE THE PACKAGE NAME, LIKE THIS:
    --------------------------------------- modified mainFrame.h ----------------------------------
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <jni.h>
    /* Header for class mainFrame */
    #ifndef _Included_mainFrame
    #define _Included_mainFrame
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class:     mainFrame
    * Method:    cRoutine
    * Signature: (I)I
    JNIEXPORT jint JNICALL Java_mintest_mainFrame_cRoutine
      (JNIEnv *, jclass, jint);
    #ifdef __cplusplus
    #endif
    #endif--------------------------------------- end of modified mainFrame.h -------------------------
    This file is then copied to the C:\Borland\BCC55\Include directory. The C code source is placed
    in the C:\Borland\BCC55\Bin directory. Here is the C code - note that it has the package name in
    the function name:
    --------------------------------------- mainFrame.c ----------------------------------
    #include <mainFrame.h>
    #include <stdio.h>
    #include <string.h>
    /* must link gpib-32.obj for Windows*/
    #include <windows.h> /*if using Windows */
    void main(){
    JNIEXPORT jint JNICALL
    Java_mintest_mainFrame_cRoutine(JNIEnv *env, jobject callingObj,jint invalue)
    return (jint) invalue+1;
    }--------------------------------------- end of mainFrame.c -------------------------
    This is now compiled on the command line (from the C:\Borland\BCC55\Bin directory) using:
    bcc32 -tWD -I\Borland\bcc55\include -L\Borland\bcc55\lib mainFrame.c
    Parameters: -tWD creates Windows DLL file
    -I is path to include directory (this is where mainFrame.h is located)
    -L is path to library directory
    Compilation produces mainFrame.dll in the C:\Borland\BCC55\Bin directory. This is copied to the C:\Borland\JBuilder2005\jdk1.4\jre\bin directory so Jbuilder can find it. Then it works.
    So, the key step is adding the package name after javah has generated the header file (and similarly using the package name in the .c source file.)
    Hope this is useful.

  • Java App from SAP Portal - SSO2Ticket call - java.lang.UnsatisfiedLinkError

    Hi
    I am facing a problem in trying to call a java application from SAP portal.
    *Cause:*
    This java application is built on Unix (AIX) server. Previously it was running fine. Then there is a Tech Upgrade on SAP side in our company. After that I have been told to test whether the Java Application is getting called correctly or not.
    Error:
    I am getting the below error
    java.lang.UnsatisfiedLinkError: com/mysap/sso/SSO2Ticket
    Also when I am checking the log entry all I am able to see, there is error in SSO2Ticket.verify() method and the error is
    Error during initialization of SSO2TICKET;       com/mysap/sso/SSO2Ticket.init(Ljava/lang/String;);
    Effort:
    I checked all possible aspects what ever came to my mind and found in this forum so far.
    1. com/mysap/sso this package is there.
    2. SSO2TICKET class defined in that package
    3. The JAVA_HOME and CLASSPATH are defined correctly ( I guess so)
    4. Even the "libsapsecu.o" file is present
    I am not sure why still this error is coming. Am I missing something here? Or what ever I have mentioned above 1-4 I am not getting them correctly.
    I am new to this kind of native call technology. Please help me on this.
    My concerns are :
    1. Is the package com/mysap/sso should be in a specific location, which I am missing.
    2. Do I need to revisit my CLASSPATH set up for JAVA?
    3. Is any change required to the libsapsecu.o file?
    4. Most of all what on earth can I do to overcome this?
    5. After Tech upgrade do they need to do some sort of thing to make the Java native call available, which they might have missed? Does any one aware of any such thing?
    Please let me know the answer asap.
    Thanks
    Santanu
    Code:
    I am also attaching the code snippet from JAVA
    public class SSO2Ticket {
    static {          
              if (System.getProperty("os.name").startsWith("Win")) {
                   SECLIBRARY = "sapsecu.dll";
              } else {
                   SECLIBRARY = "libsapsecu.o";
              try {
                   logger.debug("java.library.path - "+System.getProperty("java.library.path"));
                   System.loadLibrary(SSO2TICKETLIBRARY);
                    logger.debug("SAPSSOEXT loaded.");
              } catch (Throwable e) {
                   System.out.println("Error during initialization of SSO2TICKET:\n"+ e.getMessage());
                   logger.error("Error during initialization of SSO2TICKET:\n"+ e.getMessage());
    public static synchronized String[] verify(String ticket, String pathToPSE) throws LogonTicketException
              //System.out.println("Ticket: "+ticket);
              //System.out.println("PSE: "+pathToPSE);
                logger.debug("Ticket: "+ticket);
                logger.debug("PSE: "+pathToPSE);
              String[] ticketContent = null;
              logger.debug("The value for initialized is -
    >"+initialized);
                   try {
                        init(SECLIBRARY);
                   } catch (Throwable e) {
                          logger.error("Error during initialization of SSO2TICKET:\n"+ e.getMessage());

    Hi,
    have you searched on SCN? There are some threads with same problem such as [this one|/message/9270216#9270216 [original link is broken];. There is more threads. They may help you to solve your issue.
    Cheers

  • ViewersSDK on Solaris-java.lang.UnsatisfiedLinkError:getDefaultPrinterName

    I am developing a web application that uses the Viewers SDK to display reports interactively. My application runs fine on a windows, but the following exception is thrown if I deploy it to Solaris:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: getDefaultPrinterName---- Error code:-2147467259 Error code name:failed
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(Unknown Source)
            at com.businessobjects.sdk.erom.jrc.a.<init>(Unknown Source)
            at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.<init>(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ClientDocument.if(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
    Caused by: java.lang.UnsatisfiedLinkError: getDefaultPrinterName
            at sun.print.Win32PrintServiceLookup.getDefaultPrinterName(Native Method)
            at sun.print.Win32PrintServiceLookup.getDefaultPrintService(Win32PrintServiceLookup.java:219)
            at sun.print.Win32PrintServiceLookup.getPrintServices(Win32PrintServiceLookup.java:81)
            at sun.print.Win32PrintServiceLookup.getPrintServices(Win32PrintServiceLookup.java:178)
            at javax.print.PrintServiceLookup.getServices(PrintServiceLookup.java:359)
            at javax.print.PrintServiceLookup.lookupPrintServices(PrintServiceLookup.java:105)
            at java.awt.print.PrinterJob.lookupPrintServices(PrinterJob.java:80)
            at com.crystaldecisions.reports.common.j.l(Unknown Source)
            at com.crystaldecisions.reports.common.h.n(Unknown Source)
            at com.crystaldecisions.reports.common.h.i(Unknown Source)
            at com.crystaldecisions.reports.common.Printer.a(Unknown Source)
            at com.businessobjects.reports.reportconverter.v12.d.d(Unknown Source)
            at com.businessobjects.reports.reportconverter.v12.d.m(Unknown Source)
            at com.businessobjects.reports.reportconverter.v12.f.if(Unknown Source)
    On my code I am not even attempting to print anything, just open a report, like this:
    ReportClientDocument reportClientDocument = new ReportClientDocument();
    reportClientDocument.open("report.rpt" 0);
    Any ideas what could be causing this? I am using the latest viewers SDK on java 1.5.0_12, Solaris 10 on Intel.
    Thanks,
    Artur

    The Crystal Reports SDKs require loading the printer information since it uses the printer driver for report formatting. 
    It needs to do so - since only printers have the resolution required on computers to allow for fine resolution (default screen resolution leads to poor results).
    Note that the exception is being thrown by the Java JVM:
    sun.print.Win32PrintServiceLookup.getDefaultPrinterName(Native Method)
    That's whacked, since on Solaris it should never be calling the Win32 version of the PrintServiceLookup.
    Something strange is going on with your Java deployment on Solaris.
    The Java PrintServer initialization is once only - are there anything in your app that explicitly refers to the Win32 version?
    Sincerely,
    Ted Ueda

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

  • HELP !!! java.lang.UnsatisfiedLinkError

    Hi All,
    I am getting the error "java.lang.UnsatisfiedLinkError: gcNocompact at
    sun.misc.Gc$Daemon.run(Gc.java:102)" while running the java code in
    AIX. The document said that this is "Thrown if the Java Virtual Machine
    cannot find an appropriate native-language definition of a method
    declared native."
    What is the reason to cause this error ?
    Any suggestion to rectify this.
    Thanks in advance.
    TC8888

    I had the same problem when attempting to use lotus domino toolkit for java... I belive that the AIX is attempting to find a .dll or similar native piece of code, but it cant be found... You need to change your system parameter 'path' (not 'classpath') to include the location of the native code. Check the documentation.

  • Java.lang.UnsatisfiedLinkError: Can't load library libmawt.so

    Getting a java.lang.UnsatisfiedLinkError: Can't load library .../weblogic10.3.2/jrockit_160_14_R27.6.5-32/jre/lib/i386/xawt/libmawt.so for a Java application running on WL 10.3.2. Do you have any tips or the root cause for this error? Are there any CRs that resolve it?

    check this thread http://forum.java.sun.com/thread.jsp?thread=326048&forum=32&message=1436823

  • Java.lang.UnsatisfiedLinkError: no com_splwg_base_support_cobol_host_socket

    Hi.. i am trying to run JUnit in my eclipse which is linked to CCB2.3 dev environmnt. i created a separate folder src-test nd placed my test classes there.. but these classes are not getting compiled and .class files are not getting placed in target folder.. also when i manually compiled the test file and placed the .class file in target folder and ran as JUnit i am getting the following error:
    java.lang.UnsatisfiedLinkError: no com_splwg_base_support_cobol_host_sockets_WindowsPipeSocket 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 com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.<clinit>(WindowsPipeSocket.java:25)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocketStrategy.clearServerPortResources(WindowsPipeSocketStrategy.java:51)
         at com.splwg.base.support.cobol.host.SocketStrategy.bindServerPort(SocketStrategy.java:144)
         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterSkel.<init>(OptimizedRemoteExecuterSkel.java:34)
         at com.splwg.base.support.cobol.host.OptimizedInvocationStrategy.startOnParentJvm(OptimizedInvocationStrategy.java:25)
         at com.splwg.base.support.cobol.host.RemoteJVMFactoryImpl.<init>(RemoteJVMFactoryImpl.java:63)
         at com.splwg.base.support.cobol.host.CobolHostStartup.startup(CobolHostStartup.java:40)
         at com.splwg.base.support.context.ApplicationContext.initializeCobolRuntime(ApplicationContext.java:195)
         at com.splwg.base.support.context.ApplicationContext.initialize(ApplicationContext.java:176)
         at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:115)
         at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:88)
         at com.splwg.base.support.context.ContextFactory.createDefaultContext(ContextFactory.java:497)
         at com.splwg.base.api.testers.ApplicationComponentTestCase.<clinit>(ApplicationComponentTestCase.java:56)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at junit.framework.TestSuite.createTest(TestSuite.java:131)
         at junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
         at junit.framework.TestSuite.<init>(TestSuite.java:75)
         at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.getTest(JUnit3TestLoader.java:102)
         at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.loadTests(JUnit3TestLoader.java:59)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    - 10:41:48,452 [main] ERROR (host.sockets.WindowsPipeSocket) Cannot instantiate com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket because of problem loading a library com_splwg_base_support_cobol_host_sockets_WindowsPipeSocket during static initialization.
    java.lang.UnsatisfiedLinkError: no com_splwg_base_support_cobol_host_sockets_WindowsPipeSocket 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 com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.<clinit>(WindowsPipeSocket.java:25)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocketStrategy.clearServerPortResources(WindowsPipeSocketStrategy.java:51)
         at com.splwg.base.support.cobol.host.SocketStrategy.bindServerPort(SocketStrategy.java:144)
         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterSkel.<init>(OptimizedRemoteExecuterSkel.java:34)
         at com.splwg.base.support.cobol.host.OptimizedInvocationStrategy.startOnParentJvm(OptimizedInvocationStrategy.java:25)
         at com.splwg.base.support.cobol.host.RemoteJVMFactoryImpl.<init>(RemoteJVMFactoryImpl.java:63)
         at com.splwg.base.support.cobol.host.CobolHostStartup.startup(CobolHostStartup.java:40)
         at com.splwg.base.support.context.ApplicationContext.initializeCobolRuntime(ApplicationContext.java:195)
         at com.splwg.base.support.context.ApplicationContext.initialize(ApplicationContext.java:176)
         at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:115)
         at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:88)
         at com.splwg.base.support.context.ContextFactory.createDefaultContext(ContextFactory.java:497)
         at com.splwg.base.api.testers.ApplicationComponentTestCase.<clinit>(ApplicationComponentTestCase.java:56)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at junit.framework.TestSuite.createTest(TestSuite.java:131)
         at junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
         at junit.framework.TestSuite.<init>(TestSuite.java:75)
         at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.getTest(JUnit3TestLoader.java:102)
         at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.loadTests(JUnit3TestLoader.java:59)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    - 10:41:48,452 [main] FATAL (support.context.ApplicationContext) Error initializing ApplicationContext
    - 10:41:48,452 [main] ERROR (api.testers.ApplicationComponentTestCase) error initializing test context
    java.lang.ExceptionInInitializerError
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at junit.framework.TestSuite.createTest(TestSuite.java:131)
         at junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
         at junit.framework.TestSuite.<init>(TestSuite.java:75)
         at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.getTest(JUnit3TestLoader.java:102)
         at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.loadTests(JUnit3TestLoader.java:59)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    Caused by: com.splwg.shared.common.LoggedException:
    The following stacked messages were reported as the LoggedException was rethrown:
    com.splwg.base.support.context.ContextFactory.createDefaultContext(ContextFactory.java:497): error initializing test context
    com.splwg.base.support.context.ApplicationContext.initializeCobolRuntime(ApplicationContext.java:195): Error initializing ApplicationContext
    The root LoggedException was: Cannot instantiate com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket because of problem loading a library com_splwg_base_support_cobol_host_sockets_WindowsPipeSocket during static initialization.
         at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:198)
         at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:85)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.<init>(WindowsPipeSocket.java:55)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.createSocket(WindowsPipeSocket.java:100)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.connect(WindowsPipeSocket.java:96)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocketStrategy.clearServerPortResources(WindowsPipeSocketStrategy.java:51)
         at com.splwg.base.support.cobol.host.SocketStrategy.bindServerPort(SocketStrategy.java:144)
         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterSkel.<init>(OptimizedRemoteExecuterSkel.java:34)
         at com.splwg.base.support.cobol.host.OptimizedInvocationStrategy.startOnParentJvm(OptimizedInvocationStrategy.java:25)
         at com.splwg.base.support.cobol.host.RemoteJVMFactoryImpl.<init>(RemoteJVMFactoryImpl.java:63)
         at com.splwg.base.support.cobol.host.CobolHostStartup.startup(CobolHostStartup.java:40)
         at com.splwg.base.support.context.ApplicationContext.initializeCobolRuntime(ApplicationContext.java:195)
         at com.splwg.base.support.context.ApplicationContext.initialize(ApplicationContext.java:176)
         at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:115)
         at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:88)
         at com.splwg.base.support.context.ContextFactory.createDefaultContext(ContextFactory.java:497)
         at com.splwg.base.api.testers.ApplicationComponentTestCase.<clinit>(ApplicationComponentTestCase.java:56)
         ... 13 more
    Caused by: java.lang.UnsatisfiedLinkError: no com_splwg_base_support_cobol_host_sockets_WindowsPipeSocket 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 com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.<clinit>(WindowsPipeSocket.java:25)
         ... 25 more
    Plz suggest me whats going wrong here.. y eclipse is not copiling .java files by default...

    I have seen a number of issues that are related to the java.lang.UnsatisfiedLinkError but none that matches the log file information you have posted.
    Can you give some details of the circumstances when this occurs. What version of CC&B, platform etc.

Maybe you are looking for