[jboss-user] [JBoss Seam] - Re: @Logger does not inject

2007-03-28 Thread laxu
I have in my .xhtml file and click the button to invoke the logSomething method, so it is created by Seam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032400#4032400 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [JBoss Seam] - Re: @Logger does not inject

2007-03-28 Thread [EMAIL PROTECTED]
And how do you create an instance of this class? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032368#4032368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032368 ___ jboss-

[jboss-user] [JBoss Seam] - Re: @Logger does not inject

2007-03-28 Thread laxu
Not in the constructor. Here is my class: | | package datassist.gop.action; | | import datassist.gop.domain.Istek; | import java.util.ArrayList; | import java.util.List; | import javax.ejb.Remove; | import javax.ejb.Stateful; | import javax.persistence.EntityManager; | import

[jboss-user] [JBoss Seam] - Re: @Logger does not inject

2007-03-27 Thread [EMAIL PROTECTED]
Good point, Seam does not do any kind of injection until the object is fully constructed. However, if you declare a @Logger field static, it will be init'd even in the constructor ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032208#4032208 Reply to th

[jboss-user] [JBoss Seam] - Re: @Logger does not inject

2007-03-27 Thread kukeltje
always null, or just in the constructor? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032194#4032194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032194 ___ jboss-user mai

[jboss-user] [JBoss Seam] - Re: @Logger does not inject

2007-03-27 Thread [EMAIL PROTECTED]
Do you have this annotation in a Seam component, ie. a class with an @Name? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032133#4032133 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032133 ___

[jboss-user] [JBoss Seam] - Re: @Logger does not inject

2007-03-27 Thread laxu
Nope, nothing noteworthy, no Exceptions. If I remove log4j.xml I naturally get log4j:WARN No appenders could be found for logger (org.hibernate.ejb.Version). log4j:WARN Please initialize the log4j system properly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic

[jboss-user] [JBoss Seam] - Re: @Logger does not inject

2007-03-27 Thread waynebagguley
Are there any errors in the application server logs? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032097#4032097 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032097 ___ jb