[
https://jira.jboss.org/jira/browse/JBAS-5864?page=com.atlassian.jira.plug...
]
Stan Silvert commented on JBAS-5864:
------------------------------------
My bad. By default, the CONSOLE appender is set to have a threshold of INFO. So DEBUG
messages won't show up unless you change the threshold.
If you want to just go back to the default version of jboss-log4j.xml then you should be
able to see the messages in server.log. You don't even need the <category>
stuff I talked about earlier.
It will look something like this:
2008-08-18 19:13:33,568 INFO [org.jboss.web.tomcat.service.TomcatDeployer] undeploy,
ctxPath=/jbosstest-jsf, warUrl=.../tmp/deploy/tmp12427jbosstest-jsf-exp.war/
2008-08-18 19:13:33,573 DEBUG [javax.enterprise.resource.webcontainer.jsf.config]
ConfigureListener.contextDestroyed(null)
So again, if the ConfigureListener.contextDestroyed(null) message comes up before the
stack trace then I know it has been called twice.
Redeploy shows (non-blocking) stacktrace when destroying context
----------------------------------------------------------------
Key: JBAS-5864
URL:
https://jira.jboss.org/jira/browse/JBAS-5864
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Deployers, JSF
Affects Versions: JBossAS-4.2.3.GA
Environment: Kubuntu, JDK 1.6
Reporter: Arjen Smedes
Assignee: Stan Silvert
Hi, running jdk1.6.0_02, Maven2 (2.0.7) and jboss maven plugin (1.3.1) to deploy JSF-1.2
webapp into JBOSS-4.2.3.GA. Redeploy generates the following stacktrace:
21:56:38,684 INFO [TomcatDeployer] undeploy, ctxPath=/upstream2,
warUrl=.../tmp/deploy/tmp33776upstream2-exp.war/
21:56:38,693 ERROR [[/upstream2]] Exception sending context destroyed event to listener
instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.NullPointerException
at
com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:234)
at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3895)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4527)
at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1163)
at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4617)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
After that, the application runs normally (as it seems, it's a HelloWorld for JSF, so
not much functionality built in as yet).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira