[jboss-user] [JBoss Seam] - Re: Trouble Deploying Seam App To Tomcat

strickla do-not-reply at jboss.com
Fri Jul 6 16:17:41 EDT 2007


I've also noticed that I can't seem to have more than one Seam application deployed on Tomcat at once.  It looks like including libs like jboss-seam.jar in each of your deployed applications causes problems.

The following exceptions are generated:

INFO: Deploying web application archive jboss-seam-booking.war
  | ERROR 06-07 16:16:28,828 (DeployerWrapper.java:commitDeploy:177)  -Error during
  | deployment: vfsfile:/C:/apache/apache-tomcat-6.0.13/webapps/jboss-seam-booking/W
  | EB-INF/lib/jboss-seam.jar
  | org.jboss.deployers.spi.DeploymentException: java.lang.IllegalStateException: Co
  | ntainer jboss.j2ee:jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3 i
  | s already registered
  |         at org.jboss.ejb3.deployers.EJBRegistrationDeployer.deploy(EJBRegistrati
  | onDeployer.java:167)
  |         at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDep
  | loy(AbstractSimpleDeployer.java:52)
  |         at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(Dep
  | loyerWrapper.java:170)
  |         at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(
  | MainDeployerImpl.java:592)
  |         at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainD
  | eployerImpl.java:476)
  |         at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainD
  | eployerImpl.java:406)
  |         at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:128)
  |         at org.jboss.embedded.tomcat.WebinfScanner.lifecycleEvent(WebinfScanner.
  | java:88)
  |         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
  | eSupport.java:117)
  |         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
  | 236)
  |         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
  | .java:791)
  |         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
  | 1)
  |         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(Lifecycl
  | eSupport.java:117)
  |         at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBas
  | e.java:1337)
  |         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
  | rocessChildren(ContainerBase.java:1601)
  |         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
  | rocessChildren(ContainerBase.java:1610)
  |         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
  | un(ContainerBase.java:1590)
  |         at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.lang.IllegalStateException: Container jboss.j2ee:jar=jboss-seam.
  | jar,name=TimerServiceDispatcher,service=EJB3 is already registered
  |         at org.jboss.ejb3.Ejb3Registry.register(Ejb3Registry.java:80)
  |         at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:465)
  |         at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:410)
  |         at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:392)
  |         at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:358)
  |         at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:313)
  |         at org.jboss.ejb3.deployers.EJBRegistrationDeployer.deploy(EJBRegistrati
  | onDeployer.java:157)
  |         ... 23 more
  | WARN  06-07 16:16:30,859 (JBossTimerServiceFactory.java:restoreTimerService:112)
  |   -TIMER SERVICE IS NOT INSTALLED
  | Jul 6, 2007 4:16:31 PM org.apache.tomcat.util.modeler.Registry registerComponent
  | 
  | SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/j
  | boss-seam-booking,J2EEApplication=none,J2EEServer=none
  | Jul 6, 2007 4:16:31 PM org.apache.catalina.startup.HostConfig deployWAR
  | SEVERE: Error deploying web application archive jboss-seam-booking.war
  | java.lang.RuntimeException: org.jboss.deployers.spi.IncompleteDeploymentExceptio
  | n: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | *** DEPLOYMENTS IN ERROR: Name -> Error
  | 
  | vfsfile:/C:/apache/apache-tomcat-6.0.13/webapps/jboss-seam-booking/WEB-INF/lib/j
  | boss-seam.jar -> java.lang.IllegalStateException: Container jboss.j2ee:jar=jboss
  | -seam.jar,name=TimerServiceDispatcher,service=EJB3 is already registered
  | 
  | 
  |         at org.jboss.embedded.tomcat.WebinfScanner.lifecycleEvent(WebinfScanner.
  | java:92)
  |         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
  | eSupport.java:117)
  |         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
  | 236)
  |         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
  | .java:791)
  |         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
  | 1)
  |         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(Lifecycl
  | eSupport.java:117)
  |         at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBas
  | e.java:1337)
  |         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
  | rocessChildren(ContainerBase.java:1601)
  |         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
  | rocessChildren(ContainerBase.java:1610)
  |         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
  | un(ContainerBase.java:1590)
  |         at java.lang.Thread.run(Thread.java:595)
  | Caused by: org.jboss.deployers.spi.IncompleteDeploymentException: Summary of inc
  | omplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | *** DEPLOYMENTS IN ERROR: Name -> Error
  | 
  | vfsfile:/C:/apache/apache-tomcat-6.0.13/webapps/jboss-seam-booking/WEB-INF/lib/j
  | boss-seam.jar -> java.lang.IllegalStateException: Container jboss.j2ee:jar=jboss
  | -seam.jar,name=TimerServiceDispatcher,service=EJB3 is already registered
  | 
  | 
  |         at org.jboss.embedded.DeploymentGroup.checkIncomplete(DeploymentGroup.ja
  | va:151)
  |         at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:129)
  |         at org.jboss.embedded.tomcat.WebinfScanner.lifecycleEvent(WebinfScanner.
  | java:88)
  |         ... 16 more

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061464#4061464

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061464



More information about the jboss-user mailing list