I seem to get different behavior when I package beans in my ear file
differently.
Within one application (ear), I have one servlet, one session bean, and
one entity bean. Very simply, the first tells the second to create the
third.
When I package the servlet up into its war file and each bean into its
own jar file, and then all three into the ear file, everything works
fine when auto-deployed on orion.
However, if I package the two beans up into the same jar file, I get a
NameNotFoundException and the transaction is rolled back. The
ejb-jar.xml file looks as I would expect -- like a combination of the
separate ejb-jar.xml files in the working ear.
Before I dig too much further, I was wondering if this was a known bug.
Should I just get in the habit of putting each bean in its own jar file?
Thanks.