• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error While Deploying EJB....  RSS feed

 
suryan kumar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to deploy an stateless session bean and i am encountered with the following error
"EJB : SesFacade .Unable to initialize method info for remote or home interface.x: com/xxx/xx/xx/CatForm"
I have created jar,war and packaged the same into ear file.
In one of the methods of the bean i am passing CatForm Object
public void addTitleCategory(CatForm catForm) {
TitleCategoryForm tt = (CatForm) catForm;
}
If i remove the parameter catForm it is working fine. Can any one of you help me to resolve this issue.
Your help is highly appreicated.
Thanks
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the signature in your business interface.
 
suryan kumar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pradeep,
Thanks for your response, the method signatures are the same.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some time the deploy tool will point the errors at the wrong place. Just check all the interfaces ane the bean class.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!