Yeah, I reported this a few days but didn't see a response. On Wednesday, December 18, 2002, at 05:03 PM, Dylan van Iersel wrote:
Hi all,
I am having XDoclet (1.2.0B) generate util objects and want to use them to
look up and cache home interfaces. The generated util objects lookup the
homes interfaces using the COMP_NAME static variable but I keep getting
the error message from JBoss that "javax.naming.NameNotFoundException: ejb
not bound"
Can somebody tell me what I am doing wrong?
"Manual" JNDI lookup works fine using the JNDI_NAME though.
a User bean:
* @ejb:bean
* name="User"
* jndi-name="ejb/remote/platform/User"
* local-jndi-name="ejb/local/platform/User"
* cmp-version="2.x"
* schema="user"
* view="both"
and in the home interface
public static final String COMP_NAME="java:comp/env/ejb/UserLocal";
public static final String JNDI_NAME="ejb/local/platform/User";
Groeten,
Dylan
-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
------------------------------------------------------- This SF.NET email is sponsored by: Order your Holiday Geek Presents Now! Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap, MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
