Closed GoogleCodeExporter closed 9 years ago
Application server : Jboss 7.0.2
Java: Version:
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.4) (rhel-1.42.1.10.4.el6_2-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
Operating System : Linux
The log I have attached in the previous comment I got when I monitor the server
log while deploying the application.
[aalias@bdcphoenixappbeta ~]$ tail -f
/usr/jboss-as-7.0.2.Final/standalone/log/server.log
Original comment by alias....@gmail.com
on 27 Mar 2012 at 10:18
Strange, because the simple call to the method
"javax.faces.context.FacesContext.getCurrentInstance().getApplication()" throws
this IllegalArgumentException (the method is called when the MonitoringFilter
is initialized).
It is a pure JavaEE API, so I am not sure what could be wrong except a
"configuration" issue in the server or in the webapp.
What version of JSF are you using?
Do you package a specific version of JSF in the war files of the webapp?
Do you run JBoss as standalone or in Eclipse for example?
Anyway, there should not be such an exception in the filter. I think that the
exception could be swallowed and replaced by a log saying that there will not
be any monitoring of the JSF actions.
Original comment by evernat@free.fr
on 27 Mar 2012 at 2:55
I have committed a fix in trunk (revision 2692) and it is ready for the next
release (1.36).
Because there should not be an exception when installing the JSF action
listener does not work, the exception is catched and replaced by a log (level
INFO) saying that the jsf action listener is not initialized (and there will
not be any monitoring of the JSF actions).
If you want, we could then try to find why you have an exception in
"javax.faces.context.FacesContext.getCurrentInstance().getApplication()" in
your case.
Original comment by evernat@free.fr
on 31 Mar 2012 at 11:58
[deleted comment]
Thank so much. Now Java melody is working for us.
Original comment by alias....@gmail.com
on 11 Apr 2012 at 10:24
Original issue reported on code.google.com by
alias....@gmail.com
on 27 Mar 2012 at 9:52