[
http://jira.jboss.com/jira/browse/JBSEAM-2183?page=comments#action_12384994 ]
Rob Jellinghaus commented on JBSEAM-2183:
-----------------------------------------
With Tomcat 6.0.14, there is a different error, but it still fails to work:
INFO: SessionListener: contextInitialized()
Oct 29, 2007 11:23:03 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class
org.jboss.seam.servlet.SeamListener
java.lang.NoClassDefFoundError: javassist/bytecode/ClassFile
at org.jboss.seam.deployment.Scanner.<init>(Scanner.java:51)
at org.jboss.seam.deployment.Scanner.<init>(Scanner.java:44)
at org.jboss.seam.deployment.NamespaceScanner.<init>(NamespaceScanner.java:24)
at org.jboss.seam.init.Initialization.addNamespaces(Initialization.java:783)
at org.jboss.seam.init.Initialization.create(Initialization.java:85)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Oct 29, 2007 11:23:03 PM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class
org.jboss.seam.servlet.SeamListener
java.lang.NoClassDefFoundError: javassist/util/proxy/MethodFilter
at org.jboss.seam.core.Events.instance(Events.java:158)
at org.jboss.seam.core.Events.exists(Events.java:153)
at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:236)
at org.jboss.seam.contexts.Lifecycle.endApplication(Lifecycle.java:52)
at org.jboss.seam.contexts.ServletLifecycle.endApplication(ServletLifecycle.java:118)
at org.jboss.seam.servlet.SeamListener.contextDestroyed(SeamListener.java:39)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3869)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4503)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4367)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
And indeed, neither javassist.jar nor thirdparty-all.jar are included in
jboss-seam-blog.war.
Blog example fails to deploy under Tomcat: no el-api.jar or
jsp-api.jar
-----------------------------------------------------------------------
Key: JBSEAM-2183
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2183
Project: JBoss Seam
Issue Type: Bug
Components: Examples
Affects Versions: 2.0.0.CR3
Environment: Windows XP, JDK 1.6.0_03, Tomcat 5.5.12
Reporter: Rob Jellinghaus
I can build Seam 2.0.0.CR3 just fine (maven does its wacky dance without complaint), and
"cd examples/blog; ant tomcat.deploy" works. I then copy jboss-seam-blog.war
from the directory where it puts it into my actual Tomcat webapps directory, and start up
Tomcat. And boom:
[main ] 2007-10-29 22:38:37,515 INFO HostConfig:783 - Deploying
web application archive jboss-seam-blog.war
[main ] 2007-10-29 22:38:37,968 ERROR [/jboss-seam-blog]:3643 - Error
configuring application listener of class com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: javax/el/CompositeELResolver
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3641)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4127)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
[main ] 2007-10-29 22:38:38,015 ERROR [/jboss-seam-blog]:3650 - Skipped
installing application listeners due to previous error(s)
[main ] 2007-10-29 22:38:38,015 ERROR StandardContext:4128 - Error
listenerStart
[main ] 2007-10-29 22:38:38,015 ERROR StandardContext:4153 - Context
[/jboss-seam-blog] startup failed due to previous errors
Which makes sense, because that class is defined in el-api.jar and jsp-api,jar, neither
of which are packaged into jboss-seam-blog.war.
This is too bad, because this used to work in Seam 1.2.0.
Reported this on the forum, then tried it with 2.0.0CR3, same problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira