Java.lang.UnsatisfiedLinkError: /u01/app/oracle/mw_ofrdev01/Oracle_FRHome1/oui/lib/aix/liboraInstaller.so
we are using 64bit IBM AIX machine with 7.1 os with java 64 bit version,
while applying a patch on oracle forms and reports 11gR2, we come across of a error that opatch will not work with 64bit java, so we found this doc 1512163.1 and followed the same,
but now while executing the below commands,
./opatch -lsniventory
and ./opatch apply, we are gettting the below error,
java.lang.UnsatisfiedLinkError: /u01/app/oracle/mw_ofrdev01/Oracle_FRHome1/oui/lib/aix/liboraInstaller.so ( 0509-022 Cannot load module /u01/app/oracle/mw_ofrdev01/Oracle_FRHome1/oui/lib/aix/liboraInstaller.so.
0509-026 System error: Cannot run a file that does not have a valid format.)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1005)
at java.lang.System.load(System.java:485)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:402)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:125)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.ssgetUidux(OiipgEnvironment.java:528)
at oracle.sysman.oii.oiix.OiixEnvironmentOps.ssgetUidux(OiixEnvironmentOps.java:159)
at oracle.opatch.OUIReplacer.isRootAccess(OUIReplacer.java:832)
at oracle.opatch.OPatch.main(OPatch.java:518)
Exception in thread "main" java.lang.UnsatisfiedLinkError: oraInstaller (Not found in java.library.path)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1005)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:969)
at java.lang.System.loadLibrary(System.java:497)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:420)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:125)
at java.lang.J9VMInternals.initializeI
can someone give your inputs here to resolve the issue?
Similar Messages
-
How do I get oracle.reports.rwcgi.RWServlet to run in Tomcat 3.2 in Solaris 2.6?
I have made sure I included <6i_home>/lib:<6i_home>/bin:<6i_home>repots60/lib in my PATH and LD_LIBRARY_PATH before I started Tomcat. But when I call the servlet from the browser, I got this error on my browser screen:
java.lang.UnsatisfiedLinkError: rwinit
at oracle.reports.rwcgi.RWServlet.init(Compiled Code)
(more errer messages...)
What did I do wrong?
Thanks,
Joe
...How do I get oracle.reports.rwcgi.RWServlet to run in Tomcat 3.2 in Solaris 2.6?
I have made sure I included <6i_home>/lib:<6i_home>/bin:<6i_home>repots60/lib in my PATH and LD_LIBRARY_PATH before I started Tomcat. But when I call the servlet from the browser, I got this error on my browser screen:
java.lang.UnsatisfiedLinkError: rwinit
at oracle.reports.rwcgi.RWServlet.init(Compiled Code)
(more errer messages...)
What did I do wrong?
Thanks,
Joe
... -
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). -
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 -
Java.lang.UnsatisfiedLinkError on Linux
Hi,
I've got some Java code compiled which works
fine for others on a Windows machine. The same code, when run on Linux using the latest
tarball (oracle8161SE_tar.gz) for the 8i server gives me the following error when run:
I searched here but didn't find anything yet. If someone can point me in the right direction, I'd really appreciate it.
java.lang.UnsatisfiedLinkError: get_db_version_number
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
at java.sql.DriverManager.getConnection(DriverManager.java:83)
at java.sql.DriverManager.getConnection(DriverManager.java:126)
Thanks,
L
nullThis error can occur also if a dependency of your library can not be loaded.
For instance if your library mylib use some function of saying libX, and has been linked in such a way that the dynamic labrary contains a reference to it, this library must be available at runtime.
Check your LD_LIBRARY_PATH for all dependencies of your library.
(note that the classpath is not used by the dynamic loader) -
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,
YorgosHi,
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 -
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 -
XSU -- java.lang.UnsatisfiedLinkError
I am trying to use the XSU, I have loaded the jar files into the
db, but I get this error
C:\>java OracleXML getXML -user "scott/tiger" "select * from emp"
Exception in thread "main" java.lang.UnsatisfiedLinkError:
get_env_handle
at oracle.jdbc.oci8.OCIEnv.get_env_handle(Native Method)
at oracle.jdbc.oci8.OCIEnv.getEnvHandle(OCIEnv.java:70)
at oracle.jdbc.oci8.OCIDBAccess.logon
(OCIDBAccess.java:359)
at oracle.jdbc.driver.OracleConnection.<init>
(OracleConnection.java:252)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance
(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect
(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at OracleXML.getConnection(OracleXML.java:1086)
at OracleXML.To_XML(OracleXML.java:915)
at OracleXML.ExecuteGetXML(OracleXML.java:826)
at OracleXML.main(OracleXML.java:162)I am getting a lot of errors trying to run the initjvm.sql, like
Warning: Package Body created with compilation errors.
drop table java$rmjvm$aux *
ERROR at line 1:
ORA-00942: table or view does not exist
and
begin if :jvmrmaction = 'FULL_REMOVAL' or :jvmrmaction
= 'GRADE_REMOVAL' then
ERROR at line 1:
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "SYSTEM.INITJVMAUX" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 3
and
CREATE PUBLIC SYNONYM "NameFromLastDDL" FOR sys."NameFromLastDDL"
ERROR at line 1:
ORA-00955: name is already used by an existing object
I am new to this, so all these errors doesn't say anything
to me -
Java.lang.UnsatisfiedLinkError: make_c_state
Hi there,
Is anybody see this error while try to connect to Oracle database with oci driver:
Exception in thread "main" java.lang.UnsatisfiedLinkError: make_c_state
at oracle.jdbc.oci7.OCIDBAccess.make_c_state(Native Method)
at oracle.jdbc.oci7.OCIDBAccess.logon(OCIDBAccess.java:189)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:135)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:209)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:183)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at Jdbctest.main(jdbctest.java:17)
* After I build up the database and the table in Oracle and before make the connection, do I need to do anything else to make the connection ready?
Thanks,
Peng
nullHi
Me too facing the same problem...
In the URL what is that @ followed by? is it SID/Service name ....
If it is database name what do u mean by database name? from where can I get it...
Thanks is advance...
Please help me in solving this problem
Regards
Suganya S
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Peng Wu ([email protected]):
Hi there,
Is anybody see this error while try to connect to Oracle database with oci driver:
Exception in thread "main" java.lang.UnsatisfiedLinkError: make_c_state
at oracle.jdbc.oci7.OCIDBAccess.make_c_state(Native Method)
at oracle.jdbc.oci7.OCIDBAccess.logon(OCIDBAccess.java:189)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:135)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:209)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:183)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at Jdbctest.main(jdbctest.java:17)
* After I build up the database and the table in Oracle and before make the connection, do I need to do anything else to make the connection ready?
Thanks,
Peng
<HR></BLOCKQUOTE>
null -
Java.lang.UnsatisfiedLinkError: t2cGetCharSet - 10g
Hi,
I'm unable to connect to an Oracle 10g database instance (10.1.0.4.0) with the type 2 OCI driver. I'm able to connect with the type 4 thin driver.
Details:
java.lang.UnsatisfiedLinkError: t2cGetCharSet
at oracle.jdbc.driver.T2CConnection.t2cGetCharSet(Native Method)
at oracle.jdbc.driver.T2CConnection.getCharSetIds(T2CConnection.java:2907)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:316)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:348)
at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:139)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:79)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:563)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.verdasys.ar.util.ARUtil.getConnection(ARUtil.java:84)
at com.verdasys.ar.archive.ArchiveImpl.getTablesToArchive(ArchiveImpl.java:650)
at com.verdasys.ar.util.Container.main(Container.java:122)
Exception in thread "main"
Configuration details:
* Client is running Win2K3 with complete Oracle client (10.1.0.2.0) installed.
* Classname: "oracle.jdbc.driver.OracleDriver"
* Driver: "jdbc:oracle:oci"
* URL: jdbc:oracle:oci:@xx.xx.xx.xxx:1521:FOO
* The PATH environment variable includes the Oracle client's bin directory.
Any ideas?Refer
Re: Java 10g OCI connection -
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 -
Hi,
After ORACLE 11G software installation i tried to change the ORACLE_HOME directory.
OS : RHEL 4.5
DB : 11.2.0
Previous Home Location :
[oracle@localhost ~]$ echo $ORACLE_HOME
/u01/oracle/prod/tech_st/product/11.2.0/db_1
Current Home Loc:
[oracle@localhost ~]$ echo $ORACLE_HOME
/u01/oracle/db/tech_st/product/11.2.0/db_1
When i am trying the DBCA command i am getting the below error:
[oracle@localhost ~]$ dbca
java.lang.UnsatisfiedLinkError: Can't load library: /u01/oracle/prod/tech_st/product/11.2.0/db_1/oui/lib/linux/liboraInstaller.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:387)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:122)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.initUnixPtrFileLoc(OiipgPropertyLoader.java:212)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.<clinit>(OiipgPropertyLoader.java:125)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(OiicStandardInventorySession.java:492)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:266)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
at oracle.sysman.assistants.util.InventoryUtil.getOUIInvSession(InventoryUtil.java:346)
at oracle.sysman.assistants.util.InventoryUtil.getHomeName(InventoryUtil.java:87)
at oracle.sysman.assistants.util.OracleHome.getInventoryHomeName(OracleHome.java:1023)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:798)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:257)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:184)
Exception in thread "main" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:405)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:122)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.initUnixPtrFileLoc(OiipgPropertyLoader.java:212)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.<clinit>(OiipgPropertyLoader.java:125)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(OiicStandardInventorySession.java:492)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:266)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
at oracle.sysman.assistants.util.InventoryUtil.getOUIInvSession(InventoryUtil.java:346)
at oracle.sysman.assistants.util.InventoryUtil.getHomeName(InventoryUtil.java:87)
at oracle.sysman.assistants.util.OracleHome.getInventoryHomeName(OracleHome.java:1023)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:798)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:257)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:184)
[oracle@localhost ~]$
I tried all possible ways with google help but still i am facing the same issue.Kindly check and suggest to solve the issue.
Thanks in advance.
Vijay.Hi all,
I give you the clear details about the issue what i am currently facing,
1. I installed the 11g (11.2.0) database alone(No EBS) in my local vmware machine.
2. Created my ORACLE_HOME under /u01/oracle/prod/tech_st/product/11.2.0/db_1 directory after that i tried to change my home location from /u01/oracle/prod/tech_st/product/11.2.0/db_1 location to /u01/oracle/db/tech_st/product/11.2.0/db_1 location, like created /u01/oracle/db directory and moved files from /u01/oracle/prod location.
3. I changed my bash_profile and exported home with the modified location also deregistered an old home and registered the new home.
4. When i am issuing echo $ORACLE_HOME it is showing the current home location and ORACLE_SID is same what i created before.
5. But when i am trying to create one more db using DBCA utility it is through the above error.
Please suggest me is it possible to change the location after db creation or any extra steps i have to do for this issue.
Thanks. -
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, - DaveYou 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. -
Hi all,
I had this error when i create OCI Connection Pool to Oracle Database. My Oracle version is 10g and i set LD_LIBRARY_PATH=$ORACLE_HOME/lib. My OS is Solaris Sparc 9 64bits, and the error show below
java.lang.UnsatisfiedLinkError: /s000/oracle/product/db10/lib/libocijdbc10.so: ld.so.1: java: fatal: /s000/oracle/product/db10/lib/libocijdbc10.so: wrong ELF class: ELFCLASS64
Please help me, thanksThis error typically means that you are trying to mix 32-bit and 64-bit binaries. You may need to use the Oracle 32-bit libraries which, I believe, are available in $ORACLE_HOME/lib32.
-
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
Maybe you are looking for
-
I have a G4 imac running Tiger. Since my son was born last December I have increased my iphoto library by about 4000 images. Subsequently I have only 1.5GB left on my hard drive. I have backed up approximately 6000 images onto 6 DVDs (2 copies of eac
-
HR Reports SALARY SURVEY SUBMISSION
Hi, i new to ABAP HR i need to write a program for the SALARY SURVEY SUBMISSION , can any one explain how to start my program and if possible can any one send me the related code for it , Please it is bit urgent. Thanks A LAxmi
-
A sample question related to FMS and NetStream.. hoping your answer
will i be able to send a video what i'am receiving form fms B to another fms A in a flash app?And how? i will be right here waiting for your answer. Thank you!!!
-
How to get the brightness and volume icon to show one the screen?
Whenever the volume and brightness buttons are pressed, the icons don't pop up on the screen to show the change. How can i get it to work again?
-
What are the differences between ZAV and Spoon?
It has been many years since I used or looked into Zenworks and I was quite pleased to see this product as I was investigating moving to VDI. This appears to be a nice step toward that. I am confused as to the differences between Novells product and