Licensing problems installing JDriver for MS SQL Server

I've been having problems for some time now creating a connection pool in WL 5.1 using the MS SQLServer4v70 JDriver. I am at wits end and haven't been able to find a solution or find anybody that could give me a solution. Below is a better description of the problem including exact error messages and configuration.
There's some simple problem here, but I'm not an
installation expert. Would you please post this to
the support.install group? If you don't get help
quickly from there, let me know.
JoeAt 09:54 AM 10/31/00 -0800, you wrote:
Here's the exact error message:
Tue Oct 31 09:52:09 PST 2000:<I> <WebLogicServer> IIOP subsystem enabled.
weblogic.common.LicenseNotFoundException: Could not find licensing file:
Your WebLogic license file, named either WebLogicLicense.xml or
WebLogicLicense.class must be located in a directory that is
in your CLASSPATH. By default, your license file is located in the
/license directory located in your WebLogic home directory
(the root directory of your WebLogic installation).
As of version 4.0 of WebLogic, a new XML-format license file has
replaced the older, compiled class format license file.
The WebLogic Server will recognize either format.
For additional information on WebLogic licenses or on setting your
classpath, see the i
stallation instructions in the WebLogic Server documentation, available at
http://e-docs.bea.com/
my weblogic class path looks like:
CLASSPATH Prefix c:\weblogic\mssqlserver4v70\classes
CLASSPATH
c:\weblogic\mssqlserver4v70\classes;c:\jdk1.3\lib\tools.jar;c:\jdk1.3\jre\li
b\rt.jar;c:\jdk1.3\jre\lib\i18n.jar;C:\weblogic\license;C:\weblogic\classes\
boot;C:\weblogic\cla
sses;C:\weblogic\lib\weblogicaux.jar;C:\weblogic\eval\cloudscape\lib\cloudsc
ape.jar
JAVA_HOME c:\jdk1.3
WEBLOGIC_LICENSEDIR C:\weblogic\license
WEBLOGIC_HOME C:\weblogic
system properties:
java.security.manager
java.security.policy==C:\weblogic\weblogic.policy
weblogic.system.home=C:\weblogic
java.compiler=symcjit
weblogic.class.path=C:\weblogic\license;C:\weblogic\classes;C:\weblogic\myse
rver\serverclasses;C:\weblogic\lib\weblogicaux.jar
INITIAL_HEAP 64 MB
MAX_HEAP 64 MB
SERVERCLASSPATH
c:\weblogic\mssqlserver4v70\classes;c:\jdk1.3\jre\lib\rt.jar;c:\jdk1.3\jre\l
ib\i18n.jar;C:\weblogic\classes\boot;C:\weblogic\eval\cloudscape\lib\cloudsc
ape.jar
Type "wlconfig -help" for program usage.
The license file is attached:
-Matt
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Tuesday, October 31, 2000 8:41 AM
To: Matthew Heaton
Subject: RE: Problems creating connection pool
At 04:35 PM 10/30/00 -0800, you wrote:
Still having problems with it not finding the licenseOk, what is the exact failure message? Does the server start fine?
Then it's finding the server license in the weblogiclicense.xml file.
Is it then failing to find the driver license? If so, show me your
editted xml license file.
Joe
Currently nothing related to the driver is in my classpath and
c:\weblogic\mssqlserver4v70\classes is in my weblogic classpath. I deleted
the license folder for the driver after moving the guts of it into the main
weblogic license file.
-Matt
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Monday, October 30, 2000 3:46 PM
To: Matthew Heaton
Subject: Re: Problems creating connection pool
Hi Matt.
You did the right thing adding the driver to the weblogic.class.path.
That's where it should be, not in the java.class.path. The current
licensing issue is that the weblogic server has(had?) it's own copy of
WebLogicLicense.xml, containing the server licenses. The one from thedriver
is now in the path. It contains the driver license, but not the server
stuff. Edit the server one, adding the guts of the driver one, and
delete the driver xml license file from your path.
Joe
Matt Heaton wrote:
This is a problem that has been a roadblock for me for a while, I'm usingWL 5.1 and trying to create a connection pool with the MS SQL server 4v70
JDriver.
Here is the code to create the connection pool:
weblogic.jdbc.connectionPool.SQLPool=\
url=jdbc:weblogic:mssqlserver4:MATTHEWH1:1433,\
driver=weblogic.jdbc.mssqlserver4.Driver,\
initialCapacity=1,\
maxCapacity=2,\
capacityIncrement=1,\
props=user=AceUser;password=AceUser;server=MATTHEWH1
I've addedc:\weblogic\mssqlserver4v70\classes;c:\weblogic\mssqlserver4v70\license to
my class path, but I was getting a class not found exception when Weblogic
tried to make the connection pool. I then added
c:\weblogicmssqlserver4v70\classes to my Weblogic classpath and got the
following error:
weblogic.common.LicenseNotFoundException: Could not find licensing file:
Your WebLogic license file, named either WebLogicLicense.xml or
WebLogicLicense.class must be located in a directory that is
in your CLASSPATH. By default, your license file is located in
the
/license directory located in your WebLogic home directory
(the root directory of your WebLogic installation).
As of version 4.0 of WebLogic, a new XML-format license file has
replaced the older, compiled class format license file.
The WebLogic Server will recognize either format.
For additional information on WebLogic licenses or on settingyour
classpath, see the in
stallation instructions in the WebLogic Server documentation, available
at
http://e-docs.bea.com/
So I tried adding c:\weblogic\mssqlserver4v70\license to the weblogicclasspath and got yet a different error:
$$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$
Loaded License : C:/weblogic/license/WebLogicLicense.xml
However Unable to start because :
No License found for WebLogic
As well as the fact that: No License found for Tengah
As well as the fact that: No License found for WebLogic/JDBC
As well as the fact that: No License found for Tengah/JDBC
As well as the fact that: No License found for jdbcKona/T3
WebLogic Server terminated with an abnormal condition of 1
What do I do? I've tried everything I can think of, I was able to getthis to work the first time that I tried to do it but everytime I've tried
since then this happens.
-Matt--
PS: Folks: BEA WebLogic is in S.F. with both entry and advanced positions
for
people who want to work with Java and E-Commerce infrastructure products.
Send
resumes to [email protected]
The Weblogic Application Server from BEA
JavaWorld Editor's Choice Award: Best Web Application Server
Java Developer's Journal Editor's Choice Award: Best Web Application
Server
Crossroads A-List Award: Rapid Application Development Tools for Java
Intelligent Enterprise RealWare: Best Application Using a Component
Architecture
http://www.bea.com/press/awards_weblogic.html
The Weblogic Application Server from BEA
JavaWorld Editor's Choice Award: Best Web Application Server
Java Developer's Journal Editor's Choice Award: Best Web Application
Server
Crossroads A-List Award: Rapid Application Development Tools for Java
Intelligent Enterprise RealWare: Best Application Using a Component
Architecture
http://www.bea.com/press/awards_weblogic.html
Attachment Converted: "c:\eudora\attach\WebLogicLicense11.xml"
The Weblogic Application Server from BEA
JavaWorld Editor's Choice Award: Best Web Application Server
Java Developer's Journal Editor's Choice Award: Best Web Application Server
Crossroads A-List Award: Rapid Application Development Tools for Java
Intelligent Enterprise RealWare: Best Application Using a Component Architecture
http://www.bea.com/press/awards_weblogic.html

