Weblogic 6.1sp3 Oracle 9i connectivity issue

All,
I need your help in overcoming a Connection Pool issue. Details are:
-Configuration - Weblogic 6.1 sp2, Oracle 9i (on a P4 machine)
-Connection pool entry (config.xml)
<JDBCConnectionPool CapacityIncrement="1" DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5"
MaxCapacity="25" Name="ejbPool" Properties="user=testuser;password=testpassword;dll=ocijdbc8;protocol=thin"
RefreshMinutes="10" ShrinkPeriodMinutes="5" Targets="myserver"
TestConnectionsOnReserve="true" TestTableName="dual" URL="jdbc:oracle:thin:@delmtest:1521:SID"/>
While starting weblogic, I get the following exception:
<Oct 25, 2002 5:00:46 PM IST> <Error> <JDBC> <Cannot startup connection pool "ejbPool"
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.lang.ArrayIndexOutOfBoundsException
at oracle.security.o3logon.C0.r(C0)
at oracle.security.o3logon.C0.l(C0)
at oracle.security.o3logon.C1.c(C1)
at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientHelper)
Any pointers will be greatly appreciated.
Thanks,
Raja

Problem solved!! Solution was to include the correct classes12.jar file in the
CLASSPATH BEFORE weblogic.jar. This is because weblogic.jar also ships with an
oracle driver, which is 8.1.7 (not 9i).
Thanks for your help..
Joseph Weinstein <[email protected]> wrote:
>
>
Raja Raman wrote:
Full stack trace is:Yep. The pool never got created. The failure below is during pool creation,
and is definitely an Oracle internal problem. You should simplify the
problem
by trying (maybe with Oracle's help) to make a simple JDBC connection
to your DBMS, with their driver, in a simple standalone program.
joe
<Oct 25, 2002 7:38:25 PM IST> <Error> <JDBC> <Cannot startup connectionpool "ejbPool"
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.lang.ArrayIndexOutOfBoundsException
at oracle.security.o3logon.C0.r(C0)
at oracle.security.o3logon.C0.l(C0)
at oracle.security.o3logon.C1.c(C1)
at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientHelper)
at oracle.jdbc.ttc7.O3log.<init>(O3log.java:289)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:251)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:246)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:193)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy28.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy37.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:209)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy28.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy37.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
>
Joseph Weinstein <[email protected]> wrote:
Raja Raman wrote:
All,
I need your help in overcoming a Connection Pool issue. Details
are:
-Configuration - Weblogic 6.1 sp2, Oracle 9i (on a P4 machine)
-Connection pool entry (config.xml)
<JDBCConnectionPool CapacityIncrement="1" DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5"
MaxCapacity="25" Name="ejbPool" Properties="user=testuser;password=testpassword;dll=ocijdbc8;protocol=thin"
RefreshMinutes="10" ShrinkPeriodMinutes="5" Targets="myserver"
TestConnectionsOnReserve="true" TestTableName="dual" URL="jdbc:oracle:thin:@delmtest:1521:SID"/>
While starting weblogic, I get the following exception:
<Oct 25, 2002 5:00:46 PM IST> <Error> <JDBC> <Cannot startup connectionpool "ejbPool"
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.lang.ArrayIndexOutOfBoundsException
at oracle.security.o3logon.C0.r(C0)
at oracle.security.o3logon.C0.l(C0)
at oracle.security.o3logon.C1.c(C1)
at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientHelper)Let me see the whole stacktrace. From the pool definition, the pooleither
never got created,
or it did get created and made some successful connections, so I suspect
you may not be
actually trying to get pool connections.
Joe Weinstein at BEA
Any pointers will be greatly appreciated.
Thanks,
Raja

