13 Replies Latest reply on Jun 23, 2011 3:28 AM by duan xz Branched from an earlier discussion.

    AS 7.0.0.Beta3 : WAR deployment failure due to missing Component class

    duan xz Newbie

      Hi,jaikiran.
         When I'm trying to deploy on jboss-7.0.0.Beta3 i am receiving an issue as follow:

       

       

      08:40:40,578 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.subunit."aqqfposerver.ear"."aqqfposervlets.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."aqqfposerver.ear"."aqqfposervlets.war".INSTALL: Failed to process phase INSTALL of subdeployment "aqqfposervlets.war" of deployment "aqqfposerver.ear"
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:108)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
      at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Component class not found
      at org.jboss.as.ee.component.ComponentInstallProcessor.deployComponent(ComponentInstallProcessor.java:97)
      at org.jboss.as.ee.component.ComponentInstallProcessor.deploy(ComponentInstallProcessor.java:67)
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:102)
      ... 4 more
      Caused by: java.lang.ClassNotFoundException: aqqfpo.weblibrary.AXDispatcher from [Module "deployment.aqqfposerver.ear.aqqfposervlets.war:main" from Service Module Loader]
      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:184) [jboss-modules.jar:1.0.0.Beta17]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:357) [jboss-modules.jar:1.0.0.Beta17]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:329) [jboss-modules.jar:1.0.0.Beta17]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:306) [jboss-modules.jar:1.0.0.Beta17]
      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:100) [jboss-modules.jar:1.0.0.Beta17]
      at java.lang.Class.forName0(Native Method) [:1.6.0_24]
      at java.lang.Class.forName(Class.java:247) [:1.6.0_24]
      at org.jboss.as.ee.component.ComponentInstallProcessor.deployComponent(ComponentInstallProcessor.java:95)
      ... 6 more
      
      08:40:40,578 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.subunit."aqqfposerver.ear"."AEM.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."aqqfposerver.ear"."AEM.war".INSTALL: Failed to process phase INSTALL of subdeployment "AEM.war" of deployment "aqqfposerver.ear"
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:108)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
      at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Component class not found
      at org.jboss.as.ee.component.ComponentInstallProcessor.deployComponent(ComponentInstallProcessor.java:97)
      at org.jboss.as.ee.component.ComponentInstallProcessor.deploy(ComponentInstallProcessor.java:67)
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:102)
      ... 4 more
      Caused by: java.lang.ClassNotFoundException: com.aqqfpo.aem.tags.MultiPageTag from [Module "deployment.aqqfposerver.ear.AEM.war:main" from Service Module Loader]
      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:184) [:1.0.0.Beta17]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:357) [:1.0.0.Beta17]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:329) [:1.0.0.Beta17]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:306) [:1.0.0.Beta17]
      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:100) [:1.0.0.Beta17]
      at java.lang.Class.forName0(Native Method) [:1.6.0_24]
      at java.lang.Class.forName(Class.java:247) [:1.6.0_24]
      at org.jboss.as.ee.component.ComponentInstallProcessor.deployComponent(ComponentInstallProcessor.java:95)
      ... 6 more
      
      08:40:41,529 INFO  [org.jboss.web] (MSC service thread 1-3) registering web context: /aqqfpo
      08:40:41,529 INFO  [org.jboss.as.server] (MSC service thread 1-3) Service status report
         New missing/unsatisfied dependencies:
            service jboss.naming.context.java.module.aqqfposerver.AEM (missing)
            service jboss.naming.context.java.module.aqqfposerver.aqqfposervlets (missing)
        Services which failed to start:
            service jboss.deployment.subunit."aqqfposerver.ear"."AEM.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."aqqfposerver.ear"."AEM.war".INSTALL: Failed to process phase INSTALL of subdeployment "AEM.war" of deployment "aqqfposerver.ear"
            service jboss.deployment.subunit."aqqfposerver.ear"."aqqfposervlets.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."aqqfposerver.ear"."aqqfposervlets.war".INSTALL: Failed to process phase INSTALL of subdeployment "aqqfposervlets.war" of deployment "aqqfposerver.ear"
      

       

      Any help with this will be greatly appreciated.

        • 1. Re: AS 7.0.0.Beta3 : WAR deployment failure due to missing Component class
          jaikiran pai Master

          Where exactly are these classes located:

           

          1) aqqfpo.weblibrary.AXDispatcher
          2) com.aqqfpo.aem.tags.MultiPageTag

          • 2. Re: AS 7.0.0.Beta3 : WAR deployment failure due to missing Component class
            duan xz Newbie

            Hi,jaikiran


            aqqfpo.weblibrary.AXDispatcher and com.aqqfpo.aem.tags.MultiPageTag are inside the aqqfposerver.jar.
            The follows is aqqfposerver.jar's structure:
            aqqfposerver.ear
            |---AEM.war
            |---aqqfpo.war
            |---aqqfposervlets.war
            |---aqqfposerver.jar
            |---lib(castor-xml.jar commons-beanutils.jar commons-collections.jar commons-digester.jar commons-fileupload.jar   
                           commons-lang.jar commons-logging.jar commons-validator.jar hsqldb.jar struts.jar)
            |---META-INF
            |      |
            |      |-- MAINIFEST.MF
            |      |--application.xml
            |      |--jboss-app.xml

             

             

            BestRegards
            Duan

            • 3. Re: AS 7.0.0.Beta3 : WAR deployment failure due to missing Component class
              jaikiran pai Master

              duan xz wrote:

               

              Hi,jaikiran


              aqqfpo.weblibrary.AXDispatcher and com.aqqfpo.aem.tags.MultiPageTag are inside the aqqfposerver.jar.
              The follows is aqqfposerver.jar's structure:
              aqqfposerver.ear
              |---AEM.war
              |---aqqfpo.war
              |---aqqfposervlets.war
              |---aqqfposerver.jar
              |---lib(castor-xml.jar commons-beanutils.jar commons-collections.jar commons-digester.jar commons-fileupload.jar   
                             commons-lang.jar commons-logging.jar commons-validator.jar hsqldb.jar struts.jar)

              What kind of a jar is appfposerver.jar? If it just contains some utility classes (which are to be accessed by the entire application) then move it to the .ear/lib folder (like you had done with those other jars like castor-xml.jar etc...)

              • 4. Re: AS 7.0.0.Beta3 : WAR deployment failure due to missing Component class
                duan xz Newbie

                Hi,jaikiran


                AEM.war qqfpo.war aqqfposervlets.war three applications of the class file (not a third party jar) are in the aqqfposerver.jar. Ejb classes as well as in appfposerver.jar.


                On the above topics http://community.jboss.org/thread/167049?tstart=0 in the same EAR, do you remember.


                thank you


                Best regards
                duan

                • 5. Re: AS 7.0.0.Beta3 : WAR deployment failure due to missing Component class
                  jaikiran pai Master

                  duan xz wrote:

                   

                  Hi,jaikiran


                  AEM.war qqfpo.war aqqfposervlets.war three applications of the class file (not a third party jar) are in the aqqfposerver.jar. Ejb classes as well as in appfposerver.jar.

                  Ok, so it's a EJB jar. In that case, the fix for this will be available in the next few days. It's being fixed as part of https://issues.jboss.org/browse/AS7-306. I'll update this thread once the fix is commited to AS7 upstream.

                  • 6. Re: AS 7.0.0.Beta3 : WAR deployment failure due to missing Component class
                    duan xz Newbie

                    Thank you jaikiran.

                    I will always pay attention to the arrival of the new version.

                     

                    BestRegards

                    Duan

                    • 7. Re: AS 7.0.0.Beta3 : WAR deployment failure due to missing Component class
                      jaikiran pai Master

                      Duan, this has been fixed and is available in latest nightly build. Please follow this thread http://community.jboss.org/thread/167590 to get the latest nightly build of the server and try it out there. If you have issues, feel free to report them.

                      • 8. Re: AS 7.0.0.Beta3 : WAR deployment failure due to missing Component class
                        duan xz Newbie

                        ok, I'll try it on the latest nightly build。

                        Thanks jaikiran.

                        • 9. Re: AS 7.0.0.Beta3 : WAR deployment failure due to missing Component class
                          jaikiran pai Master

                          Duan, I removed your post from the http://community.jboss.org/thread/167590?tstart=0 thread and am pasting it here, so that we can discuss individual issues separately insted of doing it in that thread:

                           

                          Hi,jaikiran.
                          my ear is aqqfposerver.ear.you can see the detail of this ear in http://community.jboss.org/thread/167049?tstart=0.
                          then i deploy to "jboss-7.0.0.Beta4-SNAPSHOT“ version,the issues as fallow:
                          visit http://localhost:8080/AEM/logon.jsp in IE:
                          in IE:
                          ===============
                          javax.servlet.ServletException: javax.servlet.jsp.JspException: Exception creating bean of class com.aqqfpo.aem.security.LogonForm: {1}
                          org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)
                          org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)

                           

                          =============
                          "server.log"  in attach file

                           

                          BeastRegards
                          Duan

                          • 10. Re: AS 7.0.0.Beta3 : WAR deployment failure due to missing Component class
                            jaikiran pai Master

                            Hi Duan,

                             

                            I don't see any exception stacktrace in the server.log that you attached? Do you see any exception on the server console? Or is there anything more on the exception page that is rendered? If yes, please post that entire exception stacktrace.

                            • 11. Re: AS 7.0.0.Beta3 : WAR deployment failure due to missing Component class
                              duan xz Newbie

                              Hi,jaikiran.
                              I'm sorry, yesterday I made a misunderstood for  I post  to http://community.jboss.org/thread/167590?tstart=0 in thread.
                              server.log

                              =============================

                              08:37:36,749 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 3.1.0.Beta2
                              08:37:36,890 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-3) Starting remote JMX connector
                              08:37:36,890 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
                              08:37:36,999 WARN  [org.jboss.osgi.framework.internal.URLHandlerPlugin] (MSC service thread 1-3) Unable to set the URLStreamHandlerFactory
                              08:37:36,999 WARN  [org.jboss.osgi.framework.internal.URLHandlerPlugin] (MSC service thread 1-3) Unable to set the ContentHandlerFactory
                              08:37:37,046 INFO  [org.jboss.as.connector] (MSC service thread 1-2) Starting JCA Subsystem (JBoss IronJacamar 1.0.0.Beta6.1)
                              08:37:37,061 信息    [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=E:\localappServer\jboss-7.0.0.Beta4-SNAPSHOT\standalone\data\messagingjournal,bindingsDirectory=E:\localappServer\jboss-7.0.0.Beta4-SNAPSHOT\standalone\data\messagingbindings,largeMessagesDirectory=E:\localappServer\jboss-7.0.0.Beta4-SNAPSHOT\standalone\data\messaginglargemessages,pagingDirectory=E:\localappServer\jboss-7.0.0.Beta4-SNAPSHOT\standalone\data\messagingpaging)
                              08:37:37,124 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) Bound data source [java:/H2DS]
                              08:37:37,264 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-3) Started Netty Acceptor version 3.2.3.Final-r${buildNumber} 127.0.0.1:5455 for CORE protocol
                              08:37:37,264 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-3) Started Netty Acceptor version 3.2.3.Final-r${buildNumber} 127.0.0.1:5445 for CORE protocol
                              08:37:37,264 信息    [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) Server is now live
                              08:37:37,264 信息    [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) HornetQ Server version 2.2.2.Final (super-hornetq-fighter, 122) [622c7316-92b9-11e0-9f9b-bc305bb0abc8] started
                              08:37:37,311 INFO  [org.jboss.as.modcluster] (MSC service thread 1-1) Mod_cluster uses default load balancer provider
                              08:37:37,327 INFO  [org.jboss.modcluster.ModClusterService] (MSC service thread 1-1) Initializing mod_cluster 1.1.2.Final
                              08:37:37,327 INFO  [org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl] (MSC service thread 1-1) Listening to proxy advertisements on 224.0.1.105:23364
                              08:37:37,342 信息    [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) trying to deploy queue jms.queue.testQueue
                              08:37:37,405 信息    [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) trying to deploy queue jms.topic.testTopic
                              08:37:38,731 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "AEM.war"
                              08:37:38,731 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "aqqfposerver.jar"
                              08:37:38,731 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "aqqfposervlets.war"
                              08:37:38,731 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "aqqfpo.war"
                              08:37:38,731 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry log4j-core.jar in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/commons-logging.jar" not found.
                              08:37:38,731 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry  in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/struts.jar" does not point to a valid jar for a Class-Path reference.
                              08:37:38,731 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jakarta-oro.jar in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/struts.jar" not found.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry struts-legacy.jar in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/struts.jar" not found.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xerces.jar, in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/castor-xml.jar" not found.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jdbc-se2.0.jar, in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/castor-xml.jar" not found.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jndi.jar, in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/castor-xml.jar" not found.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jta1.0.1.jar in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/castor-xml.jar" not found.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry log4j.jar in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/commons-logging.jar"  does not point to a valid jar for a Class-Path reference.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry log4j-core.jar in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/commons-logging.jar"  does not point to a valid jar for a Class-Path reference.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry commons-beanutils.jar in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/struts.jar"  does not point to a valid jar for a Class-Path reference.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry commons-collections.jar in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/struts.jar"  does not point to a valid jar for a Class-Path reference.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry commons-digester.jar in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/struts.jar"  does not point to a valid jar for a Class-Path reference.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry commons-logging.jar in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/struts.jar"  does not point to a valid jar for a Class-Path reference.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry commons-validator.jar in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/struts.jar"  does not point to a valid jar for a Class-Path reference.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jakarta-oro.jar in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/struts.jar"  does not point to a valid jar for a Class-Path reference.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry struts-legacy.jar in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/struts.jar"  does not point to a valid jar for a Class-Path reference.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xerces.jar, in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/castor-xml.jar"  does not point to a valid jar for a Class-Path reference.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jdbc-se2.0.jar, in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/castor-xml.jar"  does not point to a valid jar for a Class-Path reference.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jndi.jar, in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/castor-xml.jar"  does not point to a valid jar for a Class-Path reference.
                              08:37:38,746 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jta1.0.1.jar in "/E:/localappServer/jboss-7.0.0.Beta4-SNAPSHOT/bin/content/aqqfposerver.ear/lib/castor-xml.jar"  does not point to a valid jar for a Class-Path reference.
                              08:37:38,887 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named TransferFileService in deployment unit subdeployment "aqqfposerver.jar" of deployment "aqqfposerver.ear" are as follows:

                              java:global/aqqfposerver/aqqfposerver/TransferFileService!com.aqqfpo.server.services.transferfile.TransferFileServiceBean
                              java:app/aqqfposerver/TransferFileService!com.aqqfpo.server.services.transferfile.TransferFileServiceBean
                              java:module/TransferFileService!com.aqqfpo.server.services.transferfile.TransferFileServiceBean
                              java:global/aqqfposerver/aqqfposerver/TransferFileService
                              java:app/aqqfposerver/TransferFileService
                              java:module/TransferFileService

                              08:37:38,887 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named HousekeeperService in deployment unit subdeployment "aqqfposerver.jar" of deployment "aqqfposerver.ear" are as follows:

                              java:global/aqqfposerver/aqqfposerver/HousekeeperService!com.aqqfpo.server.services.housekeeper.HousekeeperServiceSession
                              java:app/aqqfposerver/HousekeeperService!com.aqqfpo.server.services.housekeeper.HousekeeperServiceSession
                              java:module/HousekeeperService!com.aqqfpo.server.services.housekeeper.HousekeeperServiceSession
                              java:global/aqqfposerver/aqqfposerver/HousekeeperService
                              java:app/aqqfposerver/HousekeeperService
                              java:module/HousekeeperService

                              08:37:38,887 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named ConfigAssistantService in deployment unit subdeployment "aqqfposerver.jar" of deployment "aqqfposerver.ear" are as follows:

                              java:global/aqqfposerver/aqqfposerver/ConfigAssistantService!com.aqqfpo.server.services.configassistant.ConfigAssistantServiceSession
                              java:app/aqqfposerver/ConfigAssistantService!com.aqqfpo.server.services.configassistant.ConfigAssistantServiceSession
                              java:module/ConfigAssistantService!com.aqqfpo.server.services.configassistant.ConfigAssistantServiceSession
                              java:global/aqqfposerver/aqqfposerver/ConfigAssistantService
                              java:app/aqqfposerver/ConfigAssistantService
                              java:module/ConfigAssistantService

                              08:37:38,887 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named TransactionService in deployment unit subdeployment "aqqfposerver.jar" of deployment "aqqfposerver.ear" are as follows:

                              java:global/aqqfposerver/aqqfposerver/TransactionService!ASInterface.TransactionService
                              java:app/aqqfposerver/TransactionService!ASInterface.TransactionService
                              java:module/TransactionService!ASInterface.TransactionService
                              java:global/aqqfposerver/aqqfposerver/TransactionService
                              java:app/aqqfposerver/TransactionService
                              java:module/TransactionService

                              08:37:38,887 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named SecurityService in deployment unit subdeployment "aqqfposerver.jar" of deployment "aqqfposerver.ear" are as follows:

                              java:global/aqqfposerver/aqqfposerver/SecurityService!com.aqqfpo.server.services.securityservice.SecurityServiceSession
                              java:app/aqqfposerver/SecurityService!com.aqqfpo.server.services.securityservice.SecurityServiceSession
                              java:module/SecurityService!com.aqqfpo.server.services.securityservice.SecurityServiceSession
                              java:global/aqqfposerver/aqqfposerver/SecurityService
                              java:app/aqqfposerver/SecurityService
                              java:module/SecurityService

                              08:37:38,887 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named OpenInterface in deployment unit subdeployment "aqqfposerver.jar" of deployment "aqqfposerver.ear" are as follows:

                              java:global/aqqfposerver/aqqfposerver/OpenInterface!com.aqqfpo.server.services.openinterface.OpenInterfaceSessionBean
                              java:app/aqqfposerver/OpenInterface!com.aqqfpo.server.services.openinterface.OpenInterfaceSessionBean
                              java:module/OpenInterface!com.aqqfpo.server.services.openinterface.OpenInterfaceSessionBean
                              java:global/aqqfposerver/aqqfposerver/OpenInterface
                              java:app/aqqfposerver/OpenInterface
                              java:module/OpenInterface

                              08:37:39,089 INFO  [org.jboss.web] (MSC service thread 1-2) registering web context: /aqqfpo
                              08:37:39,121 ERROR [stderr] (MSC service thread 1-3) log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).

                              08:37:39,136 INFO  [org.jboss.web] (MSC service thread 1-4) registering web context: /servlet
                              08:37:39,152 ERROR [stderr] (MSC service thread 1-3) log4j:WARN Please initialize the log4j system properly.

                              08:37:39,167 ERROR [stderr] (Thread-12) log4j:WARN No appenders could be found for logger (com.aqqfpo.server.services.configassistant.ConfigAssistantServiceUtils).

                              08:37:39,167 ERROR [stderr] (Thread-12) log4j:WARN Please initialize the log4j system properly.

                              08:37:39,183 ERROR [stderr] (Thread-12) Exception in thread "Thread-12" java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer

                              08:37:39,245 ERROR [stderr] (Thread-12)  at org.exolab.castor.xml.Unmarshaller.initConfig(Unknown Source)

                              08:37:39,245 ERROR [stderr] (Thread-12)  at org.exolab.castor.xml.Unmarshaller.<init>(Unknown Source)

                              08:37:39,245 ERROR [stderr] (Thread-12)  at org.exolab.castor.xml.Unmarshaller.<init>(Unknown Source)

                              08:37:39,245 ERROR [stderr] (Thread-12)  at org.exolab.castor.mapping.Mapping.loadMappingInternal(Unknown Source)

                              08:37:39,245 ERROR [stderr] (Thread-12)  at org.exolab.castor.mapping.Mapping.loadMappingInternal(Unknown Source)

                              08:37:39,245 ERROR [stderr] (Thread-12)  at org.exolab.castor.mapping.Mapping.loadMapping(Unknown Source)

                              08:37:39,261 ERROR [stderr] (Thread-12)  at com.aqqfpo.server.services.configassistant.ConfigAssistantServiceUtils.getMapping(ConfigAssistantServiceUtils.java:230)

                              08:37:39,277 ERROR [stderr] (Thread-12)  at com.aqqfpo.server.services.configassistant.ConfigAssistantServiceUtils.loadServerConfig(ConfigAssistantServiceUtils.java:466)

                              08:37:39,277 ERROR [stderr] (Thread-12)  at com.aqqfpo.server.config.ServerConfigFacade.loadConfig(ServerConfigFacade.java:1212)

                              08:37:39,277 ERROR [stderr] (Thread-12)  at com.aqqfpo.server.config.ServerConfigFacade.<init>(ServerConfigFacade.java:76)

                              08:37:39,292 ERROR [stderr] (Thread-12)  at com.aqqfpo.server.config.ServerConfigFacade.getInstance(ServerConfigFacade.java:89)

                              08:37:39,292 ERROR [stderr] (Thread-12)  at com.aqqfpo.server.config.aqqfpoConfig.<clinit>(aqqfpoConfig.java:72)

                              08:37:39,292 ERROR [stderr] (Thread-12)  at com.aqqfpo.Server.initVersionInformation(Server.java:414)

                              08:37:39,292 ERROR [stderr] (Thread-12)  at com.aqqfpo.Server.run(Server.java:266)

                              08:37:39,292 ERROR [stderr] (Thread-12)  at com.aqqfpo.server.controller.ThreadWrapperImpl.run(ThreadWrapperImpl.java:22)

                              08:37:39,292 ERROR [stderr] (Thread-12)  at java.lang.Thread.run(Thread.java:662)

                              08:37:39,292 ERROR [stderr] (Thread-12) Caused by: java.lang.ClassNotFoundException: org.apache.xml.serialize.XMLSerializer from [Module "deployment.aqqfposerver.ear:main" from Service Module Loader]

                              08:37:39,292 ERROR [stderr] (Thread-12)  at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:188)

                              08:37:39,292 ERROR [stderr] (Thread-12)  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)

                              08:37:39,308 ERROR [stderr] (Thread-12)  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)

                              08:37:39,308 ERROR [stderr] (Thread-12)  at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)

                              08:37:39,308 ERROR [stderr] (Thread-12)  at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)

                              08:37:39,308 ERROR [stderr] (Thread-12)  ... 16 more

                              08:37:39,401 INFO  [org.jboss.web] (MSC service thread 1-3) registering web context: /AEM
                              08:37:39,401 INFO  [org.jboss.as] (MSC service thread 1-3) JBoss AS 7.0.0.Beta4-SNAPSHOT "(TBD)" started in 4477ms - Started 274 of 338 services (64 services are passive or on-demand)
                              08:39:22,412 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/AEM].[jsp]] (http--127.0.0.1-8080-1) Servlet.service() for servlet jsp threw exception: javax.servlet.jsp.JspException: Exception creating bean of class com.aqqfpo.aem.security.LogonForm: {1}
                              at org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:563) [struts.jar:]
                              at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:520) [struts.jar:]
                              at org.apache.jsp.logon_jsp._jspService(logon_jsp.java:151)
                              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
                              at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Cjavax%5Cservlet%5Capi%5Cmain%5Cjboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
                              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
                              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
                              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
                              at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Cjavax%5Cservlet%5Capi%5Cmain%5Cjboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
                              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
                              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
                              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
                              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
                              at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
                              at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
                              at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjboss-as-web-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT]
                              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
                              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
                              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
                              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
                              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
                              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:658) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
                              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [file:E:%5ClocalappServer%5Cjboss-7.0.0.Beta4-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cweb%5Cmain%5Cjbossweb-7.0.0.CR2.jar:7.0.0.Beta4-SNAPSHOT]
                              at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]

                               

                              =============================

                               

                              thanks,jaikiran.
                              Any help will be much appreciated.

                               

                              Bestregards

                              Duan

                              • 12. Re: AS 7.0.0.Beta3 : WAR deployment failure due to missing Component class
                                duan xz Newbie

                                Hi,all

                                JBoss AS 7.0.0.Beta4-SNAPSHOT can not correctly load my application, the application can not start with the following error,
                                *************************************

                                11:27:29,154 ERROR [stderr] (Thread-12) log4j:WARN Please initialize the log4j system properly.
                                11:27:29,215 ERROR [stderr] (Thread-12) Exception in thread "Thread-12" java.lang.IllegalAccessError: tried to access class org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher from class org.apache.xerces.framework.XMLDocumentScanner
                                11:27:29,225 ERROR [stderr] (Thread-12)  at org.apache.xerces.framework.XMLDocumentScanner.<init>(XMLDocumentScanner.java:310)
                                11:27:29,226 ERROR [stderr] (Thread-12)  at org.apache.xerces.framework.XMLParser.<init>(XMLParser.java:212)
                                11:27:29,226 ERROR [stderr] (Thread-12)  at org.apache.xerces.framework.XMLParser.<init>(XMLParser.java:205)
                                11:27:29,235 ERROR [stderr] (Thread-12)  at org.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:164)
                                11:27:29,236 ERROR [stderr] (Thread-12)  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                                11:27:29,236 ERROR [stderr] (Thread-12)  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                                11:27:29,236 ERROR [stderr] (Thread-12)  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                                11:27:29,238 ERROR [stderr] (Thread-12)  at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
                                11:27:29,247 ERROR [stderr] (Thread-12)  at java.lang.Class.newInstance0(Class.java:355)
                                11:27:29,255 ERROR [stderr] (Thread-12)  at java.lang.Class.newInstance(Class.java:308)
                                11:27:29,256 ERROR [stderr] (Thread-12)  at org.exolab.castor.util.Configuration.getParser(Unknown Source)
                                11:27:29,256 ERROR [stderr] (Thread-12)  at org.exolab.castor.util.Configuration.getParser(Unknown Source)
                                11:27:29,256 ERROR [stderr] (Thread-12)  at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown Source)
                                11:27:29,256 ERROR [stderr] (Thread-12)  at org.exolab.castor.mapping.Mapping.loadMappingInternal(Unknown Source)
                                11:27:29,257 ERROR [stderr] (Thread-12)  at org.exolab.castor.mapping.Mapping.loadMappingInternal(Unknown Source)
                                11:27:29,257 ERROR [stderr] (Thread-12)  at org.exolab.castor.mapping.Mapping.loadMapping(Unknown Source)
                                11:27:29,257 ERROR [stderr] (Thread-12)  at com.aqqfpo.server.services.configassistant.ConfigAssistantServiceUtils.getMapping(ConfigAssistantServiceUtils.java:230)
                                11:27:29,258 ERROR [stderr] (Thread-12)  at com.aqqfpo.server.services.configassistant.ConfigAssistantServiceUtils.loadServerConfig(ConfigAssistantServiceUtils.java:466)
                                11:27:29,258 ERROR [stderr] (Thread-12)  at com.aqqfpo.server.config.ServerConfigFacade.loadConfig(ServerConfigFacade.java:1212)
                                11:27:29,258 ERROR [stderr] (Thread-12)  at com.aqqfpo.server.config.ServerConfigFacade.<init>(ServerConfigFacade.java:76)
                                11:27:29,259 ERROR [stderr] (Thread-12)  at com.aqqfpo.server.config.ServerConfigFacade.getInstance(ServerConfigFacade.java:89)
                                11:27:29,259 ERROR [stderr] (Thread-12)  at com.aqqfpo.server.config.aqqfpoConfig.<clinit>(aqqfpoConfig.java:72)
                                11:27:29,259 ERROR [stderr] (Thread-12)  at com.aqqfpo.Server.initVersionInformation(Server.java:414)
                                11:27:29,260 ERROR [stderr] (Thread-12)  at com.aqqfpo.Server.run(Server.java:266)
                                11:27:29,260 ERROR [stderr] (Thread-12)  at com.aqqfpo.server.controller.ThreadWrapperImpl.run(ThreadWrapperImpl.java:22)
                                11:27:29,260 ERROR [stderr] (Thread-12)  at java.lang.Thread.run(Thread.java:662)
                                11:27:29,482 INFO  [org.jboss.web] (MSC service thread 1-3) registering web context: /AEM
                                11:27:29,483 INFO  [org.jboss.as] (MSC service thread 1-3) JBoss AS 7.0.0.Beta4-SNAPSHOT "(TBD)" started in 4833ms - Started 274 of 338 services (64 services are passive or on-demand)

                                ********************************************************************

                                Any help will be much appreciated.

                                 

                                Bestregards

                                Duan

                                • 13. Re: AS 7.0.0.Beta3 : WAR deployment failure due to missing Component class
                                  duan xz Newbie

                                  The above error "java.lang.IllegalAccessError" is due to conflicts with xerces.jar, I removed the conflict of class,  not appear this error again.

                                  Now the question is: in the jsp file  "import class cannot be resolved." Error is as follows:

                                   

                                  ***************************************
                                  An error occurred at line: 6 in the generated java file
                                  The import com.appeon.server cannot be resolved

                                  An error occurred at line: 5 in the jsp file: /myjsp.jsp
                                  TestClass cannot be resolved
                                  2: <html>
                                  3: <body>
                                  4: <div>Class path com.appeon.server.config.TestClass  Testing:<br>
                                  5:  <%=TestClass.test() %>
                                  6: </div>
                                  7: <div><a href="TestPath.jsp">return</a></div>
                                  8: </body>
                                  ***************************************

                                  ********************************
                                  myjsp.jsp
                                  <%@page import="com.appeon.server.config.*" %>
                                  <html>
                                  <body>
                                  <div>Class path com.appeon.server.config.TestClass Testing:<br>
                                  <%=TestClass.test() %>
                                  </div>
                                  <div><a href="TestPath.jsp">return</a></div>
                                  </body>
                                  </html>

                                   

                                  TestClass.java
                                  package com.appeon.server.config;

                                  public class TestClass
                                  {
                                    public static String test()
                                    {
                                      return "current time::" + System.currentTimeMillis() +
                                        ";******************TestClass.class.getPackage()::" +
                                        TestClass.class.getPackage();
                                    }

                                    public static void main(String[] args)
                                    {
                                    }
                                  }

                                  **************************************************************************************
                                  At the same time, I   do the following tests on JBoss AS 7.0.0.Beta4-SNAPSHOT:
                                  If the project is war, the same class path,there is no import errors;
                                  but if is an ear project, appear the "import class cannot be resolved" error which as the same as on jbossAS6.0.0.Final.

                                   

                                   

                                  Any help with this will be greatly appreciated.

                                  Bestregards
                                  duanxz