• Post Reply Bookmark Topic Watch Topic
  • New Topic

DataSource error

 
blackcarlos Dibia
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
am trying to create a DataSource to connect to SQL Server 2000 from J2EE 1.4 application server the classname I am using is com.microsoft.jdbcx.sqlserver.SQLServerDataSource
but when I ping to check the connection
I get this error
An error occured. Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: class name is wrong or classpath is not set for com.microsoft.jdbcx.sqlserver.SQLServerDataSource
pls help
 
Makarand Parab
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As we have class12.jar file in the classpath for oracle, You should have
mssqlserver.jar,
msutil.jar,
msbase.jar.
in your classpath. Please have them in your classpath and check if it is working.

Let me know

Regards
Makarand parab
 
blackcarlos Dibia
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have done you said put the JAR files in the sun/appserver/lib directory
also set classpath to point to the jar files but get new error
Unable to create sockect
pls help Makarand!!!
[ September 23, 2005: Message edited by: blackcarlos Dibia ]
 
blackcarlos Dibia
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PLS SOMEONE HELP ME WITH THIS DATASOURCE PROBLEM
I AM, WORKING ON WINDOWS 2003 PLATFORM
AND HABVE FINISHED CONFIGURING THE DATASOURCE
BUT GET UNABLE TO CREATE SOCKECT ERROR
HELP PLS!!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!