Thanks for the reply

I tried this using chap8-ex2 from the JBoss Guide. JNDIView only shows me the 
following

======================================
java:comp namespace of the EchoBean2 bean:

  +- env (class: org.jnp.interfaces.NamingContext)
  |   +- security (class: org.jnp.interfaces.NamingContext)
  |   |   +- subject[link -> java:/jaas/chap8-ex2/subject] (class: 
javax.naming.LinkRef)
  |   |   +- security-domain[link -> java:/jaas/chap8-ex2] (class: 
javax.naming.LinkRef)
=========================================

If I try 
InitialContext iniCtx2 = new InitialContext();
      Object ref2  = iniCtx2.lookup("java:/jaas/chap8-ex2/subject");

I get a "jaas not bound" exception. 

If I deploy without any security-domain, JNDIView just brings up the EJB 
without any Subject references :

========================
java:comp namespace of the EchoBean2 bean:

  +- env (class: org.jnp.interfaces.NamingContext)
==============================

What am I missing here ?

Thanks

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

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


-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to