2 Replies Latest reply on Jun 24, 2011 12:40 PM by everjava

    admin-console error

    everjava

      When I deploy an enterprise application(that use seam) I get the error below when I try to use admin-console. If I do undeploy, admin-console works fine.

       

      Anyone know what is happing ?

       

      16:09:37,241 INFO  [ServletContextListener] Welcome to Seam 2.1.0.SP1

      16:09:43,829 ERROR [[/admin-console]] Exception sending request initialized lifecycle event to listener instance of class org.jboss.on.embedded.LazyStartupListener

      java.lang.RuntimeException: error while reading /WEB-INF/components.xml

          at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:221)

          at org.jboss.seam.init.Initialization.create(Initialization.java:124)

          at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)

          at org.jboss.on.embedded.LazyStartupListener.initialize(LazyStartupListener.java:182)

          at org.jboss.on.embedded.LazyStartupListener.requestInitialized(LazyStartupListener.java:240)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:180)

          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

          at java.lang.Thread.run(Thread.java:662)

      Caused by: java.lang.RuntimeException: Error loading element Identity with component name null and component class null

          at org.jboss.seam.init.Initialization.installComponentsFromXmlElements(Initialization.java:342)

          at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:217)

          ... 18 more

        • 1. Re: admin-console error
          alesj

          Caused by: java.lang.RuntimeException: Error loading element Identity with component name null and component class null

              at org.jboss.seam.init.Initialization.installComponentsFromXmlElements(Initialization.java:342)

              at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:217)

              ... 18 more

          This looks strange. Are you sure both these attributes are set in component.xml.

          • 2. Re: admin-console error
            everjava

            Hi ales

             

            I dont set these attributes ...

             

            I saw this thread: http://seamframework.org/Community/MigrationComponentsxmlRESOLVINGCOMPONENTNAME

             

            the exception above doesnt happen more, but I get another one ...

             

            I`m googling to find out...

             

            But is hard to me understand, why a bad configuration on same application, causes bug in another one(admin-console) ...