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

Similar Messages

  • Java.lang.NullPointerException was thrown

    Hi,
    I am doing an inbound interface File XI Idoc(DEBMAS) scenario with a file of fixed length.
    The File got picked up by the sender file adapter but I am getting a mapping error
    <i>"java.lang.NullPointerException was thrown"</i>.
    I disabled the field EDI_DC40  of Idoc.
    The field E1KNA1M has a segment attribute(required) which I mapped as a constant.
    I mapped all the fields of the source message to a target message(DEBMAS).
    I tested the message mapping in IR and has no errors.
    CAn anyone suggests me the reason for the mapping error?
    Your help is greatly appreciate and points will be rewarded.
    Thank you,
    Joslyn

    Joslyn,
    Since you are saying your file is picked up can you see the message in SXMB_MONI. if not please check the sender communicaiton channel in adapter monitoring.
    If you see the message in sxmb_moni check the mapping as shown in this weblog:
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    If it is fine then I would suggest enable EDI_DC40 just fill in with constants of the mandatory fields and then disable it and check whether you are getting the same error or not.
    Also do a cache refresh before you run the scenario.
    ---Satish

  • Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.boots

    When attempting to create a new Account in siebel integrated with OEDQ the following error occurs.
    ERROR
    Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.bootstrap.library.path)(SBL-APS-00118)
    STEPS
    The issue can be reproduced at will with the following steps:
    1) from EDQ director we have imported the EDQ_CDS,EDQ-REFERENCE DATA & EDQ_HISTORICAl DATA packages sucessfully.
    2) Created dnd.param file in SIebel server SDQCOnnector folder.
    3) Copied the libdnd.so file to siebsrvr lib directory(32 bit)
    3) In dnd.param file we have mentioned the javalib file and instllation directory path(<Siebsrvr roo>/dnd/install)
    4) Unzipped the EDQ-Siebel Connector files in dnd/install folder
    5) Copied the dnd.properties file in dnd/install directory and modified it accordingly to point to installed EDQ instance.
    6) Configured the Siebel components for EDQ integration.
    7) Realtime EDQ jobs are running.
    8) Create a new Account
    Env details are
    On : 8.2.2.14 [IP2014] version, Client Functionality
    EDQ 11.1.1.7.4
    IBM JDK 1.7 32 bit
    Using Open UI
    Any Champ have faced this issue and overcame it please let me know the resolution steps. your help is
    Regards
    Monoj Dey
    9007554589

    Hi Monoj,
    A few questions:
    - What OS is Siebel running on?
    - What version of the Siebel connector are you using?
    - Which libdnd.so file are you using?
    - What's the contents of your dnd.parms file?
    thanks,
    Nick

  • Exception in thread "Thread-6" java.lang.UnsatisfiedLinkError: no cis

    Hi All,
    I got an error when I run SunONE 7 (final) on Solaris spark)
    as below. I do not get this error when I run SunONE 7 on
    Windows.
    I was access ejbs from a stand-a-lone Java application.
    What was wrong?
    Any information would be appreciated.
    Thanks in advance.
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Exception in thread "Thread-6" java.lang.UnsatisfiedLinkError: no cis in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
         at java.lang.Runtime.loadLibrary0(Runtime.java:788)
         at java.lang.System.loadLibrary(System.java:832)
         at com.iplanet.ias.cis.connection.EndPoint.<clinit>(EndPoint.java:254)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:369)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:316)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.initEndpoints(GIOPImpl.java:149)
         at com.sun.corba.ee.internal.POA.POAORB.getServerEndpoint(POAORB.java:505)
         at com.sun.corba.ee.internal.POA.POAImpl.pre_initialize(POAImpl.java:157)
         at com.sun.corba.ee.internal.POA.POAImpl.<init>(POAImpl.java:115)
         at com.sun.corba.ee.internal.POA.POAORB.makeRootPOA(POAORB.java:115)
         at com.sun.corba.ee.internal.POA.POAORB$1.evaluate(POAORB.java:133)
         at com.sun.corba.ee.internal.core.Future.evaluate(Future.java:26)
         at com.sun.corba.ee.internal.corba.ORB.resolveInitialReference(ORB.java:3069)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3004)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitContextFactory.java:31)
         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:274)
         at java.lang.Class.newInstance0(Class.java:306)
         at java.lang.Class.newInstance(Class.java:259)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.init(InitialContext.java:219)
         at javax.naming.InitialContext.<init>(InitialContext.java:175)
         at com.sun.ejb.portable.HomeHandleImpl.readObject(HomeHandleImpl.java:60)
         at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
         at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1298)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:908)
         at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:939)
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:850)
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:842)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_abstract_interface(CDRInputStream.java:309)
         at com.sun.corba.se.internal.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:228)
         at com.sun.corba.se.internal.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:381)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:318)
         at com.sun.ejb.portable.EJBMetaDataImpl.readObject(EJBMetaDataImpl.java:112)
         at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
         at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1298)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:908)
         at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1075)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:293)
         at examples._CasinoWithLoggingExampleHome_Stub.getEJBMetaData(Unknown Source)
         at com.acelet.s.Envoy.parseContext(Envoy.java:365)
         at com.acelet.s.Envoy.getJndiToRemoteInfoHashtable(Envoy.java:217)
         at com.acelet.s.peekPoke.EnvoyGetJndiToRemoteInfoHashtable.run(EnvoyGetJndiToRemoteInfoHashtable.java:33)
         at java.lang.Thread.run(Thread.java:536)
    Exception in thread "Thread-6" org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Serializable readObject method failed internally vmcid: SUN minor code: 211 completed: Maybe
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:944)
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:850)
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:842)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_abstract_interface(CDRInputStream.java:309)
         at com.sun.corba.se.internal.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:228)
         at com.sun.corba.se.internal.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:381)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:318)
         at com.sun.ejb.portable.EJBMetaDataImpl.readObject(EJBMetaDataImpl.java:112)
         at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
         at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1298)
         at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:908)
         at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
         at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1075)
         at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:293)
         at examples._CasinoWithLoggingExampleHome_Stub.getEJBMetaData(Unknown Source)
         at com.acelet.s.Envoy.parseContext(Envoy.java:365)
         at com.acelet.s.Envoy.getJndiToRemoteInfoHashtable(Envoy.java:217)
         at com.acelet.s.peekPoke.EnvoyGetJndiToRemoteInfoHashtable.run(EnvoyGetJndiToRemoteInfoHashtable.java:33)
         at java.lang.Thread.run(Thread.java:536)
    Cannot get home object for jndi name: examples.CasinoWithLoggingExampleHome
    :java.rmi.MarshalException: CORBA MARSHAL 1398079699 Maybe; nested exception is:
         org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Serializable readObject method failed internally vmcid: SUN minor code: 211 completed: Maybe
    Cannot get home object for jndi name: examples.CasinoWithLoggingExampleHome
    Is client jar on CLASSPATH or installed onto Super?
    Cannot get home object for jndi name: examples.CasinoWithLoggingExampleHome
    :java.lang.NullPointerException
    Exception in thread "Thread-6" java.lang.StackOverflowError
         at com.sun.corba.ee.internal.corba.ORB.<init>(ORB.java:263)
         at com.sun.corba.ee.internal.iiop.ORB.<init>(ORB.java:102)
         at com.sun.corba.ee.internal.POA.POAORB.<init>(POAORB.java:126)
         at com.sun.corba.ee.internal.Interceptors.PIORB.<init>(PIORB.java:207)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.<init>(TxPIORB.java:82)
         at com.sun.enterprise.iiop.POAEJBORB.<init>(POAEJBORB.java:122)
         at sun.reflect.GeneratedConstructorAccessor5.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:306)
         at java.lang.Class.newInstance(Class.java:259)
         at org.omg.CORBA.ORB.create_impl(ORB.java:295)
         at org.omg.CORBA.ORB.init(ORB.java:336)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getEndPointInfo(IIOPSSLSocketFactory.java:288)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:81)
         at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:76)
         at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:80)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:685)
         at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:621)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1155)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:823)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1245)
         at com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1129)
         at com.sun.corba.ee.internal.corba.ORB.resolve_initial_references(ORB.java:3006)
         at com.sun.jts.CosTransactions.DefaultTransactionService.createPOAs(DefaultTransactionService.java:309)
         at com.sun.jts.CosTransactions.DefaultTransactionService.identify_ORB(DefaultTransactionService.java:180)
         at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:134)
         at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
         at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
         at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
         at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
         at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
         at org.omg.CORBA.ORB.init(ORB.java:337)
         at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
         at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
         at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:275)
         at com.sun.enterprise.iiop.security.SecurityMechanismSelector.<init>(SecurityMechanismSelector.java:156)
         at com.sun.enterprise.iio

    Nelson_Garcia wrote:
    I think variable ourinfo (type SSRCInfo) has been set to null in class RTCPTransmitter in bye method. This method is executed due to the timeout event logged before the exception...but, why do i get that timeout event if it's supposed to be receiving the stream?You type that like you posted the output you're seeing when you run your program...but you didn't..so there's no way of answering that question.

  • Exception in thread "main" java.lang.UnsatisfiedLinkError

    Exception in thread "main" java.lang.UnsatisfiedLinkError: no LabIfxEC in java.library.path
    (LabIfxEC was compiled by ESQL/C of INFORMIX)
    My Java code as:
    public class LabEC
         public int labnum;
         public LabEC()
              labnum = 0;
         public synchronized native void invocation();
         static
                   System.loadLibrary("LabIfxEC");
         public static void main(String[] args)
              LabEC lec = new LabEC();
              lec.invocation();
              System.out.println("After Invoke : labnum = "+lec.labnum+"\n");
    My .h code as:
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include "/opt/hobo/java1.2/include/jni.h"
    /* Header for class LabEC */
    #ifndef IncludedLabEC
    #define IncludedLabEC
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class: LabEC
    * Method: invocation
    * Signature: ()V
    jfieldID jf;
    jclass jc;
    jobject jo;
    jint newnum;
    JNIEXPORT void JNICALL Java_LabEC_invocation
    (JNIEnv *env, jobject this);
    void TransDataToJava (JNIEnv *env, jobject this);
    int CreatConnection ();
    int CloseConnection ();
    #ifdef __cplusplus
    #endif
    #endif
    My ESQL/C code as:
    #include "LabEC.h"
    #include <stdio.h>
    JNIEXPORT void JNICALL Java_LabEC_invocation( JNIEnv *env,jobject this)
         jc = (*env)->GetObjectClass(env,this);
         jf = (*env)->GetFieldID(env,jc,"labnum","I");
         if( CreatConnection()||GetNumFromDB()||CloseConnection() )
              fprintf(stderr,"ERROR IN CONNECTING DB");
         }else{
              TransDataToJava(env,this);
    void TransDataToJava (JNIEnv *env,jobject this)
         (*env)->SetIntField(env,this,jf,newnum);
    int CreatConnection()
         EXEC SQL BEGIN DECLARE SECTION;
         char userid[] = "informix";
         char password[] = "informix";
         char dbname[] = "dbdycm_new";
         EXEC SQL END DECLARE SECTION;
         EXEC SQL CONNECT TO:dbname USER: userid using: password;
         if ( SQLCODE < 0 ) return -1;
         return 0;
    int GetNumFromDB()
         EXEC SQL BEGIN DECLARE SECTION;
         long numofrow;
         EXEC SQL END DECLARE SECTION;
         EXEC SQL SELECT count(*) into: numofrow from ttrlineinfo;
         if ( SQLCODE != 0 ) return -1;
         newnum = numofrow;
         return 0;
    int CloseConnection ()
         EXEC SQL DISCONNECT CURRENT;
         return 0;
    My makefile code as:
    INCLUDE_IX=-I /opt/informix/incl/esql
    INCLUDE=-I /opt/nmc/include -I /opt/hobo/java1.2/include -I /opt/hobo/java1.2/include/solaris
    FLAG=-G
    libLabIfxEC.so:LabEC.c LabEC.h
         cc $(FLAG) $(INCLUDE) $(INCLUDE_IX) -solibLabIfxEC.so LabEC.c
    LabEC.c:LabEC.ec LabEC.h
         esql -e LabEC.ec include=/opt/nmc/include:/opt/hobo/java1.2/include:/opt/hobo/java1.2/include/solaris
    The Exception as:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no LabIfxEC in java.library.path
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.<init>(Throwable.java:94)
    at java.lang.Error.<init>(Error.java:50)
    at java.lang.LinkageError.<init>(LinkageError.java:43)
    at java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:42)
    at java.lang.ClassLoader.loadLibrary(Compiled Code)
    at java.lang.Runtime.loadLibrary0(Runtime.java:471)
    at java.lang.System.loadLibrary(System.java:745)
    at <Unloaded Method>
    I think my LD_LIBRARY_PATH setting is correct. I have been code a pure c library(without ESQL/C code),and it is runing well with Java.
    Please tell me why, thanks very much!
    Yours Alec

    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.

  • Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/jdk/instanc

    HI,
    i was test some packet capturing code and i was using jpcap
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    * @author Aftab Ali
    import jpcap.JpcapCaptor;
    import jpcap.NetworkInterface;
    import jpcap.NetworkInterfaceAddress;
    public class PacketCapturing {
        public static void main(String[] args){
       NetworkInterface[] devices = JpcapCaptor.getDeviceList();
    //for each network interface
    for (int i = 0; i < devices.length; i++) {
      //print out its name and description
      System.out.println(i+": "+devices.name + "(" + devices[i].description+")");
    //print out its datalink name and description
    System.out.println(" datalink: "+devices[i].datalink_name + "(" + devices[i].datalink_description+")");
    //print out its MAC address
    System.out.print(" MAC address:");
    for (byte b : devices[i].mac_address)
    System.out.print(Integer.toHexString(b&0xff) + ":");
    System.out.println();
    //print out its IP address, subnet mask and broadcast address
    for (NetworkInterfaceAddress a : devices[i].addresses)
    System.out.println(" address:"+a.address + " " + a.subnet + " "+ a.broadcast);
    but i have got an exception:java -Djava.library.path=/export/home/libjpcap.so PacketCapturing
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/jdk/instances/jdk1.5.0/jre/lib/i386/libjpcap.so: Can't load IA 32-bit .so on a IA 32-bit platform
    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 jpcap.JpcapCaptor.<clinit>(JpcapCaptor.java:251)
    at PacketCapturing.main(PacketCapturing.java:23)
    anyone can help me                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    aftab_ali wrote:
    java -Djava.library.path=/export/home/libjpcap.so PacketCapturing
    I don't know much about JNI, but java.library.path should be pointing at a directory containing your libraries and not at the libraries themselves (just as CLASSPATH points to locations containing your classes and not your classes themselves).

  • Jar file issue. EXCEPTION: java.lang.UnsatisfiedLinkError

    Hey all,
    i'm writing an application that connects to Oracles SCM. I use a lot of the oracle SCM library. Anyway, my application running in oracles jDeveloper works just fine. However when i deploy it to an executable jar file i get the above exception. In the deployment settings i have tried both using the dependency analyzer and including all content. I have selected all libraries that are used in running it within jdeveloper for the deployment. I have posted to the SCM forumn but noone there has any ideas so just wondering if its a problem with jdeveloper or if its just something stupid i've done.
    find the below the full exception im getting when i run the executable jar file. i'd appreciate any ideas/suggestions anyone may have
    cheers
    paul
    Exception occurred during event dispatching:
    java.lang.UnsatisfiedLinkError: TnsAliasToAddress
    at oracle.repos.helpers.environment.OSEnv.TnsAliasToAddress(Native Method)
    at oracle.repos.services.connection.RepositoryConnectDetails.parseConnect(RepositoryConnectDetails.java:365)
    at oracle.repos.services.connection.RepositoryConnectDetails.<init>(RepositoryConnectDetails.java:74)
    at oracle.repos.services.connection.RepositoryConnection.<init>(RepositoryConnection.java:368)
    at ess.ant.scm.ValidateUser.validate(ValidateUser.java:44)
    at ess.ant.scm.ConnectionFrame.connect_actionPerformed(ConnectionFrame.java:175)
    at ess.ant.scm.ConnectionFrame$1.actionPerformed(ConnectionFrame.java:89)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
    at java.awt.Component.processMouseEvent(Component.java:3715)
    at java.awt.Component.processEvent(Component.java:3544)
    at java.awt.Container.processEvent(Container.java:1164)
    at java.awt.Component.dispatchEventImpl(Component.java:2593)
    at java.awt.Container.dispatchEventImpl(Container.java:1213)
    at java.awt.Component.dispatchEvent(Component.java:2497)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
    at java.awt.Container.dispatchEventImpl(Container.java:1200)
    at java.awt.Window.dispatchEventImpl(Window.java:926)
    at java.awt.Component.dispatchEvent(Component.java:2497)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

    This tutorial page for JNI API describes how and where Java looks for the dynamic libraries:
    http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/_library.html
    And this is the home page of Java Native Interface (JNI) API:
    http://java.sun.com/j2se/1.4/docs/guide/jni/index.html
    I have tried putting my executable jar in the same folder as
    this dll and including the dll in my path but both to no avail.Again: you mix binary code and JVM byte code. They are loaded
    differently and located differently. classpath means nothing for the binary code.
    "The Win32 VM uses a search path that includes the current directory for the process or one of the directories listed in the PATH environment variable"
    The DLL may be either in the folder where the application (the JRE/JDK) runs, that is where java.exe is, or some other directory on the system PATH (according to the PATH system variable).

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

  • Exception in thread "main" java.lang.UnsatisfiedLinkError: - fresh Install

    Pls can someone help me out. I have a similar problem to the one raised in this thread.
    I want to install 10g Release 2 on a RHEL AS4 Production IBM server. I've followed the installation guide to the letter!
    I keep getting this error:
    [oracle@pencomlx2 database]$ ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-07-08_04-07-07PM. Please wait ...[oracle@pencomlx2 database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2007-07-08_04-07-07PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)
    Pls can someone help out b4 i loose my mind!
    Kwex.

    This thread has a similar issue as the one addressed here: Re: Installation on Unbreakable Linux.
    ~ Madrid.

  • Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc 10

    I have a script file called xmldr
    XML_LIB=~/sm/xmlDR/xmldr/lib
    export XML_LIB
    CLASSPATH=$CLASSPATH:$XML_LIB/ojdbc14.jar:$XML_LIB/xmldr.jar:$XML_LIB/xml.jar:$XML_LIB/xmlparserv2.jar:$XML_LIB/xsu12.jar;
    export CLASSPATH
    java xmlDR $0 $1 $2 $3 $4 $5 $6 $7 $8 $9
    But i still get the following error when i try to execute my script
    This program takes in 7-10 args
    $xmldr 100 268 OCI mt2 mes mes /opt/oracle/sm/
    connection URL: jdbc:oracle:oci8:@mt2
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:834)
    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:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at xmlDR.main(xmlDR.java:117)
    and the 117th line is
    conn = DriverManager.getConnection(thinConn, username, password);
    Is this because i havent set my classpath right in my shell script?

    Hi guys,
    I am facing a problem when I am using oci driver. The reason why I am using oci driver is to enable failover. so at any cost I need to use oci driver only instead thin.
    The errors follows
    java.lang.UnsatisfiedLinkError: t2cParseExecuteDescribe
    at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
    at oracle.jdbc.driver.T2CStatement.executeForDescribe(T2CStatement.java:725)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1049)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1154)
    at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1726)
    at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1696)
    at com.lhs.ccb.sfw.application.JdbcLogin.getDBTimezone(Unknown Source)
    at com.lhs.ccb.sfw.application.JdbcLogin.checkConnection(Unknown Source)
    at com.lhs.ccb.sfw.application.JdbcLogin.newDataSource(Unknown Source)
    at com.lhs.ccb.sfw.application.JdbcLogin.getDataSource(Unknown Source)
    at com.lhs.ccb.sfw.application.TOPLinkLogin.newDatabaseLogin(Unknown Source)
    at com.lhs.ccb.sfw.application.TOPLinkLogin.getDatabaseLogin(Unknown Source)
    at com.lhs.ccb.sfw.application.TOPLinkLogin.newServerSession(Unknown Source)
    at com.lhs.ccb.sfw.application.TOPLinkLogin.getServerSession(Unknown Source)
    at com.lhs.ccb.sfw.application.TOPLinkLogin.registerDescriptorsByTopLink(Unknown Source)
    at com.lhs.ccb.sfw.application.ExtendedServer.initializePersistence(Unknown Source)
    at com.lhs.ccb.sfw.application.BasicServer.initialize(Unknown Source)
    at com.lhs.ccb.sfw.application.ExtendedServer.main(Unknown Source)
    Can anybody provide solution.
    Appreciate your great support

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

  • FindClass() throws java.lang.UnsatisfiedLinkError exception

    Hi All,
    I am using a JNI to make my C program to communicate with the GUI developed in Java Swings. In my C program I have used FindClass() method to find the java class. While exececuting my C program, I got the following exception,
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/java/jre1.5.0_04/lib/i386/libawt.so: /usr/java/j2sdk1.4.2_08/jre/lib/i386/libmlib_image.so: version `VER_1.1' not found (required by /usr/java/jre1.5.0_04/lib/i386/libawt.so)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)
    I have ensured that the libawt.so and ibmlib_image.so paths are set in LD_LIBRARY_PATH. Inspite of that I am not able to access the java class because of the above mentioned exception. Please help me out in this.
    For your reference, I am attaching the code with this,
    #include <jni.h>
    int main()
         JavaVMOption options[2];
         JNIEnv *env;
         JavaVM *jvm;
         JavaVMInitArgs vm_args;
         long status;
         jclass cls;
         jobject obj;
         jmethodID mid;
         jstring jstr;
         char str[25];
           options[0].optionString =        "-Djava.class.path=/home/maniyan/work/Dhruv_proj/vers/v5";
         options[1].optionString = "-verbose:jni";
         memset(&vm_args, 0, sizeof(vm_args));
            vm_args.version = JNI_VERSION_1_4;
         vm_args.nOptions = 1;
         vm_args.options = options;
         vm_args.ignoreUnrecognized = 1;
         status = JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);
         printf("status %d\n",status);
         if (status != JNI_ERR)
              printf("Exception %d\n",(*env)->ExceptionCheck(env));
              cls = (*env)->FindClass(env, "frame_main_v1");
              printf("Exception %d\n",(*env)->ExceptionCheck(env));
              if ((*env)->ExceptionCheck(env)) {
              (*env)->ExceptionDescribe(env);
              (*env)->ExceptionClear(env);
         if(cls !=0)
                 //printf("am here\n");
              mid = (*env)->GetStaticMethodID(env, cls, "display_message", "(Ljava/lang/String;)V");
              printf("Method %d\n",mid);
              if(mid !=0)
              {      strcpy(str,"Hello world");
                    (*env)->CallStaticCharMethod(env, cls, mid, (*env)->NewStringUTF(env, str));
         (*jvm)->DestroyJavaVM(jvm);
         return 0;
    else {
              printf("some error\n");
              return -1;
    Thanks in adv,
    Cool Dude

    this is like a classpath issue, but for a native library
    basically you need to include the library file in your path info to the JVM

  • Exception occurred during event dispatching: java.lang.UnsatisfiedLinkError

    Hi,
    Greetings. I am watching the following error in linux. I greatly appreciate your help.
    Thanks
    Rajkumar
    Exception occurred during event dispatching:
    java.lang.UnsatisfiedLinkError: no test in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:834)
    at test.<clinit>(test.java:3)
    at Test.action(Main27.java:926)
    at java.awt.Component.handleEvent(Component.java:5341)
    at Test.handleEvent(Main27.java:1023)
    at java.awt.Window.postEvent(Window.java:1614)
    at java.awt.Component.postEvent(Component.java:3895)
    at java.awt.Component.dispatchEventImpl(Component.java:3631)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog$1.run(Dialog.java:542)
    at java.awt.Dialog$3.run(Dialog.java:569)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Dialog.java:567)
    at Main27.first(Main27.java:67)
    at Main27.action(Main27.java:163)
    at java.awt.Component.handleEvent(Component.java:5341)
    at java.awt.Component.postEvent(Component.java:3885)
    at java.awt.Component.postEvent(Component.java:3895)
    at java.awt.Component.postEvent(Component.java:3895)
    at java.awt.Component.dispatchEventImpl(Component.java:3631)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    In your test.java (Which must be yours, since all serious classes have capitalised names) you are trying to load a JNI library with
    static {
       System.loadLibrary("test");
      }Somewhere you should have a library file, I think called libtest.so, but the JVM can't find it.
    Find out where it is and put -Djava.library.path=<the directory>
    on the java command.

  • JNI exception, java.lang.UnsatisfiedLinkError

    Hi,
    I�m trying to call a native method with JNI and the following exception occurs when I try to call the native method setFileName:
    Exception occurred during event dispatching:
    java.lang.UnsatisfiedLinkError: setFileName
    The dll where this method is defined is in the directory c:/winnt/system32, the Windows default path.
    Why this exception occurs?
    Thanks in advance
    carlos

    The basic reasons why this would occur are
    1. There is something wrong with the path to the dll.
    2. You didn't do a "loadLibrary()" on the dll before you called the native method.
    3. There is some disconnect between the expected signature of the native method, and the way it is defined in the dll.
    If this doesn't help, thenI suggest you post a bit of code (loadLibrary, native method signature, C function signature).

  • Java Exception: java.lang.UnsatisfiedLinkError

    Database: oracle11g
    Peoplesoft: peopletools8.52
    I created jdbc connection java program and build it as a jar.
    Placed that jar in an PS_HOME/class, while invoking that jar from peoplecode i am getting the error like:
    Java Exception: java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path: during call of packagename.classname

    I'm not sure this is the best forum, perhaps if there is one for jdbc oracle clients it would be better posted there.
    Try searching your Java Exception: java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path: error on google.
    Lots of hits come back.
    My guess is just because App Server processes running via Tuxedo have access to the Oracle libraries they need, does not mean your code in the JVM created by the App Server processes do.
    I would double check your LD_LIBRARY_PATH and ensure any required jar files like maybe $ORACLE_HOME/jdbc/lib/ojdbc6.jar are in ClassPath setting in the appserver config or copied to the class directory. Have you tested your program independently outside of PeopleSoft and made it work there first? That should indicated what requirements you've created by embedding jdbc into PeopleSoft. I've never tried what your doing though, so I'm just making an educated guess, and I don't know all that might be required.

Maybe you are looking for