Loadjava error: java.lang.UnsatisfiedLinkError ...

Hi,
When i try to load a jar file in the database using the following command:
loadjava -user username/password@tnsname dist.jar
I get this error:
java.lang.UnsatisfiedLinkError: t2cParseExecuteDescribe
at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
at oracle.jdbc.driver.T2CStatement.executeForDescribe(T2CStatement.java)
e.t.c.
The db version is:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
and the JAVA option is enabled (TRUE).
Do you have any idea, what may be the reason?
Thank you,
Yorgos

Hi,
T2C means Type 2 Client; look like you have library classpath probleme with your type 2 driver. The following posting, might help: Re: Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc 10
aternatively, try using JDBC-Thin instead.
Kuassi http://db360.blogspot.com

Similar Messages

  • How do i solve the Runtime Error: java.lang.UnsatisfiedLinkError

    Runtime Error: java.lang.UnsatisfiedLinkError
    // Dialog_age
    import javax.swing.JOptionPane;
    public class Dialog_age
    public static void main(String arguments[])
    String Input_Age;
    int age;
    Input_Age = JOptionPane.showInputDialog("Enter a number.");
    age = Integer.parseInt(Input_Age);
    JOptionPane.showMessageDialog(null , "Your age is " + age);
    System.exit(0);
    }Whenever i run this program or a program similar to that program. I get the Runtime Error (anytime i run the program on a command prompt, but if i run it on my jGRASP it runs ok!): java.lang.UnsatisfiedLinkError.
    Here is my Error Message:
    C:\java>java Dialog_age
    Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.font.FontManager.initIDs(
    Z)V
    at sun.font.FontManager.initIDs(Native Method)
    at sun.font.FontManager.access$000(Unknown Source)
    at sun.font.FontManager$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.font.FontManager.<clinit>(Unknown Source)
    at sun.java2d.SunGraphicsEnvironment.addDirFonts(Unknown Source)
    at sun.java2d.SunGraphicsEnvironment.registerFontsInDir(Unknown Source)
    at sun.java2d.SunGraphicsEnvironment.access$200(Unknown Source)
    at sun.java2d.SunGraphicsEnvironment$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.java2d.SunGraphicsEnvironment.<init>(Unknown Source)
    at sun.awt.Win32GraphicsEnvironment.<init>(Unknown Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
    at javax.swing.RepaintManager.<clinit>(Unknown Source)
    at javax.swing.UIManager.initialize(Unknown Source)
    at javax.swing.UIManager.maybeInitialize(Unknown Source)
    at javax.swing.UIManager.getDefaults(Unknown Source)
    at javax.swing.UIManager.getString(Unknown Source)
    at javax.swing.UIManager.getString(Unknown Source)
    at javax.swing.JOptionPane.showInputDialog(Unknown Source)
    at javax.swing.JOptionPane.showInputDialog(Unknown Source)
    at Dialog_age.main(Dialog_age.java:14)
    But a few weeks ago i could run the program on a command prompt , perfectly!
    I recently came to the conclusion that it has something to do with me upgrading my IDE(jGRASP) and Java language.
    Now, since thats the case how do i resolve this error. That BUGGING the heck out of me!
    Thanks and Peace!

    Hi,
    Check which JRE/JDK is used by your jGRASP.Then set the path environment variables according to that.
    I'm afraid you have multiple jre/jdk in your system and one of that has problem with native libraries.
    Best of luck!!

  • Error: java.lang.UnsatisfiedLinkError: t2cParseExecuteDescribe

    Connection to DB seems fine
    Opening the connection just sits there " loading... "
    Opening a SQL Worksheet produces the following error message:
    Can someone help?
    java.lang.UnsatisfiedLinkError: t2cParseExecuteDescribe
         at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
         at oracle.jdbc.driver.T2CPreparedStatement.executeForDescribe(T2CPreparedStatement.java:518)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
         at oracle.javatools.db.QueryWrapper.executeQuery(QueryWrapper.java:203)
         at oracle.javatools.db.ora.BaseOracleDatabase.createSchema(BaseOracleDatabase.java:1473)
         at oracle.javatools.db.ora.BaseOracleDatabase.<init>(BaseOracleDatabase.java:172)
         at oracle.javatools.db.ora.OracleDatabaseImpl.<init>(OracleDatabaseImpl.java:95)
         at oracle.javatools.db.ora.Oracle8.<init>(Oracle8.java:21)
         at oracle.javatools.db.ora.Oracle8i.<init>(Oracle8i.java:50)
         at oracle.javatools.db.ora.Oracle9i.<init>(Oracle9i.java:196)
         at oracle.javatools.db.ora.Oracle9iR2.<init>(Oracle9iR2.java:46)
         at oracle.javatools.db.ora.Oracle10g.<init>(Oracle10g.java:37)
         at oracle.javatools.db.ora.Oracle10gR2.<init>(Oracle10gR2.java:23)
         at oracle.javatools.db.ora.OracleDatabaseFactory.createDatabaseImpl(OracleDatabaseFactory.java:109)
         at oracle.jdeveloper.db.ora.OracleConnDatabaseFactory.createDatabaseImpl(OracleConnDatabaseFactory.java:45)
         at oracle.javatools.db.DatabaseFactory.createProviderImpl(DatabaseFactory.java:50)
         at oracle.javatools.db.DBObjectProviderFactory.createProviderFromFactory(DBObjectProviderFactory.java:190)
         at oracle.javatools.db.DBObjectProviderFactory.findOrCreateProvider(DBObjectProviderFactory.java:144)
         at oracle.javatools.db.DatabaseFactory.findOrCreateDatabase(DatabaseFactory.java:146)
         at oracle.dbtools.raptor.utils.Connections.getDatabaseImpl(Connections.java:192)
         at oracle.dbtools.raptor.utils.Connections.getDatabase(Connections.java:213)
         at oracle.dbtools.raptor.utils.Connections.getDatabase(Connections.java:201)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditorNode.init(SqlEditorNode.java:192)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditorNode.getDatabase(SqlEditorNode.java:207)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditor.openNewEditor(SqlEditor.java:1911)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditor.openNewEditor(SqlEditor.java:1968)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditor.openNewEditor(SqlEditor.java:1986)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditorWizard.invoke(SqlEditorWizard.java:108)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:310)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditorAddin$2.actionPerformed(SqlEditorAddin.java:193)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    See this : Re: 1.1 - Issues
    -kris

  • OCI 8 Error: java.lang.UnsatisfiedLinkError : do_open

    Hi Folks,
    I am using Jdeveloper3.2 and have jdk1.3 running with it, and I have OCI8 driver being used database connectivity from java to oracle. I have all the path setting checked and everything seems to be fine. I have oracle 8i, But I get the error as follows....
    java.lang.UnsatisfiedLinkError: do_open
    at oracle.jdbc.oci8.OCIDBAccess.do_open(Native Method)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:310)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    Any help on this problem is highly appreciated.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Kesav ():
    Hi Folks,
    I am using Jdeveloper3.2 and have jdk1.3 running with it, and I have OCI8 driver being used database connectivity from java to oracle. I have all the path setting checked and everything seems to be fine. I have oracle 8i, But I get the error as follows....
    java.lang.UnsatisfiedLinkError: do_open
    at oracle.jdbc.oci8.OCIDBAccess.do_open(Native Method)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:310)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    Any help on this problem is highly appreciated.
    Thanks In Advance<HR></BLOCKQUOTE>
    Maybe you can check the version of your jdk and jdbc.
    I met the same problem in my project.If you use jdbc for jdk1.1.*,you have to download and set jdk1.1.* to be your default compiler.And you'd better download new jdbc package from technet.oracle.com,the unzip it ,set classpath to classes111.zip ,and set path to the directory of jdk1.1.*.
    I used jdk1.3 first,so it didn't work.
    null

  • Java.lang.UnsatisfiedLinkError on libocijdbc10 error

    Hello gurus again,
    I know that this is pretty much frequent and it was discussed here on this forum a lot of times, but I still cannot workaround it, despite the fact that I was trying to do suggestions from here.
    So, when our application deployed on the app server tries to make connection to Oracle, it throws an error java.lang.UnsatisfiedLinkError on libocijdbc10.so which is one of the files under the lib folder or oracle client installation.
    here are the env for oracle user on the app server:
    [oracle@app lib]$ env | grep oracle
    USER=oracle
    LD_LIBRARY_PATH=/oracle/product/10.2.0/client_1/lib
    ORACLE_BASE=/oracle
    MAIL=/var/spool/mail/oracle
    PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/oracle/product/10.2.0/client_1/bin:/usr/local/java/bin:/sbin:/home/oracle/bin
    PWD=/oracle/product/10.2.0/client_1/lib
    HOME=/home/oracle
    LOGNAME=oracle
    CLASSPATH=/oracle/product/10.2.0/client_1/JRE:/oracle/product/10.2.0/client_1/jlib:/oracle/product/10.2.0/client_1/rdbms/jlib:/oracle/product/10.2.0/client_1/network/jlib
    ORACLE_HOME=/oracle/product/10.2.0/client_1
    OLDPWD=/home/oracle
    what should I check or edit to get this worked?
    thanks a lot for advise,
    Maria.

    up

  • Java.lang.UnsatisfiedLinkError: ocijdbc9.dll: Can't find dependent librarie

    Hi all,
    I have written a simple code to connect to Oracle9i in WindowsXP.
    Oracle is installed and running on Linux machne on the Intranet.
    I have set 'classes12.jar' in classpath and placed following dlls in "C:\WINDOWS\system32" path
    ocijdbc9.dll
    ocijdbc9_g.dll
    heteroxa9.dll
    heteroxa9_g.dll
    Following is the part of code:
    public String dbName = new String("jdbc:oracle:oci8:username/password@sid_192.168.0.128");
    public String dbClassName = new String("oracle.jdbc.driver.OracleDriver");
    Class.forName(dbClassName);
    conection = DriverManager.getConnection(dbName);
    statement = conection.createStatement();
    When I run this code got following errors:
    java.lang.UnsatisfiedLinkError: C:\WINDOWS\system32\ocijdbc9.dll: Can't find dependent libraries
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
         at java.lang.Runtime.loadLibrary0(Runtime.java:788)
         at java.lang.System.loadLibrary(System.java:834)
         at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:262)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:193)
         at menus.SQLShelfManager.openDBconnecton(SQLShelfManager.java:46)
         at menus.SQLShelfManager.main(SQLShelfManager.java:129)
    Exception in thread "main"
    Please guide me, what I am missing? Thanks in advance...

    There are only a very very few and rare good reasons to use the oci8 driver with Java (and I can't remember any of them at the moment). Performance is not one of them. If at all possible, you should use the Type IV (thin) driver instead.
    The classes12.jar (or zip) is for use with Java 1.2 and 1.3. There are different versions of this jar for each version of the database, but they're fundamentally cross-compatible; all the post-8i drivers are supposed to work with all the post-8i databases (and the 8i stuff also mostly works too). There's been a succession of bug fixes and minor functional changes, as well as some very substantial perfromance improvements. If you are developing brand-new code, I very stongly encourage you to use the very latest driver (currently 10.2.0.1, I think). If you are using a Java version greater than 1.3, then you should use the ojdbc14.jar instead (and don't try to use both classes12.jar and ojdbc14.jar, they have the sameclasses in them). I think the 10.2.0.1 ojdb14.jar was the first one certified for Java 1.5, and it's significantly faster than the 9i drivers. Anyone considering an upgrade of drivers should plan to do a good regression test; as mentioned before, there are some very small functional differences. You can download the latest drivers here:
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    If you insist on using oci, then you probably need to do an Oracle client installation on your Windows box. If you stay with the 9i driver, the full client install is huge; however, you can almost certainly use the 10g "Instant Client", which is a pared-down version, with just the minimal stuff to support an application. That's available here:
    http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html

  • 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.UnsatisfiedLinkError: com/edifecs/xengine/xeobjects/XEHelper.cre

    Protocol Name : EDI_X12
    Document Verison : V4010
    Document Type : 850
    Document Definition as : EDI_X12-V4010-850-850def
    Listening Channel :
    Protocol : Generic File 1.0
    Tansport Protocol Parameter :
    Folder Name :/u01/ftp_root/Inbound (A folder on Server)
    File Format : %FROM_PARTY%_%DOCTYPE_NAME%_%DOCTYPE_REVISION%.dat
    Preserve File Name : Enabled(Checked)
    Host Trading Partner :
    Profile :Vallues Given for following Identifier Types
    Identifier Type : EDI Group ID , EDI Interchange ID , EDI Group ID Qualifier,EDI Interchange ID Qualifier
    Document : EDI_X12-V4010-850-850def (Receiver = Checked)
    It's Receiver of the Document.
    Host Channel :
    Protocol : Generic File 1.0
    Tansport Protocol Parameter :
    Folder Name :/u01/ftp_root/Outbound (A folder on Server)
    Remote Trading Partner:
    Profile :Vallues Given for following Identifier Types
    Identifier Type : EDI Group ID , EDI Interchange ID , EDI Group ID Qualifier,EDI Interchange ID Qualifier
    Document : EDI_X12-V4010-850-850def (Sender= Checked)
    It's Sender of the Document.
    Agreement Direction :
    From Remote Trading partner --> To Host Trading Partner
    Agreement Parameters : Only Translate = Checked.
    Identifier are selected and channels specifies in the Agreement as required.
    Note :
    1. .ecs , .xsd and .dat files were generated by B2B Doc Builder
    2. File saved in format as :
    %FROM_PARTY%_%DOCTYPE_NAME%_%DOCTYPE_REVISION%.dat
    Following are the installation specifications :-
    1. OS Linux 64 bit with JRocket 64 bit. (Yes Verified)
    2. Environment :Single (Not-Clustered) (Yes Verified)
    3. XEngine Installed and Installation Tested. (Yes Verified)
    4. LD_LIBRARY_PATH set (Yes Verified)
    5. Other Xengine Environment Variables are set. (Yes Verified)
    Problem I am facing are:
    1. While creating agreement following parameter need to be "checked" if we wish to get a translation of document from EDI-->XML
    "Agreement Parameters : Only Translate = Checked.
    If I don't check Translation,means if I don't enable translation.It works fine.
    File is picked from Source location and Dropped into Destination Via B2B
    However if I check(Enable) Translation it's giving Processing Error java.lang.UnsatisfiedLinkError"
    Server.log says :
    [d03-c02-s01] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@23e23fcf] [userId: <anonymous>] [ecid: 11d1def534ea1be0:507ef52a:12f581580da:-8000-0000000000059a10,0] [APP: soa-infra] java.lang.UnsatisfiedLinkError: com/edifecs/xengine/xeobjects/XEHelper.createN2XNative()Lcom/edifecs/xengine/xeobjects/XEDataProc;[[
         at com.edifecs.xengine.xeobjects.XEHelper.createN2X(Unknown Source)
         at oracle.tip.b2b.document.edi.EDIDocumentPlugin.processIncomingDocument(EDIDocumentPlugin.java:1113)
         at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:2488)
         at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1638)
         at oracle.tip.b2b.engine.Engine.incomingContinueProcess(Engine.java:3978)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3654)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    java.lang.UnsatisfiedLinkError: com/edifecs/xengine/xeobjects/XEHelper.createN2XNative()Lcom/edifecs/xengine/xeobjects/XEDataProc;
         at com.edifecs.xengine.xeobjects.XEHelper.createN2X(Unknown Source)
         at oracle.tip.b2b.document.edi.EDIDocumentPlugin.processIncomingDocument(EDIDocumentPlugin.java:1113)
         at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:2488)
         at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1638)
         at oracle.tip.b2b.engine.Engine.incomingContinueProcess(Engine.java:3978)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3654)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    [2011-04-18T09:46:36.241+02:00] [d03-c02-s01] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@23e23fcf] [userId: <anonymous>] [ecid: 11d1def534ea1be0:507ef52a:12f581580da:-8000-0000000000059a10,0] [APP: soa-infra] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0[[
         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
         at java.util.ArrayList.get(ArrayList.java:322)
         at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:2894)
         at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1638)
         at oracle.tip.b2b.engine.Engine.incomingContinueProcess(Engine.java:3978)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3654)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Suggestions/Help/Guidence are welcome.
    Am struck on this ..
    Thanks in advance to B2B community for the help..

    Hi Anuj,
    I spoke to Oracle and they found that we have JRocket 64 bit installed.
    However they recommend JDK 64 bit for the Development Environment.
    And we are gonna do a Fresh SOA installation in a day.
    SOA Verison is : 11.1.1.4
    I hope this may help us.
    Thanks Anuj for continous help.
    Thanks
    Vivek

  • RWServlet -- java.lang.UnsatisfiedLinkError rwinit

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

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

  • Java.lang.UnsatisfiedLinkError - 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.lang.UnsatisfiedLinkError: no msawt in shared library path

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

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

  • 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

  • Java.lang.unsatisfiedlinkerror:c:\jbuilder9\jdk1.4\jre\bin\fontmanager.dll

    Hi there, could some of you help me here please, because I am really desperate. As you might have noticed by my topic I am using JNI, but I get an error when I want to make a simple form in java.
    I compiled my java program setp by step, I have an application with a simple frame in it, but when it wants to compile the frame constructor, I encounter this error:
    java.lang.unsatisfiedlinkerror :c:\java\jbuilder9\jdk1.4\jre\bin\fontmanager.dll
    The specified procedure could not be found.
    at java.lang.ClassLoader$NativeLibrary.load (Native Method)
    In fact I'm trying to get the HWND of a java frame via a native method in C++.
    Kind Regards
    Sirwah

    Try
    1. putting c:\java\jbuilder9\jdk1.4\jre\bin in your Windows path
    2. Setting JAVA_HOME environment variable to c:\java\jbuilder9\jdk1.4\jre
    OR
    3. Dirty shamefull workaround, last resort... copy fontmanager.dll to the directory you start your application from !
    regards,
    Owne

  • URGENT: java.lang.UnsatisfiedLinkError

    Hi all,
    I'm calling a particular method which in turn calls a native method. But this gives an error:
    java.lang.UnsatisfiedLinkError: no ifjapi90 in java.library.path
    But just before the method call I set the System property java.library.path with the location of this file. After that i also print the same which is satisfactory. But it still gives me an error.
    The following is the console output:
    ==========================
    Inside parseFMB
    java.library.path: :\oracle\ora9i_dev\bin;D:\oracle\ora9i_dev\bin\ifjapi90.dll;D:\oracle\ora9i_dev\bin\ifjapi90.sym;
    java.lang.UnsatisfiedLinkError: no ifjapi90 in java.library.path
    void java.lang.ClassLoader.loadLibrary(java.lang.Class, java.lang.String, boolean)
    void java.lang.Runtime.loadLibrary0(java.lang.Class, java.lang.String)
    void java.lang.System.loadLibrary(java.lang.String)
    void oracle.forms.jdapi.Jdapi.<clinit>()
    java.lang.String com.churchill.formsgen.xml.FormParser.parseFMB()
    void com.churchill.formsgen.FormsAnalyser$39.run()
    void java.lang.Thread.run()
    Please help. This is quite urgent.
    Regards,
    Naveen

    This did not help. I loaded the library using
    System.load but it still gives the same error. Is
    there no way I can set the System property
    java.library.path after startup?
    Did you provide the complete path to the library using load()?
    If you did then I would suggest using java.io.File to test that path for existence before calling load() to see if it is correct.

  • FaultString: java.lang.UnsatisfiedLinkError:

    Hi,
    when i call my timesten web service application deployed in
    websphere using a JSP , Im getting following error
    faultString: java.lang.UnsatisfiedLinkError:
    this is my web service calling the timesten application dll
    TxnDetail.dll
    package demo;
    public class Sample6 {
         public native int CardVerifyTxn(String custname,int c_no,int cardno,int d_id ,String txn_type,int txn_amt,String card_validity_date);
         public int VerifyTxn(String custname,int c_no,int cardno,int d_id,String txn_type,int txn_amt,String card_validity_date)
              System.out.println("In CardVerifyTxn");          
              System.loadLibrary("TxnDetail");
              Sample6 sample = new Sample6();          
              int status = sample.CardVerifyTxn(custname,c_no,cardno,d_id,txn_type,txn_amt,card_validity_date);
              return status;
    how sholud i set path in websphere ? .i think the problem is the server doesnt find the dll in path right? , sorry ( it is not relevant to timesten ) .
    I can access the dll using a normal java client .but when i implemented it as web service and accessed from jsp I got the above unsatisfied link eror.
    can anybody suggest a solution
    thnking in advance..
    sanal

    one more thing
    the output of java.library.path contains the path where my
    'dll and dependant dll' s present
    still it's not picking the dll's
    console error
    java.lang.UnsatisfiedLinkError: demo/Sample6.CardVerifyTxn(Ljava/lang/String;IIILjava/lang/String;ILjava/lang/String;)I
    the signature of the method in C dll is
    JNIEXPORT jint JNICALL Java_Sample6_CardVerifyTxn(JNIEnv *env , jobject obj ,   jstring cust_name , jint c_no , jint cardno , jint d_id , jstring xntype , jint txn_amt , jstring cardvaliditydate)
    thnkx n regards
    sanal

Maybe you are looking for

  • Adobe Reader 10.1.2 on my mac, can't print pdfs, and the patch doesn't seem to help. What do I do???

    I downloaded AdobeReader 10.1.2 and I can read pdfs just fine.  But I can no print them and it's FRUSTRATING.  I came to this forum and followed the instructions for downloading the AdobeReaderPatch.  I tried it but it didn't help.  Is it just for PC

  • HT4623 how do i move my contacts from my iphone 3 to my iphone 4

    how to move my contacts from my iphone 3 to my iphone 4

  • Best method for 3D background?

    Hey, everyone. Happy Monday. I've got a job I need to do where I'm going to take a vector graphic I have and orbit around it in 3D space. I'll have two text objects as well. I know how to work the camera in 3D space in Motion, however I'm curious wha

  • Cashed Checks posting to period "0"

    FI Experts, I am using t-code FCKR to upload the cashed checks, it seems to be working fine, but even thought I specify current date as teh posting date, tcode posts them to period "0" instead of current period. Anyone knows why?

  • Endeca baseline update error

    Hello.I have problems with indexing.When I run indexing mannually via baseline update I got error. [05.02.13 17:44:30] SEVERE: Caught exception while querying for status of utility 'move_-toprocessing'. Occurred while executing line 25 of valid BeanS