Hi, I've installed JBoss 4.0.2. on XP.
I'm trying to implement the example project called adb by Heiko W. Krupp. It's
a kind of address data base.
Trying to lookup via JNDI my SessionBean in my Servlet, but always the
NameNotFoundException is showing up: adb not bound
My XDoclet code in the SessionBean
/**
* @ejb.bean name = "Facade"
* type="Stateless"
* view-type = "both"
* jndi-name = "adb/Facade"
* local-jndi-name ="adb/Facade"
*
*/
public abstract class FacadeSessionBean implements SessionBean {
What I wonder, that in jmx-console I can't refind this adb. I also tried
without adb, but without success.
Global JNDI Namespace
+- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
+- Facade (proxy: $Proxy84 implements interface
de.bsd.adb.ejb.FacadeHome,interface javax.ejb.Handle)
+- jmx (class: org.jnp.interfaces.NamingContext)
| +- invoker (class: org.jnp.interfaces.NamingContext)
| | +- RMIAdaptor (proxy: $Proxy27 implements interface
org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface
org.jboss.jmx.adaptor.rmi.RMIAdaptorExt)
| +- rmi (class: org.jnp.interfaces.NamingContext)
| | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class:
javax.naming.LinkRef)
+- UserTransactionSessionFactory (proxy: $Proxy11 implements interface
org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
+- local (class: org.jnp.interfaces.NamingContext)
| +- [EMAIL PROTECTED] (proxy: $Proxy79 implements interface
de.bsd.adb.ejb.FacadeLocalHome)
| +- [EMAIL PROTECTED] (proxy: $Proxy75 implements interface
de.bsd.adb.ejb.AddressLocalHome)
| +- [EMAIL PROTECTED] (proxy: $Proxy77 implements interface
de.bsd.adb.ejb.EmailLocalHome)
Any suggestions how to bind and lookup it correctly?
Thanx, cinqq
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880886#3880886
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3880886
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user