Upgrade 10G to use 10G thin jdbc drivers- OCI

This is wierd...
If I upgrade 10G app server to use the 10G thin JDBC drivers, and set up a data source to use the thin drivers, is there any way that I could score a[b] ORA-01010 invalid OCI operation error when I'm not using an OCI driver?
Anyone else seen this...again, it makes no sense...

You can not and should not use JDK 1.2 with 8i drivers.
If you want to use JDK 1.2 drivers, download the 8.1.6 SDK
from external site.
Please, please, please READ the FAQ at www.oracle.com/java/jdbc
before posting
Premal Mehta (guest) wrote:
: Hi,
: Sorry for multiple posting. Previous posting has incomplete
: information. Here's the whole scenerio...
: I have Oracle 8i installed on my server. I have downloaded
: JDBC drivers for Oracle 8i from Oracle site. When I try to run
a
: sample example from the demo files given, I get a Windows
: internal Error "Exception: Access Violation (0xc0000005),
: Address: 0x6ee0fb83". I am using Oracle 8i on Win NT 4.0 with
: SP4, IIS4.0 with 128 MB RAM.
: Also, I am trying to use OCI8 JDBC drivers with JDK 1.2. The
: classpath is set for classes111.zip files.
: I am unable to run applets with JDBC also. On using thin
: drivers, it gives "SO Exception" error.
: I have tried many options but it dosent seem to work.
Please
: help as this is very urgent.
Oracle Technology Network
http://technet.oracle.com
null

