[
https://issues.jboss.org/browse/RF-12377?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč edited comment on RF-12377 at 7/31/12 7:22 AM:
----------------------------------------------------------
The Atmosphere integration has been rewritten due to upgrade to 1.0.0-beta4 and now it
fails when you don't use automatically-initialized PushServlet.
(It means when you use Servlets 2.5 or you define PushFilter/PushServlet in web.xml (which
is this case))
There is root cause stack trace:
{code}
Jul 31, 2012 1:06:03 PM org.atmosphere.cpr.AtmosphereFramework init
INFO: Atmosphere Framework 1.0.0.beta4 started.
Jul 31, 2012 1:06:03 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter PushFilter
java.lang.NullPointerException
at
org.atmosphere.cpr.AtmosphereFramework.addAtmosphereHandler(AtmosphereFramework.java:260)
at
org.atmosphere.cpr.AtmosphereFramework.addAtmosphereHandler(AtmosphereFramework.java:283)
at org.richfaces.webapp.PushServlet.init(PushServlet.java:67)
at org.richfaces.webapp.PushFilter.init(PushFilter.java:101)
at
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Jul 31, 2012 1:06:03 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error filterStart
{code}
was (Author: lfryc):
There is root cause stack trace:
{code}
Jul 31, 2012 1:06:03 PM org.atmosphere.cpr.AtmosphereFramework init
INFO: Atmosphere Framework 1.0.0.beta4 started.
Jul 31, 2012 1:06:03 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter PushFilter
java.lang.NullPointerException
at
org.atmosphere.cpr.AtmosphereFramework.addAtmosphereHandler(AtmosphereFramework.java:260)
at
org.atmosphere.cpr.AtmosphereFramework.addAtmosphereHandler(AtmosphereFramework.java:283)
at org.richfaces.webapp.PushServlet.init(PushServlet.java:67)
at org.richfaces.webapp.PushFilter.init(PushFilter.java:101)
at
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)
at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Jul 31, 2012 1:06:03 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error filterStart
{code}
showcase - error during deployment on Tomcat 6 and 7
----------------------------------------------------
Key: RF-12377
URL:
https://issues.jboss.org/browse/RF-12377
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: build/distribution, showcase
Affects Versions: 4.3.0.Milestone1
Environment: Tomcat 6.0.35 and Tomcat 7.0.29
Reporter: Juraj Húska
Priority: Critical
There is an error thrown during deployment of showcase-tomcat6.war on Tomcat 6 and 7.
The tomcat console shows only:
{code}
SEVERE: Error filterStart
Jul 31, 2012 11:20:49 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/richfaces-showcase-4.3.0.20120730-M1-tomcat6] startup failed due to
previous errors
Jul 31, 2012 11:20:49 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: The web application [/richfaces-showcase-4.3.0.20120730-M1-tomcat6] registered
the JDBC driver [org.hsqldb.jdbc.JDBCDriver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly
unregistered.
{code}
which IMHO does not tell anything useful.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira