Not at all, the mistake is on your end - I have hundreds of beans per jar ;)

-mike

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Crossley
> Sent: Friday, November 10, 2000 10:19 AM
> To: Orion-Interest
> Subject: Multiple beans in one jar
> 
> 
> 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.
> 
> 

Reply via email to