> I haven't found any Entity Bean tests in the test suite so I couldn't
> compare. This problem may not have anything to do with Session/Entity
> and may just be a configuration issue with the beans - I don't know.
There are now and accessing them from a servlet works fine.
> 1. Is there any big difference between:
> a. ctx.lookup ("MyEJB" )=20
> without adding anything to the web.xml (like <ejb-ref>)
>
> b. ctx.lookup ( "java:comp/env/ejb/MyEJB" );
> after adding <ejb-ref>...name>ejb/MyEJB</name.....
> to the web.xml
a. requires that you embed the deployed name of the ejb home in
your code while b. is independent of this.
> 2. Because I am trying to get the app to run on both embedded and=20
> remote tomcat configs, I pass in a properties file to InitialContext
> when I create it. =20
> ie ctx =3D new InitialContext(props);
> That way I don't have to modify any tomcat scripts to get the right
> jnp properties and all.
>
> Does this make any difference to the embedded tomcat on jboss? =20
It should not make a difference.
Look at the jbosstest-web.ear again and submit a bug report with an example
ear that demonstrates the problem.
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user