Did you add the home and the remote interfaces in
the other jar ?
- Original Message -
From:
Optima
To: [EMAIL PROTECTED]
Sent: Sunday, June 10, 2001 8:38 AM
Subject: [JBoss-user] Problems in working
with another EJB jar file
Greetings all,
I tried to play with the
TravelAgent example in Monson-Haefel¡¦s EJB book on JBoss 2.2.1 and
Win2K. It¡¦s a session bean
calling another entity bean named Cabin, but not in the same .jar
file.
I read the JBoss doc
about this example by Sebastien Alborini, but got the error
about unable to get the home interface of Cabin. I¡¦m sure that the Cabin is working
probably.
Here is the ejb-ref section in ejb-jar.xml for
TravelAgent:
ejb/CabinHome
Entity
com.titan.cabin.CabinHome
com.titan.cabin.Cabin
Here is the jboss.xml for
TravelAgent:
TravelAgentBean
ejb/CabinHome
CabinBean
Could anyone kindly advise
what¡¦s wrong OR post the working code/configuration?
Thanks
Best Regards,
Zeon