Oracle database connectivity troubleshoot

Hi All,
We have two oracle homes and one database each on a windows server 32-bit. Users are facing problems while connecting remotely to this server. Please find details below,
Environment Details
OS - Windows Server 2003 R2 enterprise edition SP2
RAM - 6GB
Database Details
Two oracle homes
1) Version - 10.2.0.4
    SGA     - 500M
    DB size - 1G
2) Version - 11.2.0.1
    SGA     - 1.5G
    DB size - 22GBoth are active and in use. We have CA CLARITY PPM application pointed to oracle_home2. When users are trying to connect to this server remotely, the connection abdruptly disconnects or it will be very slow. When all oracle services are stopped, they were able to establish connection properly. The number of users accessing this application and database will be max 3 people. I am fairly new to oracle and clarity ppm and I am not knowing how to troubleshoot this issue. Please ask me if more info is required, I will try and get it.
Thanks & Regards

If you have sql*plus installed (and if you don't you should install it first), you should first establish whether connection from sql*plus works.
Right now you don't even know whether it is an application issue or a database issue (I say this, because in the past I had to deal with Clarity and this application seems to be ill-suited to work with Oracle).
'Stops responding' is usually not a connectivity problem, but a performance problem. I seem to recall the performance of Clarity was an issue (security definitely was).
In that case the central question for me always has been 'What is it waiting for'.
You should run AWR or statspack to establish what is going on.
Until you have done that, no one here can advice you, as there is no clue as to what is going on.
Regards
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Problem in Oracle Database Connectivity in JSP

    I am having big problem such as Oracle Database connectivity problem
    Following code i am used for database connection. but it throw an exception call class not found exception.
    Pls any one can help me. With a sample code for Oracle Database connection in JSP
    Class.forName ("oracle.jdbc.driver.OracleDriver");
    String url="jdbc:oracle:thin:@172.25.44.54:1521:bbo";
    con = DriverManager.getConnection(url,"user", "user123");
    Thank you

    Well i've never used oracle or their drivers before but i'm presuming that you'd go to oracle.com or something and look for downloads. Otherwise you could goodle for Oracle JDBC drivers. Then just follow the instructions.
    Again i've never used JSP but if you have a manifest file somewhere you'll need to put a class-path: entry in their referecning the jar file with the driver so that it is availble at run-time.
    Wes

  • NetBean, I can't establish the oracle database connection with version 9i.

    In NetBean, I can't establish the oracle database connection with version 9i.
    I have create the datasource and it is fine.
    when i try to access the tables i get a message
    "Unable to refresh children, connection is broken, unsupported feature"
    in netbeans.
    Does netbeans support oracle 9i version.
    Thanks,
    VKK

    In NetBean, I can't establish the oracle database connection with version 9i.
    I have create the datasource and it is fine.
    when i try to access the tables i get a message
    "Unable to refresh children, connection is broken, unsupported feature"
    in netbeans.
    Does netbeans support oracle 9i version.
    Thanks,
    VKK

  • How to config the oracle database connection pool in IAS

    Hi,
    Does anyone who hows to config the oracle database connection pool in IAS?
    Thanks so much!!!
    [email protected]
    Jacky

    Jacky,
    You need do the following for oracle type4 driver:
    1) register the driver:
    $IAS_HOME/bin/jdbcsetup
    Driver Identifier: Oracle_Type4_816 (whatever name you like)
    Driver Classname: oracle.jdbc.driver.OracleDriver
    Driver Classpath: .../classes12.zip (install this this zip file somewhere
    and add this zip into the Classpath later).
    2) DataSource Setup:
    start iAS Administration Tool (iASAT)
    Choose Database, unfold iAS1 (your app server instance),
    choose External JDBC Datasource -> add: DataSource Registration
    JNDI Name: yourPoolName
    Driver Type: Oracle_Type4_816 (select what you just register)
    DataSource Url: jdbc:oracle:thin:@hostName:portName:dbName
    Username: your_user_name
    Password: your_passwd
    (Datasource Pool: using defaults for now): you can also customrize the
    parameters for the pool.
    3. Add classes12.zip into CLASSPATH.
    In your application, you can use JNDI lookup to get the DataSource from
    which you get the connection from the pool.
    Hope this helps.
    Good luck.
    Xuran
    "Jacky Yan" <[email protected]> wrote in message
    news:9m0tmp$[email protected]..
    Hi,
    Does anyone who hows to config the oracle database connection pool in IAS?
    Thanks so much!!!
    [email protected]
    Jacky

  • Crystal Report Viewer Not Releasing Oracle Database Connections

    I have a very simple vb.net 3.5 web application that uses the Crystal Report viewer 2008 to open a report. My requirements are as follows:
    1. Reports are built by another company and provided to us and used in a web environment
    2. All reports contain parameter fields
    3. The web application must be generic enough that a report can be added to a list and the user simply selects the report and provides database login information. The Crystal report viewer with handle the request for parameter values and prompt the user for their values.
    4. All reports connect to an Oracle 10g server.
    The above requirements have been meet and we have an extremely simple web application that runs the reports. It is working very well other than the crystal report viewer is not releasing the database connections. This is bad because the credentials are on a per user basis and that same user must login to a different oracle application simultaneously. They are being denied access because the credentials are already in use. We do not have control nor influence over the policies in use on the Oracle server. Ideally we would like to control the Crystal Report viewer so that it closes connections after use.
    The web application code is:
    Private Sub viewReports_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
    If Not IsPostBack Then
    ConfigureCrystalReport()
    End If
    End Sub
    Private Sub ConfigureCrystalReport()
    'Load the Crystal Report viewer with a report.
    Try
    Dim reportPath As String = Server.MapPath(Session("reportname"))
    crViewer.ReportSource = reportPath
    Catch ex As Exception
    Response.Write(Server.MapPath(Session("reportname")) & "
    " & ex.Message.ToString & "
    " & ex.StackTrace.ToString)
    End Try
    End Sub
    Can anyone shed some light on this topic? Thank you

    Hello, Timothy;
    By default, having the report in session will hold it open for 20 minutes.
    If you create the report as a ReportDocument object you can take it out of session and release it more efficiently. That will release the connection.
        Private Sub ConfigureCrystalReports()
            If (Session("hierarchicalGroupingReport") Is Nothing) Then
                hierarchicalGroupingReport = New ReportDocument()
                hierarchicalGroupingReport.Load(Server.MapPath("Hierarchical Grouping.rpt"))
                Session("hierarchicalGroupingReport") = hierarchicalGroupingReport
            Else
                hierarchicalGroupingReport = CType(Session("hierarchicalGroupingReport"), ReportDocument)
            End If
            myCrystalReportViewer.ReportSource = hierarchicalGroupingReport
        End Sub
    In the Form Unload of the Viewer:
                'Take the report out of session
                Session("hierarchicalGroupingReport")  = Nothing
                Session.Contents.Remove("hierarchicalGroupingReport")
                'Clean up the ReportDocument object
                hierarchicalGroupingReport.Close
                hierarchicalGroupingReport.Dispose()
                hierarchicalGroupingReport = Nothing
                GC.Collect()
    Elaine

  • 64 bit SAP to 32 bit External Oracle Database connectivity failing

    Dear All,
    We are trying to connect to an external Oracle database thru DBCON method. We are able to connect to Oracle server from our IDES server which is a 32 bit server, but when we are trying to connect our development server which is a 64 bit server, the connectivity is failing.
    we copied the correct 64 bit *.lib file to the SAP server but still same result. We are getting the error message - Work Process restarted. Session terminated.
    the Oracle server we are trying to connect is 32 bit, can this create some problem ?
    kindly any one help us in this reagrd.
    thanks in advance,
    Saurabh.

    Hi Eric,
    thanks for the advice but I am a bit confused as where to execute that sqlplus command/query ?
    in the Oracle server or from SAP and what does system/password@DEV means ??
    can you elaborate on this please.
    here i would like to add that we have connected to the external Oracle server using linked server approach of MS SQL (our SAP default database) and so our connectivity is happening till SQL level i.e. I am able to connect to the Oracle and query it using OpenQuery syntax. the problem is appearing when I am trying to connect from the ABAP level.
    kindly suggest as to what can be the solution of this issue.
    thanks
    Saurabh.

  • Oracle database connectivity using oledb provider and atl classes in c++

    dear friend ,
    i m connecting oracle database in c++. i m using ATL classes and oledb provider for oracle. however i m facing some defficulties in stored procedure.
    Normally MYSQL and sql server database is resulting result set in stored procedure i.e. we can use " select * from tablename" query in c++ to returning result. but in oracle we can not use this approch as because it dosent support. so how can i execute below stored procedure in c++ code. i have to retuen result set in STP. i m using SYS_REFCURSER in oracle . but how do i execute it in c++ code.
    create PROCEDURE stp_getRecord ( p_curser SYS_REFCURSER) as
    begin
    open p_curser for select * from table_name;
    end;
    please help me asap.

    I tried it, commented out the reader.read and have the following connection string
    string connectionString = "provider=ORAOLEDB.ORACLE; data source=ORCL; password=****; user id=****; OLEDB.NET=True"
    Unfortunately the result is the same.
    Edited by: Dino2dy on Nov 24, 2011 12:53 AM

  • 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

  • What is the logic behind the oracle database connections....

    Hi,
    We have crontab alerts are enabled for the oracle database client connection.
    For Production databases the alerts are coming continuously until it gets connected.
    For QA databases it will throw the message that the oracle client connection fails and again it will prompt whenever it gets connected.
    Please let me know the logic behind these scnerions.
    Pavan..
    Edited by: dm_ptldba on Feb 14, 2012 6:45 AM

    Hi,
    Thanks for the update, Sorry the question was not clear. let me put it in a clear way.
    Following is our crontab which alerts us if any database/listener goes down. But it alerts us only once for one successful/unsuccessful connection. For Eg: If the crontab not able to connect to the database for once then it throws an alert only once and waits for a successful connection.
    I would like to change the logic in this crontab in such a way that, it should keep on alerting us for all the unsuccessful connections and once or twice for successful connection.
    . /home/oracle/.bash_profile
    . /opt/oracle/cron/cron_email
    sidfile=/home/oracle/scripts/db-list.txt
    dboutfile=/home/oracle/scripts/dboutfile.tmp
    echo $ORACLE_HOME
    TNS_DIR=$ORACLE_HOME/network/admin
    ORA_BIN=$ORACLE_HOME/bin
    cat $sidfile | while read SIDNAME
    do
    $ORA_BIN/sqlplus -s system/******@$SIDNAME 2> /dev/null >> $dboutfile <<EOF
    @/home/oracle/scripts/db_up.sql
    EOF
    if [ $? -eq 0 ]
    then
    STATUS=1
    if [ -f /home/oracle/scripts/${SIDNAME}-down.txt ]
    then
    /bin/mail -s "Alert :Oracle database instance \"${SIDNAME}\" is up & connected..." [email protected] </dev/null
    rm -rf /home/oracle/scripts/${SIDNAME}-down.txt
    fi
    else
    if [ -f /home/oracle/scripts/${SIDNAME}-down.txt ]; then
    echo "";
    else
    touch /home/oracle/scripts/${SIDNAME}-down.txt
    echo ${SIDNAME} "not Connected ..."
    /bin/mail -s "Alert :Oracle database instance \"${SIDNAME}\" is down......" [email protected] </dev/null
    fi
    fi
    done
    Thank you.
    PTLDBA

  • Getting TXN timeout exception when getting an XA Oracle Database Connection

    Running WLS 8.1 sp5 on Linux in a Cluster (4 servers)
              Using Oracle 10.2.0.2.0 Thin XA driver
              Running Oracle Datbase 9.2.06 or 9.2.07; I think
              I am getting the SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: Transaction rolled back: Transaction timed out after 31 seconds
              It fails at: weblogic.jdbc.jta.DataSource.enlist(Lweblogic/transaction/Transaction;)V(Optimized Method). The exception occurs on all 4 WLS instances at the same time.
              Stack trace at bottom. This problem seems to occur on and off at about the same time. We have not been able to see other jobs that would affect it during this time.
              - Max Pool Size = 25
              - Current and High Connections = 5
              - Num Unavaiable = 0
              - Failure to Reconnect = 0
              - Connection Delay ranges from 57 to 126 milliseconds
              The problem occurs within an MDB. The MDB gets a msg from the JMS queue, fires off an SMTP msg, and tries to update the database and fails due to the timeout on enlisting in the XA transaction.
              Any thoughts on what to look for? Read the info at http://edocs.bea.com/wls/docs81/faq/JTA.html#738205. Is it talking to the Oracle database to enlist. Since occuring on all 4, there is a central place it's failing and I guess the database is a start.
              Thanks. Later...
              - Wayne
              Wed Jan 10 08:30:13 EST 2007: EMS: Exception: EMSSenderDao.mdbChangeMessageQueueStatus() : java.lang.Exception: getMdbDBConnection() : java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: Transaction rolled back: Transaction timed out after 31 seconds
              BEA1-6A0F2B6B5AA26811FBB9
              at weblogic.jdbc.jta.DataSource.enlist(Lweblogic/transaction/Transaction;)V(Optimized Method)
              at weblogic.jdbc.jta.DataSource.getConnection()Ljava/sql/Connection;(Optimized Method)
              at weblogic.jdbc.jta.DataSource.connect(Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;(Optimized Method)
              at weblogic.jdbc.common.internal.RmiDataSource.getConnection()Ljava/sql/Connection;(Optimized Method)
              at com.foo_company.ems.dao.EMSSenderDao.mdbChangeMessageQueueStatus(ILjava/lang/String;I)I(Optimized Method)
              at com.foo_company.ems.ejb.emsmessageconsumer.EMSMessageConsumerBean.onMessage(Ljavax/jms/Message;)V(Optimized Method)
              at weblogic.ejb20.internal.MDListener.execute(Lweblogic/kernel/ExecuteThread;)V(Optimized Method)
              at weblogic.ejb20.internal.MDListener.transactionalOnMessage(Ljavax/jms/Message;)V(Optimized Method)
              at weblogic.ejb20.internal.MDListener.onMessage(Ljavax/jms/Message;)V(Optimized Method)
              at weblogic.jms.client.JMSSession.onMessage(Ljavax/jms/MessageListener;Lweblogic/jms/common/MessageImpl;)V(Optimized Method)
              at weblogic.jms.client.JMSSession.execute(Lweblogic/kernel/ExecuteThread;)V(Optimized Method)
              at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(Optimized Method)
              at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
              at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)

    Wayne Lau wrote:
              > Running WLS 8.1 sp5 on Linux in a Cluster (4 servers)
              > Using Oracle 10.2.0.2.0 Thin XA driver
              > Running Oracle Datbase 9.2.06 or 9.2.07; I think
              >
              > I am getting the SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: Transaction rolled back: Transaction timed out after 31 seconds
              >
              > It fails at: weblogic.jdbc.jta.DataSource.enlist(Lweblogic/transaction/Transaction;)V(Optimized Method). The exception occurs on all 4 WLS instances at the same time.
              >
              > Stack trace at bottom. This problem seems to occur on and off at about the same time. We have not been able to see other jobs that would affect it during this time.
              > - Max Pool Size = 25
              > - Current and High Connections = 5
              > - Num Unavaiable = 0
              > - Failure to Reconnect = 0
              > - Connection Delay ranges from 57 to 126 milliseconds
              >
              > The problem occurs within an MDB. The MDB gets a msg from the JMS queue, fires off an SMTP msg, and tries to update the database and fails due to the timeout on enlisting in the XA transaction.
              >
              > Any thoughts on what to look for? Read the info at http://edocs.bea.com/wls/docs81/faq/JTA.html#738205. Is it talking to the Oracle database to enlist. Since occuring on all 4, there is a central place it's failing and I guess the database is a start.
              >
              > Thanks. Later...
              >
              >
              > - Wayne
              Hi. At that moment the issue, whatever it is, has already happened.
              Something in the processing of the transaction to this point has
              already taken longer than you have specified that a transaction
              must complete in. Ideally we'd like to see the JTA/JDBC/2PC debug
              logging turned on, so we have lines with timestamps for every
              step in your tx.
              Joe
              > Wed Jan 10 08:30:13 EST 2007: EMS: Exception: EMSSenderDao.mdbChangeMessageQueueStatus() : java.lang.Exception: getMdbDBConnection() : java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: Transaction rolled back: Transaction timed out after 31 seconds
              > BEA1-6A0F2B6B5AA26811FBB9
              > at weblogic.jdbc.jta.DataSource.enlist(Lweblogic/transaction/Transaction;)V(Optimized Method)
              > at weblogic.jdbc.jta.DataSource.getConnection()Ljava/sql/Connection;(Optimized Method)
              > at weblogic.jdbc.jta.DataSource.connect(Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;(Optimized Method)
              > at weblogic.jdbc.common.internal.RmiDataSource.getConnection()Ljava/sql/Connection;(Optimized Method)
              > at com.foo_company.ems.dao.EMSSenderDao.mdbChangeMessageQueueStatus(ILjava/lang/String;I)I(Optimized Method)
              > at com.foo_company.ems.ejb.emsmessageconsumer.EMSMessageConsumerBean.onMessage(Ljavax/jms/Message;)V(Optimized Method)
              > at weblogic.ejb20.internal.MDListener.execute(Lweblogic/kernel/ExecuteThread;)V(Optimized Method)
              > at weblogic.ejb20.internal.MDListener.transactionalOnMessage(Ljavax/jms/Message;)V(Optimized Method)
              > at weblogic.ejb20.internal.MDListener.onMessage(Ljavax/jms/Message;)V(Optimized Method)
              > at weblogic.jms.client.JMSSession.onMessage(Ljavax/jms/MessageListener;Lweblogic/jms/common/MessageImpl;)V(Optimized Method)
              > at weblogic.jms.client.JMSSession.execute(Lweblogic/kernel/ExecuteThread;)V(Optimized Method)
              > at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(Optimized Method)
              > at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
              > at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)

  • Rwservlet / oracle database connection reuse by multiple reports

    Dear all,
    I have deployed multiple web reports on Oracle Application Server 10g.
    All my reports connect to a single Oracle database.
    My question is:
    How to configure rwservlet to maitain a kind of connection pool(cached set of connections for reuse) to the database?
    I want to avoid establishing a new database connection each time a user runs a report.
    Thanks.

    you can create a CGICMD file and send the requests to cgicmd through the servlet.

  • 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

  • Unsatisfied link error for oracle database connection

    Hi all,
    I am tryin to establing connection to the oracle database through weblogic 6.1.
    the connection starts normally and then it gives me an error stating that weblogicoci37
    is not found in the java library path. I tried to find it out in the weblogic
    directory but managed to find out some files with ...oci36. Am doing something
    weird!!
    I am sure i downloaded the correct driver. My OS is NT and webserver 6.1 and the
    jdriver is ocirel510sp11 package for oracle. Would be great to have some suggestions!
    i have listed the error below.
    Starting Loading jDriver/Oracle .....
    Error encountered:
    java.sql.SQLException: System.loadLibrary(weblogicoci37) threw java.lang.UnsatisfiedLinkError:
    no we
    blogicoci37 in java.library.path
    at weblogic.jdbc.oci.Driver.loadLibraryIfNeeded(Driver.java:226)
    at weblogic.jdbc.oci.Driver.connect(Driver.java:76)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:146)
    at utils.dbping.main(dbping.java:167)

    found the error, i forgot to add the oci817_8 folder from the weblogic bin directory
    in the path.
    "arif" <[email protected]> wrote:
    >
    Hi all,
    I am tryin to establing connection to the oracle database through weblogic
    6.1.
    the connection starts normally and then it gives me an error stating
    that weblogicoci37
    is not found in the java library path. I tried to find it out in the
    weblogic
    directory but managed to find out some files with ...oci36. Am doing
    something
    weird!!
    I am sure i downloaded the correct driver. My OS is NT and webserver
    6.1 and the
    jdriver is ocirel510sp11 package for oracle. Would be great to have
    some suggestions!
    i have listed the error below.
    Starting Loading jDriver/Oracle .....
    Error encountered:
    java.sql.SQLException: System.loadLibrary(weblogicoci37) threw java.lang.UnsatisfiedLinkError:
    no we
    blogicoci37 in java.library.path
    at weblogic.jdbc.oci.Driver.loadLibraryIfNeeded(Driver.java:226)
    at weblogic.jdbc.oci.Driver.connect(Driver.java:76)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:146)
    at utils.dbping.main(dbping.java:167)

  • Oracle database Connectivity using OCI driver

    I am getting the error only when ever I am using oci driver
    oracle.url=jdbc:oracle:oci:@(description=(address=(host=url.name.com)(protocol=tcp)(port=1521))(connect_data=(sid=user)))
    04:52:55,093 ERROR [STDERR] java.sql.SQLException: ???S???Y??x??
    04:52:55,094 ERROR [STDERR] at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    04:52:55,094 ERROR [STDERR] at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
    04:52:55,095 ERROR [STDERR] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204)
    04:52:55,095 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:650)
    04:52:55,095 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:338)
    04:52:55,095 ERROR [STDERR] at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
    04:52:55,095 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133)
    04:52:55,096 ERROR [STDERR] at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)
    04:52:55,096 ERROR [STDERR] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
    04:52:55,096 ERROR [STDERR] at java.sql.DriverManager.getConnection(DriverManager.java:582)
    04:52:55,096 ERROR [STDERR] at java.sql.DriverManager.getConnection(DriverManager.java:185)
    04:52:55,097 ERROR [STDERR] at org.apache.jsp.index_jsp._jspService(index_jsp.java:68)
    04:52:55,097 ERROR [STDERR] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    04:52:55,097 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    04:52:55,097 ERROR [STDERR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
    04:52:55,097 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
    04:52:55,098 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
    04:52:55,098 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    04:52:55,098 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
    04:52:55,098 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
    04:52:55,099 ERROR [STDERR] at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63)
    04:52:55,099 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
    04:52:55,099 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
    04:52:55,099 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
    04:52:55,099 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    04:52:55,100 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
    04:52:55,100 ERROR [STDERR] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
    04:52:55,100 ERROR [STDERR] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
    04:52:55,100 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
    04:52:55,101 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
    04:52:55,101 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    04:52:55,101 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    04:52:55,101 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    04:52:55,101 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    04:52:55,102 ERROR [STDERR] at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
    04:52:55,102 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
    04:52:55,102 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
    04:52:55,102 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
    04:52:55,102 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
    04:52:55,103 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
    04:52:55,105 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[Test].[jsp]] Servlet.service() for servlet jsp threw exception: java.sql.SQLException: ???S???Y??x??
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
    at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:650) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:338) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
    at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
    at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
    at java.sql.DriverManager.getConnection(DriverManager.java:582) [:1.6.0_13]
    at java.sql.DriverManager.getConnection(DriverManager.java:185) [:1.6.0_13]
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:68)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [:6.0.0.20100911-M5]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Beta2]
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) [:6.0.0.20100911-M5]
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [:6.0.0.20100911-M5]
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [:6.0.0.20100911-M5]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Beta2]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.20100911-M5]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100911-M5]
    at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:6.0.0.20100911-M5]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.20100911-M5]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100911-M5]
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.20100911-M5]
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.20100911-M5]
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.20100911-M5]
    at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
    at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.20100911-M5]
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.20100911-M5]
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.20100911-M5]
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.20100911-M5]
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.20100911-M5]
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.20100911-M5]
    at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.20100911-M5]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.20100911-M5]
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.20100911-M5]
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:6.0.0.20100911-M5]
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.20100911-M5]
    at java.lang.Thread.run(Thread.java:619) [:1.6.0_13]
    When I am using thin driver, I am successful in connecting to the database
    oracle.url=jdbc:oracle:thin:@(description=(address=(host=url.name.com)(protocol=tcp)(port=1521))(connect_data=(sid=user)))
    I am using JBOSS 1.6 with oracle 11.1.0 and jdk 1.6
    Please help me resolve the problem
    Thanks,
    Kumar

    You should confirm that you can connect to the DB with a simple Java class using the url that the code you posted is using.
    This will show that the OCI client is installed and executing properly. If you can't connect externally you will need to fix that first.
    Is the Oracle client installed on the same machine the JDBC code is running on?

  • Oracle Database Connectivity

    T
    Edited by: user647180 on 13-Mar-2010 8:50 PM

    user647180 wrote:
    Hi,
    I installed Oracle 10 g database on my windows vista 64 bit operating system , and then I installed Oracle client on windows XP, Finally I copy the tnsnames.ora file on my client site, Now I am able to access the database through my client.
    My question is how can I acces my database from anywhere, For example I am at my friend home and I want to acces my home database.
    Simple steps would be appreciateable.
    ThanksTo answer this sensibly I would to look at a person's level of experience if they have not give much information. So I looked at your 2 previous posts .....
    Okay ... let me get you right ........
    On Oct 6th 2009 on {message:id=3810910} you said you are an Oracle certified (8i,9i,10g) professional
    On Oct 11th 2009 you said on {thread:id=970285} I have two computer, I want to install oracle 10g database on one and client on second. anybody can tell how can i do this? Is 10g database and Client is a different software? and how can i connect client to database,I think something tnsnames.ora?
    I am really hard pressed to understand an Oracle certified (8i,9i,10g) professional can ask the Oct 11th 2009 question.
    If you are actually legitimately certified, and I have my doubts, please be aware Oracle retains the right to decertify people who do not demonstrate the required level of competence!!
    If I've misread something here I must offer my apologies.
    One method is to open firewall and establish NAT so your listener is forwarded via a port on your public IP address (which may not be static, so may change from time to time); and arrange for the tns connection stanza on this client to point to this IP and port opening up the firewall at your friends as necassary. Using VPN is another option. The methods for doing these are software and equipment dependent, but hopefully what I have described is a 6/10 description of the process.
    Apart from me questioning the validity of your certification credentials .... can I also ask what this has to do with Oracle Certifications on the Oracle Certification forum ? (Database general or installation might be better, though I'm not sure either forum is totally relevant).
    And can you see your certifications on Certview [http://certview.oracle.com/] ?

Maybe you are looking for

  • BI Publisher: how to get Oracle database data row as interval in report

    Dear everyone, I am new to BI publisher and trying to get a data from Oracle table and display it as cumulative columns in a report. But stuck at this, please help, detail as below: Example: this is a sample of database table taken from Primavera app

  • Listening for multiple keypresses simultaneously

    I'm trying to move a rectangle around with arrow keys. The current code of keyPressed method is      public void keyPressed(KeyEvent e){ /*           switch(e.getKeyCode()){                case 37: x=(Math.max(0,x-3));break;                case 38: y

  • HT4528 Problem with messages

    Since upgrading to the most current system - iO6, my messages have not worked right. Yesterday out of the blue, I couldn't reply or send a text to anyone that has an iPhone .. the keyboard was grayed out. Today the same thing, was working ok then whe

  • Please explain   how to handle

    iam reading some value from a file and write to another file.In the reading file contains <edm:fromReference>268520629#268771030</edm:fromReference> <edm:OrderItem> <edm:Order orderID="1024560"/> <edm:fromReference>1024560</edm:fromReference> <edm:fr

  • Nightguy2000

    I need to transfer hi8 Sony tapes to elements 11. Do I need extra. Hardware