• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

DataSource error

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!!!
 
reply
    Bookmark Topic Watch Topic
  • New Topic