Okay,  I got rid of java:comp/env/  
Below is what I see under jmx-console jndi view:

Ejb Module: EJBs.jar

java:comp namespace of the ConcurroSession bean:
  +- HandleDelegate (class: org.jboss.proxy.ejb.handle.HandleDelegateImpl)
  +- ORB (class: org.jacorb.orb.ORB)
  +- env (class: org.jnp.interfaces.NamingContext)


Global JNDI Namespace

 +- ConcurroSession (proxy: $Proxy488 implements interface 
com.concurro.hcs.access.security.ConcurroSessionHome,interface javax.ejb.Handle)


My ejb-jar.xml contains:


      <ejb-name>ConcurroSession</ejb-name>
      com.concurro.hcs.access.security.ConcurroSessionHome
      com.concurro.hcs.access.security.ConcurroSession
      
<ejb-class>com.concurro.hcs.access.security.ConcurroSessionBean</ejb-class>
      <session-type>Stateful</session-type>
      <transaction-type>Container</transaction-type>
 


 <container-transaction>
      
        <ejb-name>ConcurroSession</ejb-name>
        <method-name>*</method-name>
      
      <trans-attribute>Required</trans-attribute>
</container-transaction>


And here is my call:

 ctx = new InitialContext();
 Object ref = ctx.lookup( 
"com.concurro.hcs.access.security.ConcurroSessionHome" );

I don't see ConcurroSessionHome under jmx-cosole->jndi view; however 
ConcurroSession is there.  I also tried passing "ConcurroSessionHome" to the 
lookup method with no avails.

I appreciate any pointer.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859680#3859680

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859680


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to