• Post Reply Bookmark Topic Watch Topic
  • New Topic

I do not understand "Error installing to Real..... is already registered"

 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm going through the first example on the seam tutorials (http://docs.jboss.org/seam/latest/reference/en-US/html/tutorial.html) I've built and deployed several of the examples successfully to jboss AS and then to Tomcat.

It was when I started adding stuff to the registration example and everything went to hell. I added another Entity to the Registration example.

here is the error:


INFO: Initializing Mojarra (1.2_12-b01-FCS) for context '/jboss-seam-blog'
Sep 13, 2011 12:01:39 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive jboss-seam-registration.war
Sep 13, 2011 12:01:40 PM org.apache.tomcat.util.modeler.Registry registerComponent
SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/jboss-seam-registration,J2EEApplication=none,J2EEServer=none
Sep 13, 2011 12:01:40 PM org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Error deploying web application archive jboss-seam-registration.war
java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

*** CONTEXTS IN ERROR: Name -> Error

vfsfile:/C:/Users/mcguit1/Tomcat/apache-tomcat-6.0.33/webapps/jboss-seam-registration/WEB-INF/lib/ -> java.lang.IllegalStateException: Container jboss.j2ee:jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3,VMID=08f1748b01fbbe81:3d85109e:13263bc92be:-8000 + is already registered


at org.jboss.embedded.tomcat.WebinfScanner.lifecycleEvent(WebinfScanner.java:94)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4612)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

*** CONTEXTS IN ERROR: Name -> Error

vfsfile:/C:/Users/mcguit1/Tomcat/apache-tomcat-6.0.33/webapps/jboss-seam-registration/WEB-INF/lib/ -> java.lang.IllegalStateException: Container jboss.j2ee:jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3,VMID=08f1748b01fbbe81:3d85109e:13263bc92be:-8000 + is already registered



I'm asking in this forum because they seem like EJB errors.



Now, I've backed all the way out of my changes and the error is still there. Either it is because I've previously deployed on JBOSS or I changed the serialVersionIds or what? I really don't understand what this error means
Can anyone tell me how to address this?
Thanks.

Tim
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!