Eric Ma wrote:
Joe:
Connection is a LOCAL variable declared in each method. DataSource is an instance
variable.That sounds fine... let me see your code (main block plus finally block). How long does this
take to reproduce? Show me your pool definition.
thanks,
Joe
>
>
Eric
Joseph Weinstein <[email protected]> wrote:
Eric Ma wrote:
I was given the unfortunate task :-) of getting data out of M$FT SQL6.5. I set
up a JDBC connection pool using jDriver in mssqlserver4v65.jar, andcreated a
JDBCDataSource for the pool. I am using a stateless session bean +JDBC (with
the DAO pattern) to get data. In the DAO class I have an instancevariable for
the datasource, which I look up in the constructor. In the DAO's businessmethod
I RELIGIOUSLY call datasource.getConnect() first, and ALWAYS call connection.close()
in the finally block. Now the initial requests are fine, but aftera while I
got a weblogic.common.ResourceException telling me there were no moreconnection
available in the pool. Is this a jDriver bug? I never run into sucha problem
with an Oracle connection pool using the thin driver.
Any insight will be greatly appreciated.
Eric MaHi. Is the connection object an instance variable? That would be a problem.
The connection object has to be a method variable to be safe from multithreading
issues.
Joe

Similar Messages

  • JDriver for microsoft sql server 2000

    "Hi, Currently, I am using your JDriver for microsoft SQL server 2000 for evaluation purposes and confront the following problem: (1) using utils.dbping C:\student\work>java utils.dbping mssqlserver4 sa "" ywu**** Success!!! ****You can connect to the database in your app using: java.util.Properties props = new java.util.Properties(); props.put("user", "sa"); props.put("password", ""); java.sql.Driver d = (java.sql.Driver)Class.forName("weblogic.jdbc.mssqlserver.Driver").newInstance(); java.sql.Connection conn = d.connect("jdbc:weblogic:mssqlserver4:ywu", props) // This mode is superior, especially in serverside classes because // it avoids DriverManager calls are class synchronized, and will // bottleneck any other JDBC in the server, even already-running // connections, because all JDBC drivers use DriverManager.println() // to log info and exceptions, and that call is also class synchronized. // For repeated connecting, a single driver instance can be re-used.**** or **** Class.forName("weblogic.jdbc.mssqlserver4.Driver").newInstance(); java.sql.Connection conn = DriverManager.getConnection("jdbc:weblogic:mssqlserver4:ywu", "sa", "");**** or **** java.util.Properties props = new java.util.Properties(); props.put("user", "sa"); props.put("password", ""); props.put("server", "ywu"); Class.forName("weblogic.jdbc.mssqlserver4.Driver").newInstance(); java.sql.Connection conn = DriverManager.getConnection("jdbc:weblogic:mssqlserver4", props);It seems that everything is fine, but(2) set up connection pool to MS SQL server, the weblogic server prints out error messages during the server goes up:<Jun 18, 2001 5:51:22 PM EDT> <Error> <JDBC Connection Pool> <Cannot startup connection pool "newSQLconn" weblogic.common.ResourceException:Could not create pool connection. The DBMS driver exception was:Driver

    Hi,
    I was having the same problem and to solve it u have to point your classpath to
    mssqlserver4v65.jar in the lib directory of your wl installation, in my case i
    did:
    set classpath=%classpath%;%WL_HOME%\lib\mssqlserver4v65.jar
    I hope it helps.
    Yuanqing Wu <[email protected]> wrote:
    "Hi, Currently, I am using your JDriver for microsoft SQL server 2000
    for evaluation purposes and confront the following problem: (1)
    using utils.dbping C:\student\work>java utils.dbping
    mssqlserver4 sa "" ywu**** Success!!! ****You can connect to the database
    in your app using: java.util.Properties props = new java.util.Properties();
    props.put("user", "sa"); props.put("password", ""); java.sql.Driver
    d = (java.sql.Driver)Class.forName("weblogic.jdbc.mssqlserver.Driver").newInstance();
    java.sql.Connection conn = d.connect("jdbc:weblogic:mssqlserver4:ywu",
    props) // This mode is superior, especially in serverside classes because
    // it avoids DriverManager calls are class synchronized, and will
    // bottleneck any other JDBC in the server, even already-running //
    connections, because all JDBC drivers use DriverManager.println() //
    to log info and exceptions, and that call is also class synchronized.
    // For repeated connecting, a single driver instance can be re-used.****
    or
    **** Class.forName("weblogic.jdbc.mssqlserver4.Driver").newInstance();
    java.sql.Connection conn = DriverManager.getConnection("jdbc:weblogic:mssqlserver4:ywu",
    "sa", "");**** or **** java.util.Properties props = new java.util.Properties();
    props.put("user", "sa"); props.put("password", ""); props.put("server",
    "ywu"); Class.forName("weblogic.jdbc.mssqlserver4.Driver").newInstance();
    java.sql.Connection conn = DriverManager.getConnection("jdbc:weblogic:mssqlserver4",
    props);It
    seems that everything is fine, but(2) set up connection pool to MS SQL
    server, the weblogic server prints out error messages during the server
    goes up:<Jun 18, 2001 5:51:22 PM EDT> <Error> <JDBC Connection Pool>
    <Cannot startup connection pool "newSQLconn" weblogic.common.ResourceException:Could
    not create pool connection. The DBMS driver exception was:Driver

  • BEA WebLogic jDriver for Microsoft SQL Server

    Will BEA continue to support current and future installations of WebLogic jDriver for Microsoft SQL Server 2000 even though BEA recommends to use the JDBC driver available from Microsoft? A written response is necessary in order to determine our future product development direction.
    Thank you for your attention regarding this matter.

    Actually, this driver is already documented as deprecated. We intended to remove it from a future
    release (most likely, the release after WLS 8.1).
    The plan is to ship another driver out-of-the-box. We have been evaluating various drivers
    for features, quality, and performance. We are pushing very hard to have this replacement
    driver available in 8.1SP01, which will also ship with the WLI/Portal/WLW GA (announced to
    ship in July). The most likely candidate is already in testing both at the WLS level and
    with the layered products. It also did quite well in an internal performance comparison.
    "Joseph Weinstein" <[email protected]_this> wrote in message news:[email protected]_this...
    >
    >
    Peter Foskaris wrote:
    Will BEA continue to support current and future installations of WebLogic jDriver for Microsoft SQL Server 2000 even though
    BEA recommends to use the JDBC driver available from Microsoft? A written response is necessary in order to determine our future
    product development direction.
    >>
    Thank you for your attention regarding this matter.Hi. We intend to deprecate it. We may or may not fix bugs that are found in it in future, and will likely
    not do any more development on it, such as implementing any JDBC 2.0 methods. It will be in
    our next major release (8), but may not be in future ones.
    Joe Weinstein at BEA

  • (new?) performance problem using jDriver after a Sql Server 6.5 to 2000 conversion

    Hi,
    This is similar - yet different - to a few of the old postings about performance
    problems with using jdbc drivers against Sql Server 7 & 2000.
    Here's the situation:
    I am running a standalone java application on a Solaris box using BEA's jdbc driver
    to connect to a Sql Server database on another network. The application retrieves
    data from the database through joins on several tables for approximately 40,000
    unique ids. It then processes all of this data and produces a file. We tuned
    the app so that the execution time for a single run through the application was
    24 minutes running against Sql Server 6.5 with BEA's jdbc driver. After performing
    a DBMS conversion to upgrade it to Sql Server 2000 I switched the jDriver to the
    Sql Server 2000 version. I ran the app and got an alarming execution time of
    5hrs 32 min. After some research, I found the problem with unicode and nvarchar/varchar
    and set the "useVarChars" property to "true" on the driver. The execution time
    for a single run through the application is now 56 minutes.
    56 minutes compared to 5 1/2 hrs is an amazing improvement. However, it is still
    over twice the execution time that I was seeing against the 6.5 database. Theoretically,
    I should be able to switch out my jdbc driver and the DBMS conversion should be
    invisible to my application. That would also mean that I should be seeing the
    same execution times with both versions of the DBMS. Has anybody else seen a
    simlar situation? Are there any other settings or fixes that I can put into place
    to get my performance back down to what I was seeing with 6.5? I would rather
    not have to go through and perform another round of performance tuning after having
    already done this when the app was originally built.
    thanks,
    mike

    Mike wrote:
    Joe,
    This was actually my next step. I replaced the BEA driver with
    the MS driver and let it run through with out making any
    configuration changes, just to see what happened. I got an
    execution time of about 7 1/2 hrs (which was shocking). So,
    (comparing apples to apples) while leaving the default unicode
    property on, BEA ran faster than MS, 5 1/2 hrs to 7 1/2 hrs.
    I then set the 'SendStringParametersAsUnicode' to 'false' on the
    MS driver and ran another test. This time the application
    executed in just over 24 minutes. The actual runtime was 24 min
    16 sec, which is still ever so slightly above the actual runtime
    against SS 6.5 which was 23 min 35 sec, but is twice as fast as the
    56 minutes that BEA's driver was giving me.
    I think that this is very interesting. I checked to make sure that
    there were no outside factors that may have been influencing the
    runtimes in either case, and there were none. Just to make sure,
    I ran each driver again and got the same results. It sounds like
    there are no known issues regarding this?
    We have people looking into things on the DBMS side and I'm still
    looking into things on my end, but so far none of us have found
    anything. We'd like to continue using BEA's driver for the
    support and the fact that we use Weblogic Server for all of our
    online applications, but this new data might mean that I have to
    switch drivers for this particular application.Thanks. No, there is no known issue, and if you put a packet sniffer
    between the client and DBMS, you will probably not see any appreciable
    difference in the content of the SQL sent be either driver. My suspicion is
    that it involves the historical backward compatibility built in to the DBMS.
    It must still handle several iterations of older applications, speaking obsolete
    versions of the DBMS protocol, and expecting different DBMS behavior!
    Our driver presents itself as a SQL7-level application, and may well be treated
    differently than a newer one. This may include different query processing.
    Because our driver is deprecated, it is unlikely that it will be changed in
    future. We will certainly support you using the MS driver, and if you look
    in the MS JDBC newsgroup, you'll see more answers from BEA folks than
    from MS people!
    Joe
    >
    >
    Mike
    The next test you should do, to isolate the issue, is to try another
    JDBC driver.
    MS provides a type-4 driver now, for free. If it is significantly faster,
    it would be
    interesting. However, it would still not isolate the problem, because
    we still would
    need to know what query plan is created by the DBMS, and why.
    Joe Weinstein at BEA
    PS: I can only tell you that our driver has not changed in it's semantic
    function.
    It essentially send SQL to the DBMS. It doesn't alter it.

  • GATEWAY INSTALL GUIDE FOR MS SQL SERVER

    제품 : GATEWAY
    작성날짜 : 1999-04-27
    how to install the gateway for MS SQL server
    Software 요구 사항:
    Operating System:      Windows NT 4.0
    Oracle Server:           Oracle8 Server Enterprise Edition Version 8.0.4.0.0
    Oracle Networking:     On gateway:     Net8 Server Version 8.0.4; Oracle Adapter
                   On Oracle:      Net8 Client Version 8.0.4; Oracle Adapter
    Microsoft:          Network transport protocol software, included with Windows NT
                   ODBC Driver Manager Version 2.x or 3.0 (included with Microsoft ODBC
                   Software Development Kit)
                   ODBC SQL Server Driver Version 2.5 or 2.65
                   SQL Server Version 6.0 or 6.5
    Installing the Gateway:
    Step 1: Log on to the Windows NT machine
    Step 2: disk space 확인; 약 50Mb 정도가 gateway 설치를 위해서 필요
    Step 3: Stop all Oracle NT services
    Step 4: Run setup.exe from Stage area (\\guest01-osd\tgmsql804ship)
    Step 5: Choose Language
    Step 6: Oracle Home 의 위치 설정
    Step 7: Installation 방법을 설정. Custom Installation 을 선택하여
    the Transparent gateway 제품 선택
    Step 8: Click on [Install] button
    Step 9: Net8 adapters 가 install 되지 않았다면 install 할 것
    Step 10: Reboot your machine

    제품 : GATEWAY
    작성날짜 : 1999-04-27
    how to install the gateway for MS SQL server
    Software 요구 사항:
    Operating System:      Windows NT 4.0
    Oracle Server:           Oracle8 Server Enterprise Edition Version 8.0.4.0.0
    Oracle Networking:     On gateway:     Net8 Server Version 8.0.4; Oracle Adapter
                   On Oracle:      Net8 Client Version 8.0.4; Oracle Adapter
    Microsoft:          Network transport protocol software, included with Windows NT
                   ODBC Driver Manager Version 2.x or 3.0 (included with Microsoft ODBC
                   Software Development Kit)
                   ODBC SQL Server Driver Version 2.5 or 2.65
                   SQL Server Version 6.0 or 6.5
    Installing the Gateway:
    Step 1: Log on to the Windows NT machine
    Step 2: disk space 확인; 약 50Mb 정도가 gateway 설치를 위해서 필요
    Step 3: Stop all Oracle NT services
    Step 4: Run setup.exe from Stage area (\\guest01-osd\tgmsql804ship)
    Step 5: Choose Language
    Step 6: Oracle Home 의 위치 설정
    Step 7: Installation 방법을 설정. Custom Installation 을 선택하여
    the Transparent gateway 제품 선택
    Step 8: Click on [Install] button
    Step 9: Net8 adapters 가 install 되지 않았다면 install 할 것
    Step 10: Reboot your machine

  • JDriver for MS SQL Server 6.5 and Connection Pooling

    I was given the unfortunate task :-) of getting data out of M$FT SQL 6.5. I set
    up a JDBC connection pool using jDriver in mssqlserver4v65.jar, and created a
    JDBCDataSource for the pool. I am using a stateless session bean + JDBC (with
    the DAO pattern) to get data. In the DAO class I have an instance variable for
    the datasource, which I look up in the constructor. In the DAO's business method
    I RELIGIOUSLY call datasource.getConnect() first, and ALWAYS call connection.close()
    in the finally block. Now the initial requests are fine, but after a while I
    got a weblogic.common.ResourceException telling me there were no more connection
    available in the pool. Is this a jDriver bug? I never run into such a problem
    with an Oracle connection pool using the thin driver.
    Any insight will be greatly appreciated.
    Eric Ma

    Eric Ma wrote:
    Joe:
    Connection is a LOCAL variable declared in each method. DataSource is an instance
    variable.That sounds fine... let me see your code (main block plus finally block). How long does this
    take to reproduce? Show me your pool definition.
    thanks,
    Joe
    >
    >
    Eric
    Joseph Weinstein <[email protected]> wrote:
    Eric Ma wrote:
    I was given the unfortunate task :-) of getting data out of M$FT SQL6.5. I set
    up a JDBC connection pool using jDriver in mssqlserver4v65.jar, andcreated a
    JDBCDataSource for the pool. I am using a stateless session bean +JDBC (with
    the DAO pattern) to get data. In the DAO class I have an instancevariable for
    the datasource, which I look up in the constructor. In the DAO's businessmethod
    I RELIGIOUSLY call datasource.getConnect() first, and ALWAYS call connection.close()
    in the finally block. Now the initial requests are fine, but aftera while I
    got a weblogic.common.ResourceException telling me there were no moreconnection
    available in the pool. Is this a jDriver bug? I never run into sucha problem
    with an Oracle connection pool using the thin driver.
    Any insight will be greatly appreciated.
    Eric MaHi. Is the connection object an instance variable? That would be a problem.
    The connection object has to be a method variable to be safe from multithreading
    issues.
    Joe

  • Problems upgrading to JDBC 5.1 driver for MS SQL Server

    Hi,
    I recently upgraded to the Weblogic JDBC 5.1 driver for MS SQL Server and I am
    now receiving exceptions in my application when attempting to execute a prepared
    statement. I was previously using the Weblogic JDBC 4.x driver for MS SQL Server
    and everything was working fine without any problems. For some reason I am receiving
    a java.lang.CloneNotSupportedException using the new driver. I am using the setLong(),
    setString(), and setObject() methods of the PreparedStatement and then attempting
    to execute. The application code has not changed, so it seems that something
    has changed in the new driver implementation. Has anyone else had this problem
    or know a work around? Here is a snippet of the actual exception:
    S2 [09/30/02 10:46]: java.sql.SQLException: java.lang.CloneNotSupportedException
    : Error in TdsParameter clone: cannot make duplicate of Stream object
    S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsPreparedInputStream
    .<init>(TdsPreparedInputStream.java:99)
    S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.doEscapeP
    rocessing(TdsStatement.java:1317)
    S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.execute(T
    dsStatement.java:173)
    S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.executeUp
    date(TdsStatement.java:94)
    S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.executeUp
    date(TdsStatement.java:1438)
    Thanks, Nadeem.

    Nadeem Khokhar wrote:
    Is it true that the Weblogic jDriver for MS SQL Server is deprecated? That's the
    message that I got from BEA Support and here is the link they sent:
    http://edocs.bea.com/wls/docs70/mssqlserver4/install_jmsq4.html#415356
    It recommends using Microsoft's JDBC driver instead. Any thoughts on this? From
    what I understand and what I have read on the newsgroups, the Microsoft JDBC driver
    is still quite buggy and has numerous problems.
    Thanks, Nadeem.It is deprecated, but still supported, and is more recent in the download than the one in
    the 5.1 server. We do recommend MS's driver, or that of www.inetsoftware.de. The
    MS driver is fairly stable now, and may certainly have bugs, as does our driver. The MS
    driver is good because it is not deprecated, and supports JDBC 2.0 etc.
    Joe
    >
    >
    Joseph Weinstein <[email protected]> wrote:
    What version of 5.1? You should be running with the latest service pack.
    If that doesn't help, please download the latest 5.1 driver from our
    site, and
    make sure it's in the weblogic.classpath ahead of all other stuff, by
    editting the
    startWeblogic script.
    Joe
    Nadeem Khokhar wrote:
    Hi,
    I recently upgraded to the Weblogic JDBC 5.1 driver for MS SQL Serverand I am
    now receiving exceptions in my application when attempting to executea prepared
    statement. I was previously using the Weblogic JDBC 4.x driver forMS SQL Server
    and everything was working fine without any problems. For some reasonI am receiving
    a java.lang.CloneNotSupportedException using the new driver. I amusing the setLong(),
    setString(), and setObject() methods of the PreparedStatement and thenattempting
    to execute. The application code has not changed, so it seems thatsomething
    has changed in the new driver implementation. Has anyone else hadthis problem
    or know a work around? Here is a snippet of the actual exception:
    S2 [09/30/02 10:46]: java.sql.SQLException: java.lang.CloneNotSupportedException
    : Error in TdsParameter clone: cannot make duplicate of Stream object
    S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsPreparedInputStream
    <init>(TdsPreparedInputStream.java:99)
    S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.doEscapeP
    rocessing(TdsStatement.java:1317)
    S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.execute(T
    dsStatement.java:173)
    S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.executeUp
    date(TdsStatement.java:94)
    S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.executeUp
    date(TdsStatement.java:1438)
    Thanks, Nadeem.

  • JDBC for MS SQL Server 2000

    Hi all, i'm newbie here and i have some problems doing with Java for my Final Project, just for my graduation...
    Here's the problem ...
    First i install the JDK 1.5 and MS SQL Server 2000. And then i also install JDBC for MS SQL Server 2000 sp3. Than i'm doing some experiments with JDBC, but its result error that i couldnt understand how to fixed it...
    I'm asking is JDBC for MS SQL Server 2000 sp3 doesn't support j2ee 1.5.0 and where i can find native driver jdbc for MS SQL Server 2000.
    Please help me....

    Than i'm doing some experiments with JDBC, but
    its result error that i couldnt understand This is the most important part of your post yet you don't seem to recognize it as such.
    Tell us what the error is. Not what you think it is. Exactlly what it says. And please provide a relevent, formatted snippet of code.

  • Number of instances that can be installed in a single SQL Server R2 enterprise edition license

    How many instances can we install using a single SQL Server 2008 Enterprise R2 license?

    Hello,
    This is a community forum for technical questions & issues.
    For question regarding pricing / licensing please contact a Microsoft sales partner or licensing expert.
    Call (1-800-426-9400), Monday through Friday, 6:00 AM to 6:00 PM PST to speak directly to Microsoft licensing specialist.
    http://www.microsoft.com/en-us/server-cloud/products/sql-server/buy.aspx
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Connection problem in Crystal Reports for Eclipse(SQL Server Express 2008)

    I tried to connect into a local SQL Server Express 2008 database in Crystal Reports for Eclipse (CR4E), but always  got the Ping failed message(TCP/IP connection failed) even I tests completed successfully using my Window XP Adminstrators Tools (SQL Server ODBC Data Source Test). I can connect successfully to a remote network Oracle database in CR4E. I would like to know
    that is there any one who connect SQL Server Express 2008 local database successfully in CR4E?

    Don,
    Thanks for your suggestions. I will follow your instruction to connect to SQL Server Express 2008 database latelly. I can connect successfully with different Oracle databases (10g) in CR4E. I will try to connect MySQL database and Postgres database in CR4E  to see if they can be  successful or not. My project involves international entities with emphsizing  in using OPEN SOURCE softwares (which means FREE - no license fees) in .NET platform for Oracle, SQL Server Express, MySQL and Postgres database servers. I am responsible for reports generation. I hope that CR4E can be connected successfully to SQL Server Express 2008 database server, otherwise I have to use JFreeReport/JFreeChart tools to do reports generation .

  • À PROBLEM IN THE INSTALLATION OF SQL SERVER

    I HAVE À PROBLEM IN THE INSTALLATION OF SQL SERVER ,I HAVE WINDOWS 8 64 BITS LENOVO ,I TRIED MANY VERSIONS, BUT IT DOESN'T WORK YET :(
    PLEASE HELP ME !

    I HAVE À PROBLEM IN THE INSTALLATION OF SQL SERVER ,I HAVE WINDOWS 8 64 BITS LENOVO ,I TRIED MANY VERSIONS, BUT IT DOESN'T WORK YET :(
    PLEASE HELP ME !
    Without the exact error message wwe will just hit arrow in the bush.Please post summary.txt which was generated due to failed installation.Below link will help you locate it
    http://technet.microsoft.com/en-us/library/ms143702.aspx
    Below link will give useful info about how to proceed with installing SQL server on win 8
    Considerations before installing SQL server on win 8
    Hardware and software requirement for installing SQL server 2012
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Cannot establish connection - JDBC driver for MS SQL server 2000

    Hi,
    We are facing problems in connecting to SQL server 2000.
    We have installed the latest version of the driver from followin link and following
    https://websmp108.sap-ag.de/msplatforms    > SQL Server > JDBC Driver for MS SQL Server (Version 3.70.10)
    We have given the following entries in our communication channel:
    JDBC Driver : com.microsoft.sqlserver.jdbc.SQLServerDriver
    Connection:  jdbc:sqlserver://<SQLserver IP>:1433;databaseName=production_info
    Please let us know the procedure to find if the JDBC driver for SQL 2000 is installed from our SAP XI.
    ERROR DETAILS:
    Error during database connection to the database URL 'jdbc:sqlserver://<SQLserverIP>:1433;databaseName=production_info' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:sqlserver://<SQLserverIP>:1433;databaseName=production_info': SAPClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver'
    Please help.
    Regards,
    Rehan

    Hi Chris,
    We have used the same because we have downloaded the driver from following location
    https://websmp108.sap-ag.de/msplatforms ;   > SQL Server > JDBC Driver for MS SQL Server (Version 3.70.10)
    I have tried with both "com.microsoft.jdbc.sqlserver.SQLServerDriver"; and "com.microsoft.sqlserver.jdbc.SQLServerDriver";, but still I am facing the same error.
    Service market place has given the driver as "JDBC Driver for MS SQL Server (Version 3.70.10)", is there a way to find out if it is for 2000 or 2005?
    Thanks for your reply.
    Regards,
    Rehan

  • JDBC for Microsoft SQL Server 2000

    Hello,
    I have installed Microsoft SQL Server 2000 to establish a connection with JDK 1.4.1 and run the following code:
    import java.sql.Connection.*;
    import java.sql.*;
    public class Connect
    private java.sql.Connection con = null;
    private final String url = "jdbc:microsoft:sqlserver://";
    private final String serverName= "localhost";
    private final String portNumber = "1433";
    private final String databaseName= "cbi";
    private final String userName = "sa";
    private final String password = "";
    // Informs the driver to use server a side-cursor,
    // which permits more than one active statement
    // on a connection.
    private final String selectMethod = "cursor";
    // Constructor
    public Connect(){}
    private String getConnectionUrl()
    return url+serverName+":"+portNumber+";databaseName="+databaseName+";selectMethod="+selectMethod+";";
    private java.sql.Connection getConnection()
    try
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    con = java.sql.DriverManager.getConnection(getConnectionUrl(),userName,password);
    if(con!=null)
    System.out.println("Connection Successful!");
    catch(Exception e)
    e.printStackTrace();
    System.out.println("Error Trace in getConnection() : " + e.getMessage());
    return con;
    Display the driver properties, database details
    public void displayDbProperties()
    java.sql.DatabaseMetaData dm = null;
    java.sql.ResultSet rs = null;
    try
    con= this.getConnection();
    if(con!=null)
    dm = con.getMetaData();
    System.out.println("Driver Information");
    System.out.println("\tDriver Name: "+ dm.getDriverName());
    System.out.println("\tDriver Version: "+ dm.getDriverVersion ());
    System.out.println("\nDatabase Information ");
    System.out.println("\tDatabase Name: "+ dm.getDatabaseProductName());
    System.out.println("\tDatabase Version: "+ dm.getDatabaseProductVersion());
    System.out.println("Avalilable Catalogs ");
    rs = dm.getCatalogs();
    while(rs.next())
    System.out.println("\tcatalog: "+ rs.getString(1));
    rs.close();
    rs = null;
    closeConnection();
    else
    System.out.println("Error: No active Connection");
    catch(Exception e)
    e.printStackTrace();
    dm=null;
    private void closeConnection()
    try
    if(con!=null)
    con.close();
    con=null;
    catch(Exception e)
    e.printStackTrace();
    public static void main(String[] args) throws Exception
    Connect myDbTest = new Connect();
    myDbTest.displayDbProperties();
    but, I received the error that ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver, No active Connection.
    I added the 3 .jar files msbase.jar,mssqlserver.jar and msutil.jar to the System variables but it is not working. Is there any syntax for adding these .jar files to the System Variables?
    Please, help me and give me the solution for establishing the connection and loading the driver class. If I am doing anything wrong then please, tell me the right step.
    I am developing a project on Java and I have very little time left to accomplish it. Please help me.
    Thankyou.

    I had already given the .jar files to the User variables and System Variables but the driver class is still not loading. I had simply given the .jar file name for instance, msbase.jar;mssqlserver.jar;msutil.jar and also tried the path of .jar files i.e., C:\Microsoft SQL Server\-----------\lib\msbase.jar;C:\-------------lib\mssqlserver.jar;C:\----------------\lib\msutil.jar; but, both ways are not working. When I installed the MS SQL Server 2000 then in the lib folder, the 3 JAR files were not installed then, I downloaded a driver for MS SQL Server 2000 Driver for JDBC sp2, then, the JAR files were installed. Then, I copied those files to the lib folder of MS SQL Server and gave that path to the User and System Variables but it didn't work then I gave the original path of files where they are installed i.e., of the Driver's path which I downloaded from Microsoft but still now, my problem is not solved. Please help me.

  • Is it possible to install Oracle 9i and SQL server on same machine

    1. Is it possible to install Oracle 9i and SQL server on same machine ?
    2. If yes, what are the problems i may encounter during installation
    3. What should be hardware configuration for installing both databases in same machine like hard disk space, RAM speed etc,

    Hi,
    1. Yes you can do it.
    2. There shouldn't be any problems
    3. Depends on your needs
    Jarek

  • Error While Installing IDES ECC6 with SQL Server 2005

    Dear Experts,
    I found an error while installing IDES ECC6 with SQL Server 2005. The error is raising at the stage of 17 of 24 processing the procedure of 195 of 197 (sap_z_set_permissions).
    I have tried several times by configuring different type of activites but still i am facing the same problem at the same stage. Please help me in thig regard.
    I herewith pasted hereunder log files information
    Regards,
    B.Sudharsan
    ERROR 2008-01-17 18:38:47
    FCO-00011  The step ExeProcs with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_Postload|ind|ind|ind|ind|10|0|NW_Postload_MSS|ind|ind|ind|ind|2|0|MssProcs|ind|ind|ind|ind|1|0|ExeProcs was executed with status ERROR .
    INFO 2008-01-17 18:40:05
    An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_Postload|ind|ind|ind|ind|10|0|NW_Postload_MSS|ind|ind|ind|ind|2|0|MssProcs|ind|ind|ind|ind|1|0|ExeProcs".
    ERROR 2008-01-17 18:38:47
    MDB-05053  Errors when executing sql command: <p nr="0"/> If this message is displayed as a warning - it can be ignored. If this is an error - call your SAP support.

    Sudarshan,
    Occasionally, mid-way through the upgrade, DB permissions to users might change. Check to see, if the users SAP<SID>, OPS$ users have the DBA privilege. Re-assign the role and try continuing with the upgrade.

