File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes what is the value of classpath for this DSN 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 "what is the value of classpath for this DSN" Watch "what is the value of classpath for this DSN" New topic
Author

what is the value of classpath for this DSN

Arun Maalik
Ranch Hand

Joined: Oct 25, 2005
Posts: 216
Hi everybody i am Arun , i am doing ejb(BMP) when i am configuring the server for the BMP. i entered all the enformation right

and i entered in the Datasource Classname

com.microsoft.jdbcx.sqlserver.SQLServerDataSource and when i am pressing on ping button i am getting an error as follows

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.microsoft.jdbcx.SQLserverDataSource

Now tell me what is the reson for this exception

i am confusing here that SQLserverDataSource i have to create or it already creted by server. wnd what is the value of classpath for this particular DataSource
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10101
    
164

This question appears specific to some application server. Which one are you using? BTW, is this a typo

Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Class name is wrong or classpath is not set for : com.microsoft.jdbcx.SQLserverDataSource


If not then the driver class should be com.microsoft.jdbcx.SQLServerDataSource (Note the uppercase 'S')
[ December 26, 2006: Message edited by: Jaikiran Pai ]

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is the value of classpath for this DSN