MSSQl jdbc Driver1.2 connection error in Dash Board...

Hi,
I installed OIM 9.1.0.1 with following pre-requisites, but when i using Dash Board getting error stating jdbc driver load fails.
1) Windows 2003 sp2
2) MSSQL server 2005 sp2
3) Weblogic server 10.3
4) OIM 9.1.0.1
(After installing the OIM i am unable to start the Weblogic server, so i removed realm entry from config.xml file then i can able to use the admin console of the Weblogic Server.But i am unable to log-in to the OIm admin console by using uid xelsysadm and password which i given at the time of OIM installation)
by using above components to install the OIM 9.1.0.1 i followed the PDF from http://download.oracle.com/docs/cd/E14049_01/doc.9101/e14047/toc.htm and i downloaded the sqljdbc_1.2.2828.100_enu.exe from the site with approx size is 2.96 mb.
So please to get me out from the JDBC Driver load error saying com.miicrosoft.jdbc.sqlserver.SqlServerDriver.
Thanks and Regrads,
Santosh Akula

It sounds like you are trying to use the think (OCI) driver. Is this correct?
The OCI client installed on your machine must match the JDBC drivers you are using to connect; if you are using the default JDBC drivers shipped with JDev, you may be seeing this incompatability.
Try using the classes12.jar from your Oracle Home instead (if you are running from JDev, you can just create a new library to point to the Oracle Home JDBC driver and use that in your project instead).
- John McGinnis
JDev Team

