Bookmark Topic Watch Topic
  • New Topic

MessageListener -- class not found exception

 
Rajasekhar Devi Reddy
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi

I had been trying to write a simple message driven bean (ejb 2.1 spec) I am using jboss 4.2.3 and eclipse 3.4 IDE on windows vista OS.

I have implmented a ben class and have also implemented javax.ejb.MessagDrivenBean abd javax.jms.MessageListener in my class. But when I deploy the ejb to the server I see that the server log shows an error. And it says can not find class MessageListener. It further says that the EJB code has to implement the MessageListener intergface which I did. I have pasted my code here could any one please let me know what the problem might be ???

 
Scott Selikoff
author
Saloon Keeper
Posts: 4028
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Report post to moderator
You probably don't have the proper jar files in the "lib" directory of the server. Have you checked the JBoss "all" deployment for jars you might be missing? Either way sounds like a JBoss issue to me...
 
Rajasekhar Devi Reddy
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Report post to moderator
Thanks for the reply. I am using default configuration. will some jars be missing if am using default and not all config ???
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not ask the same question in multiple posts: http://www.coderanch.com/t/91312/JBoss/find-MessageListener-class-exception
 
Rajasekhar Devi Reddy
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Report post to moderator
Sorry abt that.. I had initially posted it on ejb's forum then I found there was one specific for JBoss so
I posted it there too.. dont know how both came up together in one forum now.

by the way I have run the application server in 'all' mode too..did not work ... how can I find if some thing is missing in my server's lib folder.

thank you for your reply..
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Rajasekhar,

Let's continue this discussion in your other thread.
 
    Bookmark Topic Watch Topic
  • New Topic