The following works in a servlet:

SiteUser currentUser = (SiteUser)Component.getInstance("currentUser", 
ScopeType.SESSION, false);

but this doesn't:

Log log = (Log)Component.getInstance("log", false);

and neither does this:

Log log = (Log)Component.getInstance("log", true);

Is this possible?  I assuming it's because the name is wrong, but the 
variations I've tried haven't helped.  I've also tried specifying the 
APPLICATION SCOPE.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061380
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to