[
http://jira.jboss.com/jira/browse/JBSEAM-2183?page=comments#action_12384997 ]
Rob Jellinghaus commented on JBSEAM-2183:
-----------------------------------------
OK, so
http://wiki.jboss.org/wiki/Wiki.jsp?page=EmbeddedAndTomcat clarifies that this is
because JBoss Embedded now has to be installed manually under Tomcat for any Seam webapps
to work.
Why was this change made? In Seam 1.2.0, you could do "ant tomcat.deploy" and
it would create a WAR file that just worked. Having a major manual step for deploying a
Seam webapp under Tomcat means that Seam examples become much harder to publish and share.
I consider this a pretty serious deployment regression in Seam. It would be really great
if there were a way to return to the Tomcat deployment style of Seam 1.2.0, where all the
necessary embedded pieces were part of the webapp itself. So I guess that's what this
bug is now.
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