Uploaded image for project: 'Seam Security'
  1. Seam Security
  2. SEAMSECURITY-82

TransactionInceptor dupliated error when tomcat startup...

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      I create a Seam 3 web project and run on tomcat 6.
      when I start up tomcat 6, I get a TransactionInterceptor duplicated error.
      I commented out the configuration in my beans.xml. I works, but I adds another security-external dependencies, it occurs again.
      2011-7-25 14:39:22 org.apache.catalina.core.StandardContext listenerStart
      严重: Exception sending context initialized event to listener instance of class
      org.jboss.weld.environment.servlet.Listener
      org.jboss.weld.exceptions.DeploymentException: WELD-001416 Enabled interceptor c
      lass [<class>org.jboss.seam.security.external.dialogues.DialoguedInterceptor</cl
      ass> in jar:file:/E:/Users/hantsy/.m2/repository/org/jboss/seam/security/seam-se
      curity-external/3.0.0.Final/seam-security-external-3.0.0.Final.jar!/META-INF/bea
      ns.xml@11, <class>org.jboss.seam.transaction.TransactionInterceptor</class> in j
      ar:file:/E:/Users/hantsy/.m2/repository/org/jboss/seam/security/seam-security/3.
      0.0.Final/seam-security-3.0.0.Final.jar!/META-INF/beans.xml@8, <class>org.jboss.
      seam.rest.validation.ValidationInterceptor</class> in file:/E:/MyWorks/bifincan/
      bifincan-web/target/classes/META-INF/beans.xml@8, <class>org.jboss.seam.transact
      ion.TransactionInterceptor</class> in jar:file:/E:/Users/hantsy/.m2/repository/o
      rg/jboss/seam/security/seam-security-impl/3.0.0.Final/seam-security-impl-3.0.0.F
      inal.jar!/META-INF/beans.xml@8] specified twice
      at org.jboss.weld.manager.Enabled.createMetadataMap(Enabled.java:147)
      at org.jboss.weld.manager.Enabled.<init>(Enabled.java:113)
      at org.jboss.weld.manager.Enabled.of(Enabled.java:95)
      at org.jboss.weld.bootstrap.BeanDeployment.<init>(BeanDeployment.java:10
      4)
      at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBo
      otstrap.java:185)
      at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBo
      otstrap.java:156)
      at org.jboss.weld.bootstrap.WeldBootstrap.startContainer(WeldBootstrap.j
      ava:293)
      at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listen
      er.java:170)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
      t.java:3972)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
      467)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

      at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
      )
      at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
      at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMo
      jo.java:533)
      at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java
      :239)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
      BuildPluginManager.java:101)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
      .java:209)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
      .java:153)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
      .java:145)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
      ct(LifecycleModuleBuilder.java:84)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
      ct(LifecycleModuleBuilder.java:59)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
      ild(LifecycleStarter.java:183)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
      eStarter.java:161)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
      cher.java:290)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
      a:230)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
      uncher.java:409)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
      352)
      2011-07-25 14:39:23,045 INFO seam-servlet - CDI BeanManager cannot be found. No
      t sending event org.jboss.seam.servlet.event.ImplicitServletObjectsHolder$Intern

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  hantsy hantsy bai
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated: