• Post Reply Bookmark Topic Watch Topic
  • New Topic

Trouble with Home interface access...  RSS feed

 
Pavel Drobnych
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THE SCENARIO: Server JBOSS 2.44. Entity Bean (EntEJB) and stateless Session Bean (SessEJB) are
bounded as a one jar. SessEJB naturally contains <ejb-ref> to EntEJB. Deployment goes fine.
Both beans are fully functional when accessed via RMI client through given JNDI names.
THE PROBLEM: When SessEJB tries to access EntEJB, the:
ERROR,TravelAgentEJB] TRANSACTION ROLLBACK EXCEPTION:
javax.transaction.TransactionRolledbackException: cannot access interface pack/EntHome from
class pack/$Proxy6; nested exception is:
java.lang.IllegalAccessError: cannot access interface pack/EntHome from class titan/$Proxy6

WHAT I'VE TRIED:
- to use <ejb-ref-link> element in ejb-jar.xml
- to use <ejb-ref><ejb-ref-name/><jndi-name/> in jboss.xml (place to declare JNDI names)
- to split one jar on two :-(
QUESTION: what am I missing?
Thanks allot
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pleas enote that your name violates the javaRanch naming standard. Your display name must be your real first name - space - your real last name. Thanks.
 
Pavel Drobnych
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anything more constructive?
Cheers
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!