Which thread do you mean?
Sound like a classpath issue, but you probably already guessed that much :-)
You must look at "CabinBean" :-)
hope it works. You should look in documentation of JBOSS there is a describtion of that. You need a jboss.xml file
where you specify the reference between your EntityBean and the SessionBean.
Mmmm - still no luck...
the call I am making TravelAgentBean is...
Context jndiContext = new InitialContext();
Object obj = jndiContext.lookup("java:comp/env/ejb/CabinHome");
In the ejb-jar.xml file we have...
and the jboss.xml file looks like:
Now - I assume that the TravelAgentBean looks for "ejb/CabinHome" from ejb-jar.xml (which is then mapped to CabinBean by jboss.xml) and then looks for the com.titan.cabin.CabinHome class - which is where it fails...
Do I need to set a CLASSPATH? or some kind of classpath extension in a configuration file?
Oh - Thanks for the suggestions so far...help is much appreciated.
You must put the Cabin classes into your Travelagent.jar.
Thanks Pierre - that worked!
Is putting the Cabin Bean classes used by the TravelAgent Bean standard for EJB development/deployment or is it a particular aspect of JBoss?
I havnt worked with other containers. I think it is a paticular aspect of jboss.