• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SessionBean deploy

 
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, I know.
I requested them to redirect this message to EJB forum....
Jamal
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving this to the EJB forum...
 
Jamal Hasanov
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic