Current Position:Home > Oc4j 9.0.2.0.0 and  8.1.7 client

Oc4j 9.0.2.0.0 and  8.1.7 client

Update:10-11Source: network consolidation
Advertisement
I need to use the latest production version of oc4j -> 9.0.2.0.0. My client needs use to be able to use the oci drivers with the 8.1.7 client install. Is it possible to use 9.0.2.0.0 with the 8.1.7 client install?
I can use the thin driver no problem, but the application requires the speed and extras that oci proviceds, especially with blob handling.
I can use the oci drivers on a machine with the 9i client installed, no problem.
But when I use it on a machine with the 8.1.7 client installed, I get (of course) and unsatisfied link error - it can't find ocijdbc9.
error:
java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
     at java.lang.Runtime.loadLibrary0(Runtime.java:749)
     at java.lang.System.loadLibrary(System.java:820)
     at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:294)
     at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:287)
     at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
     at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321)
     at java.sql.DriverManager.getConnection(DriverManager.java:517)
     at java.sql.DriverManager.getConnection(DriverManager.java:177)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].sql.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:219)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].sql.DriverManagerConnectionPoolDataSource.getPooledConnection(DriverManagerConnectionPoolDataSource.java:24)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].sql.OrionPooledDataSource.getPooledConnection(OrionPooledDataSource.java:290)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].sql.PooledConnectionUsage.getPooledConnection(PooledConnectionUsage.java:21)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].sql.OrionPooledDataSource.getConnection(OrionPooledDataSource.java:162)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].sql.DriverManagerXADataSource.getAutoCommitConnection(DriverManagerXADataSource.java:248)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].sql.LogicalDriverManagerXAConnection.intercept(LogicalDriverManagerXAConnection.java:113)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].sql.FilterConnection.prepareStatement(FilterConnection.java:240)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].sql.FilterConnection.prepareStatement(FilterConnection.java:241)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].sql.OrclCMTConnection.prepareStatement(OrclCMTConnection.java:774)
     at gc.hc.pphb.webtos.util.WebtosUserManager.userExists(WebtosUserManager.java:152)
     at gc.hc.pphb.webtos.util.SimpleUserManager.getUser(SimpleUserManager.java:34)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest.getUserPrincipalInternal(EvermindHttpServletRequest.java:3117)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpApplication.authenticate(HttpApplication.java:5470)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2299)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:585)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
If I down load the 9i jdbc drivers and install them, I get a jvm message stating that a dependant library - oracore9.dll - is missing. I've tried changing my Oracle_home variable, adding the /lib directory to the class and replacing the \jdbc\classes12dms.jar with a remnamed version of classes12.zip (so I have an older version of OCIDBAccess.java that doesn't call the 9i jdbc libraries) but to no avail. The must be a way to get 9.0.2.0.0 to look for the correct version of the oci driver....
Any help would be greatly appreciated...
Mike

The Best Answer

Advertisement
Mike,
The Oracle9iAS R2 Client CD on Windows is available. Please download the client software from http://otn.oracle.com/software/products/ias/htdocs/solsoft.html#client and this should have new version of OCI drivers. Please install this on a separate Oracle home and include this in your $ORACLE_HOME/bin in your path and then start OC4J and you should be in good shape.
regards
Debu
  • OC4J: marshalling does not recreate the same data structure onthe client Update:10-11

    Hi guys, I am trying to use OC4J as an EJB container and have come across the following problem, which looks like a bug. I have a value object method that returns an instance of ArrayList with references to other value objects of the same class. The

  • Oc4j 9.0.2.0.0 and  8.1.7 client Update:10-11

    I need to use the latest production version of oc4j -> 9.0.2.0.0. My client needs use to be able to use the oci drivers with the 8.1.7 client install. Is it possible to use 9.0.2.0.0 with the 8.1.7 client install? I can use the thin driver no problem

  • Packaging oc4j StandAlone ejb 3 client Update:10-11

    Am doing a ejb 3.0 test project with a standalone oc4j instance. I have no problem running a test client from within jDev, but I don't know how to tell the .deploy file to include either the required oc4j client jars or have the manifest include them

  • OC4J startup failed on AMD64 Fedora Core 5 Update:10-11

    The installation guide for JDeveloper10131 says: "Note: <jdev_home>/j2ee/home/application-deployments is not available until you run java -jar oc4j.jar -install" Running "java -jar <jdev_home>/j2ee/home/oc4j.jar -install" r

  • Problems deploying PL/SQL Web Service example to standalone OC4J Update:11-30

    I have built the PL/SQL Web Service example EMP_FETCHER in the tutorials that come with JDeveloper. When run with the embedded OC4J container, the web service works ok using the autogenerated client. However, while I can then successfully deploy the

  • OC4J restarting (10G 10.1.2.0.0) Update:11-30

    We are having quite frequently restarts of on of our OC4J instances. From the log files: server.log 05/05/25 17:44:06 10.1.2.0.0 Started 05/05/25 17:44:07 Forced or abrupt (crash etc) server shutdown detected, starting recovery process... 05/05/25 17

  • OC4J Configuration - javax.naming.NameNotFoundException Update:11-30

    Here is a description of the problem we are having: The Problem      We have a remote client that wishes to invoke services that we are going to provide. These services will be accessible via a JNDI lookup from the client's JVM. The client, is operat

  • OC4J as a service getting stopped Update:11-30

    Hi, We made OC4J as a service but the service is getting stopped for every 2 days. Where can I check the log for this... What are the changes I need to make to keep it running continously.. ThanksHi I used the following command to make it as a servic

  • Migrate the EJBs from JVM to OC4J...? Update:11-30

    We are plan to migrate the EJBs modules from Oracle8i JServer to OC4J. From now we have developed the EJBs by using JDeveloper as the following conditions; - JVM: Oracle8i JServer (8.1.6.3.0) - EJBs: Session Beans only - IDE tool: JDeveloper 3.2 And

  • Deploying using ant to oc4j 10.0.3 Update:11-30

    We previously deployed our application using ant to OC4J 902. Now we try to deploy to OC4J 10.0.3 but it seems that com.evermind.client.orion.OrionConsoleAdmin doesn't exist anymore. Could someone plz tell me by what it is replaced ? I found com.ever