JDBC Drivers Exception...........

Hi:
I am using Apache 1.3.26 + JBoss + Tomcat on my Web/APP Server and Oracle 9.1 on DB Server.
I installed JDBC Drivers ojdbc14.jar, classes12.jar, nls_charset111.jar on my APPLICATION Server and SET the CLASSPATH accordingly.
What all need to be done as far as this is concerned?
When I run my Simple Web Applicatin which Access my DB Server: I get Exception at following Line:
try
     Class.forName("oracle.jdbc.OracleDriver");
     con = DriverManager.getConnection(url,"user","pass");
     stmt = con.createStatement();
catch (Exception e)
{     System.out.println("Exceptino raised at Clas.forname....."); }
Can anyone TELL what is this error about?
Also, my APP SERVER has just moved to JDK1.4 whereas my DB Server still has JDK 1.3. Do you think this is an issues?
Thanks!

What is the exception?
What line does it occur on?

Similar Messages

  • Difference between Oracle9i 9.2.0.3 and Oracle9i 9.2.0.4 JDBC Drivers

    Hi everybody,
    Can you tell me what is Difference between Oracle9i 9.2.0.3 and Oracle9i 9.2.0.4 JDBC Drivers briefly?
    In my application I am using Oracle9i 9.2.0.3 JDBC Drivers. But it is not supported when I retrieved Data with junk character from CLOB.because of IO Exception it showing Bigger type length than Maximum
    if i used Oracle9i 9.2.0.4 JDBC Drivers it is working properly.
    I am using WAS 4.0.3 , JDK1.3 and Oracle 9.0.
    Shall I use Oracle9i 9.2.0.4 in my application and I want to know it will create any new problem in my application or not ?
    please Reply me ASAP.
    i am waiting for your reply
    thanks a lot
    bye
    Message was edited by:
    paulusazapakcom

    Can you tell me what is Difference between Oracle9i
    9.2.0.3 and Oracle9i 9.2.0.4 JDBC Drivers briefly?Search the Oracle site. That should tell if there are any differences at all. I would assume that there would be some bug fixes.
    please Reply me ASAP.
    i am waiting for your replySuch lines are better avoided.

  • Oracle10g Jdbc Drivers issue with EJB on Weblogic 7

    Hi there,
    We are facing a critical issue on production environment related to Oracle jdbc drivers.
    We have a J2EE application with swing client. We are using MVC framework where client calls go to stateless session bean which redirect it to specific POJO which then uses Entity Beans for persistence.
    We have following environment.
    JDK1.4.2, Weblogic 7 with SP5, Oracle10g on AIX 5.2
    Now the problem is that we were using Oracle 8 jdbc driver classes12.zip for our application. Everything was working smoothly. Recently we moved our weblogic and oracle Servers machines locations, after that movement we started to get an exception when weblogic initializing connection pool that makes connection to a different oracle10g database. Oracle supports ask us to upgrade the jdbc driver. So we moved to 10g driver ojdbc14.jar but during testing one functionality is failing with a exception where rest of application seems to be working fine. The exception occurs when we try to post a record and during the creation of a child entity bean the transactions rollback for some unknown reasons. Using the old oracle8 classes12.zip driver the same code working fine again. We have also tried the classes12.zip driver of Oracle10g but error persist. I have checked the code and deployment descriptors but they seems fine. If i comment the creation of that particular entity bean the parent bean get created successfully and transaction commit successfully. Please also note that we have not created any relation b/w both entity beans not even in the database. They both are sort of independent.
    Can any one having any idea why Oracle10g driver not working or what might be the problem with our configuration. Any help will be highly appreciated. Please see the Exception below.
    <Jan 29, 2008 6:03:10 PM PKT> <Info> <EJB> <010036> <Exception from ejbStore: javax.ejb.NoSuchEntityException: Instance
    of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setup.security.ratinghistory.SecurityRatingHist
    oryEntityPK@93e447fa' not found.
    javax.ejb.NoSuchEntityException: Instance of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setup
    .security.ratinghistory.SecurityRatingHistoryEntityPK@93e447fa' not found.
    at com.cdc.fms.server.setup.security.ratinghistory.SecurityRatingHistoryEntityBean_7x4361__WebLogic_CMP_RDBMS.__
    WL_store(SecurityRatingHistoryEntityBean_7x4361__WebLogic_CMP_RDBMS.java:2208)
    at com.cdc.fms.server.setup.security.ratinghistory.SecurityRatingHistoryEntityBean_7x4361__WebLogic_CMP_RDBMS.ej
    bStore(SecurityRatingHistoryEntityBean_7x4361__WebLogic_CMP_RDBMS.java:2012)
    at weblogic.ejb20.manager.DBManager.storeBean(DBManager.java(Compiled Code))
    at weblogic.ejb20.manager.DBManager.beforeCompletion(DBManager.java(Compiled Code))
    at weblogic.ejb20.internal.TxManager$TxListener.beforeCompletion(TxManager.java(Compiled Code))
    at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java(Compiled Code))
    --------------- nested within: ------------------
    weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion: sync=weblogic.ejb20.internal.TxManager
    $TxListener@44a824cd
    Instance of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setup.security.ratinghistory.SecurityR
    atingHistoryEntityPK@93e447fa' not found. - with nested exception:
    [javax.ejb.NoSuchEntityException: Instance of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setu
    p.security.ratinghistory.SecurityRatingHistoryEntityPK@93e447fa' not found.]
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java(Compiled Code))
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java(Compiled Code))
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java(Compiled Code))
    at weblogic.ejb20.internal.BaseEJBLocalObject.postInvoke(BaseEJBLocalObject.java(Compiled Code))
    at com.cdc.fms.server.common.ConsolidatorSessionBean_fz4673_ELOImpl.processRequest(ConsolidatorSessionBean_fz467
    3_ELOImpl.java:57)
    at com.cdc.fms.server.common.GatewaySessionBean.processRequest(Unknown Source)
    at com.cdc.fms.server.common.GatewaySessionBean_oehtlw_EOImpl.processRequest(GatewaySessionBean_oehtlw_EOImpl.ja
    va:407)
    at com.cdc.fms.server.common.GatewaySessionBean_oehtlw_EOImpl_WLSkel.invoke(Unknown Source)
    <Jan 29, 2008 6:03:10 PM PKT> <Info> <EJB> <010051> <EJB Exception during invocation from home: com.cdc.fms.server.commo
    n.GatewaySessionBean_oehtlw_HomeImpl@3e13a4aa threw exception: javax.ejb.EJBException: nested exception is: weblogic.tra
    nsaction.RollbackException: Unexpected exception in beforeCompletion: sync=weblogic.ejb20.internal.TxManager$TxListener@
    44a824cd
    Instance of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setup.security.ratinghistory.SecurityR
    atingHistoryEntityPK@93e447fa' not found. - with nested exception:
    [javax.ejb.NoSuchEntityException: Instance of bean 'SecurityRatingHistoryPost' with primary key 'com.cdc.fms.server.setu
    p.security.ratinghistory.SecurityRatingHistoryEntityPK@93e447fa' not found.]
    javax.ejb.EJBException: nested exception is: weblogic.transaction.RollbackException: Unexpected exception in beforeCompl
    etion: sync=weblogic.ejb20.internal.TxManager$TxListener@44a824cd
    ##################################################################

    weblogic 7? when the current production version is 10.2?
    don't play yourself. fund a project to upgrade your weblogic version.
    can't tell based on what you've posted, and I fear that the stuff you'll have to post to get an answer here will be too much. this isn't a good place to come for an answer.
    %

  • Need information on Weblogic JDBC drivers

    Hi,
    I have been using Weblogic 8.1 sp5 with oracle version -Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production.
    Lately i have observed the below error:-
    <Jun 2, 2009 9:56:58 PM MEST> <Error> <JDBC> <BEA-001112> <Test "SELECT 1 FROM DUAL" set up for pool "WIS03 JDBC Connection Pool" failed with exception: "java.sql.SQLException: OALL8 is in an inconsistent state.".>
    This may be linked to the JDBC drivers used with weblogic.
    At weblogic console i can see the list of drivers as - Oracle Driver (Thin) Versions.9.0.1,9.2.0,10
    Is this driver good for the Oracle version 10 g?
    I am clueless for the above exception. Please suggest.
    Thanks & Regards
    Himanshu Tageja

    Thanks Joe.
    I have found the latest ojdbc.jar, below are the detials mentioned about this jar in the manifest.mf:-
    Oracle Database 10g Release 2 (10.2.0.4) JDBC Drivers
    Specification-Title: Oracle JDBC driver classes for use with JDK14
    Sealed: true
    Created-By: 1.4.2_14 (Sun Microsystems Inc.)
    Implementation-Title: ojdbc14.jar
    Specification-Vendor: Oracle Corporation
    Specification-Version: Oracle JDBC Driver version - "10.2.0.4.0"
    Implementation-Version: Oracle JDBC Driver version - "10.2.0.4.0"
    Implementation-Vendor: Oracle Corporation
    Implementation-Time: Sat Feb 2 11:40:29 2008
    Now the issue is with respect to the Java_version used for this jar which is 1.4.2_14 (Sun Microsystems Inc.)
    but my weblogic server uses jdk142_08.
    I have done quick tests after replacing the jar from the server/lib directory and seems no issue but can the differences in Java version lead to potential issues in future?
    Awaiting your valuable response.

  • JDBC Drivers compatability between Oracle and IBM WSAD 5.1.1

    I am using a DataAccessObject pattern. I discovered you can speed up your procesing with SELECT statments us using an OraclePreparedStatment and setting defineColumnType; thereby reducing the number of trips the SQL is sent to the database.
    Here is the code:
    ((OraclePreparedStatement)ps).defineColumnType(1, Types.BIGINT);'ps' is a PreparedStatement.
    However, at runtime, I am getting a class cast exception for the below reason. I am using WASD version 5.1.1. I was not aware IBM was using any specific classes in the JDBC drivers.
    [2005-05-23 15:36:59,855][Servlet.Engine.Transports : 2][ERROR][{TDAO}{getTWebInfos}{APP0000}{Unknown Contained Application Exception}{External Message:com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement incompatible with oracle/jdbc/OraclePreparedStatement}]
    {TDAO}{getTWebInfos}{APP0000}{Unknown Contained Application Exception}{External Message:com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement incompatible with oracle/jdbc/OraclePreparedStatement}
         at java.lang.Throwable.(Throwable.java)Could someone please explain this to me? Any help would be greatly appreciated.

    I'm not an WSAD expert to be honest, but it's quite possible they are using their own wrappers. Check out what calls you can make on their ps wrapper or more likely conn wrapper - they may have some type of getWrappedConnection functionality as other vendor(s) do in which case you can, eg, cast the connection to OracleConnection and go from there.

  • Problem using production version of SQL Server 2005 JDBC drivers

    A production version of the Microsoft SQL Server 2005 JDBC driver became available on 1/20/06, and we are having some issues getting it to work with WLS 9.1. The non-XA driver works fine, but when we attempt to use the XA version, we see the error below in our logs. (Note that in the text "status:0 msg:null", the "null" is actually an unprintable character that I was not able to copy/paste.)
    We have successfully tested WLS 9.1 with the beta JDBC drivers that were released by Microsoft a number of months ago, so this appears to be a problem with the prod version only (although we had no trouble using the prod drivers with JBoss). We have actually opened a support case for this, but the response we have received thus far has been negligible at best and we really need to get this issue resolved, so I am posting the problem here as well to see if anyone else has encountered it.
    Regards,
    Sabrina
         at ourpackage.OurMDB.onMessage(OurMDB.java:184)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    Caused by: ourpackage.OurDBUtil.openConnection(OurDBUtil.java:130)     
         ... 11 more
    Caused by: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XA_OK start() failed on resource 'OurXADataSource': XA_OK
    javax.transaction.xa.XAException: java.sql.SQLException: Failed to create the XA control connection. Error: xp_sqljdbc_xa_init failure, status:0 msg:null.
         at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(Ljavax.transaction.xa.Xid;I)V(Unknown Source)
         at weblogic.jdbc.jta.DataSource.start(DataSource.java:679)
         at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1160)
         at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1093)
         at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:274)
         at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:496)
         at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:428)
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1390)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1314)
         at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
         at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
         at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)     
         at ourpackage.OurMDB.onMessage(OurMDB.java:184)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1395)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1314)
         at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
         at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
         at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)     
         at ourpackage.OurMDB.onMessage(OurMDB.java:184)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1327)
         at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
         at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
         at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)
         ... 12 more

    SabrinaL wrote:
    A production version of the Microsoft SQL Server 2005 JDBC driver became available on 1/20/06, and we are having some issues getting it to work with WLS 9.1. The non-XA driver works fine, but when we attempt to use the XA version, we see the error below in our logs. (Note that in the text "status:0 msg:null", the "null" is actually an unprintable character that I was not able to copy/paste.)
    We have successfully tested WLS 9.1 with the beta JDBC drivers that were released by Microsoft a number of months ago, so this appears to be a problem with the prod version only (although we had no trouble using the prod drivers with JBoss). We have actually opened a support case for this, but the response we have received thus far has been negligible at best and we really need to get this issue resolved, so I am posting the problem here as well to see if anyone else has encountered it.
    Regards,
    SabrinaHi. Have you done all the XA-related install for the new MS driver? (put the XA
    dll in the DBMS environment etc)? Is your DBMS on a 32-bit machine or 64-bit machine?
    Does the driver present a dll for each of those? You can also get good JDBC help
    from MS via their microsoft.public.sqlserver.jdbcdriver newsgroup.
    Joe Weinstein at BEA
    >
         at ourpackage.OurMDB.onMessage(OurMDB.java:184)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    Caused by: ourpackage.OurDBUtil.openConnection(OurDBUtil.java:130)     
         ... 11 more
    Caused by: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XA_OK start() failed on resource 'OurXADataSource': XA_OK
    javax.transaction.xa.XAException: java.sql.SQLException: Failed to create the XA control connection. Error: xp_sqljdbc_xa_init failure, status:0 msg:null.
         at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(Ljavax.transaction.xa.Xid;I)V(Unknown Source)
         at weblogic.jdbc.jta.DataSource.start(DataSource.java:679)
         at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1160)
         at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1093)
         at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:274)
         at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:496)
         at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:428)
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1390)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1314)
         at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
         at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
         at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)     
         at ourpackage.OurMDB.onMessage(OurMDB.java:184)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1395)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1314)
         at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
         at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
         at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)     
         at ourpackage.OurMDB.onMessage(OurMDB.java:184)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1327)
         at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
         at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
         at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)
         ... 12 more

  • Error when using JDBC drivers

    Hi ..
    We have successfully deployed the JDBC drivers but in RWB(Communication channel monitoring) ,when executing we are getting an error
    Received XI System Error. ErrorCode: EXCHANGE_PROFILE_ACCESS ErrorText:   ErrorStack: Error while reading exchange profile for system PI7 and client 001
    2006-12-05 12:33:25 Error Transmitting the message to endpoint http://sap1:8001/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: EXCHANGE_PROFILE_ACCESS:.
    <b></b><i></i>
    Any suggestions
    Thanks
    Gopal
    Message was edited by:
            Gopal krishnan
    Message was edited by:
            Gopal krishnan

    Hi..
    I did it but here i am wondering becoz my RFC connection SAPSLDAPI works fine
    But at transaction SLDCHECK..it throws an error like
    Calling function LCR_LIST_BUSINESS_SYSTEMS
    Retrieving data from the SLD server...
    Function call returned exception code     4
    => Check whether the SLD is running!
    Summary: Connection to SLD does not work
    => Check SLD function and configurations
    But the SLD URL pops up and opens wih put any error.in a same fashion,it happens in SXMB_ADM--> integration engine config.it says connections to SLD doesnot work
    any idea to verify
    Thanks
    Gopal

  • How to update oracle jdbc driver to 11.1.0.7.0 JDBC Drivers

    HI,
    I got a jdbc exception *" java.lang.ArrayIndexOutOfBoundsException "*.
    I have known that it is a Oracle JDBC bug and Oracle BUG number is BUG-6396242.
    The problem is too many rows per database transaction and it is fixed at version 11.1.0.7 Oracle JDBC Drivers.
    Here is the 11.1.0.7 Oracle JDBC Driver Readme.
    http://www.oracle.com/technetwork/database/enterprise-edition/111070-readme-083278.html
    and the download
    http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-111060-084321.html
    My question is :
    *1.How to update oracle jdbc drivers with those downloads ?*
    (ps. I have replaced ojdbc5_g.jar, ojdbc5.jar, ojdbc6_g.jar, ojdbc6_g.jar in $ORACLE/jdbc, but it did'nt work. )
    *2.My Oracle version is 11.1.0.6.0, will it be OK if only update the JDBC driver?*
    *3.Do I need to update the jdbc driver where my program runs on the client side ?*
    Thanks for answers~ :)

    Upgrade your database version to 11.1.0.7.
    Installation docs are included with all patches and upgrades.

  • 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

  • Orcle JDBC Drivers

    Hi,
    My aim is to write a simple Java program that connects to the
    Oracle Database and displays the data from a table. But I dont
    have any JDBC Drivers for oracle.
    So, I have downloaded the Orcle JDBC Drivers from the Oracle
    Site under the section below :
    Download the drivers NT
    Oracle8i 8.1.7 JDBC Drivers for use with JDK 1.2.x for NT.
    It is an Zip file which consists of so many files/directories..
    Where do I place all these files.
    And how do I create a Datasource which connects to the Oracle
    database and can be used in Java Program?
    Please help me in acheiving this simple task with detailed
    Instructions. ( I can achieve the above task using JDBC:ODBC
    Drivers, but now I want use the latest Drivers)
    Also where can I download the Type4 Drivers for Oracle?
    Thanks in Advance,
    Ram

    Just add the Classes12.zip to your Classpath settings.That is it.
    U unzip them and gets a folder called oracle. place this in ur
    web-inf\classes folder which is also there in classpath
    Here is a sample code code used based on JRUN and Oracle
    Conn.Poll. we have got 2 seperate DBases hence 2 DataSoruces
    package     com.tfl.db;
    import javax.sql.DataSource;
    import javax.naming.InitialContext;
    import javax.sql.ConnectionPoolDataSource;
    import oracle.jdbc.pool.OracleConnectionPoolDataSource;
    import oracle.jdbc.pool.OracleConnectionCacheImpl;
    import oracle.jdbc.pool.OracleConnectionEventListener;
    import java.sql.Connection;
    import java.sql.SQLException;
    import java.sql.ResultSet;
    import java.sql.ResultSetMetaData;
    import java.sql.Statement;
    import java.sql.CallableStatement;
    import java.util.StringTokenizer;
    import java.util.Vector;
    import javax.sql.ConnectionEventListener;
    import javax.activation.URLDataSource;
    import javax.sql.ConnectionEvent;
    public class DbBean     implements ConnectionEventListener
    //     private     javax.sql.PooledConnection          dbconn;     
         // for database connection
    //     private     javax.sql.PooledConnection          dbconn2;
              // for database connection
         Connection          dbconn;          // for database
    connection
         Connection          dbconn2;          // for
    database connection
         private     javax.sql.ConnectionPoolDataSource
         cpds=null;
         private     javax.sql.ConnectionPoolDataSource
         cpds2=null;
         private     OracleConnectionPoolDataSource     ocpds;
         private     OracleConnectionPoolDataSource     ocpds2;
         private     OracleConnectionCacheImpl     ocimpl;
         private     OracleConnectionCacheImpl     ocimpl2;
         java.sql.Connection con=null;
         java.sql.Connection con2=null;
         private Vector                    vector = null;
         ArrayMaker akr=null;
         DataFetcher df=null;
    InitialContext ctx=null;
         String mydb =null;
         String dbname=null;
         URLDataSource uds;
         public DbBean()
              super();
              ocpds=new OracleConnectionPoolDataSource();
              ocpds2=new OracleConnectionPoolDataSource();
              this.getAllConnReady();
         public void getAllConnReady()
              try{
                        ctx=new InitialContext();
              catch(Exception e)     {System.out.println
    ("DataSource Context failure ?? --- "+e);}     
              try{
              ocpds=(OracleConnectionPoolDataSource)ctx.lookup
    ("java:comp/env/jdbc/tfl_afs");
              ocpds2=(OracleConnectionPoolDataSource)ctx.lookup
    ("java:comp/env/jdbc/tfl_twh");
              System.out.println("JNDI Look up done ");
              ctx.close();
              } catch(Exception e){System.out.println
    ("DataSource Look up failure ?? --- "+e);}
              try{
                             ocimpl=new
    OracleConnectionCacheImpl(ocpds);
                             ocimpl2=new
    OracleConnectionCacheImpl(ocpds2);
                             ocimpl.setMinLimit(1);
                             ocimpl.setMaxLimit(20);
                             ocimpl.setCacheScheme
    (OracleConnectionCacheImpl.FIXED_WAIT_SCHEME);
                             ocimpl2.setMinLimit(1);
                             ocimpl2.setMaxLimit(20);
                             ocimpl2.setCacheScheme
    (OracleConnectionCacheImpl.FIXED_WAIT_SCHEME);
              } catch(Exception e){System.out.println
    ("DataSource Estb failed ?? --- "+e);}
              try{
              dbconn          = ocimpl.getConnection();
              dbconn2     = ocimpl2.getConnection();
              System.out.println("Pooled Connection Ready ");
              } catch(Exception e){System.out.println
    ("DataSource Estb failed ?? --- "+e);}
         public static void main(String a[])
              DbBean db = new DbBean();
         public ResultSet execSQL()
         Statement stmt= null;
         ResultSet rs =null;
                   try{
                        stmt= con.createStatement();
                        rs = stmt.executeQuery("Select
    usr_fname from auth_usr_personal where usr_sr_no>100 and
    usr_sr_no<150");
                        System.out.println("DB RS
    Ready to Return --- ");
                        return rs;
                   } catch(Exception e)
                   {System.out.println("DB  Execution
    Error  --- "+e);}
              return rs;
         public java.sql.Connection connect_Me_To(String dbname)     
              Connection con = null;
              this.dbname=dbname;
              try{
                             if
    (dbname.equalsIgnoreCase("afsweb"))
                                  try{     
                                  con=dbconn;
                                  if(con.isClosed
                   System.out.println("dbBean speaks--con
    is closed !--1--make a new ");
                   ocpds=null;
                   ocpds2=null;
                   this.getAllConnReady();
                   con=dbconn;
                   return con;
                                  catch(Exception
    e)
                   System.out.println("dbBean speaks--con
    is closed !--2--make a new ");
                   ocpds=null;
                   ocpds2=null;
                   this.getAllConnReady();
                   con=dbconn;
                   return con;
                             else
                             if
    (dbname.equalsIgnoreCase("twh"))
                             try{     
                                  con=dbconn2;
                                  if(con.isClosed
                   System.out.println("dbBean speaks--con
    is closed !--TWH-1--make a new ");
                   ocpds=null;
                   ocpds2=null;
                   this.getAllConnReady();
                   con=dbconn2;
                   return con;
                                  catch(Exception
    e)
                   System.out.println("dbBean speaks--con
    is closed !--TWH-2--make a new ");
                   ocpds=null;
                   ocpds2=null;
                   this.getAllConnReady();
                   con=dbconn2;
                   return con;
                   }catch (Exception exception)
                        System.out.println(" Exception
    while getting now Connection Remaking.." );     
                        ocpds=null;
                        ocpds2=null;
                        this.getAllConnReady();
                        connectAgain(dbname);
              return con;
    public void connectAgain(String dbname)
    System.out.println(" Exception while getting Conn now Re-
    establ.to--"+dbname );     
    connect_Me_To(dbname);
    public void connectionClosed(ConnectionEvent event)
                        System.out.println("It is a
    closed Connection..........Let us try again..........");
                        ocpds=null;
                        ocpds2=null;
                        this.getAllConnReady();
                        connectAgain(this.dbname);
    public void connectionErrorOccurred(ConnectionEvent event)
                        System.out.println("It is a
    closed Connection.Error Check with DBAs.............");
                        ocpds=null;
                        ocpds2=null;
                        this.getAllConnReady();
                        connectAgain(this.dbname);
    hope this helps

  • JDBC drivers for Oracle734 on Solaris7 and JDK 1.2

    Hi there,
    I'm trying to JDBC to an Oracle 7.3.4 running on Solaris7 while
    writing JDK 1.2.2 application. Here's the trace of what's
    happenning:
    Connecting to the database...Connecting...
    Exception in thread "main" java.lang.UnsatisfiedLinkError:
    /space/javapkg/oracle7/liboci73jdbc.so: ld.so.1:
    /space/jdk1.2.2/bin/../bin/sparc/native_threads/java: fatal:
    relocation error: file /space/javapkg/oracle7/liboci73jdbc.so:
    symbol makeJavaString: referenced symbol not found
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1330)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1254)
    at java.lang.Runtime.loadLibrary0(Runtime.java:644)
    at java.lang.System.loadLibrary(System.java:815)
    at oracle.jdbc.oci7.OCIDBAccess.logon(OCIDBAccess.java:149)
    at
    oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:103)
    at
    oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
    at java.sql.DriverManager.getConnection(DriverManager.java:515)
    at java.sql.DriverManager.getConnection(DriverManager.java:175)
    at JdbcCheckup.main(JdbcCheckup.java:43)
    Is there a nice solution for that? Please, do not advise to
    upgrade Oracle / degrade JDK: it's not my call and is out of the
    question. There's an existing solution where we use $30,000
    WebLogic ridiculous license just to use their JDBC drivers but
    that's exactly what we want to switch from.
    Sincerely,
    -Evgeni
    null

    Yup, thanks a lot. I am ashamed. I know: "read the FAQ then
    ask; read the FAQ then ask"... Eventually I'll get it :)).
    Thanks again,
    -Evgeni
    Oracle Product Development Team wrote:
    : Our 7.3.4 OCI driver doesn't work with JDK 1.2, but our 8.1.6
    : release of the OCI driver will. In the meantime, you can try
    our
    : 8.1.6SDK thin driver if you have to stick with JDK 1.2. It
    : should be compatible with your 7.3.4 database.
    http://technet.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm
    : #_1_
    : Evgeni (guest) wrote:
    : : Hi there,
    : : I'm trying to JDBC to an Oracle 7.3.4 running on Solaris7
    while
    : : writing JDK 1.2.2 application. Here's the trace of what's
    : : happenning:
    : : Connecting to the database...Connecting...
    : : Exception in thread "main" java.lang.UnsatisfiedLinkError:
    : : /space/javapkg/oracle7/liboci73jdbc.so: ld.so.1:
    : : /space/jdk1.2.2/bin/../bin/sparc/native_threads/java: fatal:
    : : relocation error: file
    /space/javapkg/oracle7/liboci73jdbc.so:
    : : symbol makeJavaString: referenced symbol not found
    : : at java.lang.ClassLoader$NativeLibrary.load(Native
    : Method)
    : : at java.lang.ClassLoader.loadLibrary0
    : (ClassLoader.java:1330)
    : : at java.lang.ClassLoader.loadLibrary
    : (ClassLoader.java:1254)
    : : at java.lang.Runtime.loadLibrary0(Runtime.java:644)
    : : at java.lang.System.loadLibrary(System.java:815)
    : : at oracle.jdbc.oci7.OCIDBAccess.logon
    : (OCIDBAccess.java:149)
    : : at
    : : oracle.jdbc.driver.OracleConnection.<init>
    : (OracleConnection.java:103)
    : : at
    oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
    : : at java.sql.DriverManager.getConnection
    : (DriverManager.java:515)
    : : at java.sql.DriverManager.getConnection
    : (DriverManager.java:175)
    : : at JdbcCheckup.main(JdbcCheckup.java:43)
    : : Is there a nice solution for that? Please, do not advise to
    : : upgrade Oracle / degrade JDK: it's not my call and is out of
    : the
    : : question. There's an existing solution where we use $30,000
    : : WebLogic ridiculous license just to use their JDBC drivers
    but
    : : that's exactly what we want to switch from.
    : : Sincerely,
    : : -Evgeni
    : Oracle Technology Network
    : http://technet.oracle.com
    null

  • 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

  • Problems with jdbc drivers

    I'm having problems registering jdbc drivers. I've been trying to register the microsoft Sql Server 2000 jdbc driver so that I can create a connection in my code rather than using entity beans. I've set the CLASSPATH variable to point to the driver's .jar files in the install directory with no success.
    I've connected to the database using the driver via the IDE' s Runtime and it tests ok and allows me to create a database schema ok. (I had to copy the driver files to the sun/studio5u1_se/lib/ext dir to enable this) Is there a location I can unpack the drivers .jar files which will make the driver available?
    I have also tried setting the CLASSPATH variable to point to the above mentioned directory..but that didn't work either. Can anyone help?
    These are the exception messages that I get
    java.lang.ClassNotFoundException: com.pointbase.jdbc.jdbcUniversalDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at Portfolio.DriverTest.getConnection(DriverTest.java:43)
    at Portfolio.DriverTest.main(DriverTest.java:102)
    Error Trace in getConnection() : com.pointbase.jdbc.jdbcUniversalDriver

    If u type in command line
    java -classpath .;<directory containing the driver>
    it executes your class file properly
    note that <directory containing the driver> is the full path to your driver. I mean, the directory that contains your driver\drivername
    eg:
    java -classpath .;c:/driver/drivername
    don�t forget to put the "dot" before semicolon. If u forget it, java won�t find your class file. your class file must be at the directory you�re executing the command
    I need to configure my sun studo ent. to locate my jdbc driver for mySQL. I don�t know where this can be made. If any of you know. please report me

  • 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

  • 3rd Party Access 2000 JDBC Drivers

    Wondering if anyone can recommend or rate any 3rd party MS Access JDBC drivers - I am running an app using Tomcat 4.0.2, on Windows 2K, currently using the JDBC/ODBC bridge from Sun, looking for something a little more specific and reliable for my app - company willing to spend the $$ to get something good.
    Thanks!
    Geoff

    hi Geoff ,
    I would recommend you the aveconnect driver from Atinav. It is a type 3 driver, and is a reliable and nice implementation. We have been using it for quite some time now and our developers here have seen it to be quite efficient and good.
    this url may help you..
    http://www.atinav.com/products/aveconnect/MSAccess.htm
    they provide a 30 day trial, and was worth a buy..
    hope that helps,
    -Jer

Maybe you are looking for

  • HP Officejet 4630 e-All-in-O​ne Series

    Hello,  I have just bought a Mac book Pro and and HP Officejet 4630 printer. I started setting up my printer and since I am in college and using my school's wireless connect. The only way to locate my printer is by changing my wireless connection to

  • How to get Lyrics show up on iPod?

    Hi all, I used Pearl Lyrics to "grab" song lyrics and can see inside iTunes' Get Info of the song, the tab Lyrics they are put in; Sync my iPod and play the song, but cannot seem to see the lyrics? Thanks

  • Colors changed on preview

    Hello, I've been having a strange color issue with Photoshop CS3 (and Illustrator CS3).  I'll make a design or drawing in Photoshop or Illustrator, then save it as a jpg to email it off to my client for previewing using gmail.  In the gmail preview,

  • Where is  the location(path) of the videos that the 3GS recorded?

    Where is the location(path) of the videos that the 3GS recorded? Thanks. Kevin

  • Good Smart Card offline terminal?

    The isn't a programming question per say, but can anyone recommend a good inexpensive offline smart card terminal? I'm building a cash card/loyalty app and I'm looking for a hand held terminal that a store owner could have to complete transactions wi