Class name is wrong or classpath is not set

Posted on 2007-07-27
Last Modified: 2013-11-24
sorry I have only these points left

while i coded for ejb as usual there is not need for establishing a connection ...
So i go to admin console and set the connection.. i am using sql server 2000... while creating a connection in admin console, i tried to ping whether the connection is established or not ,, but i got the following error..
Would you please help me ....

error is :

An error has occurred.
Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Class name is wrong or classpath is not set for : com.ddtek.jdbcx.sqlserver.SQLServerDataSource
Question by:Richards
    LVL 19

    Accepted Solution

    This means that the DataSource class you specified in the configuration cannot be found either because you entered the name wrong (probably not in this case) or the jar is not in the server classpath. Which application server are you using?
    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Join & Write a Comment

    For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
    Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
    Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
    This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now