Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SessionBean deploy  RSS feed

 
Jamal Hasanov
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting NoSuchMethodException error when I want to deploy Session bean with local interfaces(EJBLocalHome & EJBLocalObject).
When I declare it with a remote interfaces(EJBHome & EJBObject) then deployment is OK.
Any suggestions?
BTW, I'm using JBoss
Thanx a lot,
Jamal Hasanov
 
Steven Wong
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Which version of JBoss are u using?
JBoss 3 supports EJB2.0 with the local interfaces but not the previous versions.
BTW, you have posted this question in the wrong forum.
They'll be removing this soon.....
Clement
SCJP2
 
Jamal Hasanov
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I know.
I requested them to redirect this message to EJB forum....
Jamal
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the EJB forum...
 
Jamal Hasanov
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, I found...
Problem was in EJB-JAR.xml deployment file. I used <home></home> and <remote> </remote>instead of <local> </local> and <local-home> </local-home>
Jamal Hasanov
www.j-think.com
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!