Problem with jdbc oci in oracle full installation

Hi,
My server has Oracle 10g R2 in full installation, and not run jdbc in oci,
my java command:
/usr/java/jre1.5.0_07/bin/java -Dlibrary.path=/oracle/product/10.2.0/db_1/lib -cp ... mypackage.myclass
and its says:
java.lang.UnsatisfiedLinkError: /oracle/product/10.2.0/db_1/lib/libocijdbc10.so: /oracle/product/10.2.0/db_1/lib/libocijdbc10.so: cannot open shared object file: No such file or directory
but this file [ libocijdbc10.so ] there is in the path... however the file [ libclnstsh.so.10.1 ] not...
what is the problem ?
thanks a lot

Hello!
I hope that it wasn't late but if you see the note 293667.1 you will find that is necessary set two environment variables LIBPATH and LD_LIBRARY_PATH
$export LIBPATH=$ORACLE_HOME/lib:$LIBPATH
$export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
Ramiro Ortiz

Similar Messages

  • Problem with JDBC driver for Oracle 10g

    Hi.
    I've successfully accessed a MySQL database via a DataSource from a servlet (that uses a DAO). However, when I try to do the same with an Oracle 10g Database, I get the error message:
    Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
    I'm using J2SE1.5.0/5.0 and ojdbc14.jar, the latter of which I downloaded this afternoon as the latest driver JAR available on the Oracle site. As with the MySQL driver, I've placed it in the commons\lib folder within Tomcat. (I've also, of course, made the necessary modifications to server.xml and web.xml.)
    Upon examining the ReadMe file at the top of the Oracle download page, I found that the oracle.jdbc.driver package is now deprecated and all references to oracle.jdbc.driver should be replaced with oracle.jdbc. However, I got a similar error message when I tried this modification. Upon examining the contents of ojdbc.jar, I found that the driver was there and that it was, in fact, still oracle\jdbc\driver\OracleDriver!
    It appears as though the Oracle site has not been updated with a driver that matches its latest documentation. However, this does not explain why the driver is not even being loacted when it is in the correct place. Can anybody shed any light on this? Any help would be much appreciated.
    Thanks in anticipation.
    Cheers.
    Jan

    I've successfully accessed a MySQL database via a
    DataSource from a servlet (that uses a DAO). However,
    when I try to do the same with an Oracle 10g
    Database, I get the error message:
    Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
    That's different from a ClassNotFoundException.
    >
    I'm using J2SE1.5.0/5.0 and ojdbc14.jar, the latter
    of which I downloaded this afternoon as the latest
    driver JAR available on the Oracle site. So you got ojdbc14.jar or ojdbc14_g.jar under the 10g drivers?
    As with the
    MySQL driver, I've placed it in the commons\lib
    folder within Tomcat. I think it's a better idea to put in the WEB-INF/lib directory of your Web app rather than commons/lib. WAR files are a very good idea, too.
    (I've also, of course, made the
    necessary modifications to server.xml and web.xml.)So you're using a JNDI data source? It sounds to me like that's where the problem is.
    You should not have to edit the server.xml at all. If you put the <ResourceParams> in a context XML file with the same name as your WAR file into the TOMCAT_HOME/webapps directory it'll be picked up automatically. (It might also be accessible in the META-INF directory for your app, but I haven't done it that way.)
    Upon examining the ReadMe file at the top of the
    Oracle download page, I found that the
    oracle.jdbc.driver package is now deprecated and all
    references to oracle.jdbc.driver should be replaced
    with oracle.jdbc.
    However, I got a similar error
    message when I tried this modification. Upon
    examining the contents of ojdbc.jar, I found that the
    driver was there and that it was, in fact, still
    oracle\jdbc\driver\OracleDriver! The fully-resolved class name you should be using MUST match the class that's in the ojdbc14.jar that you're using. Look in the JAR for the definitive answer: the one that I downloaded is still using the oracle.jdbc.driver package for OracleDriver.class. Ignore the docs - use the name that's in the JAR.
    It appears as though the Oracle site has not been
    updated with a driver that matches its latest
    documentation. That often happens with docs.
    However, this does not explain why the
    driver is not even being loacted when it is in the
    correct place. Can anybody shed any light on this?
    Any help would be much appreciated.I think the problem lies in your web.xml and server.xml
    I'd recommend that you decouple the JDBC from the Web app for now. See if you can connect to Oracle using a simple desktop app and leave the Web piece out of the equation for now. Once you can do that, you'll be certain that the parameters you're using are correct and you can turn your attention to getting the Tomcat configuration right.
    PS - I'm using Oracle 9.2.0.1 and Tomcat successfully right now, so it can be done.

  • Problems with exporting display for oracle apps installation

    Platform : RedHat Enterprise Server 4
    I'm trying to do a 2 tier installation of Oracle Applications.
    As part of the install, I need to generate a display that can be used by the applmgr user, but bellongs to another user.
    When running the following command line, I get an error message.
    xauth -f .Xauthority extract - $DISPLAY | rsh -l applmgr localhost /usr/X11R6/bin/xauth merge -
    connect to address 127.0.0.1: Connection refused
    Trying krb4 rsh...
    connect to address 127.0.0.1: Connection refused
    trying normal rsh (/usr/bin/rsh)
    localhost: Connection refused
    Does anyne have an idea? I've done some troubleshooting, but I can't figure out what is wrong.
    I have added the following in the xmgr and applmgr's profiles
    DISPLAY=localhost:13
    export DISPLAY
    The vnc server runs on display 13

    These are the scripts/files I'm using for installing Oracle Apps 11.5.10 on CentOS 4.2 (RedHat Clone) - hope it helps:
    install.sh - adds necessary packages
    yum install libaio
    yum install openmotif
    yum install gcc
    yum install gcc-c++
    mv /usr/bin/gcc /usr/bin/gcc344
    mv /usr/bin/g++ /usr/bin/g++344
    rpm -iUhv compat-gcc-7.3-2.96.126.i386.rpm
    rpm -iUhv --nodeps compat-gcc-c++-7.3-2.96.126.i386.rpm
    ln -sf /usr/bin/gcc296 /usr/bin/gcc
    ln -sf /usr/bin/g++296 /usr/bin/g++
    setup.env - Setup paths
    # Oracle Setup Environment
    ORACLE_SETUP_APPS=/setup/oracle/install/ebusiness/startCD
    ORACLE_SETUP_PATCH=/data/setup/install/db
    oracle.env - Installation environment
    # Oracle Environment
    ORACLE_BASE=/d01/oracle
    ORACLE_HOME=$ORACLE_BASE/visdb/9.2.0
    ORACLE_VAR=/var/opt/oracle
    ORACLE_SID=VIS
    ORACLE_TERM=xterm
    # export TNS_ADMIN= Set if sqlnet.ora, tnsnames.ora, etc. are not in $ORACLE_HOME/network/admin
    NLS_LANG=AMERICA_AMERICAN.UTF8
    #ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    export ORACLE_BASE ORACLE_HOME ORACLE_SID ORACLE_TERM NLS_LANG ORA_NLS33
    LD_ASSUME_KERNEL=2.4.19
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    export LD_ASSUME_KERNEL LD_LIBRARY_PATH
    # Set shell search paths
    export PATH=$PATH:/usr/sbin:/sbin:$ORACLE_HOME/bin
    oracle - Kernel Parameters
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    kernel.sem    = 250 32000 100 128
    fs.file-max   = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 262144
    net.core.rmem_max     = 262144
    net.core.wmem_default = 262144
    net.core.wmem_max     = 262144
    setup_oracle_1.sh - Installation Step 1 : Add oracle user
    #!/bin/sh
    PATH=$PATH:/usr/sbin
    groupadd dba          # group of users to be granted with SYSDBA system privilege
    groupadd oinstall     # group owner of Oracle files
    useradd -m -c "Oracle software owner" -g oinstall -G dba oracle -s /bin/bash
    passwd oracle
    setup_oracle_2.sh - Installation Step 2 : Prepare installation directory
    #!/bin/sh
    . ./oracle.env
    BASE_DIR=/`echo $ORACLE_BASE | cut -d'/' -f2`
    mkdir -p $ORACLE_BASE
    chown -R oracle:oinstall /$BASE_DIR
    chmod -R 775 $BASE_DIR
    mkdir -p $ORACLE_VAR
    chown oracle:dba $ORACLE_VAR
    chmod 755 $ORACLE_VAR
    setup_oracle_3_apps.sh - Installation Step 3 : Start installer
    #!/bin/sh
    . ./oracle.env
    . ./setup.env
    sysctl -p ./oracle
    su oracle -c "export DISPLAY=:0.0 && $ORACLE_SETUP_APPS/Disk1/rapidwiz/rapidwiz"There are some steps afterwards, but with this I'll usually end up with a complete installation.
    C.

  • Problems with JDBC Connection, invalid Oracle-URL

    H,
    i can't use a JBDC Connection. Maybee i tried a wrong oracle url syntac
    This Url jdbc:oracle:thin@bilent:1521:bilent throws an error
    java.sql.SQLException: invalid Oracle-URL
    The following parameter worked
    Driver :thin
    hostname:bilent
    JDBC Port:1521
    SID:bilent
    What is wrong in the oracle url?
    THANKS

    Hi,
    You are missing ":" after thin and host name. Your URL should be
    jdbc:oracle:thin:@bilent:1521:bilent-Arun

  • I have a problem with JDBC Realm in Tomcat/Oracle/Win XP

    I have a problem with JDBC Realm in Tomcat.
    I have attached my server.xml file located in the
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\server.xml
    The Problem is that when I login I get the user name and password prompt but it does not resolve.
    When I enter in the tomcat-users.xml password with memory realm uncommented it works fine.
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\tomcat-users.xml
    Is there a cache or something I need to reset for the JDBC Realm to work?
    I have attached my tables and contents as well...
    Did I miss something????
    Thanks
    Phil
    server.xml
    <Server port="8005" shutdown="SHUTDOWN">
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    </GlobalNamingResources>
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="8080" maxHttpHeaderSize="8192"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@localhost:1521:orcl"
    connectionName="testName" connectionPassword="testPass"
    userTable="users"
    userNameCol="user_name"
    userCredCol="user_pass"
    userRoleTable="user_roles"
    roleNameCol="role_name" />
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    </Host>
    </Engine>
    </Service>
    </Server>
    Tables
    create table users
    user_name varchar(15) not null primary key,
    user_pass varchar(15) not null
    create table roles
    role_name varchar(15) not null primary key
    create table user_roles
    user_name varchar(15) not null,
    role_name varchar(15) not null,
    primary key( user_name, role_name )
    select * from users;
    ----------------------+
    | user_name | user_pass |
    ----------------------+
    | tomcat | tomcat |
    | user1 | tomcat |
    | user2 | tomcat |
    | user3 | tomcat |
    ----------------------+
    select * from roles;
    | role_name |
    | tomcat |
    | role1 |
    select * from user_roles;
    -----------------------+
    | role_name | user_name |
    -----------------------+
    | tomcat | user1 |
    | role1 | user2 |
    | tomcat | tomcat |
    | role1 | tomcat |
    -----------------------+

    Jan 2, 2008 11:49:35 AM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Jan 2, 2008 11:49:35 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 734 ms
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
    Jan 2, 2008 11:49:35 AM org.apache.catalina.realm.JDBCRealm start
    SEVERE: Exception opening database connection
    java.sql.SQLException: oracle.jdbc.driver.OracleDriver
         at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:684)
         at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:758)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1004)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jan 2, 2008 11:49:36 AM org.apache.catalina.core.StandardContext resourcesStart

  • Installation problem with Siebel8.0 on Oracle Enterprise Linux 4 system

    We are having installation problem with Siebel8.0 on Oracle Enterprise Linux 4 system.
    Using interface, when installation come up to “Installing Wizard” window where Gateway Name Server Configuration window should take place, everything just freeze up
    Using console, after installation we obtain following errors:
    Installing Siebel Enterprise Server. Please wait...
    unable to launch: "ksh export
    LD_LIBRARY_PATH=/siebel/gtwysrvr/lib;PATH=${PATH}:.;/root/istemp8058094162222/_bundledJRE_/bin/java
    -Dtemp.dir=/root -cp /siebel/gtwysrvr/bin/setup.jar run -args LANG=ENU
    MODE=LIVE MODEL_FILE=/siebel/gtwysrvr/admin/enterprise_console.scm" error code:
    "236"(SBL-STJ-00152)
    LD_LIBRARY_PATH=/siebel/siebsrvr/lib;PATH=${PATH}:.;/root/istemp8058094162222/_bundledJRE_/bin/java
    -Dtemp.dir=/root -cp /siebel/siebsrvr/bin/setup.jar run -args LANG=ENU
    REPEAT=FALSE MODE=LIVE MODEL_FILE=/siebel/siebsrvr/admin/siebel_server.scm"
    error code: "236"(SBL-STJ-00152)
    LD_LIBRARY_PATH=/siebel/siebsrvr/mgmtagent/lib;PATH=${PATH}:.;/root/istemp8058094162222/_bundledJRE_/bin/java
    -Dtemp.dir=/root -cp /siebel/siebsrvr/mgmtagent/bin/setup.jar run -args
    LANG=ENU MODE=LIVE
    MODEL_FILE=/siebel/siebsrvr/mgmtagent/admin/mgmtagent_ses.scm" error code:
    "236"(SBL-STJ-00152)
    Running command :
    ./ssincfgw -is:javaconsole -console -args LANG=ENU MODE=LIVE MODEL_FILE=/siebel/gtwysrvr/admin/enterprise_console.scm
    Infinite loop of following error pops out:
    An error occurred during wizard bean change notification:
    java.lang.NoClassDefFoundError
    at ConfigInitialize.execute(ConfigInitialize.java:21)
    at com.installshield.wizard.StandardWizardListener.execute(StandardWizardListener.java:123)
    Is there any clue how this error can be solved??
    Thanks in advance!!
    Gordon
    Message was edited by:
    user605023

    I'm facing the same error message while install Siebel 8.0 on OEL. But before I had this ksh problem, it complains about disc space first, and I actually has plenty of disk space under the directory (it needs only 0.7 G and I have 17G free). Anybody has encountered such problem before?
    /net/sdcnas05/vol/engfs01/v_sia/8.0SIA[20405|http://forums.oracle.com/forums/]/Release/Linux/Server/Siebel_Enterprise_Server
    -bash-3.00$ ./setuplinux -is:javaconsole -console
    Initializing InstallShield Wizard........
    Initializing InstallShield Wizard........
    Launching InstallShield Wizard........
    0% 25% 50% 75% 100%
    Welcome to the InstallShield Wizard for Siebel Enterprise Server
    The InstallShield Wizard will install Siebel Enterprise Server on your
    computer.
    To continue, choose Next.
    Siebel Enterprise Server
    Siebel Systems
    Press 1 for Next, 3 to Cancel or 4 to Redisplay [1]
    Siebel Enterprise Server Install Location
    Please specify a directory or press Enter to accept the default directory.
    Directory Name: [siebel] /slot/ems1115/appmgr/20405
    Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
    Please select the products you wish to install.
    [ ] 1 - Gateway Name Server
    [ ] 2 - Siebel Server
    [ ] 3 - Database Configuration Utilities
    [ ] 4 - EAI Connectors
    To select an item enter its number, or 0 when you are finished: [0]: 1
    [X] 1 - Gateway Name Server
    [ ] 2 - Siebel Server
    [ ] 3 - Database Configuration Utilities
    [ ] 4 - EAI Connectors
    To select an item enter its number, or 0 when you are finished: [0]: 2
    [X] 1 - Gateway Name Server
    [X] 2 - Siebel Server
    [ ] 3 - Database Configuration Utilities
    [ ] 4 - EAI Connectors
    To select an item enter its number, or 0 when you are finished: [0]:
    Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
    Configuring uninstallers. Please wait...
    0% 25% 50% 75% 100%
    Choose the setup type that best suits your needs.
    [X] 1 - Typical
    [ ] 2 - Compact
    [ ] 3 - Custom
    To select an item enter its number, or 0 when you are finished: [0]
    Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
    Please select the languages you wish to install.
    [X] 1 - enu - English (American)
    [ ] 2 - fin - Finnish
    [ ] 3 - kor - Korean
    [ ] 4 - cht - Chinese (Traditional)
    [ ] 5 - ita - Italian (Standard)
    [ ] 6 - esn - Spanish (Modern)
    [ ] 7 - deu - German (Standard)
    [ ] 8 - chs - Chinese (Simplified)
    [ ] 9 - tha - Thai
    [ ] 10 - dan - Danish
    [ ] 11 - heb - Hebrew
    [ ] 12 - fra - French (Standard)
    [ ] 13 - nld - Dutch (Standard)
    [ ] 14 - ptb - Portuguese (Brazilian)
    [ ] 15 - csy - Czech
    [ ] 16 - jpn - Japanese
    [ ] 17 - ptg - Portuguese (Standard)
    [ ] 18 - ara - Arabic (Sa`udi)
    [ ] 19 - sve - Swedish
    To select an item enter its number, or 0 when you are finished: [0]
    Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]
    {color:#ff0000}*Drive "/slot/ems1115/appmgr/20405" does not have enough space to install the*
    selected configuration. Please free up "766446" KB on drive
    *"/slot/ems1115/appmgr/20405" before continuing.*{color}
    -bash-3.00$ pwd
    /slot/ems1115/appmgr/20405
    -bash-3.00$ df -h .
    Filesystem Size Used Avail Use% Mounted on
    sdc1002nap-vlan1:/vol/ems_39426_1115
    71G 55G 17G 77% /slot/ems1115

  • Problem with date format from Oracle DB

    Hi,
    I am facing a problem with date fields from Oracle DB sources. The date format of the field in DB table is 'Date base type is DATE and DDIC type is DATS'.
    I mapped the date fields to Date characters in BI. Now the data that comes to PSA is in weird format. It shows like -0.PR.09-A
    I have changing the field settings in DataSource  to internal and external and also i have tried mapping these date fields to text fields with out luck. All delivers the same format.
    I have also tried using conversion routines like, CONVERSION_EXIT_IDATE_INPUT to change format. It also delivers me the same old result.
    If anybody of you have any suggestions or if anybody have you experienced such probelms, Please share your experience with me.
    Thanks in advance.
    Regards
    Varada

    Thanks for all your reply. I can only the solutions creating view in database. I want some solution to be done in BI. I appreciate if some of you have idea in it.
    The issue again in detail
    I am facing an issue with date fields from oracle data. The data that is sent from Oracle is in the format is -0.AR.04-M. I am able to convert this date in BI with conversion routine in BI into format 04-MAR-0.
    The problem is,  I am getting data of length 10 (Output format) in the format -0.AR.04-M where the month is not in numericals. Since it is in text it is taking one character spacing more.
    I have tried in different ways to convert and increased the length in BI, the result is same. I am wondering if we can change the date format in database.
    I am in puzzle with the this date format. I have checked other Oracle DB connections data for date fields in BI, they get data in the format 20.081.031 which will allow to convert this in BI. Only from the system i am trying creating a problem.
    Regards
    Varada

  • Problem with Java 5 and Oracle 10g JDBC driver

    Hi All,
    Currently we upgrade our web application to Java 5 and Oracle 10.2 JDBC driver. And we encountered a bug, when the user entered the information through UI and data didn't store into database (Oracle 9i). The problem is that this bug is not happend so often maybe once a day and this did not happen before we upgraded to Java 5 and Oracle 10.2 JDBC driver. Does anyone encounter the same problem ? Is this Java 5 problem or Oracle JDBC driver problem ?
    Thanks,

    sounds like a database problem...
    Are you using a driver version that's supported for your database engine?
    What else did you change? We once ran into a major bug in our application that had for 5 years been masked by performance problems in our hardware and infrastructure.
    Once those were resolved the bug showed itself and caused tens of thousands of records to be erroneously inserted into our database every day.
    It's certainly NOT a problem with your JVM (if it's a decent one, like the Sun implementation).
    So it's either your database, your driver, your network (dropping packets???), or your application.
    The upgrade may just have exposed something that was already there.

  • Do_open() problem with JDBC oci8 driver

    I am using the JDBC-OCI driver for NT (jdbc817jdk12-nt.zip). I get a 'unresolved link error': do_open() exception stack trace when I connect to the Oracle 8i DB. I can connect successfully via SQLPlus to the same. I have Oracle 8.1.7 client installed on the system. I also have my PATH pointing to the ORACLE_HOME/bin directory where the ocijdbc8.dll is located.
    Prelimnary analysis shows that the driver's Java layer is not finding the method do_open() in the .dll via JNI.
    How do I resolve this?. Thanks.

    Hi Balakris;
    I am experiencing the same problem with OCI8. Since you posted your message over 2 weeks ago I am hoping you have solved the problem. If so could you add the solution to this topic?
    Thanks
    Vadim
    null

  • Problem creating JDBC dataview to oracle on Windows

    Hi,
    I'm trying to configure a JDBC dataview to an Oracle 10g database on DSEE 6.3.1 running Windows 2008
    Here are the command I used:
    dpconf create-jdbc-data-source -b MYDBSID -B jdbc:oracle:thin://dbhost:1510: \
         -J file://e:\dsee\ojdbc14.jar \
         -S oracle.jdbc.driver.OracleDriver mydb
    echo "password" > e:\dsee\instances\mydb.pwd
    dpconf set-jdbc-data-source-prop mydb db-user:myuser \
         db-pwd-file:e:\dsee\instances\mydb.pwd \
         is-enabled:true is-read-only:true \
    dpconf create-jdbc-data-source-pool mypool
    dpconf attach-jdbc-data-source mypool mydbAnd when trying to create the view with this command:
    dpconf create-jdbc-data-view myview mypool o=example.comHere is what I get:
    [LDAP: error code 1 - Unable to apply configuration changes:  Exception catched while initializing
    JDBC driver oracle.jdbc.driver.OracleDriver in configuration entry cn=mydb,cn=data sources,cn=config --
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver. Check that [Ljava.lang.String;@100
    bac2 is a valid URL to a jar file containing class oracle.jdbc.driver.OracleDriver]".
    {code}
    I guess that it doesn't find the jdbc driver for Oracle but the file is there in e:\dsee\ojdbc14.jar
    I tried to copy it to e:\dsee\dps6\lib but it doesn't work better.
    Any idea ?
    Frederic.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I found the solution by adapting the path to the jdbc jar file:
    dpconf set-jdbc-data-source-prop ehldb driver-url:file:///e:/dsee/ojdbc14.jarAdding a third slash after file: and using backslashes instead of slashes solved my problem.
    Frederic.

  • Problems with Drive Mapping using Oracle Drive

    It seems as though we are having some trouble with oracle drive. The install was a piece of cake, as was the configuration. The problem arises when at times we connect with the proper credentials, Oracle Drive logs the user in, but then the appropriate drive does not map. Nothing shows up under "My computer". The window will launch for the user to use Oracle Drive, but they get error messages including, "Cannot support long file names." (AKA, anything longer than 8 characters).
    Has anyone else come across these issues? Any ideas how to resolve. The issues we get with the long file names seem to only be when the drive doesn't properly map.
    Any thoughts would be helpful.
    Also, I have heard rumors of a Production version of Oracle Drive. Anyone have some news on that?

    We are very pleased to announce the Production Release 10.1.2.0 of Oracle Drive.
    You can download the software from here:
    http://www.oracle.com/technology/software/products/cs/index.html
    Note:
    - This version is production for English only. Other languages are Beta.
    - Oracle Drive 10.1.2.1 for ALL languages is expected soon.
    Find more information on Installation and Configuration as well as a Viewlet that shows Oracle Drive in Action here:
    http://www.oracle.com/technology/products/ias/portal/content_management_10gr2.html
    regards,
    Christian

  • Problem with JDBC

    Hi, sorry but in other forum nobody answer my question.
    the probles is using JDBC 2.0, my cod is:
    Statement c = conn.createStatement();
    Statement =conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
    ResultSet rest = n.executeQuery("select * from t_prueba");
    rest.last();
    rest.updateBlob("C", null);
    rest.updateRow();
    rest.close();c.close();conn.close();
    at time to execute this code, i have this error:
    java.sql.SQLException: Operaci�n no v�lida para el juego de resultados de s�lo lectura: updateBlob
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:161)
    at oracle.jdbc.driver.BaseResultSet.updateBlob(BaseResultSet.java:482)
    at oracle.jdbc.driver.OracleResultSet.updateBlob(OracleResultSet.java:1230)
    at mypackage3.Conversor.leerImagenBase64(Conversor.java:51)
    at mypackage3.Conversor.main(Conversor.java:77)
    why is this problem if i using ResultSet.CONCUR_UPDATABLE in my statement.
    i 'm using jdeveloper 10.1.2 whith j2se 1.4.2_04
    please anyone can help me please
    tanks
    alex

    There are numerous problems with what you posted.
    1) Do you mean to use updateNull and not what you are doing?
    2) As mentioned why would you not do this in an UPDATE query? Even if you get this to work arbitrary moving around in a result set that you don't even need along with bad practices like SELECT * is just bad all around.
    3) Further as mentioned what you are trying to do is not supported (obviously) by your driver/database etc. Just because you ASK for a scrollable updatable cursor does not mean that you get one. You ask for one but obviously that error message says that the cursor is read only. For the benefits of others it says (more or less) "invalid operation on read only result set : updateBlob"
    Possibly you will have to use a forward only cursor to make it updateable... I don't know consult the Oracle docs. Or better yet don't do it this way.

  • SUNWsprox package with solaris 10 for Oracle 10g Installation....

    Hi
    I am in problem with a Solaris 10 package "SUNWsprox - Sun workshop Bundled 64-bit make library" for Oracle 10g Installation. I checked the CDs (In the /.../products) but did't found this packege. Can any one tell me please can I go without this package or where I found this package...Please Its very URGENT for me....
    Thanks
    Mohammed Tanvir

    Hi...
    I had the same issue, but found out that the SUNWsprox was replaced by SUNWsprot. The OUI 10.1 Release 2 will 'pass' as the doco in the Oracle quick install guide is wrong (as well as 10g Application Server).
    The only way to lay a 10g Release database on Solaris 10 is to lay the software doen only, then cd in the .../bin directory, step your Rdbms ORACLE_HOME, ORACLE_SID, LD_LIBRARY_PATH and of course the DISPLAY (is X-windowing into the server), and run dbca manually. Oracle 10g is a bit buggy.
    Roger

  • Problem with connectionPool configuration to Oracle

    Hi
    I am facing some problems with configuration of connectionPool with oracle.I am using J2EE app server 8.1.While configuring I am giving following details:
    Datasource Classname: oracle.jdbc.pool.OracleConnectionPoolDataSource
    Resource type: javax.sql.ConnectionPoolDataSource
    PoolSettings,Connection Validation and Transaction Isolations settings are default.
    In Prperties
    DataSourceName OracleConnectionPoolDataSource
    ImplicitCachingEnabled false
    NetworkProtocol tcp
    FastConnectionFailoverEnabled false
    LoginTimeout 0
    Password xxx
    URL jdbc:oracle:thin:@localhost:1521:orcl (orcl is database name)
    ConnectionCachingEnabled false
    User SYSTEM
    ExplicitCachingEnabled false
    PortNumber 0
    MaxStatements 0
    ojdbc14.jar is placed in Appserver/lib directory and absolute path of this jar is added in classpath suffix in AppServer setting.
    But when I ping the connection thru Appserver only , Iget following error
    "Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Access denied to execute this method : setConnectionCachingEnabled"
    I dont understand what is the problem.
    Please help me out....
    Thanks a lot in advance

    I got it,
    Remove everything else from the settings except url,user and password.Save and restart Appserver.Now it will work....

  • Problem with OID when Installing Oracle Application server

    Hi Gurus,
    When we are trying to install the IAS10R2P2 on a linux box choosing the application server Infrastructure option, the installation part completed with out any problem after running the root.sh file OUI started configuring all the installed components when it is configuring OID it throwed follwing exceptions. Please suggest us a solution to solve this we even tryes reinstalling but facing the same problem.
    Wed Sep 06 16:53:16 IST 2006 OID CA started.
    oracle.ldap.oidinstall.backend.OIDCAException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.ldap.oidinstall.backend.OIDConfigWrapper.configOID(OIDConfigWrapper.java:247)
         at oracle.ldap.oidinstall.OIDCA.doSilent(OIDCA.java:507)
         at oracle.ldap.oidinstall.OIDCA.run(OIDCA.java:818)
         at oracle.ldap.oidinstall.OIDCA.main(OIDCA.java:957)
    Wed Sep 06 16:53:34 IST 2006 OID CA started.
    oracle.ldap.oidinstall.backend.OIDCAException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.ldap.oidinstall.backend.OIDConfigWrapper.configOID(OIDConfigWrapper.java:247)
         at oracle.ldap.oidinstall.OIDCA.doSilent(OIDCA.java:507)
         at oracle.ldap.oidinstall.OIDCA.run(OIDCA.java:818)
         at oracle.ldap.oidinstall.OIDCA.main(OIDCA.java:957)
    Wed Sep 06 16:53:43 IST 2006 OID CA started.
    oracle.ldap.oidinstall.backend.OIDCAException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.ldap.oidinstall.backend.OIDConfigWrapper.configOID(OIDConfigWrapper.java:247)
         at oracle.ldap.oidinstall.OIDCA.doSilent(OIDCA.java:507)
         at oracle.ldap.oidinstall.OIDCA.run(OIDCA.java:818)
         at oracle.ldap.oidinstall.OIDCA.main(OIDCA.java:957)
    Wed Sep 06 16:55:46 IST 2006 OID CA started.
    oracle.ldap.oidinstall.backend.OIDCAException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.ldap.oidinstall.backend.OIDConfigWrapper.configOID(OIDConfigWrapper.java:247)
         at oracle.ldap.oidinstall.OIDCA.doSilent(OIDCA.java:507)
         at oracle.ldap.oidinstall.OIDCA.run(OIDCA.java:818)
         at oracle.ldap.oidinstall.OIDCA.main(OIDCA.java:957)
    Wed Sep 06 17:07:58 IST 2006 OID CA started.
    oracle.ldap.oidinstall.backend.OIDCAException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.ldap.oidinstall.backend.OIDConfigWrapper.configOID(OIDConfigWrapper.java:247)
         at oracle.ldap.oidinstall.OIDCA.doSilent(OIDCA.java:507)
         at oracle.ldap.oidinstall.OIDCA.run(OIDCA.java:818)
         at oracle.ldap.oidinstall.OIDCA.main(OIDCA.java:957)
    Wed Sep 06 17:08:09 IST 2006 OID CA started.
    oracle.ldap.oidinstall.backend.OIDCAException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.ldap.oidinstall.backend.OIDConfigWrapper.configOID(OIDConfigWrapper.java:247)
         at oracle.ldap.oidinstall.OIDCA.doSilent(OIDCA.java:507)
         at oracle.ldap.oidinstall.OIDCA.run(OIDCA.java:818)
         at oracle.ldap.oidinstall.OIDCA.main(OIDCA.java:957)
    Ashok CHava

    Hi,
    This is a 10.1.2 IM (Identity Management) installation performed against a 9.0.4 MR (Metadata Repository) created with RepCA. 10.1.2 IM install against 9.0.4 MR is not supported.This error is seen when installing 10.1.2 IM against 9.0.4 MR .
    Solution
    1) Install a 10.1.2 MR with repCA or with the 10.1.2 AS installer
    2) Install 10.1.2 IM against the 10.1.2 MR
    Rgds,
    S.Jai
    Shanthi Gears (LTD)

Maybe you are looking for