Hi Sachin;
initially, I was about to deploy an ejb project and a standalone web
application, but in this test project they're altogether packaged in one
EAR.
Meanwhile I also was trying using COMP_NAME instead of JNDI_NAME:
javax.naming.NameNotFoundException: env/ejb/Tiger
at
org.apache.geronimo.naming.enc.AbstractReadOnlyContext.lookup(AbstractReadOnlyContext.java:81)
at
org.apache.geronimo.naming.java.RootContext.lookup(RootContext.java:51)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at com.zoo.TigerUtil.lookupHome(TigerUtil.java:22)
at com.zoo.TigerUtil.getHome(TigerUtil.java:42)
at org.apache.jsp.index_jsp._jspService(org.apache.j
:(
Anyhow, thanks a lot for your patience and hints, much appreciated!
Cheers,
Kris
Sachin Patel schrieb:
> Are you deploying a stand-alone web project and ejb-project, or are the
> both contained in an ear? I too had an issue using the generated
> xdoclet util class when referencing an ejb from a standalone web app. I
> think the lookup needs to be done using the COMP_NAME and not the JNDI
> name.
>
> - sachin
--
Kristian Rink -- Programmierung/Systembetreuung
planConnect GmbH * Strehlener Str. 12 - 14 * 01069 Dresden
0176 24472771 * [EMAIL PROTECTED]