Here's some more info: In faces-context.xml i have <managed-bean> <managed-bean-name>ordens</managed-bean-name> <managed-bean-class>pt.md.transe.OrdensBean</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> </managed-bean>
I create the bean with various ways: ordens = (OrdensBean) getFacesContext().getApplication() .createValueBinding("#{ordens}").getValue(getFacesContext()); FacesContext.getCurrentInstance()..getApplication() .createValueBinding("#{ordens}") .getValue(FacesContext.getCurrentInstance()); OrdensBean ordens = (OrdensBean)this.getFacesContext() .getApplication() .getVariableResolver() .resolveVariable(this.getFacesContext(), "ordens"); and i'm retrieving the bean in the second page like this: OrdensBean bean = (OrdensBean)sessionScope.get("ordens"); OrdensBean bean = (OrdensBean) FacesContext .getCurrentInstance() .getApplication() .createValueBinding("#{ordens}") .getValue(FacesContext.getCurrentInstance()); FacesContext context = FacesContext.getCurrentInstance(); Map sessionMap = context.getExternalContext().getSessionMap(); OrdensBean bean = (OrdensBean) sessionMap.get("ordens"); All of then work in my dev machine, using RAD/Websphere. None of then works in the production machine, JBoss. I don't know what to do next, please help. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907064#3907064 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907064 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user