Maybe you are looking for

  • Navigation issue using jsf, tiles, tomahawk  :loosing faces context

    Hi all, I enhanced my webapp using tomahawks jscookmenu. Triggering 1 menuItem the wanted pages displays correctly but the next click anywhere in the application shows this error: org.apache.jasper.JasperException: javax.faces.FacesException: Faces c

  • When making a new folder in the "Page Bookmarked" pop-up, it doesn't let me name the folder.

    Usually, when you bookmark a page, when choosing the drop-down menu next to the "folder" area, you can press "New Folder", and it create a new folder and let you name it. Now, it often does nothing when I press the button, and when it does make a new

  • Communicate between measurement equipments

    I am pretty new to LabView, however, I was given a task in recent days. The scenario is like this, we get two measurement equipments and one workstation, all of them are using labview and have IP addresses. I want my PC to get all measured data from

  • Can't import pictures into iPhoto!

    I have a problem: Pictures taken with my iPhone don't show up in iPhoto when connected. I can "see" the pictures (gray, no pics actually) but i can't import them. iPhoto gives me the error that the images aren't readable! Sam I have 1.1.3 installed!

  • Import text / word documents into a Crystal Report

    Good morning, I need to import a Text file/Word Doc. into a crystal report, these files are based on a field, i mean The data in the field is "alr-finclk", then the file to import is alr-finclk. if the data is "alr-pro" the file is alr-pro and so on.