wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Weblogic 7.0 with MS Sql Server 2000 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Weblogic 7.0 with MS Sql Server 2000" Watch "Weblogic 7.0 with MS Sql Server 2000" New topic
Author

Weblogic 7.0 with MS Sql Server 2000

Ramesh Kumar Swarnkar
Ranch Hand

Joined: Sep 15, 2003
Posts: 84
Friends,
I am having problem to configure Weblogic 7.0 with Ms Sql Server 2000.
The steps I have followed for creating new connection pool is as follows:-


NAME : - MSSQLServerConnectionPool
URL : - jdbc:microsoft:sqlserver://192.168.0.46:1433/MSSQLServerConnectionPool
DRIVER :- com.microsoft.jdbc.sqlserver.SQLServerDriver
PROPERTIES:- user=sa
PASSWORD:- BLANK (AS I DONT HAVE PASSORD IN SQL SERVER FOR USER Sa)
ACL :- BLANK
Open String Password :- BLANK

Then I click the create button then Apply- till now fine.

But, I select 'myserver' in 'Target' Tab and add, and click apply button. It generates lots of error, which is like this:-
---------------------
<Oct 13, 2004 4:15:16 PM GMT+05:45> <Error> <JDBC> <001060> <Cannot startup connection pool "MSSQLServerConnectionPool" weblogic.common.ResourceException: Cannot load driver class: com.microsoft.jdbc.sqlserver.SQLServerDriver>
----------------------------------
I have the SQLServerDriver files (3 jar files- downloaded from microsoft site) in my system's Program folder, which I have set in classpath.
I have Sql Server Installed on another machine in LAN, and client in my machine (It is workign fine in JBOSS).Weblogic is installed on my machine.

I would like to thank my friend(s), for investing valuable time to reply me, in advance !!
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Please set CLASSPATH to driver class in startup server script..

Example :: startWebLogic.bat



SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Weblogic 7.0 with MS Sql Server 2000