1 2 3 Previous Next 40 Replies Latest reply: Jul 20, 2012 4:49 AM by nasir naseem siddiqui RSS

    can not deploy war file in JBOSS-as-7.0.1

    nasir naseem siddiqui Newbie

      HI

      I am trying to deploy me  war file in JBoss --7.0.1  nad getting the follwing error .the war file is working fine in tomcat 6 .

       

      12:44:09,848 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.persistenceunit."ref-app-admin-web.war#WebArchJPATest": org.jboss.msc.service.StartException in service jboss.persistenceunit."ref-app-admin-web.war#WebArchJPATest": Failed to start service

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_31]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_31]

                at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]

      Caused by: org.hibernate.HibernateException: hibernate.cfg.xml not found

                at org.hibernate.internal.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:173)

                at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1944)

                at org.hibernate.cfg.Configuration.configure(Configuration.java:1925)

                at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:1043)

                at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:693)

                at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)

                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162)

                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                ... 3 more

       

       

      12:44:10,803 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.persistenceunit."ref-app-admin-web.war#WebArchJRA": org.jboss.msc.service.StartException in service jboss.persistenceunit."ref-app-admin-web.war#WebArchJRA": Failed to start service

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_31]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_31]

                at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]

      Caused by: javax.persistence.PersistenceException: [PersistenceUnit: WebArchJRA] Unable to build EntityManagerFactory

                at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915)

                at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:890)

                at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74)

                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162)

                at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                ... 3 more

      Caused by: org.hibernate.AnnotationException: Associations marked as mappedBy must not define database mappings like @JoinTable or @JoinColumn:

                at org.hibernate.cfg.annotations.CollectionBinder.bind(CollectionBinder.java:528)

                at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1931)

                at org.hibernate.cfg.AnnotationBinder.processIdPropertiesIfNotAlready(AnnotationBinder.java:768)

                at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:687)

                at org.hibernate.cfg.Configuration$MetadataSourceQueue.processAnnotatedClassesQueue(Configuration.java:3432)

                at org.hibernate.cfg.Configuration$MetadataSourceQueue.processMetadata(Configuration.java:3386)

                at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1338)

                at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1728)

                at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:93)

                at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:905)

                ... 9 more

       

       

      Can anyone help y i getting this ? is there something Jboss specific i need to change ??

        • 1. Re: can not deploy war file in JBOSS-as-7.0.1
          Nicklas Karlsson Master

          That's more of a JPA mapping issue and not a deployment issue:

           

          "Associations marked as mappedBy must not define database mappings like @JoinTable or @JoinColumn"

          • 2. Re: can not deploy war file in JBOSS-as-7.0.1
            nasir naseem siddiqui Newbie

            This war file is working fine in tomcat server . is there somthing specific related to JPA to be chnged in JBOSS

            • 3. Re: can not deploy war file in JBOSS-as-7.0.1
              Tomaz Cerar Master

              tomcat does not have support for JPA at all.

              unless you bundle it inside your application and then make sure it starts correctly.

               

              Are you sure your JPA entities even deployed on tomcat? and if they did, with what jpa provider and which version...

               

               

              --

              tomaz

              • 4. Re: can not deploy war file in JBOSS-as-7.0.1
                nasir naseem siddiqui Newbie

                yes this war file is completing working fine in tomcat .

                • 5. Re: can not deploy war file in JBOSS-as-7.0.1
                  Nicklas Karlsson Master

                  hibernate.cfg.xml not found ?

                  • 6. Re: can not deploy war file in JBOSS-as-7.0.1
                    nasir naseem siddiqui Newbie

                    i dont have hibernate .cfg.xml  file in my project.

                    • 7. Re: can not deploy war file in JBOSS-as-7.0.1
                      Tomaz Cerar Master

                      can you post the layout of your application.

                      you can get that by running jar tf <name-of-your-war>

                       

                      this way we can better see what is going on.

                       

                      and ther thing i would do, is to upgrade to 7.1.1 as 7.0.1 is quite old and has lots of bugs that ware fixed in 7.1.x..

                       

                       

                      --

                      tomaz

                      • 8. Re: can not deploy war file in JBOSS-as-7.0.1
                        nasir naseem siddiqui Newbie

                        I have tried in 7.1.1 final version also it is showing the same error.

                        • 9. Re: can not deploy war file in JBOSS-as-7.0.1
                          nasir naseem siddiqui Newbie

                          Layout of my application

                           

                          META-INF/

                          META-INF/MANIFEST.MF

                          images/

                          js/

                          styles/

                          WEB-INF/

                          WEB-INF/classes/

                          WEB-INF/classes/com/

                          WEB-INF/classes/com/refappadmin/

                          WEB-INF/classes/com/refappadmin/constants/

                          WEB-INF/classes/com/refappadmin/controllers/

                          WEB-INF/classes/com/refappadmin/interceptor/

                          WEB-INF/classes/com/refappadmin/view/

                          WEB-INF/config/

                          WEB-INF/decorators/

                          WEB-INF/lib/

                          WEB-INF/pages/

                          WEB-INF/pages/error/

                          WEB-INF/pages/public/

                          WEB-INF/styles/

                          WEB-INF/tld/

                          accessDenied.jsp

                          images/addtocart_default.png

                          images/addtocart_hover.png

                          images/calender.png

                          images/checkout.png

                          images/checkout_hover.png

                          images/confirm_default.png

                          images/confirm_hover.png

                          images/continue_to_shop.png

                          images/continue_to_shop_hover.png

                          images/footer.gif

                          images/go.png

                          images/go_hover.png

                          images/header.png

                          images/login_button.png

                          images/login_button_hover.png

                          images/next_default.png

                          images/next_hover.png

                          images/previous_default.png

                          images/previous_hover.png

                          images/register_default.png

                          images/register_hover.png

                          images/search_bg.png

                          images/shop_catg_hover.gif

                          images/shop_cat_default.gif

                          images/top_header.png

                          images/update.png

                          images/update_hover.png

                          images/utility_bar_background.png

                          images/view_cart_button.png

                          images/view_cart_hover.png

                          index.jsp

                          js/prototype.js

                          js/refapp.js

                          js/skyway-internal.js

                          js/skyway.js

                          styles/calendar.css

                          styles/global.css

                          styles/refapp.css

                          styles/refapp_es.css

                          WEB-INF/classes/action-servlet.xml

                          WEB-INF/classes/audit_logger.xml

                          WEB-INF/classes/CategoryDescriptionCodesDecodeTable.xml

                          WEB-INF/classes/CodesTableServiceCodeDecode.xml

                          WEB-INF/classes/com/refappadmin/constants/Constants.class

                          WEB-INF/classes/com/refappadmin/controllers/HomePageController.class

                          WEB-INF/classes/com/refappadmin/controllers/LoginController.class

                          WEB-INF/classes/com/refappadmin/controllers/ProductModificationController.class

                          WEB-INF/classes/com/refappadmin/controllers/ProductsListController.class

                          WEB-INF/classes/com/refappadmin/interceptor/LocaleInterceptor.class

                          WEB-INF/classes/com/refappadmin/view/ProductModificationBean.class

                          WEB-INF/classes/displaytag.properties

                          WEB-INF/classes/displaytag_es.properties

                          WEB-INF/classes/ehcache.xml

                          WEB-INF/classes/errormessages.properties

                          WEB-INF/classes/errormessages_es.properties

                          WEB-INF/classes/exceptionMappings.properties

                          WEB-INF/classes/exceptionMessages.properties

                          WEB-INF/classes/exceptionMessages_es.properties

                          WEB-INF/classes/log4j.properties

                          WEB-INF/classes/refapp.properties

                          WEB-INF/classes/securityContext.xml

                          WEB-INF/classes/sitetext.properties

                          WEB-INF/classes/sitetext_es.properties

                          WEB-INF/config/action-servlet.xml

                          WEB-INF/config/audit_logger.xml

                          WEB-INF/config/business-serviceContext.xml

                          WEB-INF/config/dwr-config.xml

                          WEB-INF/config/integration-dao-context.xml

                          WEB-INF/config/securityContext.xml

                          WEB-INF/config/web-application-config.xml

                          WEB-INF/config/webmvc-config.xml

                          WEB-INF/decorators/refapp-footer.jsp

                          WEB-INF/decorators/refapp-header.jsp

                          WEB-INF/decorators/refapp-leftmenu.jsp

                          WEB-INF/decorators/refapp-main.jsp

                          WEB-INF/decorators.xml

                          WEB-INF/lib/acegi-security-1.0.6.jar

                          WEB-INF/lib/activation-1.1.jar

                          WEB-INF/lib/ant-1.7.0.jar

                          WEB-INF/lib/ant-launcher-1.7.0.jar

                          WEB-INF/lib/antlr-2.7.6.jar

                          WEB-INF/lib/aopalliance-1.0.jar

                          WEB-INF/lib/asm-2.2.3.jar

                          WEB-INF/lib/asm-attrs-1.5.3.jar

                          WEB-INF/lib/aspectjrt-1.5.4.jar

                          WEB-INF/lib/aspectjtools-1.6.5.jar

                          WEB-INF/lib/aspectjweaver-1.5.4.jar

                          WEB-INF/lib/avalon-framework-4.1.3.jar

                          WEB-INF/lib/backport-util-concurrent-3.1.jar

                          WEB-INF/lib/cglib-nodep-2.1_3.jar

                          WEB-INF/lib/common-3.1.0.jar

                          WEB-INF/lib/commons-beanutils-1.7.0.jar

                          WEB-INF/lib/commons-beanutils-bean-collections-1.7.0.jar

                          WEB-INF/lib/commons-beanutils-core-1.7.0.jar

                          WEB-INF/lib/commons-chain-1.1.jar

                          WEB-INF/lib/commons-codec-1.3.jar

                          WEB-INF/lib/commons-collections-3.2.jar

                          WEB-INF/lib/commons-configuration-1.5.jar

                          WEB-INF/lib/commons-dbcp-1.2.1.jar

                          WEB-INF/lib/commons-digester-1.7.jar

                          WEB-INF/lib/commons-el-1.0.jar

                          WEB-INF/lib/commons-fileupload-1.2.1.jar

                          WEB-INF/lib/commons-io-1.2.jar

                          WEB-INF/lib/commons-lang-2.3.jar

                          WEB-INF/lib/commons-logging-1.1.jar

                          WEB-INF/lib/commons-pool-1.2.jar

                          WEB-INF/lib/commons-validator-1.1.4.jar

                          WEB-INF/lib/displaytag-1.2.jar

                          WEB-INF/lib/dom4j-1.6.1.jar

                          WEB-INF/lib/easymock-2.5.1.jar

                          WEB-INF/lib/ehcache-1.4.1.jar

                          WEB-INF/lib/ejb3-persistence-1.0.1.GA.jar

                          WEB-INF/lib/geronimo-stax-api_1.0_spec-1.0.1.jar

                          WEB-INF/lib/groovy-all-1.5.6.jar

                          WEB-INF/lib/hibernate-3.2.6.ga.jar

                          WEB-INF/lib/hibernate-annotations-3.3.1.GA.jar

                          WEB-INF/lib/hibernate-commons-annotations-3.3.0.ga.jar

                          WEB-INF/lib/hibernate-entitymanager-3.3.2.GA.jar

                          WEB-INF/lib/hibernate-search-3.0.0.GA.jar

                          WEB-INF/lib/hibernate-validator-3.0.0.ga.jar

                          WEB-INF/lib/hsqldb-1.8.0.7.jar

                          WEB-INF/lib/icu4j-2.6.1.jar

                          WEB-INF/lib/itext-1.3.jar

                          WEB-INF/lib/javahelp-2.0.02.jar

                          WEB-INF/lib/javassist-3.4.ga.jar

                          WEB-INF/lib/jaxb-api-2.1.jar

                          WEB-INF/lib/jaxb-impl-2.1.6.jar

                          WEB-INF/lib/jaxen-1.1.1.jar

                          WEB-INF/lib/jboss-archive-browsing-5.0.0alpha-200607201-119.jar

                          WEB-INF/lib/jboss-common-4.0.2.jar

                          WEB-INF/lib/jcl104-over-slf4j-1.4.2.jar

                          WEB-INF/lib/jdom-1.0.jar

                          WEB-INF/lib/jettison-1.0.jar

                          WEB-INF/lib/jline-0.9.94.jar

                          WEB-INF/lib/joda-time-1.6.jar

                          WEB-INF/lib/js-1.6R2.jar

                          WEB-INF/lib/jsr107cache-1.0.jar

                          WEB-INF/lib/jsr250-api-1.0.jar

                          WEB-INF/lib/jstl-1.1.2.jar

                          WEB-INF/lib/jta-1.1.jar

                          WEB-INF/lib/liquibase-core-1.9.3.jar

                          WEB-INF/lib/log4j-1.2.13.jar

                          WEB-INF/lib/logkit-1.0.1.jar

                          WEB-INF/lib/lucene-core-2.3.0.jar

                          WEB-INF/lib/mail-1.4.1.jar

                          WEB-INF/lib/myfaces-api-1.1.0.jar

                          WEB-INF/lib/mysql-connector-java-5.1.6.jar

                          WEB-INF/lib/ognl-2.6.9.jar

                          WEB-INF/lib/org.springframework.binding-2.0.5.RELEASE.jar

                          WEB-INF/lib/org.springframework.js-2.0.5.RELEASE.jar

                          WEB-INF/lib/org.springframework.webflow-2.0.5.RELEASE.jar

                          WEB-INF/lib/oro-2.0.8.jar

                          WEB-INF/lib/persistence-api-1.0.jar

                          WEB-INF/lib/portlet-api-1.0.jar

                          WEB-INF/lib/ref-app-admin-dao-1.1.0.jar

                          WEB-INF/lib/ref-app-admin-domain-1.1.0.jar

                          WEB-INF/lib/ref-app-admin-service-1.1.0.jar

                          WEB-INF/lib/ref-app-domain-1.5.0.jar

                          WEB-INF/lib/sitemesh-2.2.1.jar

                          WEB-INF/lib/slf4j-api-1.4.3.jar

                          WEB-INF/lib/slf4j-log4j12-1.5.2.jar

                          WEB-INF/lib/spring-aop-3.0.2.RELEASE.jar

                          WEB-INF/lib/spring-asm-3.0.2.RELEASE.jar

                          WEB-INF/lib/spring-aspects-3.0.2.RELEASE.jar

                          WEB-INF/lib/spring-beans-3.0.2.RELEASE.jar

                          WEB-INF/lib/spring-context-3.0.2.RELEASE.jar

                          WEB-INF/lib/spring-context-support-3.0.2.RELEASE.jar

                          WEB-INF/lib/spring-core-3.0.2.RELEASE.jar

                          WEB-INF/lib/spring-expression-3.0.2.RELEASE.jar

                          WEB-INF/lib/spring-jdbc-3.0.2.RELEASE.jar

                          WEB-INF/lib/spring-modules-jakarta-commons-0.6.jar

                          WEB-INF/lib/spring-modules-validation-0.8.jar

                          WEB-INF/lib/spring-orm-3.0.2.RELEASE.jar

                          WEB-INF/lib/spring-remoting-1.2.9.jar

                          WEB-INF/lib/spring-security-acl-2.0.4.jar

                          WEB-INF/lib/spring-security-core-2.0.4.jar

                          WEB-INF/lib/spring-security-core-tiger-2.0.4.jar

                          WEB-INF/lib/spring-security-taglibs-2.0.4.jar

                          WEB-INF/lib/spring-support-1.2.9.jar

                          WEB-INF/lib/spring-tx-3.0.2.RELEASE.jar

                          WEB-INF/lib/spring-web-3.0.2.RELEASE.jar

                          WEB-INF/lib/spring-webmvc-3.0.2.RELEASE.jar

                          WEB-INF/lib/standard-1.1.2.jar

                          WEB-INF/lib/stax-api-1.0-2.jar

                          WEB-INF/lib/stax-api-1.0.1.jar

                          WEB-INF/lib/struts-menu-2.4.3.jar

                          WEB-INF/lib/velocity-1.4.jar

                          WEB-INF/lib/velocity-dep-1.4.jar

                          WEB-INF/lib/velocity-tools-view-1.0.jar

                          WEB-INF/lib/web-3.1.0.jar

                          WEB-INF/lib/webdavlib-2.0.jar

                          WEB-INF/lib/xalan-2.6.0.jar

                          WEB-INF/lib/xercesImpl-2.8.1.jar

                          WEB-INF/lib/xml-apis-1.3.02.jar

                          WEB-INF/lib/xml-resolver-1.1.jar

                          WEB-INF/lib/xmlParserAPIs-2.6.2.jar

                          WEB-INF/lib/XmlSchema-1.4.2.jar

                          WEB-INF/lib/xom-1.0.jar

                          WEB-INF/pages/applicationError.jsp

                          WEB-INF/pages/defaultErrorViewForLRH.jsp

                          WEB-INF/pages/error/accessDenied.jsp

                          WEB-INF/pages/error/applicationErrorPage.jsp

                          WEB-INF/pages/error/errorPage.jsp

                          WEB-INF/pages/error/errorPageLRH.jsp

                          WEB-INF/pages/error.jsp

                          WEB-INF/pages/includeHome.jsp

                          WEB-INF/pages/includes.jsp

                          WEB-INF/pages/public/authorityDetails.jsp

                          WEB-INF/pages/public/login.jsp

                          WEB-INF/pages/public/logout.jsp

                          WEB-INF/pages/public/modifyProduct.jsp

                          WEB-INF/pages/public/modifyProductConfirmation.jsp

                          WEB-INF/pages/public/viewHome.jsp

                          WEB-INF/pages/public/viewProductDetail.jsp

                          WEB-INF/pages/public/viewProductList.jsp

                          WEB-INF/pages/welcome.jsp

                          WEB-INF/sitemesh.xml

                          WEB-INF/styles/calendar.css

                          WEB-INF/styles/global.css

                          WEB-INF/styles/refapp.css

                          WEB-INF/styles/refapp_es.css

                          WEB-INF/tld/CodeDecode.tld

                          WEB-INF/tld/jhlib.tld

                          WEB-INF/web.xml

                          META-INF/maven/

                          META-INF/maven/com/

                          META-INF/maven/com/ref-app-admin-web/

                          META-INF/maven/com/ref-app-admin-web/pom.xml

                          META-INF/maven/com/ref-app-admin-web/pom.properties

                          • 10. Re: can not deploy war file in JBOSS-as-7.0.1
                            nasir naseem siddiqui Newbie

                            Layout of ref-app-admin-dao-1.1.0.jar

                             

                            META-INF/

                            META-INF/MANIFEST.MF

                            com/

                            com//refappadmin/

                            com/refappadmin/dao/

                            com/refappadmin/dao/jpa/

                            com/refappadmin/dao/AbstractBaseReferenceApplicationIBPDao.class

                            com/refappadmin/dao/jpa/ProductModificationDaoImpl.class

                            com/refappadmin/dao/ProductModificationDao.class

                            integration-dao-context.xml

                            META-INF/persistence.xml

                            META-INF/ProductModification.ORM.xml

                            META-INF/maven/

                            META-INF/maven/com/

                            META-INF/maven/com/ref-app-admin-dao/

                            META-INF/maven/com/ref-app-admin-dao/pom.xml

                            META-INF/maven/com/ref-app-admin-dao/pom.properties

                             

                             

                            Layout of ref-app-admin-domain-1.1.0.jar

                             

                            META-INF/

                            META-INF/MANIFEST.MF

                            META-INF/namedquery.xml

                            META-INF/persistence.xml

                            namedquery.xml

                            META-INF/maven/

                            META-INF/maven/com/

                            META-INF/maven/com/ref-app-admin-domain/

                            META-INF/maven/com/ref-app-admin-domain/pom.xml

                            META-INF/maven/com/ref-app-admin-domain/pom.properties

                             

                            Layout of ref-app-admin-service-1.1.0.jar

                             

                            META-INF/

                            META-INF/MANIFEST.MF

                            com/

                            com/refappadmin/

                            com/refappadmin/services/

                            business-service-context.xml

                            com/refappadmin/services/ProductModificationService.class

                            com/refappadmin/services/ProductModificationServiceImpl.class

                            META-INF/maven/

                            META-INF/maven/com/

                            META-INF/maven/com/ref-app-admin-service/

                            META-INF/maven/com/ref-app-admin-service/pom.xml

                            META-INF/maven/com/ref-app-admin-service/pom.properties

                            • 11. Re: can not deploy war file in JBOSS-as-7.0.1
                              Scott Marlow Master

                              My guess is that one of your persistence.xml files is using hibernate.cfg.xml.  Take a look in your persistence.xml files (especially the one that defines the WebArchJPATest persistence unit).

                              • 12. Re: can not deploy war file in JBOSS-as-7.0.1
                                nasir naseem siddiqui Newbie

                                INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ref-app-admin-web]] (MSC service thread 1-4) Initializing Spring root WebApplicationContext

                                12:44:24,983 INFO  [org.springframework.web.context.ContextLoader] (MSC service thread 1-4) Root WebApplicationContext: initialization started

                                12:44:25,029 INFO  [org.springframework.web.context.support.XmlWebApplicationContext] (MSC service thread 1-4) Refreshing Root WebApplicationContext: startup date [Wed Jun 27 12:44:25 IST 2012]; root of context hierarchy

                                12:44:25,076 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-4) Loading XML bean definitions from ServletContext resource [/WEB-INF/config/web-application-config.xml]

                                12:44:25,154 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-4) Loading XML bean definitions from ServletContext resource [/WEB-INF/config/webmvc-config.xml]

                                12:44:25,217 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-4) Loading XML bean definitions from class path resource [integration-dao-context.xml]

                                12:44:25,326 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-4) Loading XML bean definitions from class path resource [business-service-context.xml]

                                12:44:25,373 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-4) Loading XML bean definitions from class path resource [action-servlet.xml]

                                12:44:25,482 INFO  [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (MSC service thread 1-4) JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning

                                12:44:25,497 INFO  [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (MSC service thread 1-4) JSR-330 'javax.inject.Named' annotation found and supported for component scanning

                                12:44:25,576 ERROR [org.springframework.web.context.ContextLoader] (MSC service thread 1-4) Context initialization failed: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:/action-servlet.xml]

                                Offending resource: ServletContext resource [/WEB-INF/config/web-application-config.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [action-servlet.xml]; nested exception is java.lang.NoClassDefFoundError: org/jboss/virtual/VirtualFileVisitor

                                  at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:193) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:148) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:133) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124) [spring-web-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93) [spring-web-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130) [spring-context-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:465) [spring-context-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:395) [spring-context-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) [spring-web-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) [spring-web-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) [spring-web-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]

                                  at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]

                                  at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                                  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_31]

                                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_31]

                                  at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]

                                Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [action-servlet.xml]; nested exception is java.lang.NoClassDefFoundError: org/jboss/virtual/VirtualFileVisitor

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:187) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  ... 26 more

                                Caused by: java.lang.NoClassDefFoundError: org/jboss/virtual/VirtualFileVisitor

                                  at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:348) [spring-core-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:269) [spring-core-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:1197) [spring-context-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:204) [spring-context-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:204) [spring-context-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:84) [spring-context-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1335) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1325) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:136) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  ... 31 more

                                Caused by: java.lang.ClassNotFoundException: org.jboss.virtual.VirtualFileVisitor from [Module "deployment.ref-app-admin-web.war:main" from Service Module Loader]

                                  at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

                                  at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                                  at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

                                  ... 44 more

                                 

                                 

                                12:44:25,785 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ref-app-admin-web]] (MSC service thread 1-4) Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:/action-servlet.xml]

                                Offending resource: ServletContext resource [/WEB-INF/config/web-application-config.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [action-servlet.xml]; nested exception is java.lang.NoClassDefFoundError: org/jboss/virtual/VirtualFileVisitor

                                  at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:76) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:193) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:148) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:133) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124) [spring-web-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93) [spring-web-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130) [spring-context-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:465) [spring-context-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:395) [spring-context-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) [spring-web-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) [spring-web-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) [spring-web-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]

                                  at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]

                                  at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                                  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_31]

                                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_31]

                                  at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]

                                Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [action-servlet.xml]; nested exception is java.lang.NoClassDefFoundError: org/jboss/virtual/VirtualFileVisitor

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:187) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  ... 26 more

                                Caused by: java.lang.NoClassDefFoundError: org/jboss/virtual/VirtualFileVisitor

                                  at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:348) [spring-core-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:269) [spring-core-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:1197) [spring-context-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:204) [spring-context-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:204) [spring-context-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:84) [spring-context-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1335) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1325) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:136) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) [spring-beans-3.0.2.RELEASE.jar:3.0.2.RELEASE]

                                  ... 31 more

                                Caused by: java.lang.ClassNotFoundException: org.jboss.virtual.VirtualFileVisitor from [Module "deployment.ref-app-admin-web.war:main" from Service Module Loader]

                                  at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

                                  at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                                  at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

                                  ... 44 more

                                 

                                 

                                12:44:26,067 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-4) Initializing Mojarra 2.1.7-jbossorg-1 (20120227-1401) for context '/ref-app-admin-web'

                                12:44:29,589 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-4) Error listenerStart

                                12:44:29,589 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-4) Context [/ref-app-admin-web] startup failed due to previous errors

                                12:44:29,589 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ref-app-admin-web]] (MSC service thread 1-4) Closing Spring root WebApplicationContext

                                12:44:29,605 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.web.deployment.default-host./ref-app-admin-web: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./ref-app-admin-web: JBAS018040: Failed to start context

                                  at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:95)

                                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                                  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_31]

                                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_31]

                                  at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]

                                 

                                 

                                12:44:29,652 INFO  [org.jboss.as] (MSC service thread 1-4) JBAS015951: Admin console listening on http://127.0.0.1:9990

                                12:44:29,667 ERROR [org.jboss.as] (MSC service thread 1-4) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 47390ms - Started 455 of 534 services (2 services failed or missing dependencies, 76 services are passive or on-demand)

                                12:44:29,886 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "ref-app-admin-web.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./ref-app-admin-web" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./ref-app-admin-web: JBAS018040: Failed to start context"}}

                                12:44:29,886 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

                                JBAS014777:   Services which failed to start:      service jboss.web.deployment.default-host./ref-app-admin-web: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./ref-app-admin-web: JBAS018040: Failed to start context

                                 

                                 

                                12:44:29,901 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./ref-app-admin-web" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./ref-app-admin-web: JBAS018040: Failed to start context"}}}}

                                12:44:29,932 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011403: Stopping Persistence Unit Service 'ref-app-admin-web.war#WebArchJRA'

                                12:44:29,932 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011403: Stopping Persistence Unit Service 'ref-app-admin-web.war#WebArchJPATest'

                                12:44:29,932 INFO  [org.jboss.as.jpa] (MSC service thread 1-3) JBAS011403: Stopping Persistence Unit Service 'ref-app-admin-web.war#WebArchJRA-IBP'

                                12:44:32,398 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment ref-app-admin-web.war in 2492ms

                                12:45:00,747 INFO  [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Container org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not been started

                                12:45:00,794 INFO  [org.jboss.as.osgi] (MSC service thread 1-2) JBAS011942: Stopping OSGi Framework

                                12:45:00,825 WARN  [org.jboss.remoting.remote] (Remoting "bdc7-d-4zpp6bs:MANAGEMENT" read-1) JBREM000205: Failed to accept a connection: java.nio.channels.ClosedChannelException

                                 

                                Now  i am getting this error ? i removed hibernate.cfg.xml file from persistence .xml file

                                • 13. Re: can not deploy war file in JBOSS-as-7.0.1
                                  Stephen Coy Master

                                  There's quite a few redundant jars in your deployment that you should get rid of:

                                   

                                  • activation-1.1.jar
                                  • commons-logging-1.1.jar (functionality replaced by jcl104-over-slf4j-1.4.2.jar)
                                  • ejb3-persistence-1.0.1.GA.jar
                                  • geronimo-stax-api_1.0_spec-1.0.1.jar
                                  • jaxb-api-2.1.jar
                                  • jaxb-impl-2.1.6.jar
                                  • jsr250-api-1.0.jar
                                  • jstl-1.1.2.jar
                                  • jta-1.1.jar
                                  • mail-1.4.1.jar
                                  • persistence-api-1.0.jar
                                  • standard-1.1.2.jar
                                  • stax-api-1.0-2.jar
                                  • stax-api-1.0.1.jar
                                  • xalan-2.6.0.jar
                                  • xercesImpl-2.8.1.jar
                                  • xml-apis-1.3.02.jar
                                  • xml-resolver-1.1.jar
                                  • xmlParserAPIs-2.6.2.jar
                                  • XmlSchema-1.4.2.jar

                                   

                                  Aside from commons-logging, these all define APIs and services that are provided by JBoss AS. When provided in a WAR only deployment they will override the server versions in interesting and unpredictable ways.

                                  • 14. Re: can not deploy war file in JBOSS-as-7.0.1
                                    nasir naseem siddiqui Newbie

                                    Even removing these jars it showing the same error.

                                    1 2 3 Previous Next