Could you please tell me how can I access my Seam components in a Filter class?
I have tryed:
UserLogic userLogic = (UserLogic) Component.getInstance("userLogic",false);
Which returns null 
and 

 InitialContext ctx = new InitialContext();
UserLogic userLogic = (UserLogic) ctx.lookup("mcipro/UserLogicAction/local");

which returns ok but trying to access a method of it gives:
javax.ejb.EJBException: java.lang.NullPointerException
        at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)


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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to