Similar Messages

  • Oracle Provider connectivity issues in 2008 server (for Standard Users)

    Hi
    We're using Windows 2008 R2 server and installed a VB application. The application has the capability to connect to Access, SQL Server or Oracle Datbase using OLEDB providers. When I login as "Administrator", the application connects to all three databases.
    But, When I login as "Standard user" in the server and try to connect to the Oracle Database (using Oracle OLEDB provider), the application errors "Database server doesn't exist or Access denied".
    We are using Oracle 10g (oraops10.dll, version 1.102.2.20) client. We have also provided the full access rights to "Authenticated Users" and "Users" account in the server and still get this error.
    Any suggestions/ideas, why this error occurs?

    I don't think, you're correct.
    As mentioned in my post, the application works fine when I logged as "Administrator". Only for the "Standard users" logins, the application doesn't work.
    The Windows Server restricts the oracle database connectivity for the standard users. My questions, does oracle require "special permission" for certain folders, so the standard users can connect to the oracle database.?
    Regards, Karthik

  • Oracle 10g connection issue..

    Hi ,
    I have oracle 10g installed on one unix box and i need to connect to this oracle 10g from another unix box
    using the sqlplus client version 9.2.0.7.0.
    When i try to connect using sqlplus 9.2.0.7.0 i am not getting any response.
    is it possible to connect to oracle10g using sqlplus 9.2.0.7.0?
    Thanks.

    Zymson wrote:
    I have oracle 10g installed on one unix box and i need to connect to this oracle 10g from another unix box
    using the sqlplus client version 9.2.0.7.0.
    When i try to connect using sqlplus 9.2.0.7.0 i am not getting any response.You failed to provide any meaningful information in order to diagnose the problem.
    I suggest that you start off with some basic tests first.
    1. Ping
    Can you ping the remote server? On the local Unix box, use the dotted IP address of the remote Unix box and determine if it responds. E.g.
    ping <IP_ADDRESS>
    2. Hostname resolution
    Ideally you want to use the hostname (instead of dotted IP) of remote Unix box. Determine if the local Unix box resolves the remote Unix box's hostname. E.g.
    ping <HOSTNAME>
    3. Oracle port connectivity
    Next you need to test if the TCP port used by the Oracle Listener on that remote Unix box is reachable from the local box (and not firewalled for exampled). Telnet into this port (if the connection is accepted, press enter a few times and the telnet connection will be terminated by the listener). E.g.
    telnet <HOSTNAME> 1521
    4. Test SQL*Plus connectivity
    Once you've established that connectivity to the remote Listener is working, you need to test the TNS connection string and ensure that the connection parameters (such as ORACLE SID) that is passed to the Listener is correct. E.g.
    sqlplus scott/tiger@"(DESCRIPTION= (ADDRESS= (PROTOCOL=TCP)(HOST=<HOSTNAME>)(PORT=1521)) (CONNECT_DATA= (SID=<ORACLE_SID>) (SERVER=dedicated)))"
    Once all ths is working, should you update the local Unix box's tnsnames.ora file with the TNS connection string and use that TNS alias for connecting via SQL*Plus.
    If any of these steps do not work, post the full details of the step PLUS the actual error information (error codes and error messages).

  • Oracle Discoverer 4i (portal db - oracle 8i) connectivity issue with 11g database

    Hi All
    We have oracle discoverer 4i with portal db (oracle 8i).
    We connect to the external databases using db links in the portal db and the reports will use the db link to retrieve the data from views in the external databases.
    External databases we were connecting is oracle 10g version and now we have upgraded these databases to 11g version.
    Now i have a created a new db link to this 11g database and i have created a new EUL in portal to connect to this 11g database.
    But when i try to create a report using the discoverer from this new EUL after login to the discoverer we get a "cannot connect to database" error.
    We have all the necesscary privilege to the user and the new database link works perfectly fine. (when we try to query directly using SQL plus from portal database using this db link the query works perfectly fine).
    Im not sure if this is a compatibility issue in connecting from oracle disc 4i to a 11g database.
    Can any one advise if this is the case and if there is any workaround for this?
    Regards,
    Raj

    Are you saying you are having issues with a database link between 8i and 11g (pl post exact versions to 4 digits) ? If so, it should be expected as database links between these two versions are not supported. Is there a reason you cannot upgrade the portal database to at least 10gR2 ?
    See MOS Doc 207303.1
    HTH
    Srini

  • NW 7.3 Installation - Oracle Database connection issue.

    Dear SDN,
    I am trying to install the SAP NW 7.3 but fail due the connection to oracle database. (My System details : Windows 7, 64 bit, 4gb ram - copyied NW7.3 server for 64 bit)
    I hvae installed the Oracle database and client. I have checked and stated the services, updated the host file, started the database with SQL editor, checked the Oracle Enterprise Manager, all looks fine.
    When I run the Sapinst, it finds the database but unable to process next due to connection error. error message looks like :
    Cannot connect to jaiswal
    Error(s) returned:
    SQL Server does not exist or access denied.
    SOLUTION: Check that you specified the correct name for the database server, that the server is running and you are authorized to log on to it.
    Please advice on the issue.
    Best Regards
    Arun Jaiswal

    Dear Vincent
    I am using the Oracle as database. When I extract the part-1-5 folder for Oracle database and started the run the sapinst under extracted folder > data units > _MSS.
    Best Regards
    Arun Jaiswal

  • Weblogic to websphere default bridge connection issues

    I have done a standalone message sender client to websphere and it is working fine. But when i use the same parameters in a destination target in a messaging bridge on weblogic I get the following error
    <1377118506218> <BEA-200043> <Bridge "Bridge-0" failed to connect to the target destination.
    I have added the following jars to the folder D:\Oracle\Middleware\user_projects\domains\base_domain\lib in my machine(which i assume is the classpath of managed server)
    1)sibc.jms.jar 2)sibc.jndi.jar 3)sibc.orb.jar
    Weblogic Destination details :
    <jms-bridge-destination>
      <name>JMS Bridge Destination-0</name>
      <adapter-jndi-name>eis.jms.WLSConnectionFactoryJNDINoTX</adapter-jndi-name>
      <classpath></classpath>
      <connection-factory-jndi-name>jms/queueConnectionFactory</connection-factory-jndi- name>
      <initial-context-factory>com.ibm.websphere.naming.WsnInitialContextFactory</initial-context-factory>
      <connection-url>iiop://192.168.56.1:2809</connection-url>
      <destination-jndi-name>jms/Queue1</destination-jndi-name>
      </jms-bridge-destination>
      <jms-bridge-destination>
      <name>JMS Source Destination-1</name>
      <adapter-jndi-name>eis.jms.WLSConnectionFactoryJNDINoTX</adapter-jndi-name>
      <classpath></classpath>
      <connection-factory-jndi-name>ConnectionFactory1</connection-factory-jndi-name>
      <connection-url>t3://localhost:7003</connection-url>
      <destination-jndi-name>Queue1</destination-jndi-name>
      </jms-bridge-destination>

    Can you please paste little more logs. Apart from what you have pasted.

  • Oracle OCI connectivity issue

    Hi All,
    We have jave code, that resides in the same server as the Oracle DB( HP-Ux). It uses OCI driver to connect to the server.
    jdbc.url=jdbc:oracle:oci8:@
    jdbc.username=
    jdbc.password=
    These are the properties that had been set. The code was working fine in Oracle 9.i. On migrating the server to 10g we get an error saying that
    java.java.sql.SQLException: SimpleDataSource:connect - java.sql.SQLException: ORA-01017: invalid username/password; logon denied.
    OfCourse the basic idea would be that userid/pwd is not being passed. But we have not been setting the user id and pwd in 9i and it is working there, but not in 10g. So does OCI driver use the os userid/pwd or something for connecting.
    Thanks in Advance,
    Vignesh

    No, we have no such file. In fact i just wrote a simple connection class. The code is as below.
    import java.sql.Connection;
    import java.sql.*;
    class SimpleCon {
         public static void main(String args[]){
              getConnection();
         public static void getConnection() {
         try {
              Connection con = connect();
              System.out.println("Connected");
         } catch(SQLException ex) {
              ex.printStackTrace();
         public static Connection connect() throws SQLException
         final String methodSig = "SimpleDataSource:connect";
         String jdbcUrl = "jdbc:oracle:oci:@"     ;
         String jdbcUsername = ""     ;
         String jdbcPassword = "";
         Connection conn = null;
         try
         Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
         conn = DriverManager.getConnection
         (jdbcUrl, jdbcUsername, jdbcPassword);
                   DatabaseMetaData dbm = conn.getMetaData();
                   System.out.println(dbm.getUserName());
                   System.out.println(dbm.getDriverName());
                   System.out.println(dbm.getDriverVersion());
         //setConnectionProperties(conn);
         return conn;
         catch (SQLException e) {
         e.printStackTrace();
              System.err.println("SQL error: " + e.getErrorCode());
              System.err.println("SQL state: " + e.getSQLState());
              throw(e);
         }catch(Exception ie){
                   ie.printStackTrace();
              return null;
    This particular code works in HP-UX - Oracle 9.i . If we do not pass userid/pwd it usually connects in as OS user, and Oracle has a User id Setup corresponding to the os user.
    But the same code does not work in Oracle 10g, even though we have the Oracle User corresponding to the OS user set up. If we pass that particular user id and pwd, it works fine.
    Does it throw and light.
    Thanks
    Vignesh

  • Oracle database Connectivity issue

    We are using Oracle 11g database with java 1.6
    When i am deploying my application i am getting below error
    09:48:13,604 INFO [STDOUT] SQL Exception occured:
    09:48:13,605 ERROR [STDERR] java.sql.SQLException:
    09:48:13,607 ERROR [STDERR] at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    09:48:13,607 ERROR [STDERR] at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
    09:48:13,607 ERROR [STDERR] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204)
    09:48:13,608 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:650)
    09:48:13,608 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.processOCIConnectionPooling(T2CConnection.java:997)
    09:48:13,608 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:239)
    09:48:13,609 ERROR [STDERR] at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
    09:48:13,609 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133)
    09:48:13,609 ERROR [STDERR] at oracle.jdbc.driver.OracleOCIConnection.<init>(OracleOCIConnection.java:60)
    09:48:13,610 ERROR [STDERR] at oracle.jdbc.driver.OracleOCIConnection.<init>(OracleOCIConnection.java:44)
    09:48:13,610 ERROR [STDERR] at oracle.jdbc.oci.OracleOCIConnection.<init>(OracleOCIConnection.java:36)
    09:48:13,610 ERROR [STDERR] at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:49)
    09:48:13,611 ERROR [STDERR] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
    09:48:13,611 ERROR [STDERR] at oracle.jdbc.pool.OracleOCIConnectionPool.createConnectionPool(OracleOCIConnectionPool.java:864)
    09:48:13,611 ERROR [STDERR] at oracle.jdbc.pool.OracleOCIConnectionPool.<init>(OracleOCIConnectionPool.java:149)
    09:48:13,614 ERROR [STDERR] at javax.servlet.GenericServlet.init(GenericServlet.java:242)
    09:48:13,615 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1208)
    09:48:13,615 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1108)
    09:48:13,615 ERROR [STDERR] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3628)
    09:48:13,616 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3851)
    09:48:13,616 ERROR [STDERR] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:299)
    09:48:13,616 ERROR [STDERR] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:138)
    09:48:13,617 ERROR [STDERR] at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
    09:48:13,617 ERROR [STDERR] at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
    09:48:13,617 ERROR [STDERR] at org.jboss.web.deployers.WebModule.start(WebModule.java:95)
    09:48:13,617 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    09:48:13,618 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    09:48:13,618 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    09:48:13,618 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
    09:48:13,619 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
    09:48:13,619 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
    09:48:13,619 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    09:48:13,620 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
    09:48:13,620 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
    09:48:13,620 ERROR [STDERR] at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
    This error come when my application is trying to connect to data base
    try {
    proxyPool = new OracleOCIConnectionPool(strUserId ,strPassword, url,poolConfig); // error is coming at this line
    System.out.println("Connection pool created");
    } catch (SQLException sqle) {
    System.out.println("SQL Exception occured:");
    sqle.printStackTrace();
    if(proxyPool != null) {
    proxyPool.close();
    proxyPool = null;
    throw sqle;
    Please help me find resolution of this problem
    Thanks,
    Kumar
    Edited by: 906270 on Jan 9, 2012 3:01 AM

    906270 wrote:
    We are using Oracle 11g database with java 1.6Err...no that is not all you are doing. Looks like a whole bunch of stuff is in there.
    Please help me find resolution of this problemWrite a command line application in java. That means it does NOT run in jboss.
    It should do nothing but connect to oracle with the OCI connection string and report the results.
    Run it on the same box as jboss.
    Run it as the same user as jboss.
    If it succeeds then your problem is jboss or the user.
    If it doesn't then report the exception that that throws. And post the code (using code tags.)

  • Developer 6i with patch 18 and oracle 11g connection issue

    hi ,
    I installed Oracle database 11g on server ,
    when login to my application and open any form or report ,get oracle connection
    user and password
    what should i do ?
    please help me

    so, canot use dev 6i?I'm afraid you can't. Not certified doesn't necessarily mean it won't work, but if you have problems, you're on your own...
    Of course you have two solutions : use 10g DB, or upgrade your forms to 10g. What's the problem for the latter ?

  • Oracle Database Connection ISSUE

    Folks,
    I Installed Oracle 8.1.7 database on a RH AS Linux server. Installation is smooth. I am able to start the server and listerner without any errors. I am able to connect through SQL Plus and JDBC Clients. After sometime(10-12 mins) something happens on the server and I am NOT able to connect to the server through JDBC client. But still I am able to connect through SQL Plus from remote machines.
    Does this ring any bells to you guys ? Let me know.
    thx.
    Rajesh.

    Dear Vincent
    I am using the Oracle as database. When I extract the part-1-5 folder for Oracle database and started the run the sapinst under extracted folder > data units > _MSS.
    Best Regards
    Arun Jaiswal

  • Oracle DB connectivity issue

    Hi All,
    I have the following environment :
    • Server01
    CPU: 2x Intel(R) Xeon(R) CPU E5540 @ 2.53GHz (quadcore)
    Mem: 42 Gb
    NICs: 2x HP NC326m PCIe, 2x HP NC532i Dual Port 10GbE
    SO: Windows Server 2003 R2 SP2
    EPM Tools installed (11.1.1.3 version):
    Hyperion Planning;
    Hyperion Workspace;
    Hyperion Financial Reporting;
    Hyperion Web Analysis.
    • Server02
    CPU: 2x Intel(R) Xeon(R) CPU E5540 @ 2.53GHz (quadcore)
    Mem: 42 Gb
    NICs: 2x HP NC326m PCIe, 2x HP NC532i Dual Port 10GbE
    SO: Windows Server 2003 R2 SP2
    EPM Tools installed (11.1.1.3 version):
    Hyperion Shared Services;
    Hyperion Essbase Server;
    Hyperion Essbase Administrator Services;
    Hyperion Essbase Integration Services;
    Hyperion Provider Services;
    Hyperion Smart Search.
    I intend to migrate my database server from 10g to 11g (11.2.0.3 version). Searching at oracle-hyperion-epm-system-certific-2-128342 (11.1.1.3).xls  I've found the following at Oracle Database (Repository) column after have applied the filters OS (32 bits) and OS Version (Windows Server 2003 SP1* /R2) :
    Oracle 9.2.0.5 through
    Oracle 11.1.0.6.0, 11.2.0.1+
    This result means that my database version is supported by my current EPM version (11.1.1.3), does it ? Because I've heard that EPM 11.1.1.3 is not supported and have to migrate to 11.1.1.4 version.
    Thanks

    Hi John,
          But if you look line 10 at "Non-Oracle DB & Datasources" you'll see that 11.1.1.3 version the Database Type is :
    Oracle 9i (9.2.0.5)
    Oracle 10g (10.1.0.5, 10.2.0.2)
    Oracle 11g  (11.1.0.6.0 maximum version)
    Oracle 11g (11.2.0.1)
        But at line 11 on 11.1.1.4 version you see
    Oracle 10g (10.1.0.5+, 10.2.0.2+)
    Oracle 11g  (11.1.0.6.0+)
    Oracle 11g (11.2.0.1+)
          So, can I conclude that 11.1.1.3 is not compatible against Oracle DB 11.2.0.3 version ?
    Thanks

  • Oracle crm connected issue

    Hi guys,
    I had successfully got Session id. But i do not pass the session id value.I had convert the wsdl file to java classes using Jaxws..
    Following code:
    String cookie = SoapClient.logon("code", "userName", "Password");
    String sessionId = getSessionId(cookie);
    String wsLocation = "https://secure-ausomxzxc.crmondemand.com/Services/Integration";
    wsURL = new URL(wsLocation + ";jsessionid=" + sessionId);
    wsURL2 = new URL(wsURL, "file:/C:/Users/raj/jaxws-ri/bin/Lead.wsdl");
    Lead_Service leadService = new Lead_Service(wsURL2, new QName("urn:crmondemand/ws/ecbs/lead/", "Lead"));
    Lead lead = leadService.getLead();
    LeadQueryPageInput input = new LeadQueryPageInput();
    LeadQueryPageOutput out = lead.leadQueryPage(input);
    System.out.println(out);
    public static String getSessionId(String cookie) {
    StringTokenizer st = new StringTokenizer(cookie, ";");
    String jsessionid = st.nextToken();
    st = new StringTokenizer(jsessionid, "=");
    st.nextToken();
    return st.nextToken();
    Following error is thrown:
    Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Server
         at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(Unknown Source)
         at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(Unknown Source)
         at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
         at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
         at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
         at $Proxy29.leadQueryPage(Unknown Source)
         at crmondemand.model.LeadAPI.main(LeadAPI.java:31)
    pls help to me........
    Edited by: 858421 on May 12, 2011 4:11 AM
    Edited by: 858421 on May 12, 2011 6:49 AM
    Edited by: 858421 on May 12, 2011 6:52 AM

    Hi,
    this is a common error, something is wrong with the soap message you send. I would suggest you use Stateless sessions for your implementation and do it like this:
    1. You need a SecurityHandler Class
    public class SecurityHandler implements SOAPHandler<SOAPMessageContext> {
    private static String WS_SECEXT = "http://docs.oasis-open.org/wss/" +
    "2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
    private static String WS_USER_TOKEN_PROFILE = "http://docs.oasis-open.org" +
    "/wss/2004/01/oasis-200401-wss-username-token-profile-1.0" +
    "#PasswordText";
    @Override
    public boolean handleMessage(SOAPMessageContext messageContext) {
    if ((Boolean) messageContext.get(
    MessageContext.MESSAGE_OUTBOUND_PROPERTY)) {
    try {
    SOAPMessage msg = messageContext.getMessage();
    SOAPEnvelope envelope = msg.getSOAPPart().getEnvelope();
    SOAPHeader soapHeader;
    if (envelope.getHeader() != null) {
    soapHeader = envelope.getHeader();
    } else {
    soapHeader = envelope.addHeader();
    SOAPHeaderElement headerElement = soapHeader.addHeaderElement(new QName(WS_SECEXT, "Security", "wsse"));
    headerElement.setMustUnderstand(true);
    SOAPElement usernameToken = headerElement.addChildElement(new QName(WS_SECEXT, "UsernameToken", "wsse"));
    SOAPElement username = usernameToken.addChildElement(new QName(WS_SECEXT, "Username", "wsse"));
    username.addTextNode("username here...");
    SOAPElement password = usernameToken.addChildElement(new QName(WS_SECEXT, "Password", "wsse"));
    password.addAttribute(new QName("Type"), WS_USER_TOKEN_PROFILE);
    password.addTextNode("password here...");
    } catch (Exception ex) {
    Logger.getLogger(SecurityHandler.class.getName()).log(Level.SEVERE, null, ex);
    return true;
    @Override
    public Set<QName> getHeaders() {
    return new HashSet<QName>();
    @Override
    public boolean handleFault(SOAPMessageContext context) {
    return true;
    @Override
    public void close(MessageContext context) {
    return;
    // other methods
    2. this is how the call should look like afterwards (jax-ws)
    CustomObject1_Service loc = new CustomObject1_Service();
    CustomObject1 st1 = loc.getCustomObject1();
    SecurityHandler securityHandler = new SecurityHandler();
    javax.xml.ws.Binding myBinding = ((BindingProvider) st1).getBinding();
    List<javax.xml.ws.handler.Handler> repositoryHandlerChain = myBinding.getHandlerChain();
    repositoryHandlerChain.add(securityHandler);
    myBinding.setHandlerChain(repositoryHandlerChain);
    ...now do what you want... eg call Lead insert/query method...

  • JCA Binding Component connection issue in the Oracle Order Demo Application

    Hi,
    I setup the Oracle Fusion Middleware. I also deployed the Oracle Fusion Order Demo Application in the soa_server. I placed the order in the store front web.I initiated the webservice (OrderBookingService) and found the below error in the soa_server_diagnostic log file.
    =====================================================================================================================================
    Caused by: BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Write' failed due to: JCA Binding Component connection issue.
    JCA Binding Component is unable to create an outbound JCA (CCI) connection.
    OrderBookingComposite:USPSShipment [ Write_ptt::Write(body) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510
    JCA Resource Adapter location error.
    Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/>
    The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/file/FODFileAdapter'.
    The reason for this is most likely that either
    1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or
    2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/file/FODFileAdapter. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR).
    Please correct this and then restart the Application Server
    The invoked JCA adapter raised a resource exception.
    =====================================================================================================================================

    Thanks Guys.
    I resolved the issue.
    The issue is that FileAdapter for FulFillment mediator is missing.
    Solution 1:
    File adapter connection factory needs to be created via the weblogic console
    The details below:     
         JNDI Name: eis/file/FODFileAdapter
         controlDir          java.lang.String     /tmp/control
         inboundDataSource     java.lang.String     jdbc/SOADataSource
         outboundDataSource     java.lang.String     jdbc/SOADataSource
         outboundDataSourceLocal     java.lang.String     jdbc/SOALocalTxDataSource
         outboundLockTypeForWritejava.lang.String     oracle
    Solution 2:
    seedFodFileAdapterResources target in $FOD_HOME/bin/common-sca-tools.xml needs to be executed to create the file adaptor.
    Thanks.
    Ilayaraja

  • Oracle RDB driver – Version 3.01.00.01 Connectivity Issue

    I have a SQL Server 2000 extended stored procedure connecting to an Oracle RDB data server via an ODBC connection (using Oracle RDB driver – Version 3.01.00.01). The SQL Server 2000 runs on a Windows 2000 Server.
    This extended stored procedure opens up multiple database connections and maintains them for processing. Usually, everything runs fine.
    However, every so often, we have connectivity issues. What happens is as follows:
    When we bring a station down and then try to reconnnect, our connection is denied, and we get the error: "recv() unexpected close Ret 0 Err#0 UNKNOWN Unknown WINSOCK Error 0". (This error is logged by the .dll running in the SQL Server processing space.) From the first time we receive a connectivity error like this until the Oracle RDB box is rebooted, we cannot establish another new ODBC connection to that Oracle RDB box --- whether we are trying to establish it programmatically or just via a "test connection" in the ODBC dialogue on the SQL Server box.
    We can, however, establish an ODBC connection to another, identically configured, Oracle RDB box from the SQL Server box (without restarting the SQL Server box).
    Has anyone had experience with instable connections from Windows system using the Oracle RDB driver to connect to the Oracle RDB? If not, can anyone point me in a direction that would help me research this? I am more familiar with SQL Server than Oracle, and the Oracle DBA on the other end isn't very accessible.
    I'd really appreciate any help anyone can give me.
    Thanks!

    I got same error.. Are you already solve that problem? how? please help me. Thanks

  • JDBC-ORACLE CONNECTIVITY ISSUE WITYH OCI8 DRIVER using oracle 11g client..

    JDBC-ORACLE CONNECTIVITY ISSUE WITYH OCI8 DRIVER using oracle 11g client..
    I am getting below error when i m trying to access oracle db using oracle 11g client. It works with earlier oracle client versions. how do i resolve this. is there any issue with version of ojdbc6.jar that i am using??? I cant use thin driver since its an old application for which i dont have source files.
    Apr 6, 2013 1:00:59 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:992)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:262)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at PettyCash.SysDate.getSysSubSys(SysDate.java:232)
    at org.apache.jsp.PettyCash.index_jsp._jspService(org.apache.jsp.PettyCash.index_jsp:186)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Code is as follow for reference
    import oracle.jdbc.driver.*;
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    conn = DriverManager.getConnection ("jdbc:oracle:oci8:@" + database,db_user, db_pass);
    eNVIRONMENT VARIABLES set are as follows:
    classpath
    C:\Program Files\apache-tomcat-5.5.12\common\lib\servlet-api.jar;C:\Program Files\apache-tomcat-5.5.12\webapps\ROOT\WEB-INF\lib\classes12.jar;C:\Program Files\apache-tomcat-5.5.12\webapps\ROOT\WEB-INF\lib\ojdbc6.jar;
    JAVA_HOME
    C:\Program Files\Java\jdk1.5.0_04
    PATH
    C:\Program Files\Java\jdk1.5.0_04\bin
    ORACLE_HOME
    D:\Oracle11\product\11.2.0\client_1\BIN

    Apr 8, 2013 5:24:06 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
         at org.apache.jsp.abc.index_jsp._jspService(org.apache.jsp.abc.index_jsp:280)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)

Maybe you are looking for