Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Question About Weblogic

  Asked By: John    Date: Jul 27    Category: Java    Views: 1014
  

May lead me to create a new JDBC connection in weblogic 6.1
Using SQL Server 2000.I've downloaded SQL Server JDBC driver from
Microsoft.com and installed in c:\JDriver.
In Management console I did the following settings:
Name : SQL2K
URL : com.microsoft.jdbc.sqlserver.SQLServerDriver
DRIVER : "jdbc:microsoft:sqlserver://127.0.0.1:1433","sa",""
then I target the new JDBC connectopn pool to a specified server(called
examplesserver)
then I changed ClassPath in server .cmd file as following :
set CLASSPATH=./lib/crack.jar;.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\samp
les\eval\cloudscape\lib\cloudscape.jar;.\config\examples\serverclasses;.;c:
\JDriver\lib\msbase.jar;c:\JDriver\lib\msutil.jar;c:\JDriver\lib\mssqlserver.jar
when I execute the batch file to start server I get the following error:
(Can not load driver class "jdbc:microsoft:sqlserver://127.0.0.1:1433","sa","")
May you lead me what went wrong?
(I've attached .cmf file and config.xml file)

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Verner Fischer     Answered On: Jul 27

you entered the URL and the driver vice versa.
weblogic has its own jdbc  driver for Ms Sql server

 
Didn't find what you were looking for? Find more on Question About Weblogic Or get search suggestion and latest updates.




Tagged: