IDM 6 - Websphere datasource to Oracle

Is there anyone usuing IDM 6 on Websphere app server and through datasource to connect Oracle database? If you do and IDM runs not problem, could you please share your webspher version, oracle version with me. I got issue connect to oracle when xml size larger than 32 k even we are on 10g server. And got ORA-01460 error when create user.

I currently use WebSphere 6.1 and I raised a PMR with IBM regarding support for Oracle 11g, at present 6.1 (and I'm presuming this is the same for 6.0) does not support the the JDBC driver which comes with 11g. However, I'm reliably informed that that IBM plan to allow 6.1 to support the 11g JDBC driver at some stage during the product life time of 6.1. There is always the option of using third party drivers with WebSphere that support 11g e.g. Data Direct). Just as a side note, if you are pondering on whether to use 6.0 over 6.1, I would strongly recommend that you use 6.1 as it is much faster out of the box due to internal optimizations IBM have made to this version and JDK 5 support.

Similar Messages

  • WebSphere Datasource for Repository

    I am having a hard time configuring an IdM 8.1 instance to use a WebSphere Datasource as its connection to SQL Server. I have followed all of the docs and the forum posts and have gotten it to the following point:
    V:\Apps\IBM\WebSphere\AppServer\profiles\IdMAppSrv01\installedApps\IdMTestCell01\idm.ear\idm-Test.war\bin>lh.bat "-Djava.ext.dirs=%JAVA_HOME%\jre\lib;%JAVA_HOME%\jre\lib\ext;%WAS_HOME%\lib;%WAS_HOME%\;%WAS_HOME%\runtimes" setRepo -tsqlserver -icom.ibm.websphere.naming.WsnInitialContextFactory -fjdbc/IDMRepo  -o"c:\temp\ServerRepository.xml" -uiiop://localhost:9810/
    javax.naming.NameNotFoundException: Context: IdMTestCell01/clusters/IdMCluster, name: jdbc/IDMRepo: First component in name IDMRepo not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
    Failed to load JDBC DataSource 'jdbc/IDMRepo':
    ==> javax.naming.NameNotFoundException: Context: IdMTestCell01/clusters/IdMCluster, name: jdbc/IDMRepo: First component in name IDMRepo not found.The datasource is configured at the cell level, as suggested, in a clustered deployment. It seems to respond correctly during a "Test Connection".
    I am running the lh command from the IdM instance installed on the WebSphere instance that is part of the clustered deployment.
    Any ideas on why it can't find the datasource? Is there anyway I can test to make sure the datasource is configured properly?
    Thanks,
    Pete

    It should be 0CO_PC_PCP_03... check this:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/e0/79023b5e79e239e10000000a11402f/frameset.htm
    Hope it helps.
    Regards

  • IBM websphere 8 and Oracle RIB

    Hi, somebody have been ibm websphere 8 with oracle retail 13.2 and oracle RIB
    Regards

    please elaborate. What is it exactly you like to know about websphere? The Webshere on Rib 11 (12?) has since long been replaced by OracleApplicationServer.

  • WebSphere Adpater for Oracle EBS

    Is anyone familiar with WebSphere Adapter for Oracle?
    I am trying to use the WebSphere Adapter for Oracle EBS to create a Cash Receipt into Oracle EBS v12 and I am getting the error "ORG ID is invalid", even though I am specifying a valid Org Id. I have tried also not specifing the Ord Id parameter and it says "Org id is required". My EBS is hosting 3 Organisations. I wonder whether something else is required.
    I am using the API ar_receipt_api_pub.create_cash
    Has anyone used this adapter? Any tips?

    Duplicate post -- API HZ_CUST_ACCOUNT_SITE_V2PUB.CREATE_CUST_ACCT_SITE fails in R12

  • Issue in configuring Datasource for Oracle DB 7 in weblogic 10.3 ( Urgent )

    Hi Gurus,
    We are trying to connect to a oracle db 7 instance from the oracle 11g SOA suite .
    I am not able to create a datasource for this DB instance .fails when getting invoked .
    <Apr 13, 2011 2:34:49 PM BST> <Error> <Console> <BEA-240003> <Console encountered the following error java.lang.NullPointerException
    at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1101)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:303)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:640)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:205)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:554)
    at com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:505)
    at com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(Cre
    ateJDBCDataSource.java:458)
    Any clues to fix the issue.
    I added the ojdbc14.jar to the file and modified the weblogic.xml to use the
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    but getting the exception :
    <S:Body>
    <S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
    <faultcode>S:Server</faultcode>
    <faultstring>oracle/i18n/text/converter/CharacterConverterOGS.getInstance(I)Loracle/sql/converter/CharacterConverters;</faultstring>
    <detail>
    <ns2:exception xmlns:ns2="http://jax-ws.dev.java.net/" class="java.lang.NoSuchMethodError" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false">
    <message>oracle/i18n/text/converter/CharacterConverterOGS.getInstance(I)Loracle/sql/converter/CharacterConverters;</message>
    <ns2:stackTrace>
    Added the orai18n-*.jar files got the following Exception :
    ORA-01010:Invalid OCI operation
    Any help.....
    Rgds
    Vamsi
    Edited by: Kewlntrendy on 13-Apr-2011 08:34
    Edited by: Kewlntrendy on 13-Apr-2011 09:27

    I doubt that Oracle 7 DB is not supported. You may consider raising a SR with support.
    Regards,
    Anuj

  • Migrate tables and data from ODBC datasource to Oracle 11.2

    Hiya
    I have a database file in Dynamics NAV 5.0 native format - about 200-300 tables totalling maybe 10 GB worth of data.
    My task is to migrate those tables with their data into a schema in our Oracle 11.2 database.
    No tools support the NAV format directly :-) But I have a windows ODBC driver for that format that works.
    The Oracle database runs on Linux and I have no ODBC transparent gateway and no linux ODBC driver that would let me access the NAV datafile directly from within Oracle.
    I tried migration wizard in SQL Developer, but it seems it cannot use a "generic ODBC" datasource (even with JDBC-ODBC bridge), it must be a supported database format?
    Then I have tried trial of product Altova MapForce, but it can't seem to read the schema (table/columns) from the ODBC datasource for some reason.
    I know reading the schema from the ODBC datasource is possible - I have used third party product "Database Browser" that reads the ODBC with no problems.
    And a colleague has read the schema of the ODBC in C# also.
    I am primarily a SQL developer. My colleague said he could write in C# a program that looped over the tables in the ODBC, read the columns, executed "create table" in Oracle, read data from the ODBC, inserted data in Oracle.
    But he is going on vacation right now :-( And I keep thinking that someone else must have written such a migration program ;-)
    I just can't seem to find it by googling? Altova Mapforce was my best bet, but it just seems to have problems with this specific ODBC datasource.
    Any ideas for a migration tool that can accept a generic ODBC datasource and not specifically SQL Server, MySQL, DB2, etc.?
    Thanks for any hints that might help ;-)
    Regards
    Kim Berg Hansen

    Hi Kim,
       The earlier 9i and 10g generic connectivity option - HSODBC - could only run as part of the RDBMS but the 11g DG4ODBC can be installed and run standalone without an RDBMS.  You then connect using database links from Linux using an entry in the RDBMS tnsnames.ora as you have said.
    See these notes depending if Windows is 32-bit or 64-bit -
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit to Connect to Non-Oracle Databases Post Install (Doc ID 466225.1)
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems to Connect to Non-Oracle Databases Post Install (Doc ID 1266572.1)
    The latest 11.2 version is available from My Oracle Support as -
    Patch 13390677: 11.2.0.4.0 PATCH SET FOR ORACLE DATABASE SERVER
    and for the gateways you only need to download -
    p13390677_112040_WINNT_4of6.zip
    for 32-bit but
    p13390677_112040_MSWIN-x86-64_5of7.zip
    for 64-bit.
    The downloads have everything necessary for a gateway standalone install.
    Regards,
    Mike

  • Tomcat 4.1 DataSource using Oracle 8i

    I have set up a JDNI name in Tomcat called jdbc/ltdb and I am set up a connection in my JSP but when I try to run it I get the error:
    org.apache.jasper.JasperException: Name jdbc is not bound in this Context
    I have no idea what could be wrong, I have followed the instructions as in the Tomcat documentation.
    Can anyone help? The server.xml and JSP code is below.
    server.xml
    <Resource name="jdbc/ltdb" scope="Shareable" type="javax.sql.DataSource" />
    <ResourceParams name="jdbc/ltdb">
    <parameter>
    <name>validationQuery</name>
    <value />
    </parameter>
    <parameter>
    <name>maxWait</name>
    <value>5000</value>
    </parameter>
    <parameter>
    <name>maxActive</name>
    <value>4</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>password</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:oracle:thin@blackadder:1521:mgi</value>
    </parameter>
    <parameter>
    <name>driverClassName</name>
    <value>oracle.jdbc.driver.OracleDriver</value>
    </parameter>
    <parameter>
    <name>maxIdle</name>
    <value>2</value>
    </parameter>
    <parameter>
    <name>username</name>
    <value>username</value>
    </parameter>
    </ResourceParams>
    jsp code
    <%@ page import="java.sql.*" %>
    <%@ page import="javax.sql.*" %>
    <%@ page import="javax.naming.*" %>
    Connection conn = null;
    Context initContext = new InitialContext();
    Context envContext = (Context)initContext.lookup("java:/comp/env");
    DataSource ds = (DataSource)envContext.lookup("jdbc/ltdb");
    conn = ds.getConnection();
    Statement stmt = conn.createStatement ();
    ResultSet rset;

    Hi,
    I guess you have not modifiedyour web.xml file.
    Add the following to your web.xml file
    <resource-ref>
    <description>DatabaseConnection</description>
    <res-ref-name>jdbc/ltdb</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    Get back if u have any issues.

  • Access to Weblogic 7.0 SP1 datasource throws Oracle Exception

    Hi,
    I am trying to access a DataSource & Connection Pool set up in a Weblogic 7.0
    SP1 instance, from a client app running in a different JVM than the app server
    itself. The code I used is given below,
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
    ctx = new InitialContext(ht);
    if (ctx != null) ds = (DataSource) ctx.lookup("sample.SQLServer2KDS");
    Connection conn = ds.getConnection("system", "password");
    The connection pool points to a SQL Server 2000 database. But the getConnection
    throws an Oracle exception, given below. We don't have any reference to oracle
    drivers anywhere and we don't have any installations of Oracle. When I put the
    Oracle JDBC driver in the classpath of my client application, this problem went
    away.
    Does anyone else encounter this ? Does anyone know if this is fixed by BEA ?
    Thanks,
    -Arun
    weblogic.rjvm.PeerGoneException: ; nested exception is:
         weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested exception:
    [java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]
         at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
         at weblogic.jdbc.common.internal.RmiDataSource_WLStub.getConnection(Unknown Source)
         at sample.DBClient.getConnection(DBClient.java:37)
         at sample.DBClient.main(DBClient.java:57)
    Caused by: weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested
    exception:
    [java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]
         at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:592)
         at weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:896)
         at weblogic.rjvm.t3.T3JVMConnection.hasException(T3JVMConnection.java:632)
         at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:399)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested
    exception:
    [weblogic.rjvm.PeerGoneException: ; nested exception is:
         weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested exception:
    [java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]]
         at weblogic.jdbc.common.internal.RmiDataSource_WLStub.getConnection(Unknown Source)
         at sample.DBClient.getConnection(DBClient.java:37)
         at sample.DBClient.main(DBClient.java:57)

    You need to have classes12.zip in your CLASSPATH, even though you are not using Oracle
    as your database.
    This problem will be fixed in the WLS release coming out in spring, 2003.
    "Arun Panicker" <[email protected]> wrote in message news:[email protected]...
    >
    Hi,
    I am trying to access a DataSource & Connection Pool set up in a Weblogic 7.0
    SP1 instance, from a client app running in a different JVM than the app server
    itself. The code I used is given below,
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
    ctx = new InitialContext(ht);
    if (ctx != null) ds = (DataSource) ctx.lookup("sample.SQLServer2KDS");
    Connection conn = ds.getConnection("system", "password");
    The connection pool points to a SQL Server 2000 database. But the getConnection
    throws an Oracle exception, given below. We don't have any reference to oracle
    drivers anywhere and we don't have any installations of Oracle. When I put the
    Oracle JDBC driver in the classpath of my client application, this problem went
    away.
    Does anyone else encounter this ? Does anyone know if this is fixed by BEA ?
    Thanks,
    -Arun
    weblogic.rjvm.PeerGoneException: ; nested exception is:
    weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested exception:
    [java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]
    at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
    at weblogic.jdbc.common.internal.RmiDataSource_WLStub.getConnection(Unknown Source)
    at sample.DBClient.getConnection(DBClient.java:37)
    at sample.DBClient.main(DBClient.java:57)
    Caused by: weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested
    exception:
    [java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]
    at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:592)
    at weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:896)
    at weblogic.rjvm.t3.T3JVMConnection.hasException(T3JVMConnection.java:632)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:399)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested
    exception:
    [weblogic.rjvm.PeerGoneException: ; nested exception is:
    weblogic.utils.NestedException: oracle/sql/BfileDBAccess - with nested exception:
    [java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess]]
    at weblogic.jdbc.common.internal.RmiDataSource_WLStub.getConnection(Unknown Source)
    at sample.DBClient.getConnection(DBClient.java:37)
    at sample.DBClient.main(DBClient.java:57)

  • How to DataSource of Oracle in JSTL?

    I know use follow statement to create DataSource:
    <sql:setDataSource [var] [scope] {dataSource | url [driver] [user] [password]}/>
    I want to know how to write [driver] parameter if I use Oracle database?
    Would you give me a example?

    A better approach would be to configure a JNDI datasource on your server and just specify a name to the setDataSource tag.
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html

  • When configuring a datasource for Oracle using the thin client, I get an Oracle error.

    We have had no problems using Oracle up to this point, and have been using ColdFusion and Oracle very happily for a long time. 
    Due to security requirements where the ColdFusion server is hosted, the following changes were made to the Oracle client on the Oracle RDMS machine which caused ColdFusion to be unable to connect. 
    In the sqlnet.ora file, we had to add the follwing line:
    SQLNET.ALLOWED_LOGON_VERSION = 10
    That parameter was required, it is not optional and we cannot lower it.
    Info about our ColdFusion Server:
    System Information
    Server Details
    Server Product
    ColdFusion
    Version
    ColdFusion 10,285437
    Edition
    Enterprise  
    Operating System
    Windows Server 2008 R2  
    OS Version
    6.1  
    Update Level
    /D:/ColdFusion10/cfusion/lib/updates/chf10000011.jar  
    Adobe Driver Version
    4.1 (Build 0001)  
    We are using Oracle 11.2.0.3
    Once that change is in place, connections from our ColdFusion server get refused with the following error:
    ORA-28040: No matching authentication protocol
    I have verified that I can connect to the database with our credentials, and verified that the connection is valid:
    From the local server's ODBC Data Source Administrator console, I create a system DSN using the Oracle OCI client driver (ojdbc6.jar) by indicating that the TNS Service name is the same as defined in the TNSNames file, and it tests out fine.
    Everything I have found on the net indicates that I would need to make a change to the Client, but the Client in this case is the ColdFusion server.  It doesn't seem like other than the fact that it seems to be using the correct driver, that it is making any use of any of the additional settings, including those found in the sqlnet.ora file.
    HELP!  I don't know where else to go... i don't believe that this is an Oracle error, since everything seems to be functioning correctly.  I believe this to be a ColdFusion issue.
    Any help or pointers would be greatly appreciated.

    Thank you VJ, however that didn't provide any help.  There are no pointers at all within that post.
    Please keep in mind that I don't believe this to be an Oracle issue.  The Oracle client is functioning fine when I use the ODBC tools in windows to verify the connection.
    I can google, "SQLNET.ALLOWED_LOGON_VERSION = 10" and get a billion links that say basically nothing too.
    I believe this is the way ColdFusion is configured to use the Oracle drivers... Which is why I can't ask Oracle, they'd just tell me to go to Adobe!
    But, I have searched Oracle Support, and there wasn't much there either, so I am turning to the community in hopes that someone has seen this and solved it.

  • Getting Exception in jdbc connection got from DataSource in Oracle AS

    Hi
    i am using data source in my application.
    When my application is invoked it gets the jdbc connection from the data source, performs set of operations and then releases the connection.
    But if the application is invoked after a long time e.g. 10 hours then i get the following exceptions which i have logged:
    Io exception: Connection reset
    and the other exception is given below:
    Closed Connection
    The data-sources.xml is as follows:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
    <data-source
    name="MYDS"
    class="oracle.jdbc.pool.OracleConnectionCacheImpl"
    location="jdbc/myDSCON"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="xxxxxxxx"
    password="xxxxxxxx"
    url="jdbc:oracle:thin:@localhost:1521:orcl"
    inactivity-timeout="30"
    max-connections="100" >
    <property name="cacheScheme" value="1" />
    </data-source>
    </data-sources>
    Please let me know what is wrong with my application or configuration setting or something is wrong with oracle application server.

    Hi,
    I found one solution which is for 10.1.2.x and i am using Oc4j 10.1.3.1 but solution is below
    Solution
    There is a new setting called "ValidateConnections" from 10.1.2.x. This setting will make sure to check the validity of the connections before it is assigned to the application.
    1. Download and apply the patch for unpublished bug 4305639 for your current 10.1.2.x version. If a patch is not already available then please submit a backport request to get the patch to your version.
    2. Set the command line option "-DValidateConnections=true" and restart the container. This can be set via EM AS control or by manually updating opmn.xml file. After the changes the options should look like
    <process-type id="oc4j_test1" module-id="OC4J">
    <module-data>
    <category id="start-parameters">
    <data id="java-options" value="-server -Djava.security.policy=/opt/oracle/jw101202/j2ee/oc4j_test1/config/java2.policy -Djava.awt.headless=true -DValidateConnections=true" />
    <data id="oc4j-options" value="-properties"/>
    Regards,

  • Problem of using oracle datasource in VAJ4

    I want to use connection pool in VAJ4 Websphere Test Environment.
    So I startup the WTE, start PNS, and at a datasource of oracle.
    Database driver=oracle.jdbc.driver.OracleDriver
    Database type=JTA;
    I can lookup the datasource. I can use it in normal java emviroment,
    But where use it in ejb environment, it can be found crrectly,
    but where i use ds.getConnection(); Exception is throwed, my ejb is
    stateless sessionbean, TX_REQUIRED,TRANSACTION_REPEATABLE_READ;
    The exception is below:
    java.io.NotSerializableException: com.ibm.ejs.jts.jta.XID
         java.lang.Throwable(java.lang.String)
         java.lang.Exception(java.lang.String)
         java.io.IOException(java.lang.String)
         java.io.ObjectStreamException(java.lang.String)
         java.io.NotSerializableException(java.lang.String)
         void java.io.ObjectOutputStream.outputObject(java.lang.Object)
         void java.io.ObjectOutputStream.writeObject(java.lang.Object)
         byte [] oracle.jdbc.oracore.Util.serializeObject(java.lang.Object)
         byte [] oracle.jdbc.xa.client.OracleXAResource.getSerializedBytes(javax.transaction.xa.Xid)
         void oracle.jdbc.xa.client.OracleXAResource.start(javax.transaction.xa.Xid, int)
         void com.ibm.ejs.jts.jta.XARminst.startAssociation(org.omg.CosTransactions.Coordinator, com.ibm.ejs.jts.jta.XID)
         boolean com.ibm.ejs.jts.jta.TransactionImpl.enlistResource(javax.transaction.xa.XAResource)
         boolean com.ibm.ejs.jts.jta.JTSXA.enlist(javax.transaction.xa.XAResource, java.lang.Class, com.ibm.ejs.jts.jta.factory.XAResourceInfo)
         boolean com.ibm.ejs.jts.jta.JTSXA.enlist(javax.transaction.xa.XAResource, javax.sql.XADataSource, int, java.lang.String, java.lang.String)
         boolean com.ibm.ejs.cm.pool.JTAConnectO.enlist(org.omg.CosTransactions.Coordinator, int)
         boolean com.ibm.ejs.cm.pool.ConnectO.allocate(org.omg.CosTransactions.Coordinator, int)
         void com.ibm.ejs.cm.pool.ConnectionPool.allocateConnForTransaction(com.ibm.ejs.cm.pool.ConnectO, org.omg.CosTransactions.Coordinator, int)
         com.ibm.ejs.cm.pool.ConnectO com.ibm.ejs.cm.pool.ConnectionPool.findConnectionForTx(org.omg.CosTransactions.Coordinator, java.lang.String, java.lang.String, java.util.Properties)
         com.ibm.ejs.cm.pool.ConnectO com.ibm.ejs.cm.pool.ConnectionPool.allocateConnection(java.lang.String, java.lang.String, java.util.Properties)
         java.sql.Connection com.ibm.ejs.cm.pool.ConnectionPool.getConnection(java.lang.String, java.lang.String)
         java.sql.Connection com.ibm.ejs.cm.DataSourceImpl.getConnection(java.lang.String, java.lang.String)
         java.sql.Connection com.hep.common.JetConnectionPool.getConnection()
         java.sql.Connection com.hep.common.JetConnectionPoolManager.getConnection(java.lang.String)
         java.sql.Connection com.hep.common.JetConnectionPoolManager.getConnection()
         void com.hep.dao.DAOImpl.makeConnection()
         long com.hep.key.dao.KeyDAOImpl.nextKey(java.lang.String)
         long com.hep.key.ejb.KeyGeneratorBean.nextKey(java.lang.String)
         long com.hep.key.ejb.EJSRemoteKeyGenerator.nextKey(java.lang.String)
         org.omg.CORBA.portable.OutputStream com.hep.key.ejb._EJSRemoteKeyGenerator_Tie._invoke(java.lang.String, org.omg.CORBA.portable.InputStream, org.omg.CORBA.portable.ResponseHandler)
         com.ibm.rmi.ServerResponse com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(com.ibm.rmi.ServerRequest)
         com.ibm.rmi.ServerResponse com.ibm.CORBA.iiop.ORB.process(com.ibm.rmi.ServerRequest)
         void com.ibm.CORBA.iiop.WorkerThread.run()
         void com.ibm.ejs.oa.pool.ThreadPool$PooledThread.run()
    java.sql.SQLException: ORA-29532: Java �������������� Java ��������: java.lang.NullPointerException
    ORA-06512: at "SYS.JAVA_XA", line 0
    ORA-06512: at line 1
         java.lang.Throwable(java.lang.String)
         java.lang.Exception(java.lang.String)
         java.sql.SQLException(java.lang.String, java.lang.String, int)
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
         void oracle.jdbc.ttc7.TTIoer.processError()
         void oracle.jdbc.ttc7.Oall7.receive()
         void oracle.jdbc.ttc7.TTC7Protocol.doOall7(byte, byte, int, byte [], oracle.jdbc.dbaccess.DBType [], oracle.jdbc.dbaccess.DBData [], int, oracle.jdbc.dbaccess.DBType [], oracle.jdbc.dbaccess.DBData [], int)
         int oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(oracle.jdbc.dbaccess.DBStatement, byte, byte [], oracle.jdbc.dbaccess.DBType [], oracle.jdbc.dbaccess.DBData [], int, oracle.jdbc.dbaccess.DBType [], oracle.jdbc.dbaccess.DBData [], int)
         void oracle.jdbc.driver.OracleStatement.executeNonQuery(boolean)
         void oracle.jdbc.driver.OracleStatement.doExecuteOther(boolean)
         void oracle.jdbc.driver.OracleStatement.doExecuteWithBatch()
         void oracle.jdbc.driver.OracleStatement.doExecute()
         void oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout()
         int oracle.jdbc.driver.OraclePreparedStatement.executeUpdate()
         boolean oracle.jdbc.driver.OraclePreparedStatement.execute()
         void oracle.jdbc.xa.client.OracleXAResource.start(javax.transaction.xa.Xid, int)
         void com.ibm.ejs.jts.jta.XARminst.startAssociation(org.omg.CosTransactions.Coordinator, com.ibm.ejs.jts.jta.XID)
         boolean com.ibm.ejs.jts.jta.TransactionImpl.enlistResource(javax.transaction.xa.XAResource)
         boolean com.ibm.ejs.jts.jta.JTSXA.enlist(javax.transaction.xa.XAResource, java.lang.Class, com.ibm.ejs.jts.jta.factory.XAResourceInfo)
         boolean com.ibm.ejs.jts.jta.JTSXA.enlist(javax.transaction.xa.XAResource, javax.sql.XADataSource, int, java.lang.String, java.lang.String)
         boolean com.ibm.ejs.cm.pool.JTAConnectO.enlist(org.omg.CosTransactions.Coordinator, int)
         boolean com.ibm.ejs.cm.pool.ConnectO.allocate(org.omg.CosTransactions.Coordinator, int)
         void com.ibm.ejs.cm.pool.ConnectionPool.allocateConnForTransaction(com.ibm.ejs.cm.pool.ConnectO, org.omg.CosTransactions.Coordinator, int)
         com.ibm.ejs.cm.pool.ConnectO com.ibm.ejs.cm.pool.ConnectionPool.findConnectionForTx(org.omg.CosTransactions.Coordinator, java.lang.String, java.lang.String, java.util.Properties)
         com.ibm.ejs.cm.pool.ConnectO com.ibm.ejs.cm.pool.ConnectionPool.allocateConnection(java.lang.String, java.lang.String, java.util.Properties)
         java.sql.Connection com.ibm.ejs.cm.pool.ConnectionPool.getConnection(java.lang.String, java.lang.String)
         java.sql.Connection com.ibm.ejs.cm.DataSourceImpl.getConnection(java.lang.String, java.lang.String)
         java.sql.Connection com.hep.common.JetConnectionPool.getConnection()
         java.sql.Connection com.hep.common.JetConnectionPoolManager.getConnection(java.lang.String)
         java.sql.Connection com.hep.common.JetConnectionPoolManager.getConnection()
         void com.hep.dao.DAOImpl.makeConnection()
         long com.hep.key.dao.KeyDAOImpl.nextKey(java.lang.String)
         long com.hep.key.ejb.KeyGeneratorBean.nextKey(java.lang.String)
         long com.hep.key.ejb.EJSRemoteKeyGenerator.nextKey(java.lang.String)
         org.omg.CORBA.portable.OutputStream com.hep.key.ejb._EJSRemoteKeyGenerator_Tie._invoke(java.lang.String, org.omg.CORBA.portable.InputStream, org.omg.CORBA.portable.ResponseHandler)
         com.ibm.rmi.ServerResponse com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(com.ibm.rmi.ServerRequest)
         com.ibm.rmi.ServerResponse com.ibm.CORBA.iiop.ORB.process(com.ibm.rmi.ServerRequest)
         void com.ibm.CORBA.iiop.WorkerThread.run()
         void com.ibm.ejs.oa.pool.ThreadPool$PooledThread.run()
    I don't know how to deal with this?

    I also facing the very same problem with Oracle 9i, as400 db2 and WAS 4.0. Have anyone a soultion to this problem? It seems to have something do to with WAS 4.0, because I have noticed that it works fine in WAS 5.0 (which I unfortunatly cannot use in the project).
    Best Regards
    Per

  • How to install Oracle AS JMS Adapter on Websphere (or any J2EE server)

    Hi,
    We have a requirement in which the client wants to connect to the OC4J JMS running in SOA Suite (Oracle Application Server 10.1.3.4).
    They are using Websphere. We are exploring ways by which they can connect from Websphere application to Oracle AS OC4J JMS.
    One option is - deploy the Oracle AS JMS adapter in Websphere and then use it to connect to the OC4J JMS.
    Please let us know if this is the right approach. Also, if so, kindly point to the documentation regarding how to install the JMS adapter on 3rd party J2EE servers such as websphere.
    Rgds,
    Amit

    While searching the knowledge base I found the following note, which seems to suggest that Oracle Adapters are not deployble on other J2EE application servers:
    Support For Jca Adapter In Other Application Servers Like Jboss [ID 1114738.1]
    ==============================================
    From the statements in documentation it may be implied that jca adapter should be deployable on any application server that is compliant with j2ee/jca. Please note that this cannot be implied at this time and jca adapter cannot be deployed on other application servers than OAS in BRM 731 due to some technical constraints. So currently we can support only OAS and not JBoss or another application server , in BRM 731. The documentation will be updated accordingly to reflect this.

  • Oracle datasource lookup in JBOSS application server

    Hi friends
    i have the below problem while configuring the datasource in JBOSS for oracle pls any body can help me out..........
    i just want to create a data source for oracle in JBOSS 3.2.5 application server and i want to access that datasource from my session bean while accessing it cant finding the JNDI name of the datasource my oracle-ds.xml code is like as below
    <local-tx-datasources>
    <jndi-name>java:OracleDS</jndi-name>
    <use-java-context>false</use-java-context>
    <connection-url>jdbc:oracle:thin:@localhost:1521:EPS</connection-url>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <user-name>system</user-name>
    manager
    </local-tx-datasources> my session bean method is like as below
    public void businessMethod1(){
    try{
    javax.naming.Context ctx = new javax.naming.InitialContext();
    javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup("OracleDS");
    java.sql.Connection con = ds.getConnection();
    java.sql.PreparedStatement ps = con.prepareStatement("select * from employee");
    java.sql.ResultSet rs = ps.executeQuery();
    while(rs.next()){
    System.out.println("Employee ID "+rs.getInt("empid")+"Employee Name "+rs.getString("ename")+"Employee Designation "+rs.getString("designation"));
    }catch(Exception e){
    e.printStackTrace();
    } but the error i am getting wasl like as below
    14:14:14,039 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
    14:14:14,164 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
    14:14:14,164 INFO [JkMain] Jk running ID=0 time=0/47 config=null
    14:15:00,883 INFO [STDOUT] javax.naming.NameNotFoundException: OracleDS not bound
    14:15:00,883 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
    14:15:00,883 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
    14:15:00,883 INFO [STDOUT] at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
    14:15:00,883 INFO [STDOUT] at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
    14:15:00,883 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)
    14:15:00,883 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
    14:15:00,883 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialContext.java:347)
    14:15:00,883 INFO [STDOUT] at com.ness.training.ejb.FirstSessionBean.businessMethod1(FirstSessionBean.java:13)
    14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    14:15:00,883 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    14:15:00,883 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.j
    ava:683)
    14:15:00,883 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterce
    ptor.java:185)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterc
    eptor.java:72)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:1
    22)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
    14:15:00,883 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:723)
    14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    14:15:00,883 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    14:15:00,883 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
    14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    14:15:00,883 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    14:15:00,883 INFO [STDOUT] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360)
    14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    14:15:00,883 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    14:15:00,883 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    14:15:00,883 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
    14:15:00,883 INFO [STDOUT] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
    14:15:00,883 INFO [STDOUT] at sun.rmi.transport.Transport$1.run(Transport.java:148)
    14:15:00,883 INFO [STDOUT] at java.security.AccessController.doPrivileged(Native Method)
    14:15:00,883 INFO [STDOUT] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    14:15:00,883 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    14:15:00,883 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    14:15:00,883 INFO [STDOUT] at java.lang.Thread.run(Thread.java:536)

    make the changes like this.
    javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup("java:/OracleDS");
    Regards
    vanan

  • Oracle BI EE datasource error

    Dear All,
    In BIP configure datasource is oracle BI server.
    After while test was failed.It's shows below error
    "Could not establish connection"
    Admin-->JDBC
    Connection string: jdbc:oraclebi:\\Localhost:9703\
    How to fix this
    Thanks

    Hi raj,
    The configuration you wrote is wrong copy and paste from below given
    Security Model
    Type      Oracle BI server
    Connection String      jdbc:oraclebi://host_of_obiee:9703/
    Username/Password      Account_Administrator/Password_Administrator_of_OBIEE
    Database Driver Clase      oracle.bi.jdbc.AnaJdbcDriver
    for more information go through this http://gerardnico.com/wiki/bip/configuration_bip
    Cheers,
    KK

Maybe you are looking for