Similar Messages

  • Use of Macromedia JDBC Drivers is restricted

    We are building a new CF9 server. We installed the developer version and things appeared to work OK. When we set our single-server license (single server, not Enterprise) we get this message when trying some of our queries against a SQL Server database (did not try against Oracle, we only use SQL Server for this application).
    Error Executing Database Query.
    Use of Macromedia JDBC Drivers is restricted. Drivers can only be used with Macromedia server products. Please check that your license supports the requested driver.
    One of the other threads here indicates that JDBC drivers are only enabled for the Enterprise version. Another thread however seems to indicate that we would need to reinstall and make sure that the correct drivers were selected during the install process. This part *did* work during the developer period (which I believe enables all Enterprise features).
    Can standard version support JDBC? If not, can we use something else than JDBC? We don't want Enterprise.

    First, yes, CF Standard supports JDBC. All CF database connections, regardless of version or license, use JDBC. The difference between Standard and Enterprise with regard to JDBC drivers is limited to the bundled Oracle driver included with Enterprise, Developer and Trial - this is not available for Standard.
    Second, there's no relevant option for which JDBC drivers you get during the install process, regardless of version. There is an option for the JDBC-ODBC bridge, SequeLink, but that's not relevant to this.
    Now, to fix your problem. First, make absolutely sure you're not using the Oracle driver! I know you said you're not, but better safe than sorry.
    After that, the easiest approach would probably be to just completely uninstall CF and reinstall it with the correct license - at least, that would be the quickest without doing additional digging. However, I'm sure with a bit of tinkering you can fix your problem without uninstalling - I'm just not sure on the direction and amount of time that tinkering would take.
    Alternatively, you could open a support ticket with Adobe, although honestly it would probably take you less time to just uninstall and reinstall CF.
    Dave Watts, CTO, Fig Leaf Software

  • IRIX and Oracle 7 Thin JDBC drivers

    I have a question I think I have the answer for, but I am just
    verifying it. The Oracel 7 Thin JBDC drivers will work on any
    platfrom including IRIx right? The reason I ask is the site has
    a download for Solaris and NT and I am not sure what the
    difference is. Anyway, if someone knows for sure it would be a
    great help to know.
    Thanks,
    Jesse
    null

    Which version of Oracle's JDBC driver are you using? Have you tried using the 8.1.6 version of our JDBC driver?
    Please also take a look at the FAQ:
    http://technet.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#_11_
    null

  • Thin JDBC Drivers Insert Strings Incorrectly

    Can anyone confirm or deny this.
    I've downloaded the latest Oracle 8i JDBC drivers. If I create a table:
    CREATE TABLE Moo (stringCol VARCHAR(10) NOT NULL);
    and I try to insert an empty String into Moo.stringCol, the JDBC drivers try to insert Null instead! Yet if I try and insert a String of one character in length, it inserts it correctly.
    Clearly it would seem the JDBC drivers are at fault.
    Anyone come across this?

    No, the drivers are performing correctly. In Oracle, an empty string in a varchar or varchar2 column is considered NULL. Regardless of what protocol or language you use to access the database, this will hold true.
    Justin

  • Fees related to Thin JDBC drivers

    We have Oracle8. Are the JDBC drivers included. If not, how much will we have to pay to get these drivers.
    If they are freely available for download, I would like to have the URL.
    Thanks

    JDBC Drivers should come with the Oracle database (all versions - from Personal Oracle to the Enterprise Edition).
    From the OTN Downloads area (Select a Utility or Driver => Oracle JDBC Driver) several different versions of the JDBC driver (and of the SQLJ translator) are freely downloadable.
    You will get the JDBC thin drivers (all Java platforms) and the OCI drivers for Solaris and NT. Other platform-specific OCI drivers (if any) should come as part of the Oracle database distribution.

  • Using third party jdbc drivers in Portal server

    I have an application that runs inside the WebLogic Portal server. The portal server
    is configured to work with Oracle using the default oracle driver that comes with
    weblogic.
    My application, however, also needs to connect to a database. I am using the oracle-oci
    driver ( type 2 - provided by oracle) in my application.
    However, intermittantly i am getting an exception as follows:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6044c4bc
    Function name=kpufhndl
    Library=D:\oracle\ora817\bin\OraClient8.Dll
    Current Java thread:
         at weblogic.db.oci.OciLob.native_finalize(Native Method)
         at weblogic.db.oci.OciLob.finalize(OciLob.java:654)
         at weblogic.db.oci.OciLob.closeLob(OciLob.java:589)
         at weblogic.jdbc.oci.Clob.close(Clob.java:176)
         at weblogic.jdbc.oci.Clob.closeLob(Clob.java:169)
         at weblogic.jdbc.oci.Connection.closeLob(Connection.java:582)
         at weblogic.jdbc.oci.Statement.close(Statement.java:393)
         at weblogic.jdbc.common.internal.ConnectionEnv.test(ConnectionEnv.java:923)
         at weblogic.common.internal.ResourceAllocator.trigger(ResourceAllocator.java:1114)
         at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:238)
         at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:229)
         at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:65)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    This is not happening always.
    Another related question is can the portal server use my driver instead of its
    own. If somebody from BEA is listening in, will BEA support such an installation?
    Any ideas are welcome.

    Hi,
    Unfortunately there was a regression bug around using the Generic JDBC connector to a Foreign Database in this Technology Preview (3). I'm not able to give you good news as I don't have a workaround for you either.
    You could use SQLDeveloper to connect to the database for live work, unfortunately that will not help if you wanted to create offline objects of some sort using JDeveloper.
    regards
    Susan
    http://www.susanduncan.blogspot.com

  • How to use third party jdbc drivers ?

    Hi,
    Im new to sun one app server.i have some existing CMP
    bean (currently testing under J2EE RI).database used is
    SQL server 2000 and using a 3 rd party JDBC Driver.
    my question is. if i switch to sun one app server, do i need
    anyother third party stuff to support CMP using SQL
    Server? (other than the exisiting jdbc driver andSQL Server).
    I read somewhere that in sun one we need to get a
    persistance manger from the 3 rd part. is it necessary?
    can i use my plain jdbc driver with the builtin persistance
    manager of sun one app server?. how can i do that ?
    thanks in advance
    -mr ex

    Hi,
    Persistence manager from 3rd party is not required.You
    can use the built in persistence manager of Sun one application server.
    You can refer the following link for creating new persistence manager
    http://docs.sun.com/source/816-7156-10/agj2eres.html#47595
    Get back in case of issues

  • BLOB insertion in Oracle 10g database using ojdbc14 (10g drivers)

    Hello!
    I have a situation where I am trying to insert a blob data into oracle 10g database using oracle thin
    10g drivers, <b>ojdbc14.jar</b> in <b>weblogic 8.1 sp2</b>. I have the following error happening very intermittently.
    <u><b>java.sql.SQLException: OALL8 is in an inconsistent state.</b></u>
    And this is leading to the <u><b>"No more data to read from socket"</b></u> error when I am trying to
    insert the BLOB into the database. I have gone through the bug list of SP2 and have realised there is the
    following issue fixed in SP3.
    <b>CR124933</b>
    <b>An Oracle BLOB sometimes used a pooled connection after the connection pool determined that
    the connection was available for reassignment.
    Code was added to ensure the BLOB is completely processed before closing the pool connection or
    ending the transaction.</b>
    I believe the problem arises when we try to insert BLOB into database using a refreshed connection
    from the pool.We have upgraded weblogic 8.1 from SP2 to SP4 service pack inorder to come over the above problem.
    But this still continues to behave intermittently.
    We put ojdbc14.jar in our classpath and Weblogic startup classpath looks like the following :-
    WLS_CLASSPATH=${WLS_DOMAIN_DIR}/appslib/server.jar:$PRE_CLASSPATH:${WLS_WEBLOGIC_HOME}/server/lib/weblogic.jar:
    ${WLS_WEBLOGIC_HOME}/server/lib/ojdbc14.jar:${WLS_WEBLOGIC_HOME}/server/lib:${WLS_JAVA_HOME}/lib/tools.jar:
    ${WLS_JAVA_HOME}/jre/lib/rt.jar:${WLS_WEBLOGIC_HOME}/server/lib/webservices.jar:${WLS_CONFIG_DIR}:
    ${WLS_CUSTLIB_DIR}:${WLS_BIN_DIR}:$POST_CLASSPATH
    export WLS_CLASSPATH
    CLASSPATH=${WLS_CLASSPATH}:${APP_CLASSPATH}
    export CLASSPATH
    After upgrade to SP4, there are new ojdbc14_g.jar(debug jar) and orai18n.jar jars in the ${WLS_WEBLOGIC_HOME}/server/ext/jdbc/oracle/10g directory added.
    Please let me know if I need to update classpath with the new 10g jars in the ext/lib directory or any suggestions
    to insert BLOB using the ojdbc14 10G drivers, Weblogic 8.1 environment would be appreciated.
    Following is the stack trace of the errors that I recieve:
    <Oct 6, 2005 1:29:36 PM EDT> <Error> <JDBC> <BEA-001112> <Test "select count(*) from DUAL" set up for pool
    "MHUBPoolStage" failed with exception: "java.sql.SQLException: OALL8 is in an inconsistent state".>
    <Oct 6, 2005 1:29:36 PM EDT> <Info> <JDBC> <BEA-001128> <Connection for pool "MHUBPoolStage" closed.>
    <Oct 6, 2005 1:29:36 PM EDT> <Info> <JDBC> <BEA-001067> <Connection for pool "MHUBPoolStage" refreshed.>
    <Oct 6, 2005 1:29:36 PM EDT> <Info> <EJB> <BEA-010051>
    java.rmi.RemoteException: TransactionRequestManager.requestTransaction():
    Caught PersistnceException com.mortgagehub.busobj.PersistenceException: -5258: No more data to read from socket
    Please let me know if there is anything that I am missing.
    Thanks
    Pradeep G

    pradeep g wrote:
    Hello!
    I have a situation where I am trying to insert a blob data into oracle 10g database using oracle thin
    10g drivers, <b>ojdbc14.jar</b> in <b>weblogic 8.1 sp2</b>. I have the following error happening very intermittently.
    > <u><b>java.sql.SQLException: OALL8 is in an inconsistent state.</b></u>
    And this is leading to the <u><b>"No more data to read from socket"</b></u> error when I am trying to
    insert the BLOB into the database. I have gone through the bug list of SP2 and have realised there is the
    following issue fixed in SP3.
    > <b>CR124933</b>
    <b>An Oracle BLOB sometimes used a pooled connection after the connection pool determined that
    the connection was available for reassignment.
    Code was added to ensure the BLOB is completely processed before closing the pool connection or
    ending the transaction.</b>
    > I believe the problem arises when we try to insert BLOB into database using a refreshed connection
    from the pool.We have upgraded weblogic 8.1 from SP2 to SP4 service pack inorder to come over the above problem.
    But this still continues to behave intermittently.
    We put ojdbc14.jar in our classpath and Weblogic startup classpath looks like the following :-
    > WLS_CLASSPATH=${WLS_DOMAIN_DIR}/appslib/server.jar:$PRE_CLASSPATH:${WLS_WEBLOGIC_HOME}/server/lib/weblogic.jar:
    ${WLS_WEBLOGIC_HOME}/server/lib/ojdbc14.jar:${WLS_WEBLOGIC_HOME}/server/lib:${WLS_JAVA_HOME}/lib/tools.jar:
    ${WLS_JAVA_HOME}/jre/lib/rt.jar:${WLS_WEBLOGIC_HOME}/server/lib/webservices.jar:${WLS_CONFIG_DIR}:
    ${WLS_CUSTLIB_DIR}:${WLS_BIN_DIR}:$POST_CLASSPATH
    export WLS_CLASSPATH
    CLASSPATH=${WLS_CLASSPATH}:${APP_CLASSPATH}
    export CLASSPATH
    > After upgrade to SP4, there are new ojdbc14_g.jar(debug jar) and orai18n.jar jars in the ${WLS_WEBLOGIC_HOME}/server/ext/jdbc/oracle/10g directory added.
    > Please let me know if I need to update classpath with the new 10g jars in the ext/lib directory or any suggestions
    to insert BLOB using the ojdbc14 10G drivers, Weblogic 8.1 environment would be appreciated.
    > Following is the stack trace of the errors that I recieve:
    > <Oct 6, 2005 1:29:36 PM EDT> <Error> <JDBC> <BEA-001112> <Test "select count(*) from DUAL" set up for pool
    "MHUBPoolStage" failed with exception: "java.sql.SQLException: OALL8 is in an inconsistent state".>
    <Oct 6, 2005 1:29:36 PM EDT> <Info> <JDBC> <BEA-001128> <Connection for pool "MHUBPoolStage" closed.>
    <Oct 6, 2005 1:29:36 PM EDT> <Info> <JDBC> <BEA-001067> <Connection for pool "MHUBPoolStage" refreshed.>
    <Oct 6, 2005 1:29:36 PM EDT> <Info> <EJB> <BEA-010051>
    java.rmi.RemoteException: TransactionRequestManager.requestTransaction():
    Caught PersistnceException com.mortgagehub.busobj.PersistenceException: -5258: No more data to read from socket
    Please let me know if there is anything that I am missing.
    > Thanks
    > Pradeep GHi. This is something we'd like to diagnose. How is your application
    getting using and closing pool connections? The initial symptom
    seems to be an internal oracle problem... Are you using standard
    JDBC or oracle-specific calls?
    Joe

  • CFMX8 - Enterprise OR Standard to use DataDirect JDBC drivers?

    Simple question here, I hope? I am migrating an application
    to CFMX8. This app connects to Informix. The best performance I've
    seen so far to do so is using DataDirect's JDBC driver. What I know
    is that DataDirect created a JDBC driver that ships with CFMX. What
    I don't know is why it
    seems CF somehow restricts access to that driver to
    Enterprise edition?!? Below are steps I have done.
    Using tech note
    shown
    here I did install the updated Macromedia drivers and created a
    DSN to the Informix database, but upon trying to save the DSN
    details, an error appeared stating:
    quote:
    java.sql.SQLException: Use of Macromedia JDBC Drivers is
    restricted. Drivers can only be used with Macromedia server
    products. Please check that your license supports the requested
    driver.
    This is pretty vague! Can anyone confirm that this is ONLY a
    Standard Ed. vs. Enterprise Ed. issue? Or is something else the
    matter?

    The Macromedia drivers are not available in standard edition
    of ColdFusion. They are availbale in enterprise and developer
    edition of ColdFusion.

  • Support for Generated Keys in oracke jdbc drivers?

    Hi All,
    Anyone know when the Oracle Thin JDBC drivers are going to support generated keys?
    Regards,
    Lee

    Sure Justin,
    I should have made myself more clear. Sorry about that.
    I have a sequence for generating primary keys in a particular table, and a trigger to replace a null in my insert query with the nextval. That all works fine. I would like to use the DB-neutral means of getting a generated primary key...
    prepStmt = connection.prepareStatement(insertSQL, Statement.RETURN_GENERATED_KEYS);
    prepStmt.executeUpdate();
    ... and later ...
    ResultSet generatedKeyRS = prepStmt.getGeneratedKeys();
    ... etc.
    I am aware that I can get this information several other Oracle9i-specific ways, including using the sequence's .currval and creating a callable statement that returns the primary key column. However I would still like to use the nice, neat, vendor-neutral JDBCv3 way. Call me pedantic.
    Regards,
    Lee

  • JDBC DRIVERS FOR LINUX (8.1.6)

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    Where can a person download the JDBC Drivers (CLASSES12.ZIP ORA)
    for Linux? I see information on Solaris and NT but not Linux.
    - Server name
    - Filename
    - Date/Time
    - Browser + Version
    - O/S + Version
    - Error Msg
    Connie

    if you have oracle 8i server you will find the classes12.zip(thin jdbc drivers )in the [ORAHOME]/jdbc/lib directory. You have to added the zip to the classpath in the jserv.properties file eg. wrapper.classpath=D:\oracle\ora81\jdbc\lib\classes12.zip(if you orahome is D:\oracle\ora81.)
    otherwise for just using the java classes for compiling and running in the consile you have to set the classpath of classes12.zip in your system environment.
    Thanks.

  • Thick vs. Thin JDBC Driver

    Hi!
    I was just wondering where to find some info about
    the advantages / disadvantages of the Thick and Thin JDBC drivers, please, and some bachground about those drivers (what is the differnence etc).
    In particular I would like to know whether Thick drivers are errorprone and mix up the contents of threads. Is this so according to your experience?
    I would also like to know which one is the recommended driver to use if speed is an issue...
    We use Oracle 8.1.7.4.0 and Websphere Application Server 4.04
    Thanks a lot!
    Cheers,
    Steffen

    Hi Steffen,
    Check these links. I hope they provide you the information required.
    http://st-doc.us.oracle.com/9.0/9202/java.920/a96654/overvw.htm#1000908
    http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/factsht.htm
    Regards,
    Anupama

  • Can't download JDBC Drivers

    I've been unable to download Oracle's latest thin jdbc drivers for the past several days. Is anyone else having this problem???

    I've been trying for a couple of days now -- ftp connections to ftp.oracle.com technet.oracle.com and download.oracle.com reveal the same FTP server, and it's completely empty.
    This is going on 4 days now, and I have to wonder why I'm spending this ludicrous amount of money on software from a company that can't get its FTP server up within 4 days that I know of, who knows how long it's been in this state.
    To charge the amount of money Oracle is for its software, you'd think there'd be at least a remotely helpful level of support -- at least available downloads.
    null

  • How to install downloaded JDBC drivers?

    I have downloaded jdbc80520-nt.zip. Do I just extract the
    contents to a folder and put that in my classpath or should I be
    using the Oracle installer (if so there is no .PRD file).
    Also if I am using the Thin JDBC how do I know that Oracle has a
    Java client listener started?
    Thanks,
    Colman
    null

    guess you should check out the documentation at
    http://technet.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm
    what i do, is copy the class files [Oracle]with the same
    structure into the rt.jar file, which is the runtime file which
    contains java classes for the jre to execute..
    solves the problem, but still a round about way... there should
    be some simple way to install the driver and connect to
    oracle from java.
    again depends on what is connecting to the database..
    if its an applet then you have to package a thin driver
    to be downloaded on the client machine, and you need to sign
    the applet [if the database is on a different machine other
    than the webserver].
    or if its a servlet, then the java runtime should have
    access to the oracle/jdbc... classes..
    not great help, i guess..
    Colman Glynn (guest) wrote:
    : I have downloaded jdbc80520-nt.zip. Do I just extract the
    : contents to a folder and put that in my classpath or should I
    be
    : using the Oracle installer (if so there is no .PRD file).
    : Also if I am using the Thin JDBC how do I know that Oracle has
    a
    : Java client listener started?
    : Thanks,
    : Colman
    null

  • JDBC Drivers incompatibility

    Hi,
    Using the latest JDBC drivers (in order to allow make
    use of the new GeoRaster capability), it is no longer
    possible to extract standard OrdImage's from the Database.
    I get get following Exception:
    java.lang.NoClassDefFoundError: oracle/jdbc/driver/ClientDataSupport
    at oracle.sqlj.runtime.OraCustomization$OraStatementCache.getClientDataSupport(OraCustomization.java:219)
    at sqlj.runtime.profile.ref.StatementCacheCustomization.getProfile(StatementCacheCustomization.java:130)
    at oracle.sqlj.runtime.OraCustomization.getProfile(OraCustomization.java:179)
    at sqlj.runtime.profile.ref.ProfileImpl.getConnectedProfile(ProfileImpl.java:176)
    at sqlj.runtime.ref.ProfileGroup$ConnectedGroup.getProfile(ProfileGroup.java:194)
    at sqlj.runtime.ref.ConnectionContextImpl.getConnectedProfile(ConnectionContextImpl.java:492)
    at sqlj.runtime.ExecutionContext.registerStatement(ExecutionContext.java:606)
    at oracle.ord.im.OrdImageBase._setProperties(OrdImageBase.java:618)
    at oracle.ord.im.OrdImage.setProperties(OrdImage.java:451)
    Is there anything that can be done ?
    (Apart from building a custom JDBC library comprising
    of components of the old and new one)
    Thanks,
    Ronan

    Found a solution !
    Removing the "ordImage.setProperties();" line of code
    resolved this issue.
    Ronan

Maybe you are looking for