Generic Connection with weblogic.jdbc.sqlserver.SQLServerDriver

Hi,
    I am able to setup the SQLServer Generic connection in jdeveloper no issue with that, but i am trying the same in the server with jython as follows:
ods =  OracleDataSource();
ods.setURL("jdbc:weblogic:sqlserver://MY_HOST:PORT;DatabaseName=MY_DBNAME");
ods.setUser(argDBUser);
ods.setPassword(argDBPassword);
con = ods.getConnection(); // at this point
And i am getting "Invalid Oracle URL specified"
If you have encountered such issue. I will greatly be thankful, for you input.
Please let me know what i have missed or wrong.
jdev 11.1.1.6
Thanks

test test wrote:
Hi,
I am just writing a test program in Eclipse and tried to connect to MS SQL Server. I added weblogic.jar to project lib. But it complaints ClassNotFound: weblogic.jdbc.sqlserver.SQLServerDriver. where is it?
Found out I have to have wlbase.jar wlclient.jar wlutil.jar wlsqlserver.jar.You need wlbase, wlutil, wlsqlserver, and weblogic jars.
Joe

Similar Messages

  • Which jar is weblogic.jdbc.sqlserver.SQLServerDriver located?

    Hi,
    I am just writing a test program in Eclipse and tried to connect to MS SQL Server. I added weblogic.jar to project lib. But it complaints ClassNotFound: weblogic.jdbc.sqlserver.SQLServerDriver. where is it?
    Found out I have to have wlbase.jar wlclient.jar wlutil.jar wlsqlserver.jar.
    Edited by Holy at 01/29/2007 12:05 PM

    test test wrote:
    Hi,
    I am just writing a test program in Eclipse and tried to connect to MS SQL Server. I added weblogic.jar to project lib. But it complaints ClassNotFound: weblogic.jdbc.sqlserver.SQLServerDriver. where is it?
    Found out I have to have wlbase.jar wlclient.jar wlutil.jar wlsqlserver.jar.You need wlbase, wlutil, wlsqlserver, and weblogic jars.
    Joe

  • Com.microsoft.jdbc.sqlserver.SQLServerDriver

    Hi all,
    i'm trying jsp and ms sql 200 connection...
    here is the code i use:
    <html>
    <head>
    <%@ page
         import = "java.io.*"
         import = "java.lang.*"
         import = "java.sql.*"
    %>
    <title>ma quanto so bravo</title>
    </head>
    <body>
    <%
         String     place;
         Connection dbconn;
         ResultSet results;
         PreparedStatement sql;
         //SQL server 2000
         String driver = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
    String sourceURL = "jdbc:microsoft:sqlserver://192.168.0.14:31000;databasename=prova";
    String username = "sa";
    String password = "riccio72";
         try
              //Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
              try
                   int     latitude,longitude,easting,northing;
                   boolean     doneheading = false;
                   //dbconn = DriverManager.getConnection("jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ=E:\\ATTENTATO\\Pubblicazione\\vecchia pubblicazione\\jsp\\collegamento a db\\prova.mdb");
                   dbconn = DriverManager.getConnection(sourceURL, username, password);
                   place = request.getParameter("place");
                   sql = dbconn.prepareStatement("SELECT * FROM info WHERE name = '" + place + "'");
                   results = sql.executeQuery();
                   while(results.next())
                        if(! doneheading)
                             doneheading = true;
    latitude = results.getInt("latitude");
    longitude = results.getInt("longitude");
    easting = results.getInt("easting");
    northing = results.getInt("northing");
                        out.println("<table border=2>");
                        out.println("<tr><td>" + latitude);
                        out.println("<td>" + longitude);
                        out.println("<td>" + easting);
                        out.println("<td>" + northing);
                        out.println("</tr></table> <br>");
                   //if(doneheading)
                   results.close();
                   dbconn.close();
                   if(! doneheading)
                        out.println("No matches for " + place);
              catch (SQLException s)
                   out.println("SQL Error<br>");
                   out.print(s);
         catch (ClassNotFoundException err)
              out.println("Class loading error");
    %>
    </body>
    </html>
    Place is a variable from anothe page
    i have this error Class loading error
    How can i set this problem'?
    i have installed jrun4 sql 2000 and jdbc driver from microsoft
    i have read that i have to set the classpath and register the driver but i need particular description on how to do it
    thx

    Hi all,
    I am facing some serious problem regarding the same,
    I have done the SQL server connectivity successfully.
    But when I create the executable file of the class file, it gives me error.
    I am sending the code,
    *************** DBInterface.java ***********************
    import java.*;
    import java.sql.*;
    import javax.swing.*;
    import java.util.*;
    import com.microsoft.jdbc.sqlserver.SQLServerDriver;
    public class DbInterface
      //Connection Parameters
        protected static java.sql.Connection  con = null;
        protected final String url = "jdbc:microsoft:sqlserver";
        protected final String serverName= "localhost";
        protected final String portNumber = "1433";
        protected final String databaseName= "DBCONNECT";
        protected final String userName = "sa";
        protected final String password = "PASSWORD";
        // constructor
        protected DbInterface()
         try
            con= this.getConnection();     
            if(con!=null)
         System.out.println("Successfully connected!");
           else
          System.out.println("Error: No active Connection");
       catch(Exception e)
                  e.printStackTrace();
    // returns url string
    protected String getConnectionUrl()
      {             return url+"://"+serverName+":"+portNumber+";databaseName="+databaseName;
       // function which connects to database
      protected java.sql.Connection getConnection()
           try{
                    Driver d = (Driver)Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
                     Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
                     con = DriverManager.getConnection(getConnectionUrl(),userName,password);
                    if(con!=null) System.out.println("Connection Successful!");
              }catch(Exception e){
               JOptionPane.showMessageDialog(new JFrame(), e.getMessage(), "Error Message", JOptionPane.ERROR_MESSAGE);
                   e.printStackTrace();
                   System.out.println("Error Trace in getConnection() : " + e.getMessage());
              return con;
    protected void closeConnection()
              try{
                   if(con!=null)
                        con.close();
                   con=null;
                   System.out.println("Close Connection");             
              catch(Exception e)
                   e.printStackTrace();
    ********* TestConnection.java************************
    import java.sql.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    class  TestConnection
       public static void main(String[] args)
               DbInterface getlive = new DbInterface();
               if(DbInterface.con != null)
                 JOptionPane.showMessageDialog(new JFrame(), "Successfully Connected!", "Error Message", JOptionPane.ERROR_MESSAGE);
                  getlive.closeConnection();
              else
         JOptionPane.showMessageDialog(new JFrame(), "Not Connected!", "Error Message", JOptionPane.ERROR_MESSAGE);
               System.exit(0);
    }Both this files are compiled well.
    Now when I create an excutable file for this, it unable to connect sql server.
    (Note : I have created executable file using JSmooth & also tried with manually jar executable.)
    Can somebody focus on this issues?
    Thanx & Regards,
    Mahesh

  • SAPClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver

    Hi...Experts....
    Requirement:
    From our PI 7.1 System we have to connect to MS-SQL Server 2000 using JDBC.
    Execution :
    We have downloaded
    Microsoft SQL Server JDBC Driver 3.0 ...and...Microsoft SQL Server JDBC Driver 2.0 ( We mean we tried both drivers)and deployed using JSPM in PI system
    To deploy this ..We used & reviewed the following notes
    Note 0000831162 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 JDBC Adapter
    Note 0001138877 - PI 7.1 : How to Deploy External Drivers JDBC/JMS Adapters
    Note 0000850116 - XI 3.0 / PI 7.0 JDBC Adapter: Type 2 JDBC Driver Deployment
    Note 0001123333 - Redeploying same component with JSPM
    Issue Observation Path :
    in JSPM ...The deployment is successfull
    But in
    >Runtime Workbench NetWeaver Administrator
    >>Component Monitoring
    >>>Compnenet with status ..ALL...[DISPLAY]
    >>>Adapter Engine
    >>>>Communication Channel 
    We continuioulsy see the following error
    ERROR :
    Error during database connection to the database URL 'jdbc:microsoft:sqlserver://101.197.135.118:1433;databaseName=LWV' using the JDBC driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://101.197.135.118:1433;databaseName=LWV': SAPClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver'
    ERROR:
    In this Juncture...We have 2 queires.
    01. How to make the Deployed JDBC Driver avaialbiliy in the system.
    02. Any other alternate way to make sure our self deployed JDBC well installed in system and can be used from PI Console.
    Regards
    PR

    Imran ...Thank U Very much...
    We could able to move forward.
    as in Java Instance :
    In directory : DRIVE:\usr\sap\<SID>\DVEBMGS<NN>j2ee\cluster
    We can see : instance.properties
    We copied the  3 files  (01) sqljdbc4.jar, (02) msutil.jar, (03) msbase.jar  into a directory like
    DRIVE:\usr\sap\<SID>\DVEBMGS<NN>j2ee\cluster\bin\ext\com.sap.aii.adapter.lib\lib\
    In the "configtool"  we configured these 3 jar files in class path like :
    DRIVE:\usr\sap\<SID>\DVEBMGS<NN>j2ee\cluster\bin\ext\com.sap.aii.adapter.lib\lib\sqljdbc4.jar;
    DRIVE:\usr\sap\<SID>\DVEBMGS<NN>j2ee\cluster\bin\ext\com.sap.aii.adapter.lib\lib\msutil.jar;
    DRIVE:\usr\sap\<SID>\DVEBMGS<NN>j2ee\cluster\bin\ext\com.sap.aii.adapter.lib\lib\msbase.jar
    and restarted the Instance, which in turn updated the instance.properties
    and we could see the errors stopped coming in the "XI Runtime WorkBench - Component Monitoring"
    We could see as
    >>>Processing started
    >>>Processing finished successfully
    >>>Polling interval started. Length: 60.0 seconds
    So we understood, the connection could db server and we conformed we moved a head on the issue
    Summarized Notes List :
    Note 0000831162 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 JDBC Adapter
    Note 0001138877 - PI 7.1 : How to Deploy External Drivers JDBC/JMS Adapters
    Note 0000850116 - XI 3.0 / PI 7.0 JDBC Adapter: Type 2 JDBC Driver Deployment
    Note 0001123333 - Redeploying same component with JSPM
    Note 0000639702 - JDBC Driver for Microsoft SQL Server
    Rgds
    PR

  • Package weblogic.jdbc.sqlserver could not be found

    I am geting this error "package weblogic.jdbc.sqlserver could not be found"
    I upgraded my JDK from 1.5_06 to 1.6_27 and I start geting this error.It was working fine with JDK 1.5_06.
    I have also installed new weblogic 10.3.5 earlier it was 9.1
    I dont know whether it is because of drivers or not??We are not using connection pooling but each
    user has a seperate connection string
    Please help me to resolve this?
    Thanks

    Where are you getting it? Your own code? Server component?
    Upgrading software does not guarantee that server specific resources stay the same, you may need to do some migration steps to get it working again. I suggest you look for some documentation that describes how to upgrade to Weblogic 10 from Weblogic 9. If you want more help I suggest you ask this question in the weblogic forum.
    WebLogic Server - Upgrade / Install / Environment / Migration
    If you post a question there, be nice and post a link to it in this thread so people can follow it.

  • ClassNotFoundException: com.sap.portals.jdbc.sqlserver.SQLServerDriver

    Hello,
    (Running NW04SP14)
    I am trying to use the jdbc class in my code as follows:
    Class.forName("com.sap.portals.jdbc.sqlserver.SQLServerDriver");
    I am getting a ClassNotFoundException.
    Could you please tell me what do I need to do to import this class for all my portal components?
    Do I need to physically include a jar file, if so where can I find it?
    Should I include a sharing reference in my code?
    Thanks.

    Hi Detlev,
    I'm asking to you about a problem with connection that since many days I'm not able to solve. I hope in your help regarding this.
    I have to connect to Oracle DB from an EJB, I used two solution but without success:
    <b>----
    1. JDBC Connection from a Bean
    </b>
    Connection con = null;
              Statement stmt = null;
              ResultSet rset = null;
              String connectionURLThin = "jdbc:oracle:thin:@liposv01:1527:PCD";
              String driverClass = "oracle.jdbc.driver.OracleDriver";
              String userID = "sappcddb";
              String userPassword = "1qaz2wsx";
              String queryString = "select ordine_modello_sq.nextval from dual";
              int risultato = 0;
              try {
                   //check = "start connection";
                   Class.forName(driverClass).newInstance();    
                   con = DriverManager.getConnection(connectionURLThin, userID, userPassword);
                   stmt = con.createStatement ();
                   rset = stmt.executeQuery(queryString);
                   if (rset.next()) {
                        risultato = rset.getInt(1);
                        //prog_ordine_seq = new Integer(risultato);
                        //check = "Connessione JDBC avvenuta";
                   rset.close();
                   stmt.close();
              } catch (ClassNotFoundException e) {
                   e.printStackTrace();
              } catch (InstantiationException e) {
                   e.printStackTrace();
              } catch (IllegalAccessException e) {
                   e.printStackTrace();
              } catch (SQLException e) {
                   e.printStackTrace();
                   if (con != null) {
                        try {
                             con.rollback();
                        } catch (SQLException e1) {
                             e1.printStackTrace();
              } finally {
                   if (con != null) {
                        try {
                             con.close();
                        } catch (SQLException e) {
                             e.printStackTrace();
    <b>I have the error(the server is unix and a classpath is set)</b>
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    Loader Info -
    ClassLoader name: [local/OrdineWD]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
       interface:resourcecontext_api
       interface:webservices
       interface:ejbserialization
       sap.com/tcwddispwda
       sap.com/ModelloApplication
       sap.com/tcwdcorecomp
       service:webdynpro
       service:sld
       library:tcddicddicservices
       library:com.sap.aii.proxy.framework
       library:tcgraphicsigs
       library:com.sap.mw.jco
       library:com.sap.lcr.api.cimclient
       library:sapxmltoolkit
       library:com.sap.aii.util.rb
       library:com.sap.util.monitor.jarm
       library:tcddicddicruntime
       library:com.sap.aii.util.xml
       library:tccolapi
       library:com.sap.aii.util.misc
       library:tc~cmi
       library:tccolruntime
    Resources:
       /usr/sap/PCD/JC00/j2ee/cluster/server0/apps/local/OrdineWD/webdynpro/public/lib/ModelloHelper.jar
       /usr/sap/PCD/JC00/j2ee/cluster/server0/apps/local/OrdineWD/webdynpro/public/lib/app.jar
       /usr/sap/PCD/JC00/j2ee/cluster/server0/apps/local/OrdineWD/webdynpro/public/lib/MyCommandBean.jar
       /usr/sap/PCD/JC00/j2ee/cluster/server0/apps/local/OrdineWD/webdynpro/public/lib/ModelloEjb.jar
    Loading model: {parent,references,local}
    <b>----
    1. DataSource Connection from sessionBean
    </b>
              try {
              InitialContext ctx = new InitialContext();
              DataSource ds = (DataSource) ctx.lookup("java:comp/env/ejb/ORDINE_MODELLO_POOL");
              Connection con = ds.getConnection();
              String query = "select ordine_modello_sq.nextval from dual";
              Statement stmt = con.createStatement();
              try {
                   ResultSet rs = stmt.executeQuery(query);
                   try {
                         while ( rs.next() ) {
                                //Insert the sequence value
                             int prog_ordine_int = rs.getInt(1);
                             prog_ordine_seq = new Integer(prog_ordine_int);
                       } finally {
                          rs.close();
                   } finally {
                      stmt.close();
              }catch (Exception e) {
                   e.printStackTrace();
    <b>I have the error finding datasource:</b>
    com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during lookup operation of object with name ejbContexts/sap.com/ModelloApplication/MySessionBean/java:comp/env/jdbc/ORDINE_MODELLO_POOL, cannot resolve object reference. [Root exception is com.sap.engine.services.connector.exceptions.BaseResourceException: ConnectionFactory "jdbc/ORDINE_MODELLO_POOL" does not exist. Possible reasons: the connector in which ConnectionFactory "jdbc/ORDINE_MODELLO_POOL" is defined is not deployed or not started.]
    <b>Thanks in advance for your help.</b>
    Vito Palasciano

  • Com.microsoft.jdbc.sqlserver.SQLServerDriver No ResultSet set was produced.

    While executing a stored procedure which returns an integer value is giving the following Exception.
    java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]No ResultSet set was produced.
    fdgfgdfgfdgfdgfdgfdg com.microsoft.jdbc.sqlserver.SQLServerDriver@639a3e
    try
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
         catch(Exception e)
              System.out.println(e);
         try
    Connection con = DriverManager.getConnection
    ("jdbc:microsoft:sqlserver://servername:1433","TestUser","password");
    java.sql.CallableStatement callablestatement1 = connection.prepareCall("{call QUESTION_MASTER_Add(?)}");
    callablestatement1.setString(1, s);
    callablestatement1.execute();
    ResultSet resultset = callablestatement1.getResultSet();
    The result set returned is always null.
    But if I use sun.Jdbc.Odbc driver it works.
    Any Idea?

    Try first to call getNextResultSet() method and than read from resultset...i don't have a loginc exp..but seems ot me is working

  • Com.microsoft.jdbc.sqlserver.SQLServerDriver not found

    Hi All,
    I have created an Entity Bean to connect to my Database...when i use the inbuilt OC4J instance of JDeveloper my client application can easily connect to the database using tis Beab....But while using an external oc4j server downloaded explicitly...it says...
    java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
    I have already set the classpath for msbase.jar, mssqlserver.jar and msutils.jar files....
    even then i am facing the same problem...
    Please help me out....its very urgent....
    Thanx in advance to all....
    Praveen

    Using the Enterprise Manager web interface navigate to the 'Administration' tab.
    Under 'Administrative Tasks' -> 'Properties' you should find Shared libraries. Be SURE that your libraries are in fact located there.
    I'm assuming you have also set up Datasources and connections pools for your database? Verify that they are showing the correct SQL Server driver class.
    Hope this points you in the right direction!

  • Com.microsoft.jdbc.sqlserver.SQLServerDriver....where??

    Hi everyone.
    where can i find this driver: com.microsoft.jdbc.sqlserver.SQLServerDriver???
    i need it to connect to the SQL server database i�m using....
    thanx a lot

    but i don�t wanna use a ODBC...cause i don�t wanna have to configure a DSN in each machine that will use my app...
    how do i solve this??

  • Com.microsoft.jdbc.sqlserver.SQLServerDriver and ntext,text

    I'm using the com.microsoft.jdbc.sqlserver.SQLServerDriver driver with SQL2000. In my table I have one ntext(i dont mind changing this to text datatype) column and to retrieve the data I'm using getAsciiStream(colname). I also tried getCharacterStream(colname).
    Even though I have data in the table, the method restult.getAsciiStream() brings nothing. I need some help in knowing how to retrieve the data when using ntext or text datatype in SQL server.
    Also I need some smaple code of how to write the data back to the table.

    Have you tried getString() ?
    I remember using this method once to read an ntext field from a MSSQL2K db. If you explicitly need a stream I recomend you to try a binary stream, binary streams works most of the time, then wrap it in a Reader.
    Regards,
    Rivas.

  • Cannot load JDBC driver class 'com.microsoft.jdbc.sqlserver.SQLServerDriver

    Hi,
    i am doing a forum application.
    i am trying to connect database connection through javax.sql.DataSource.
    I am using Eclipse editor for developing this application and i am using sql server 2000 database.
    i have create a servlet file.
    here is the coding.
    DatabaseGetConnection.java
    `````````````````````````````````````````
    import java.io.IOException;
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.sql.DataSource;
    public class DatabaseGetConnection extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet {
    private Connection con=null;
    private DataSource ds=null;
    public DatabaseGetConnection() throws ServletException {
    super();               
    public DatabaseGetConnection(final HttpServletRequest req, final HttpServletResponse res) throws ServletException, IOException {
    this.doPost(req, res);          
    public void init() throws ServletException {
    try
    final Context initContext = new InitialContext();
    final Context envContext = (Context)initContext.lookup("java:/comp/env");
    this.ds = (DataSource)initContext.lookup("jdbc/mySQLServer");
    }catch(final NamingException ne)
    ne.printStackTrace();
    }catch(final Exception e)
    e.printStackTrace();
    public DataSource getDS()
    System.out.println("Datasource method calling");
    if (this.ds!=null)
    System.out.println("Datasource not null");
    }else
    System.out.println("Datasource null");
    return this.ds;
    public Connection getCon()
    try
    this.con=this.getDS().getConnection();
    if (this.con!=null)
    System.out.println("Connection Successfull");
    }catch(final SQLException se)
    System.out.print("Connection Establishment Error : ");
    se.printStackTrace();
    return this.con;
    I have configured server.xml. here is the configuration
    server.xml
    ````````````````
    <GlobalNamingResources>
    <Resource name="jdbc/mySQLServer" global="jdbc/mySQLServer" auth="Container"
    type="javax.sql.DataSource" factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=forum;SelectMethod=cursor"
    username="sa" password="sa" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    </GlobalNamingResources>
    here is the web.xml file
    ``````````````````````````````````
    <resource-ref>
    <res-ref-name>jdbc/mySQLServer</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    is this configuration correct? plz help me about the configuration and coding through Eclipse.
    i have run the application and i got the error. here is the error details
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.microsoft.jdbc.sqlserver.SQLServerDriver'
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:766)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
    at com.forum.database.DatabaseGetConnection.getCon(DatabaseGetConnection.java:85)
    at com.forum.database.DatabaseGetConnection.GetAllTopicSearch(DatabaseGetConnection.java:101)
    at org.apache.jsp.test_jsp._jspService(test_jsp.java:73)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:760)
    ... 24 more
    thanks and regards,
    k.s.kumar

    Please don't multipost, it's rude: http://forum.java.sun.com/thread.jspa?threadID=5219591
    Please continue on that thread.

  • Oracle.sql.ARRAY incompatible with weblogic.jdbc.vendor.oracle.OracleArray

    Hi,
    I am facing following issue in my one environment. but in other environment same class path is working fine. I have compared all jar and classpath for both weblogic server.
    I am using weblogic 11g.
    27 Mar 2013 15:21:09,507 ERROR XXXServlet:293 - oracle.sql.ARRAY incompatible with weblogic.jdbc.vendor.oracle.OracleArray
    java.lang.ClassCastException: oracle.sql.ARRAY incompatible with weblogic.jdbc.vendor.oracle.OracleArray
    at com.emc.nems.wsd.ui.beans.reports.mpapi.FacilityBeanType.nullSafeGet(FacilityBeanType.java:126)
    at org.hibernate.type.CustomType.nullSafeGet(CustomType.java:128)
    at org.hibernate.type.AbstractType.hydrate(AbstractType.java:105)
    at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2114)
    at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1404)
    at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1332)
    at org.hibernate.loader.Loader.getRow(Loader.java:1230)
    at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:603)
    at org.hibernate.loader.Loader.doQuery(Loader.java:724)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
    at org.hibernate.loader.Loader.doList(Loader.java:2232)
    at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129)
    at org.hibernate.loader.Loader.list(Loader.java:2124)
    at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:312)
    at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1723)
    at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:165)
    at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:175)
    at com.emc.nems.oms.dao.hibernate.util.OMSHibBaseDAO.executeNamedQueryWithoutTransaction(Unknown Source)
    at com.emc.nems.wsd.dao.hibernate.reports.mpapi.MpapiReportHibDAO.findMCR020(Unknown Source)
    at com.emc.nems.wsd.ui.handler.reports.ReportsHandler.getMPAPIData(Unknown Source)
    at com.emc.nems.wsd.ui.servlets.reports.mpapi.MpapiServlet.executeReport(XXXServlet.java:1009)
    at com.emc.nems.wsd.ui.servlets.reports.mpapi.MpapiServlet.generateAuditFile(XXXServlet.java:318)
    at com.emc.nems.wsd.ui.servlets.reports.mpapi.MpapiServlet.execute(XXXServlet.java:273)
    at com.emc.nems.wsd.ui.servlets.reports.mpapi.MpapiServlet.doGet(XXXServlet.java:207)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3731)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3695)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2285)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2184)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1459)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Regards,
    Abhishek

    Creating my Oracle connection works fine ... code as follows:
    <i>Context ctxt = getInitialContext();
    DataSource dataSource = (DataSource) ctxt.lookup(poolName);
    Connection conn = dataSource.getConnection();
    OracleConnection oracleConn = (OracleConnection)((WLConnection)conn).getVendorConnection();</i>
    I also have reviewed documentation:
    http://e-docs.bea.com/wls/docs81/jdbc/thirdparty.html. In section 'Using OracleStruct Extension Methods' it highlights that
    <i>java.sql.Struct struct =(weblogic.jdbc.vendor.oracle.OracleStruct)(rs.getObject(2));</i>
    None of the documentation actually mentions <b>oracle.sql.STRUCT</b>. For Weblogic to truely provide support for Oracle it needs an easy way of converting to this data type. At present I cannot interact with Oracle APIs until I can create an oracle.sql.STRUCT.

  • ClassNotFoundException:com.microsoft.jdbc.sqlserver.SQLServerDriver

    Dear all
    i am using MSSQL2000 Driver for jdbc, i have set CLASSPATH to the driver install directory, compile passed, but when i run class, a ClassNotFoundException error occur:
    java.lang.ClassNotFoundException:com.microsoft.jdbc.sqlserver.SQLServerDriver
    i am using jdk1.2.2
    hope to get your tips!
    Luke

    Dear all
    i am using MSSQL2000 Driver for jdbc, i have set
    t CLASSPATH to the driver install directory, compile
    passed, but when i run class, a ClassNotFoundException
    error occur:
    java.lang.ClassNotFoundException:com.microsoft.jdbc.sql
    erver.SQLServerDriver
    i am using jdk1.2.2
    hope to get your tips!
    Lukehi Luke,
    I dont know if it is in someway related to ur jdk version..
    but your error message seems to be
    java.lang.ClassNotFoundException:com.microsoft.jdbc.sql
    erver.SQLServerDriver
    Plz consider this possibility if
    u might have given the classname wrong as
    com.microsoft.jdbc.sqlerver.SQLServerDriver
    which throws the exception as shown in the error message!!
    try giving the correct classname as com.microsoft.jdbc.sqlserver.SQLServerDriver
    which may solve your problem..
    cheers,
    -Jer

  • Which edition of DB2 Connect neccessary for connection with WebLogic 6.1

    Hi!
    Who can tell me, which editions of DB2 Connect work together with WebLogic
    6.1?
    - the hardware-related Personal Edition
    - the Enterprise Edition run on an extra server, which works as a gateway
    between DB2 and its clients.
    - the CAE-Client (Client Application Enabler)
    We would prefer the Personal Edition - if possible - does anyone has
    experiences? IBM can not give us this neccessary information.
    Thanks
    Marita

    Hi Marita,
    WebLogic will work with any JDBC 2.0 compatible driver.
    Generally, a gateway would add some overhead. You could
    setup a WebLogic connection pool using the simplest way
    and see if it satisfy your needs.
    Regards,
    Slava Imeshev
    "Marita León Ohl" <[email protected]> wrote in message
    news:[email protected]..
    Hi!
    Who can tell me, which editions of DB2 Connect work together with WebLogic
    6.1?
    - the hardware-related Personal Edition
    - the Enterprise Edition run on an extra server, which works as a gateway
    between DB2 and its clients.
    - the CAE-Client (Client Application Enabler)
    We would prefer the Personal Edition - if possible - does anyone has
    experiences? IBM can not give us this neccessary information.
    Thanks
    Marita

  • Crystal Report 9 connectivity with WebLogic 10.3.5

    Hello,
    Is the Crystal Report 9 certified with WebLogic 10.x? Currently WebLogic 8.x is in use. Trying to upgrade the WebLogic.
    Thanks

    What does this have to do with Database Connectivity?
    An I doubt it, CR 9 is about 8 or 9 years old well before 10.3 was released. Check the Platforms PDF's for more info.
    Don

Maybe you are looking for

  • Using liquid on web detail layout breaks template

    I am using an if logic tag to hide text if a web field is empty in the web detail layout but it breaks the template - none of my content holders in the page template are rendering. The actual if tag is doing its job and hiding the text. If I render t

  • Program to create contract in SRM

    Hi All, Iam trying to create contract in SRM using the FM  BBP_PD_CTR_CREATE iam getting the below errors 06.06.2014 11.06.2014 Interface data contains errors Interface data contains errors Enter at least one item Enter exactly one partner of type Re

  • [Q] loaded jpg is cut off in the middle!!!!

    Hi, I am having troulbe loading an external jpg image jpg file is long rectangular shape (width 700px * height 8000px <possiblely longer>), and around 1.2mb. I am loading image with listener (onComplete?: I was using someone else's tutorial, sorry fo

  • Content Version

    Dear All, I have a scenario here, Lets assume, there are many content versions for a document. as default when the user tries to view the attachment of the document info record, it will show the current content version. but. Is it possible that the s

  • Windows 7 Expired Password - Recvd Warning prompts but not forced to change password

    Our Windows 7 users are prompted when their passwords will expire in 14 Days, however They are not forced to change thier password before it expires. If the users ignore the expiration warning they can only get logged into the network after having th