Similar Messages

  • (ORA-12505) JDBC - Oracle connectivity Error

    Hi
    Experts
    I am SAP developer.
    I am trying to connecting remote server through webDynpro ( SAP programming Tool.) through JDBC. I can directly get connected to Oracle server through SQL plus.
    My code to establish connection is
    conn =DriverManager.getConnection ("jdbc:oracle:thin:@132.132.48.4:1521:orclahd.adaniahd.com","scott", "tiger");
    and i am getting exception.
         java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: 132.132.48.4:1521:orclahd.adaniahd.com

    your database is not registered with the listener.
    you need to go to the server and check the status of the listener to see if the database service is registered. If not you need to do it manually.
    LSNRCTL status

  • Getting an error in JDBC mySQL Connection

    Hi,
    I am creating JDBC mySQL Connection error.
    The eror messsage is
    Incorrect name parameter jdbc:mysql://10.114.16.70:3306/kaushikb root,pass in naming operation.where root is the username and pass is the password and kaushikb is the database name.
    I am entering the tablename as: emptable.
    Regards
    Taton
    Edited by: Taton on Dec 11, 2008 3:15 PM

    Let me guess: you did
    getConnection("jdbc:mysql://10.114.16.70:3306/kaushikb root,pass");rather than
    getConnection("jdbc:mysql://10.114.16.70:3306/kaushikb", "root", "pass");

  • Xcelsius dash board showing warnings

    Hi,
    We are executing xcelsius dash board , which is built upon Bex query by using BICS connectivity
    .Now that dash board  is showing warning messages  as these messages are  displaying in the Bex Query.
    can anybody suggest why this messages are showing in the xcelsius or how to suppress these warnings either at the backend or at the front end. we are using xcelsius 2008 sp3.
    Thanks in advance...
    Phani Rayasam

    Hi,
    I Tried  to suppress the warnings in RSRT ,but still iam getting the warnings. can you pls suggest any other alternative  from xcelsius point of view.
    Thanks in advance
    Phani Rayasam

  • MSSQL's JDBC random connection refused

    I am having a random "unable to connect" error from my java application. Sometimes it's fine, apps running without any problem, but sometimes this exception comes up. I am writing this app at home and my SQL server is at office (behind a router with SPI firewall, but i have port forwarded TCP port 1433 for the connection). If I telnet to SQL server, i wont get any error message but a blank screen, it looks like the server side is waiting for my console input.
    IDE: NetBeans IDE 6.0 (Build 200711261600)
    JavaSDK: 1.6.0 build 1.6.0_03-b05
    MSSQL JDBC Driver: should be latest (i downloaded off from MS website in early March)
    MSSQL: MS SQL 2005 Developer Edition
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect
    any help would be appreciated
    Jimmyson

    this is a sample of my JDBC code:
        private boolean isOnline()
            Connection myConnection = null;
            String myServerPath =      "jdbc:sqlserver://" + dbAddress + ":" + dbPort + ";" +
                        "databaseName=" + dbDefaultDB + ";user=" + dbUsername +
                        ";password=" + dbPassword;
            try
                Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
                myConnection = DriverManager.getConnection(myServerPath);
                myConnection.close();
                return true;
            catch (Exception e)
                e.printStackTrace();
                return false;
        }Sorry if my code is bad
    Edited by: istudio on Mar 27, 2008 6:23 AM for formatting issue

  • Dash Board in BO pord server is showing error

    HI Expert,
                   While i open my dash board in BO production server it showing me error
    "A database error occured. The database error text is: Unable to connect to SAP BW server SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
    Connect_PM  GWHOST=172.16.5.44, GWSERV=sapgw00, ASHOST=172.16.5.44, SYSNR=00
    LOCATION    SAP-Gateway on host pagebip / sapgw00
    ERROR       max no of cpic clients exceeded (300)
    TIME        Fri May 20 19:20:13 201
    RELEASE     700
    COMPONENT   SAP-Gateway
    VERSION     2
    RC          633
    MODULE      gwxxrd.c
    LINE        8386
    COUNTER     6311
    . (WIS 10901)"
    Please tell me how to resolve this error, because sometimes dash board is working properly,
    Thanks and Regards
    Lalit Kumar

    Hi Experts,
                     I am waiting for reply.
    Thanks and Regards
    Lalit Kumar

  • Error while executing the BO Dash Board

    Dear Sapians
    i am facing the following issues in the BO while execute the Dash Board.
    But the authorization working fine in BW side . In the filter of the BO Dash Board i am getting the correct values which i was restricted in the BW side.
    Please help me to solve this.
    Thanks
    Haji

    Hi Vamsi.
    The exactly erro refers to a problems when you try upgrade from these version to 11.5.10.
    Can you read this note and apply solution? The note refers a patch, but the problem is the same.
    After Patch 4334965, adstrtal.sh & adstpall.sh is failing with errors [ID 360046.1]
    BR Rafael Ceolim

  • ADF: Gracefully handling JDBC connection errors?  Part II

    Hi gang
    I while back I posted a forum post to find a solution to "display a specific web page when the JDBC connection drops out on our ADF application, specifically the following error: oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection"
    ...you can see the original post here:
    Re: ADF: Gracefully handling JDBC connection errors?
    For the life of me I can't get this to work now. It appears I can't redirect to another page during the call to reportException. I've had a play with different methods of redirecting, as seen in the following code sample:
    public class ErrorHandlerImpl extends DCErrorHandlerImpl {
      public ErrorHandlerImpl() {
        super(true);
      @Override
      public void reportException(DCBindingContainer dCBindingContainer, Exception exception) {
    //    try {
          String message = exception.getMessage();
          if (message.indexOf("JBO-26061") >= 0) {
            // Method 1
            FacesContext fc = FacesContext.getCurrentInstance();
            UIViewRoot viewRoot =
            fc.getApplication().getViewHandler().createView(fc, "faces/errorPage.jspx");
            fc.setViewRoot(viewRoot);
            fc.renderResponse();
            // Method 2              
            // FacesContext fc = FacesContext.getCurrentInstance();
            // fc.getApplication().getNavigationHandler().handleNavigation(fc, null, "goError");
            // fc.responseComplete();
            // Method 3 - required IOExcepition handler
            // FacesContext.getCurrentInstance().getExternalContext().redirect("faces/errorPage.jspx");
          } else
              super.reportException(dCBindingContainer, exception);
    //    } catch (IOException e) {
    }... with no success.
    Has anyobody any other solutions or advice on getting this to work?
    Your help appreciated.
    Thanks & regads,
    CM.
    PS. JDev 11gR1 ADF BC + ADF Faces RC

    Hi Frank
    Yep, I' tried redirect, that was method 3 (you can see all 3 methods I've attempted, last 2 are commented out).
    With the declarative ADFc exception handler, problem is it's a catch all, not specifically for JBO-26061. Can you think of a way I can tailor fit it for JBO-26061 with a custom message "Database down"?
    In addition the exception handler is not consistently called. As example, if you're moving between pages rather than operating on 1 page, the standard af:messages error dialog is shown if the db connection has been dropped, rather than navigating to the exception handler page. As such it seems the DCErrorHandlerImpl.reportExceptions is the better chokepoint to work from.
    Cheers,
    CM.

  • Error while running script HyperV - Dash Board - VM and Storage Report

    Hi Team,
    I am getting below error while running HyperV dashoboard monitor & storage report script from Technet script library.
    HyperV - Dash Board - VM and Storage Report
    Finished processing VM  - xxxx
    Processing VM - xxxxx
    Get-VHD : Unable to cast COM object of type 'System.__ComObject' to interface type 'System.Management.IWbemServices'.
    This operation failed because the QueryInterface call on the COM component for the interface with IID
    '{9556DC99-828C-11CF-A37E-00AA003240C7}' failed due to the following error: The requested object does not exist.
    (Exception from HRESULT: 0x80010114).
    At C:\Scripts\HyperV-DashBoard-v2.1.ps1:210 char:10
    +                     If (Get-VHD -VMID $vmDetails.VMID -ComputerName $cNodes.Name[$i])
    +                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Get-VHD], InvalidCastException
        + FullyQualifiedErrorId : Unspecified,Microsoft.Vhd.PowerShell.GetVhdCommand
    Get-VMNetworkAdapter : Unable to cast COM object of type 'System.__ComObject' to interface type
    'System.Management.IWbemServices'. This operation failed because the QueryInterface call on the COM component for the
    interface with IID '{9556DC99-828C-11CF-A37E-00AA003240C7}' failed due to the following error: The requested object
    does not exist. (Exception from HRESULT: 0x80010114).
    At C:\Scripts\HyperV-DashBoard-v2.1.ps1:238 char:12
    +                      If ((Get-VMNetworkAdapter -VMName $vmDetails.Name -ComputerName $cNodes.Na ...
    +                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Get-VMNetworkAdapter], InvalidCastException
        + FullyQualifiedErrorId : Unspecified,Microsoft.HyperV.PowerShell.Commands.GetVMNetworkAdapterCommand

    Hi ,
    I found that the problem had been solved in the script blog by your self :
    http://gallery.technet.microsoft.com/scriptcenter/HyperV-Dash-Board-VM-Disk-299bac7d/view/Discussions#content
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Sql server 2000 type4 driver for jdbc connection error

    hello,
    I am trying to connect m ms sql server 2000 database server with type 4 driver.But I am getting an connection error like *"Error Establishing Socket"* .Can any one please help me out?

    Well i personally prefer usage of open source MS SQL SERVER 2k jdbc driver called jtds instead of the driver provided by MS themselves(which is proproteriry) as i had similar problem which i personally encountered when i was using it.
    go through the below link for further info.
    http://jtds.sourceforge.net/
    REGARDS,
    RaHuL

  • Connection Pooling SQL EXception - MSSQL JDBC

    guys,
    i am running a mssql jdbc driver from microsoft(with javax support) and i can't get it running on my sun one server. Btw, I have tested this driver by connecting using a normal connection and it worked.. right now i am connecting via sun one's connection pooling interface. Do i need to use a diffrent connection string aside from connection as illustrated in the docs jdbc:microsoft:sqlserver://192.168.0.1:1433;databaseName=emp" have.. I am having these messages...
    Exception
    javax.servlet.ServletException: com.sun.enterprise.repository.J2EEResourceException
    java.lang.NoSuchMethodException: setServerName
         at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:507)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:448)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:309)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
    Root Cause
    java.sql.SQLException: com.sun.enterprise.repository.J2EEResourceException
    java.lang.NoSuchMethodException: setServerName
         at com.sun.enterprise.resource.JdbcDataSource.internalGetConnection(JdbcDataSource.java:261)
         at com.sun.enterprise.resource.JdbcDataSource.getConnection(JdbcDataSource.java:98)
         at wasp.hr.login.action.LoginSubmitAction.execute(LoginSubmitAction.java:59)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:446)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:309)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)

    I am having similiar issue on this as well.. Did you ever resolve this problem successfully?
    Thanks,
    --kuan                                                                                                                                                                                                                       

  • Teradata connection error in jdbc -- DriverManager.getConnection()

    I have issue while connecting to teradata DB from a sampel jave jdbc code.
    the code is as below.
    String url="jdbc:teradata://10.33.22.27/AMRROCD";
    Class.forName("com.teradata.jdbc.TeraDriver");
    Properties x = new Properties();
    x.put("user","user123");
    x.put("password","pwd123");
    Connection con = DriverManager.getConnection (url, x);--> i am getting error at this line as
    GSSException: Failure unspecified at GSS-API level (Mechanism level: UserFile parameter null)
    at com.teradata.tdgss.jtdgss.TdgssParseXml.<init>(DashoA1*..)
    at com.teradata.tdgss.jtdgss.TdgssConfigApi.<init>(DashoA1*..)
    at com.teradata.tdgss.jtdgss.TdgssManager.<init>(DashoA1*..)
    at com.teradata.tdgss.jtdgss.TdgssManager.getInstance(DashoA1*..)
    at com.teradata.jdbc.jdbc.GenericTeraEncrypt.getGSSM(GenericTeraEncrypt.java:583)
    at com.teradata.jdbc.jdbc.GenericTeraEncrypt.getConfig(GenericTeraEncrypt.java:601)
    at com.teradata.jdbc.jdbc.GenericTeraEncrypt.getUserNameForOid(GenericTeraEncrypt.java:694)
    at com.teradata.jdbc.AuthMechanism.<init>(AuthMechanism.java:50)
    at com.teradata.jdbc.jdbc.GenericInitDBConfigState.action(GenericInitDBConfigState.java:105)
    at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:49)
    at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:195)
    at com.teradata.jdbc.jdbc_3.ifjdbc_4.TeraLocalConnection.<init>(TeraLocalConnection.java:94)
    at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:55)
    at com.teradata.jdbc.TeraDriver.doConnect(TeraDriver.java:216)
    at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:149)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at dbValidation.main(dbValidation.java:25)
    Error java.lang.NullPointerException
    could anybody have an idea on this , its urgent for me to solve this.
    I am able to execute the code in windows OS . this error is occourring in UNIX system

    You'd have to pursue Teradata for support/help with their JDBC driver. This has nothing
    to do with Oracle though...

  • JDBC connection error -- unknown SID

    Hello,
    I am trying to run my first JDBC application (using the thin driver) -- the Oracle DMLSample example. But I am getting a connection error related to SID:
    "Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was:(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(PORT=1521)(HOST=127.0.0.1))(CONNECT_DATA=(SID=dmsdm)))"
    Here is my setup:
    I have started the listener -- here is the result of "lsnctl start" command:
    Starting /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=qella.array.ca)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Here is the listener.ora file content
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 25-MAY-2007 09:46:36
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=qella.array.ca)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    The application is built with JDevloper and tries to connect to the DB (located on the same Linux machine where the Oracle installed) with the following parameters:
    HostName = qella.array.ca
    SID = dmsdm
    Port = 1521
    UserName = hr
    Password = hr
    Here is the listener.ora file contents:
    # listener.ora Network Configuration File:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = qella.array.ca)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    Here is the listener.ora file contents:
    # tnsnames.ora Network Configuration File:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = qella.array.ca)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    My questions:
    1. What is wrong/missing in my setup?
    2. In case I don't remember the SID -- how can I find it?
    Thanks very much!
    Mark.

    Mark,
    You asked:
    What is wrong/missing in my setup?Possibly nothing. My guess is the problem is with your code. Excuse me, but I couldn't find that in your post.
    You also asked:
    In case I don't remember the SID -- how can I find it?In one of the data dictionary views. The Oracle documentation will tell you which one.
    (I don't remember right now.)
    Note, however, that the connection URL you use in JDBC may contain either the SID or the service name and you have posted the service name, namely:
    (SERVICE_NAME = XE)For your information I have Oracle database express edition (XE) installed on my Windows machine. The connection URL I use to connect to the sample HR schema is:
    jdbc:oracle:thin:HR/hr@//localhost:1521/XEIf you haven't already done so, I recommend reading the Oracle documentation first, in particular the JDBC User's Guide and Reference.
    Good Luck,
    Avi.

  • Jdbc-odbc bridge connection error

    Hi,
    Please help me to create a jdbc-odbc connection from Jdev10g to a TSM server database.
    I have created a database connection with the following parameters:
    Connection name: tsm1a
    Connection type: jdbc-odbc bridge
    Username: admin
    Password: ***
    Datasource name: tsm1 (this is the name of the DSN datasource name in my Windows ODBC DSN datasource)
    Extra parameters: NONE
    Clicking on the Test button shows Success!
    I have tried to launch the SQL worksheet, it is success and give me a correct result to my "select * from volumes" query.
    I have created a simple JSP page:
    <%@ page contentType="text/html;charset=windows-1250"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/sqltaglib.tld"
    prefix="database"%>
    <html>
    <body>
    <database:dbOpen connId="c1" URL="jdbc:odbc:TSM1a" user="admin" password="***">
    <database:dbQuery connId="c1" output="html" queryId="q1" >
    select * from volumes
    </database:dbQuery>
    </database:dbOpen>
    </body>
    </html>
    The result of the run of it:
    javax.servlet.jsp.JspTagException: Failed to establish connection     at oracle.jsp.dbutil.tagext.dbOpenTag.doStartTag(dbOpenTag.java:115)
    Please help me, how to get a connection to the ODBC datasource from a jsp page.
    What is wrong in the URL string or elsewhere ?
    Thanks a lot in advance:
    Arpad

    Hi,
    Please help me to create a jdbc-odbc connection from Jdev10g to a TSM server database.
    I have created a database connection with the following parameters:
    Connection name: tsm1a
    Connection type: jdbc-odbc bridge
    Username: admin
    Password: ***
    Datasource name: tsm1 (this is the name of the DSN datasource name in my Windows ODBC DSN datasource)
    Extra parameters: NONE
    Clicking on the Test button shows Success!
    I have tried to launch the SQL worksheet, it is success and give me a correct result to my "select * from volumes" query.
    I have created a simple JSP page:
    <%@ page contentType="text/html;charset=windows-1250"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/sqltaglib.tld"
    prefix="database"%>
    <html>
    <body>
    <database:dbOpen connId="c1" URL="jdbc:odbc:TSM1a" user="admin" password="***">
    <database:dbQuery connId="c1" output="html" queryId="q1" >
    select * from volumes
    </database:dbQuery>
    </database:dbOpen>
    </body>
    </html>
    The result of the run of it:
    javax.servlet.jsp.JspTagException: Failed to establish connection     at oracle.jsp.dbutil.tagext.dbOpenTag.doStartTag(dbOpenTag.java:115)
    Please help me, how to get a connection to the ODBC datasource from a jsp page.
    What is wrong in the URL string or elsewhere ?
    Thanks a lot in advance:
    Arpad

  • Destroying connection that is not valid, due to the following exception [com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset]

    Hi everyone, 
    I'm facing the following problem in a Server runing Linux with JBoss AS 4.2.2, JRE 1.6, and MSSQL Server 2005 with JDBC 2.0 (sqljdbc4.jar).
    The thing is: on friday morning I started up the server and everything worked fine ... next, from Friday at 6pm to Saturday at 8am nobody has used the system. 
    Then on Saturday at 8:05 got the following warning lines every time I tried to do something in my application. While it seems that everything works, after a few days the system starts to decrease their performance and malfunction, so I want to know why it
    might happen these warnings.
    I have tried to find a solution to this problem in several places but I'm not succeeding. That's why I'm writing my problem here... 
    Hope somebody can help me!
    Thanks in advance and best regards!
    Cristian.
    This is the "error" log.
    2011-06-11 08:05:29,680 WARN [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Destroying connection that is not valid, due to the following exception: ConnectionID:2941
    com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1352)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1339)
    at com.microsoft.sqlserver.jdbc.TDSChannel.read(IOBuffer.java:1654)
    at com.microsoft.sqlserver.jdbc.TDSReader.readPacket(IOBuffer.java:3694)
    at com.microsoft.sqlserver.jdbc.TDSCommand.startResponse(IOBuffer.java:5022)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(SQLServerStatement.java:773)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(SQLServerStatement.java:676)
    at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:4575)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1400)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:179)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:154)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(SQLServerStatement.java:649)
    at org.jboss.resource.adapter.jdbc.CheckValidConnectionSQL.isValidConnection(CheckValidConnectionSQL.java:58)
    at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection(BaseWrapperManagedConnectionFactory.java:435)
    at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkValid(BaseWrapperManagedConnection.java:231)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.matchManagedConnections(LocalManagedConnectionFactory.java:200)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:211)
    at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:538)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)
    at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:315)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
    at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
    at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
    at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
    at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
    at org.hibernate.loader.Loader.doQuery(Loader.java:673)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
    at org.hibernate.loader.Loader.doList(Loader.java:2220)
    And this is my mssql-ds.xml
    <local-tx-datasource>
    <jndi-name>jdbc/bpmsdb</jndi-name>
    <connection-url>jdbc:sqlserver://ipaddress:1433;DatabaseName=BPMS</connection-url>
    <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
    <user-name>user</user-name>
    <password>pwd</password>
    <min-pool-size>5</min-pool-size>
    <max-pool-size>50</max-pool-size>
    <exception-sorter-class-name>
    org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
    </exception-sorter-class-name>
    <metadata>
    <type-mapping>MS SQLSERVER2000</type-mapping>
    </metadata>
    <new-connection-sql>select 1</new-connection-sql>
    <check-valid-connection-sql>select 1</check-valid-connection-sql>
    <idle-timeout-minutes>5</idle-timeout-minutes>
    </local-tx-datasource>

    I´m facing similar problem with Linux and SQL Server 2008 R2. I made the downgrade of JDK 1.6 from 27 to 26 (some people reporting errors when upgraded to jdk1.6_29 and rolling back is ok) but for me the error persists. At this moment we are testing with
    sqljdbc4.jar version 4.0 (released in 3/6/2012). The curious I have two equals Linux boxes and only one have presented connection reset errors.
    Thanks in advance.
    Carlos

Maybe you are looking for

  • How to check SSO user from database?

    Hi: I've posted this topic in Forms forum: How to check SSO user from database? then as I've been told, it's better to post it here, so ...... here is the question: I'm writing a "before delete trigger" to insert into log table before delete. Is ther

  • Can't open *.swf files in pc.

    It dint cross my mind, when i installed win 7 ultimate x86 2 weeks ago and installed adobe cs4 master suite, to check whether i can open swf files or not. I just like always, downloaded ADM, and installed Flash player 10.1. The web videos were all wo

  • Index not usable in my simple query

    Hi, I have created index for INC_ID coloumn but when I use it in queries, it is not working. Verified the index it is on valid stat only, eventhough its not using in queries. can you please suggest why it is not using. what I have to do for this. I a

  • Content server 401 error while creating content repository

    Hi All I have installed Content server 640 on SUSE Linux 10 SP2 without selecting the SAP DB option as i wanted to store all my files on FILE SYSTEM. My filesystem is as below ==========================================================================

  • Excel Drill Thru

    One of my user is trying to drill through using essbase excel addin. The user is getting the following error [OLAPISVR] 2003000: ODBC Error [Oracle][ODBC][Ora]ORA-01795-maximum number of expression in a list is 1000. Please help me. Thank you