Benito Juarez [
https://community.jboss.org/people/BenitoJuarez] created the discussion
"session bean not deployed"
To view the discussion, visit:
https://community.jboss.org/message/730511#730511
--------------------------------------------------------------
Hello,
i created a session bean using the @Named annotation:
@Named("login")
@SessionScoped
public class LoginForm implements Serializable
:
the session bean in accessible in jsf, all works well. Until i add a logger:
private static final Logger log = Logger.getLogger(LoginForm.class);
after adding this line the bean is not longer accessible and i get the following
exception:
javax.servlet.ServletException: javax.el.PropertyNotFoundException:
/login.xhtml @26,38 action="#{login.setName(name)}": Target Unreachable,
identifier 'login' resolved to null
For some reason the bean is invalid, but the log doesnt show anything.
thy for help
BJ
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/730511#730511]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]