[jboss-dev-forums] [JBoss AS 7 Development] - session bean not deployed
Benito Juarez
do-not-reply at jboss.com
Tue Apr 17 05:28:16 EDT 2012
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&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120417/37cc2a9d/attachment.html
More information about the jboss-dev-forums
mailing list