geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Rink <>
Subject Re: ejb NameNotFound exception?
Date Tue, 07 Mar 2006 18:43:30 GMT

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

Meanwhile I also was trying using COMP_NAME instead of JNDI_NAME:

javax.naming.NameNotFoundException: env/ejb/Tiger
	at javax.naming.InitialContext.lookup(
	at com.zoo.TigerUtil.lookupHome(
	at com.zoo.TigerUtil.getHome(
	at org.apache.jsp.index_jsp._jspService(org.apache.j


Anyhow, thanks a lot for your patience and hints, much appreciated!

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 *

View raw message