The solution to this answer is not to forget about the JSF lifecyle.
| new Initialization(flex.messaging.FlexContext.getServletConfig().getServletContext()).init(); | Lifecycle.setServletContext(flex.messaging.FlexContext.getServletConfig().getServletContext()); | Lifecycle.beginCall(); | | Object obj = null; | try { | obj = Component.getInstance(compName); | Lifecycle.endCall(); | } catch (Exception ex) { | ex.printStackTrace(); | ServiceException e = new ServiceException(); | String msg = "Seam Component named '" + compName+ "'does not exist."; | e.setMessage(msg); | e.setRootCause(ex); | e.setDetails(msg); | e.setCode("Server.Processing"); | throw e; | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065542#4065542 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065542 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user