How to crete the source system for the SQL Server 2000 to BI 7.1
Dear All,
We want to extract data from SQL server 2000 data base to BI 7.1
Please provide us the step-by-step procedure to be followed in BI as well as SQL server 2000 BD
Thanks & Regards,
sarasu
Hi,
You have two options, you can use DB Connect but you need SAP DBSL for SQL Server 2000 and the DB Client and this could be have a additional cost, or you can use UD Connect, that make the connection with Java, using JCo's and the Driver Java for SQL Server 2000, please review this link: [http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/58f4db47-0501-0010-a2bf-ff01b150fdff|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/58f4db47-0501-0010-a2bf-ff01b150fdff]
I recomend if you dont have the SAP DBSL and DB Client for SQL Server 2000 that use UD Connect is really useful.
Regards
Similar Messages
-
Where to download the SQL Server 2000 plug-in for Migration Workbench
Dear All,
I am new to Migration WorkBench, I want to migrate the SQL Server 2000 database to Oracle 9i. When i start the Migration WorkBench, it requires me to select the plug-in (SQL Server) for the migration source. Before i have download and install the Access plug-in for testing. Can anybody tell me where i can find the SQL Server 2000 Plug-in for migration workbench.
thx.
Alan,here on OTN; on the same page like all the other plugins:
http://otn.oracle.com/software/tech/migration/workbench/htdocs/utilsoft.html -
Error Using the SQL Server 2000 Driver for JDBC Service Pack 3
Hi,
I�m using the SQL Server 2000 Driver for JDBC Service Pack 3. The connection is succesfully, but when I use de statement.executequery() method, there is the follow exception:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 'PEC_COUNTRY'.
This is my code:
ResultSet resultSet;
Statement statement;
Connection connection;
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://S0MALMUERTA:1433;user=sa;password=");
statement = connection.createStatement();
resultSet = statement.executeQuery("SELECT COY_INX, COY_NAME, COY_ICO FROM PEC_COUNTRY
");When I make the last instruction, occurs the above exception
Thanks in advance
LuijaThe way you are connecting, the default database used will be 'master' and i guess that the table PEC_COUNTRY was defined in another database.
If it is the case you need to specify the database name.
connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://S0MALMUERTA:1433;DatabaseName=yourdb;user=sa;password="); -
How to find the SQL Server Instances running across the given activer directory domain?
How to find the SQL Server Instances running across the given activer directory domain?
I have though of OSQL -L , Microsoft Assessment and Planning ( MAP ) tool and SQLPing3 (SQLSecurity) might help me.
I would appreciate if there any other way of finding the SQL Servers / Instances running across the given active directory domain.
Sivaprasad S
http://sivasql.blogspot.com
Please click the Mark as Answer button if a post solves your problem!Dear ,
Very simple u find all instances through the customized sp which is get all details about inventory. Like i put the sp bellow. This is without any tool.
USE [master]
GO
/****** Object: StoredProcedure [dbo].[DBStatus] Script Date: 08-01-2015 19:46:11 By Damodar Patle Sr. DBA Mumbai India ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[DBStatus]
AS
SELECT
SERVERPROPERTY('servername') AS ServerName,
ConnectionProperty('local_net_address') AS 'local_net_address',
ConnectionProperty('local_tcp_port') AS 'local_tcp_port',
CONVERT(VARCHAR(25), @@VERSION) as VERSIONSQL,
SERVERPROPERTY('ErrorLogFileName') AS ErrorLogFilePath,
database_id,
CONVERT(VARCHAR(25), DB.name) AS DBName,
CONVERT(VARCHAR(10), DATABASEPROPERTYEX(name, 'status')) AS [Status],
CONVERT(VARCHAR(10), DATABASEPROPERTYEX(name, 'Recovery')) AS [Recovery_Model],
create_date as DBCreate_Date, --physical_device_name,
(SELECT COUNT(1) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'rows') AS DataFiles,
(SELECT SUM((size*8)/1024) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'rows') AS [Data MB],
(SELECT COUNT(1) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'log') AS LogFiles,
(SELECT SUM((size*8)/1024) FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'log') AS [Log MB],
(SELECT physical_name FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'rows') AS MDF_File_Location,
(SELECT physical_name FROM sys.master_files WHERE DB_NAME(database_id) = DB.name AND type_desc = 'log') AS LDF_File_Location,
user_access_desc
FROM sys.databases DB
ORDER BY dbName, [Log MB] DESC, NAME -
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. -
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.
-
How to use create-default-dbms-tables in SQL Server 2000
Hi everyone,
I'm new in EJB development. I'm trying to deploy a CMP to Weblogic 8.1 SP1 using
JBuilderX. I configured a ConnectionPool and DataSource to allow the CMP to access
the SQL Server 2000. However, I cannot deploy the CMP if I didn't create the table
in SQL Server manually. Does anyone know how to use the create-default-dbms-tables?Refer to
http://e-docs.bea.com/wls/docs81/ejb/DDreference-cmp-jar.html#1162249
"Keith" <[email protected]> wrote:
>
Hi everyone,
I'm new in EJB development. I'm trying to deploy a CMP to Weblogic 8.1
SP1 using
JBuilderX. I configured a ConnectionPool and DataSource to allow the
CMP to access
the SQL Server 2000. However, I cannot deploy the CMP if I didn't create
the table
in SQL Server manually. Does anyone know how to use the create-default-dbms-tables? -
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 -
ODI's CDC Support for MS SQL Server 2000
Hi,
Does ODI provides CDC with log for MS SQL Server 2000? I read somewhere that we need to get a separately priced adapter for this because ODI supports only trigger based CDC for MS SQL Server 2000 and 2005.
Could anyone please shed some light on this?
Thank you.Hi,
Are you able to find out any info on this?
Appreciate your help on any leads..
Regards
Naveen -
Where to find the API documentation for MS SQL Server 2000 JDBC
I Downloaded and installed the MS SQL Server 2000 JDBC package, but I found that it does not provide enough help docs such as API documentation, demo and etc.
It would be most grateful if you would provide some information about this driver.Thank your for your kind attention.
For example, I want to get a ConnectionPoolDataSource object to get a PooledConnection object, but I don't know which class implements the interface.
import java.sql.*;
import javax.sql.*;
import <classes related to connection pooling>;
ConnectionPoolDataSource cpds = new <MS impl>;
<lines for setURL()/setUser()/setPassword, etc>
PooledConnection pc = cpds.getPooledConnection();
... -
Which is the best way to migrate the SQL SERVER 2000 Database to SQL SERVER 2003 Database?
Hi,
I need to migrate the Production database sql server 2000 to Sql server 2003, Please give me the best idea to migrate the database without any loss data, credentials and Objects.
Nandha KumarSQL server does not have any version named SQL server 2003 please check the version correctly it should be either SQL 2005,2008,2008 R2,2012
You can use the backup/restore to upgrade the SQL 2000 database to till SQL 2005,2008,2008R2
For SQL Server 2000 to 2012
First upgrade from SQL 2000 database to either SQL 2005, 2008 or 2008R2 and than upgrade it to SQL 2012.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/eaa1eb44-729f-466b-8233-cb768fbb4208/upgrading-to-sql-server-2008-from-sql-server-2000?forum=sqlsetupandupgrade
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/4fac7511-2c75-46a0-802b-807dd26b12bf/sql-2012-will-not-convert-a-sql-2000-database?forum=sqlservermigration
And after migration to SQL 2005 or 2008, if you want to script the database than can generate scripts pick DB and check off "script all objects in the selected database".
http://blog.sqlauthority.com/2011/05/07/sql-server-2008-2008-r2-create-script-to-copy-database-schema-and-all-the-objects-data-schema-stored-procedure-functions-triggers-tables-views-constraints-and-all-other-database-objects/
You can upgrade from SQL Server 2005, SQL Server 2008, and SQL Server 2008 R2 to SQL Server 2012.
http://msdn.microsoft.com/en-us/library/ms143393(v=sql.110).aspx
Please click the Mark as answer button and vote as helpful if this reply solves your problem -
Executing interface for a SQL Server 2000 target
Hi All,
I am trying doing some initial experimentation with ODI, in executing its interface in compiling a SQL Server 2000 target from the same source.
I designed an interface with Source and target having only one column, inserted some sample data for the source data store and left the target empty. After reversing the source and target data models, created an interface and inserted source and target datastores and active mapped the existing column. In the flow tab, I am using LKM MSSQL to MSSQL(Linked Servers) and IKM MSSQL Incremental Update and rectified Flow Control to 'No' as I dont have any keys in my structure. I am using CKM SQL, though no necessity of it, and also tried with LKM MSSQL to MSSQL(BCP), but could not correct the error when executing this interface.
It is not indicating any errors in diagram. In the Operator this is what is the message:
1038 : S0003 : com.microsoft.sqlserver.jdbc.SQLServerException: Cannot use empty object or column names. Use a single space if necessary.
com.microsoft.sqlserver.jdbc.SQLServerException: Cannot use empty object or column names. Use a single space if necessary.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(Unknown Source)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(Unknown Source)
at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.h.y(h.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
Moreover in the command prompt it is indicating SQL Server Exception: Cannot invoke a rollback operation when the autocommit mode is set to true.
Please help me out in executing this interface, all help is greatly appreciated.
Many Thanks!!!Hi Rathish,
In the query it is indicating that 'It is creating view on target'. This is the step that is causing trouble.
Query description is :
create view dbo.C$_0City_Trg
as
select *
from [].odi_work.dbo.City_Trg
Thanks in Advance!!! -
Cant create connection Pool for MS SQL Server 2000 with Microsoft Driver
i am using bea weblogic server 6.1, i cant create connection pool while using MS
SQL Server 2000. i have installed JDBC Driver SAP1 from microsoft website. when
i give the following class name for JDBC driver and the connection url and click
apply while selecting the available server, a number of exception appears in default
server (that is the connection pool cannot be created..... cannot load the driver
class).
URL= jdbc:Microsoft:sqlserver://127.0.0.1:1433;DatabaseName=MyDB
Driver= com.microsoft.jdbc.sqlserver.SQLServerDriver
when i use the above setting in a JDBC simple application in Jbuilder
7.0 the application runs successfully and fetches the data deom MS SQL database
but in at Bea connection Pool is not created with these settings. i do give appropriate
username and password in properties field in connection pool. Thankx for any help!khabbab wrote:
That was the original code part from "startweblogic" :
:runWebLogic
echo on
set PATH=.\bin;%PATH%
set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;
echo off
and i changed it to :
:runWebLogic
echo on
set PATH=.\bin;%PATH%
set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;D:\Program Files\Microsoft
SQL Server 2000 Driver for JDBC\lib\msbase.jar;D:\Program Files\Microsoft SQL
Server 2000 Driver for JDBC\lib\msutil.jar;D:\Program Files\Microsoft SQL Server
2000 Driver for JDBC\lib\mssqlserver.jar;I suggest moving or copying the three ms driver jars to a directory that has no blanks
in it so the classpath doesn't have blanks in it. Ie:
go to the "D:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib"
directory and do this:
mkdir D:\microsoft_jdbc_driver
cp *.jar D:\microsoft_jdbc_driver
Then make the classpath include D:\microsoft_jdbc_driver\msbase.jar etc.
Joe
>
>
echo off
when i save and run the bat file, server appears then disappears.
Joseph Weinstein <[email protected]_this> wrote:
khabbab wrote:
The class path which is echoed at server startup does not include thepaths to
driver jar files. when i edited the "startweblogic.bat" file and includedthe
driver class paths to jar files, now the server doesnot even run. tellme what
to do now???Show me what change you made to the startweblogic file.
Joe
Joseph Weinstein <[email protected]_this> wrote:
khabbab wrote:
kindly tell me how can i check that the class paths for driver jarfiles are included
in that string? thanks. also tell me can not i use the jdriver forsql server
2000?.The startup script will echo what it's doing, including printing out
the classpath
it will use. Yes you can use the jDriver for MS SQL2000. It is sufficient
for
basic JDBC, but the MS drivfer is preferable in some ways.
Joe
Joseph Weinstein <[email protected]_this> wrote:
khabbab wrote:
i am using bea weblogic server 6.1, i cant create connection
pool
while
using MS
SQL Server 2000. i have installed JDBC Driver SAP1 from microsoft
website.
when
i give the following class name for JDBC driver and the connectionurl and click
apply while selecting the available server, a number of exception
appears
in default
server (that is the connection pool cannot be created..... cannot
load
the driver
class).The server startup script creates a string that will become the
classpath
for the server.
This string is part of the java call to start the server with a-classpath
argument. You need to
make sure the MS driver jars are part of that classpath string.
Joe
URL= jdbc:Microsoft:sqlserver://127.0.0.1:1433;DatabaseName=MyDB
Driver= com.microsoft.jdbc.sqlserver.SQLServerDriver
when i use the above setting in a JDBC simple applicationin Jbuilder
7.0 the application runs successfully and fetches the data deom
MS
SQL database
but in at Bea connection Pool is not created with these settings.
i
do give appropriate
username and password in properties field in connection pool.
Thankx
for any help!
khabbab wrote:
The class path which is echoed at server startup does not include thepaths to
driver jar files. when i edited the "startweblogic.bat" file and includedthe
driver class paths to jar files, now the server doesnot even run. tellme what
to do now???
Joseph Weinstein <[email protected]_this> wrote:
khabbab wrote:
kindly tell me how can i check that the class paths for driver jarfiles are included
in that string? thanks. also tell me can not i use the jdriver forsql server
2000?.The startup script will echo what it's doing, including printing out
the classpath
it will use. Yes you can use the jDriver for MS SQL2000. It is sufficient
for
basic JDBC, but the MS drivfer is preferable in some ways.
Joe
Joseph Weinstein <[email protected]_this> wrote:
khabbab wrote:
i am using bea weblogic server 6.1, i cant create connection
pool
while
using MS
SQL Server 2000. i have installed JDBC Driver SAP1 from microsoft
website.
when
i give the following class name for JDBC driver and the connectionurl and click
apply while selecting the available server, a number of exception
appears
in default
server (that is the connection pool cannot be created..... cannot
load
the driver
class).The server startup script creates a string that will become the
classpath
for the server.
This string is part of the java call to start the server with a-classpath
argument. You need to
make sure the MS driver jars are part of that classpath string.
Joe
URL= jdbc:Microsoft:sqlserver://127.0.0.1:1433;DatabaseName=MyDB
Driver= com.microsoft.jdbc.sqlserver.SQLServerDriver
when i use the above setting in a JDBC simple applicationin Jbuilder
7.0 the application runs successfully and fetches the data deom
MS
SQL database
but in at Bea connection Pool is not created with these settings.
i
do give appropriate
username and password in properties field in connection pool.
Thankx
for any help! -
JDBC driver for MS SQL Server 2000??
I'm moving to weblogic 8.1 (from 7.0), and am facing a series of problems.
This one is related to JDBC driver. The driver(from Microsoft) I used with weblogic
7.0 doesn't work with 8.1. The exception I get when I try to execute a statement
is:
[ java.sql.SQLException: This JDBC 2.0 method is not implemented ]
I figured that the driver doesn't support JDK 1.4. So, I tried using BEA driver
that come with 8.1, but it fails while executing a prepared statement.
Here's the stack trace:
java.sql.SQLException: [BEA][SQLServer JDBC Driver]Invalid parameter binding(s).
at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.validateParameters(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.validateParameters(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.preImplExecute(Unknown Source)
at weblogic.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at weblogic.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
at weblogic.jdbc.base.BaseStatement.downgradeAndRetryExecute(Unknown Source)
at weblogic.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:80)
at com.actiontech.jmetro.util.sql.DBSession.executePreparedQuery(DBSession.java:167)
Does anyone know what the problem is? Everything worked fine on 7.0. Or can anyone
suggest a good driver for SQL server 2000 that works with weblogic 8.1/jdk 1.4?
TIA
VasToday everything seems to be working fine!
All I did was clean up weblogic directories, restart the server, close & reopen
my IDE and redeploy my application. The problem just disappeared. I couldn't believe
it, so I kept hammering it (redeploying and running testcases) .. and after several
cycles.. got the problem again. Did the cleanup again.. and things are ok. So,
I guess nothing wrong with the JDBC drivers(although the one from Microsoft doesn't
support JDK1.4 officially), and its the weblogic that needs some cleanup time
to time. Don't know if this happens only in dev mode, but if it happens in production
mode also, then its another serious problem.
Thanks a lot guys.
"vas pulipati" <[email protected]> wrote:
>
I'm moving to weblogic 8.1 (from 7.0), and am facing a series of problems.
This one is related to JDBC driver. The driver(from Microsoft) I used
with weblogic
7.0 doesn't work with 8.1. The exception I get when I try to execute
a statement
is:
[ java.sql.SQLException: This JDBC 2.0 method is not implemented ]
I figured that the driver doesn't support JDK 1.4. So, I tried using
BEA driver
that come with 8.1, but it fails while executing a prepared statement.
Here's the stack trace:
java.sql.SQLException: [BEA][SQLServer JDBC Driver]Invalid parameter
binding(s).
at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.validateParameters(Unknown
Source)
at weblogic.jdbc.base.BasePreparedStatement.validateParameters(Unknown
Source)
at weblogic.jdbc.base.BasePreparedStatement.preImplExecute(Unknown Source)
at weblogic.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at weblogic.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
at weblogic.jdbc.base.BaseStatement.downgradeAndRetryExecute(Unknown
Source)
at weblogic.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:80)
at com.actiontech.jmetro.util.sql.DBSession.executePreparedQuery(DBSession.java:167)
Does anyone know what the problem is? Everything worked fine on 7.0.
Or can anyone
suggest a good driver for SQL server 2000 that works with weblogic 8.1/jdk
1.4?
TIA
Vas -
Which Driver for MS SQL-Server 2000
Hello,
i need to access a MS SQL-Server 2000 and want to ask which driver you think is the best one for this problem.
I am not a big fan of using beta-Software, and i do not need the newest state-of-the-art features. Right now i also do not need Connection-Pooling.
Only a few SQL SELECT/UPDATE-Statements nothing more.
But maybe in not far away future, Conn-Pooling and Procedure-Calls could be interesting. And i think Type 3 or 4 would be the best decision.
The Software will run on NT, but i do not want to use the JDBC/ODBC-Bridge, because it is so unbelievable slow.
I am interested in WHICH DRIVER you USE, AND especially which drivers you DO NOT USE ANYMORE, and why.
It would be great, if anyone could help me, finding the best solution.
P.S.: The price of the driver: It would be good, when it is for free. But if you know a good commercial driver i am also interested in.
P.P.S: Yes, i have searched for drivers under http://servlet.java.sun.com/products/jdbc/drivers. But there are 37 different Type 3/4 drivers.You can try the jtds project .Search for it in www.sourceforge.net. It is derived from FreeTDS JDBC driver. Both of them are Type 4 JDBC drivers. So far I have tried both of them a few years ago. And jtds is more updated (during those time, not sure what the status is right now)
Or, you can get Microsofts own JDBC driver
Maybe you are looking for
-
Why is my Illustrator cs6 not opening files.
I'm having a issue with Illustrator not opening files (eps or ai) either from the server or my desktop, opening original from Indesign, double clicking a file or from the menu 'open file'. I have to end up quitting Illustrator, then open the file fro
-
Should my songs be AIFF or MP3?
I have files in both AIFF and MP3 format. What are the advantages of both? Also, the file size for my AIFF files is huge- 50MB each file. Is that too big? How do I scale everything down at once?
-
I CAN NOT BELIEVE APPLE OFFERS NO PHONE CUSTOMER SERVICE FOR ITUNES USERS!
I have been unable to access my purchased music on my new computer (the old one crashed before I could back up my purchased itunes music). I clicked "check for purchases," and received one of several television shows I purchased and NONE of the dozon
-
How to make both headphones play the same sounds?
I've noticed that for many songs, each headphone plays a slightly different part. I know there's a way to toggle this on other phones, but I don't know how to do it on an iPhone or Mac. If anyone knows could you let me know? Thanks.
-
How to retrieve BFILE use Jdeveloper2.0 connection
Hi, Jdeveloper2.0 have its own connection way to access database. It used to build up info data form and dbservlet. It is great. But can we use its connection to retrive BFILE, like what we do using standard JDBC driver. How? Or we have to use oracle