8 Replies Latest reply on Jan 8, 2013 7:40 AM by Madhura Raut

    Deployment Exception

    Prashanth Karnam Newbie

      Hi All,

       

           I am trying to deploy my application war and this is what i am getting. Can you please let me know what this error is for and how to resolve it ??

       

       

      2012-01-25 14:20:34,531 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to PostClassLoader: name=vfsfile:/apps/jboss-eap-5.1-AS/server/default/deploy/SDSWorkflowBuilder.war/ state=ClassLoader mode=Manual requiredState=PostClassLoader

      org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/apps/jboss-eap-5.1-AS/server/default/deploy/SDSWorkflowBuilder.war/

              at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)

              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)

              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)

              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)

              at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

              at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

              at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

              at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)

              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)

              at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)

              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)

              at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

              at org.jboss.Main.boot(Main.java:221)

              at org.jboss.Main$1.run(Main.java:556)

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

      Caused by: java.lang.NullPointerException

              at java.lang.Class.forName0(Native Method)

              at java.lang.Class.forName(Class.java:247)

              at org.jboss.metadata.process.processor.ejb.jboss.SetDefaultLocalBusinessInterfaceProcessor.process(SetDefaultLocalBusinessInterfaceProcessor.java:114)

              at org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain.process(JBossMetaDataProcessorChain.java:115)

              at org.jboss.ejb3.deployers.Ejb3MetadataProcessingDeployer.deploy(Ejb3MetadataProcessingDeployer.java:142)

              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

              ... 29 more

        • 1. Re: Deployment Exception
          jaikiran pai Master

          Which version of JBoss AS are you using? I remember we had fixed this in some specific version of JBoss AS.

          • 2. Re: Deployment Exception
            Prashanth Karnam Newbie

            Hi Jai,

             

              This issue is resolve have another issue and looks like there is no proper solution anywhere. If you can help it would be really great. I have defined a DS which uses Oracle. We are using jBPM and for which we are using JPA. We are getting an exception

             

            org.hibernate.ejb.HibernatePersistence cannot be cast to javax.persistence.spi.PersistenceProvider trace : java.lang.ClassCastException: org.hibernate.ejb.HibernatePersistence cannot be cast to javax.persistence.spi.PersistenceProvider

            2012-01-25 17:52:15,199 ERROR [STDERR] (main) java.lang.ClassCastException: org.hibernate.ejb.HibernatePersistence cannot be cast to javax.persistence.spi.PersistenceProvider

            2012-01-25 17:52:15,199 ERROR [STDERR] (main)   at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:32)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at com.emirates.sds.workflow.mbean.WFServerStartupMBean.initWFMinaTaskServer(Unknown Source)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at com.emirates.sds.workflow.mbean.WFServerStartupMBean.<init>(Unknown Source)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at java.lang.Class.newInstance0(Class.java:355)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at java.lang.Class.newInstance(Class.java:308)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:184)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:98)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:405)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:265)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:252)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:250)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)

            2012-01-25 17:52:15,200 ERROR [STDERR] (main)   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4389)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:321)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at java.lang.reflect.Method.invoke(Method.java:597)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at $Proxy38.start(Unknown Source)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

            2012-01-25 17:52:15,201 ERROR [STDERR] (main)   at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

            2012-01-25 17:52:15,202 ERROR [STDERR] (main)   at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

            2012-01-25 17:52:15,202 ERROR [STDERR] (main)   at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

            2012-01-25 17:52:15,202 ERROR [STDERR] (main)   at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

            2012-01-25 17:52:15,202 ERROR [STDERR] (main)   at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:297)

            2012-01-25 17:52:15,202 ERROR [STDERR] (main)   at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

            2012-01-25 17:52:15,202 ERROR [STDERR] (main)   at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

            2012-01-25 17:52:15,203 ERROR [STDERR] (main)   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

            2012-01-25 17:52:15,203 ERROR [STDERR] (main)   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

            2012-01-25 17:52:15,203 ERROR [STDERR] (main)   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

            2012-01-25 17:52:15,203 ERROR [STDERR] (main)   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

            • 3. Re: Deployment Exception
              Ales Justin Master

              It looks like you're also bundling JPA api (and Hibernate as well) with your app.

              If you remove both, it should work -- but then it depends which version jBPM uses.

              • 4. Re: Deployment Exception
                Prashanth Karnam Newbie

                I actually removed the bundled jar , and am using JBOSS 5.1. the application is deployed alright but throws the above error while creating entity manager in the code.

                • 5. Re: Deployment Exception
                  Ales Justin Master

                  I'm pretty sure there must be some "JPA-like" jar still left inside your app.

                  As that's the most reasonable explanation -- AS' JPA and Hibernate definitely work as it should, if left on its own.

                  • 6. Re: Deployment Exception
                    Prashanth Karnam Newbie

                    Yep there are other *JPA* used by jbpm / drools. I have put hibernate-jpaxx.jar in the lib folder because of which we are getting classcastexception. If i remove that and leave alone then the error is as follows

                     

                     

                    2012-01-26 10:39:26,505 INFO [org.hibernate.cfg.annotations.Version] (main) Hibernate Annotations 3.4.0.GA_CP01

                    2012-01-26 10:39:26,526 INFO [org.hibernate.cfg.Environment] (main) Hibernate 3.3.2.GA_CP03

                    2012-01-26 10:39:26,529 INFO  [org.hibernate.cfg.Environment] (main) hibernate.properties not found

                    2012-01-26 10:39:26,534 INFO [org.hibernate.cfg.Environment] (main) Bytecode provider name : javassist

                    2012-01-26 10:39:26,540 INFO [org.hibernate.cfg.Environment] (main) using JDK 1.4 java.sql.Timestamp handling

                    2012-01-26 10:39:26,668 INFO [org.hibernate.annotations.common.Version] (main) Hibernate Commons Annotations 3.1.0.GA

                    2012-01-26 10:39:26,673 INFO [org.hibernate.ejb.Version] (main) Hibernate EntityManager [WORKING]

                    2012-01-26 10:39:26,788 INFO  [STDOUT] (main) 1    26/01 10:39:26,784[main] ERROR emirates.sds.wf.error  - [CWorkflowDesignerMBean]  method : initWFMinaTaskServer:No Persistence provider for EntityManager named org.jbpm.task trace : javax.persistence.PersistenceException: No Persistence provider for EntityManager named org.jbpm.task

                    2012-01-26 10:39:26,789 ERROR [STDERR] (main) javax.persistence.PersistenceException: No Persistence provider for EntityManager named org.jbpm.task

                    2012-01-26 10:39:26,789 ERROR [STDERR] (main)         at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:56)

                    2012-01-26 10:39:26,789 ERROR [STDERR] (main)         at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)

                    2012-01-26 10:39:26,789 ERROR [STDERR] (main)         at com.emirates.sds.workflow.mbean.WFServerStartupMBean.initWFMinaTaskServer(Unknown Source)

                    2012-01-26 10:39:26,790 ERROR [STDERR] (main)          at com.emirates.sds.workflow.mbean.WFServerStartupMBean.<init>(Unknown Source)

                    2012-01-26 10:39:26,790 ERROR [STDERR] (main)          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                    2012-01-26 10:39:26,790 ERROR [STDERR] (main)          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

                    2012-01-26 10:39:26,790 ERROR [STDERR] (main)          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

                    2012-01-26 10:39:26,790 ERROR [STDERR] (main)          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

                    2012-01-26 10:39:26,790 ERROR [STDERR] (main)          at java.lang.Class.newInstance0(Class.java:355)

                    2012-01-26 10:39:26,790 ERROR [STDERR] (main)          at java.lang.Class.newInstance(Class.java:308)

                    2012-01-26 10:39:26,790 ERROR [STDERR] (main)          at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:184)

                    2012-01-26 10:39:26,790 ERROR [STDERR] (main)          at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:98)

                    2012-01-26 10:39:26,791 ERROR [STDERR] (main)          at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:405)

                    2012-01-26 10:39:26,791 ERROR [STDERR] (main)          at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:265)

                    2012-01-26 10:39:26,791 ERROR [STDERR] (main)          at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:252)

                    2012-01-26 10:39:26,791 ERROR [STDERR] (main)          at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:250)

                    2012-01-26 10:39:26,791 ERROR [STDERR] (main)          at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)

                    2012-01-26 10:39:26,791 ERROR [STDERR] (main)          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4389)

                    2012-01-26 10:39:26,791 ERROR [STDERR] (main)          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:321)

                    2012-01-26 10:39:26,791 ERROR [STDERR] (main)          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)

                    2012-01-26 10:39:26,791 ERROR [STDERR] (main)          at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

                    2012-01-26 10:39:26,792 ERROR [STDERR] (main)          at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

                    2012-01-26 10:39:26,792 ERROR [STDERR] (main)          at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

                    2012-01-26 10:39:26,792 ERROR [STDERR] (main)          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                    2012-01-26 10:39:26,792 ERROR [STDERR] (main)          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                    2012-01-26 10:39:26,792 ERROR [STDERR] (main)          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                    2012-01-26 10:39:26,792 ERROR [STDERR] (main)          at java.lang.reflect.Method.invoke(Method.java:597)

                    2012-01-26 10:39:26,792 ERROR [STDERR] (main)          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                    2012-01-26 10:39:26,792 ERROR [STDERR] (main)          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                    2012-01-26 10:39:26,792 ERROR [STDERR] (main)          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                    2012-01-26 10:39:26,793 ERROR [STDERR] (main)          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                    2012-01-26 10:39:26,793 ERROR [STDERR] (main)          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

                    2012-01-26 10:39:26,793 ERROR [STDERR] (main)          at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

                    2012-01-26 10:39:26,793 ERROR [STDERR] (main)          at $Proxy38.start(Unknown Source)

                    2012-01-26 10:39:26,793 ERROR [STDERR] (main)          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

                    2012-01-26 10:39:26,793 ERROR [STDERR] (main)          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

                    2012-01-26 10:39:26,793 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

                    2012-01-26 10:39:26,793 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

                    2012-01-26 10:39:26,793 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

                    2012-01-26 10:39:26,794 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                    2012-01-26 10:39:26,794 ERROR [STDERR] (main)          at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:297)

                    2012-01-26 10:39:26,794 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                    2012-01-26 10:39:26,794 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                    2012-01-26 10:39:26,794 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                    2012-01-26 10:39:26,794 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                    2012-01-26 10:39:26,794 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

                    2012-01-26 10:39:26,794 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

                    2012-01-26 10:39:26,794 ERROR [STDERR] (main)          at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

                    2012-01-26 10:39:26,795 ERROR [STDERR] (main)          at org.jboss.system.ServiceController.start(ServiceController.java:460)

                    2012-01-26 10:39:26,795 ERROR [STDERR] (main)          at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

                    2012-01-26 10:39:26,795 ERROR [STDERR] (main)          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

                    2012-01-26 10:39:26,795 ERROR [STDERR] (main)          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

                    2012-01-26 10:39:26,795 ERROR [STDERR] (main)          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

                    2012-01-26 10:39:26,795 ERROR [STDERR] (main)          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)

                    2012-01-26 10:39:26,795 ERROR [STDERR] (main)          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

                    2012-01-26 10:39:26,795 ERROR [STDERR] (main)          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)

                    2012-01-26 10:39:26,795 ERROR [STDERR] (main)          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)

                    2012-01-26 10:39:26,796 ERROR [STDERR] (main)          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1193)

                    2012-01-26 10:39:26,796 ERROR [STDERR] (main)          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)

                    2012-01-26 10:39:26,796 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                    2012-01-26 10:39:26,796 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                    2012-01-26 10:39:26,796 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                    2012-01-26 10:39:26,796 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                    2012-01-26 10:39:26,796 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                    2012-01-26 10:39:26,796 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

                    2012-01-26 10:39:26,796 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

                    2012-01-26 10:39:26,797 ERROR [STDERR] (main)          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)

                    2012-01-26 10:39:26,797 ERROR [STDERR] (main)          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)

                    2012-01-26 10:39:26,797 ERROR [STDERR] (main)          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

                    2012-01-26 10:39:26,797 ERROR [STDERR] (main)          at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

                    2012-01-26 10:39:26,797 ERROR [STDERR] (main)          at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

                    2012-01-26 10:39:26,797 ERROR [STDERR] (main)          at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)

                    2012-01-26 10:39:26,797 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                    2012-01-26 10:39:26,797 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                    2012-01-26 10:39:26,797 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                    2012-01-26 10:39:26,798 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                    2012-01-26 10:39:26,798 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                    2012-01-26 10:39:26,798 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)

                    2012-01-26 10:39:26,798 ERROR [STDERR] (main)          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)

                    2012-01-26 10:39:26,798 ERROR [STDERR] (main)          at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)

                    2012-01-26 10:39:26,798 ERROR [STDERR] (main)          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)

                    2012-01-26 10:39:26,798 ERROR [STDERR] (main)          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

                    2012-01-26 10:39:26,798 ERROR [STDERR] (main)          at org.jboss.Main.boot(Main.java:221)

                    2012-01-26 10:39:26,799 ERROR [STDERR] (main)          at org.jboss.Main$1.run(Main.java:556)

                    2012-01-26 10:39:26,799 ERROR [STDERR] (main)          at java.lang.Thread.run(Thread.java:662)

                    2012-01-26 10:39:27,540 INFO  [STDOUT] (main) 756  26/01 10:39:27,539[main] ERROR emirates.sds.wf.error  - [CWorkflowDesignerMBean]  method : initKnowledgeAgentResourceScanner:could not load [com/emirates/sds/workflow/resources/jbpmConsole.properties] as a classloader resource trace : java.lang.IllegalArgumentException: could not load [com/emirates/sds/workflow/resources/jbpmConsole.properties] as a classloader resource

                    2012-01-26 10:39:27,541 ERROR [STDERR] (main) java.lang.IllegalArgumentException: could not load [com/emirates/sds/workflow/resources/jbpmConsole.properties] as a classloader resource

                    2012-01-26 10:39:27,541 ERROR [STDERR] (main)          at com.emirates.sds.workflow.util.PropUtils.loadProperties(Unknown Source)

                    2012-01-26 10:39:27,541 ERROR [STDERR] (main)          at com.emirates.sds.workflow.util.PropUtils.loadProperties(Unknown Source)

                    2012-01-26 10:39:27,541 ERROR [STDERR] (main)          at com.emirates.sds.workflow.mbean.WFServerStartupMBean.initKnowledgeAgentResourceScanner(Unknown Source)

                    2012-01-26 10:39:27,541 ERROR [STDERR] (main)          at com.emirates.sds.workflow.mbean.WFServerStartupMBean.<init>(Unknown Source)

                    2012-01-26 10:39:27,541 ERROR [STDERR] (main)          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                    • 7. Re: Deployment Exception
                      Ales Justin Master

                      Hmm, I've just recently seen similar error, but was on AS7 and bundled DataNucleus -- hence a bit different original problem.

                      But the issue was that Hibernate code has a check against a passed-in provider name.

                      Perhaps debug that Persistence class, to really see why there is no PP found.

                       

                      But probably the best solution would be to get the EM provided by the AS container,

                      not by using Persistence::createEMF your self in WFServerStartupMBean.

                      Dunno yet on how to do this, but I'm sure there is a way. :-)

                      • 8. Re: Deployment Exception
                        Madhura Raut Newbie

                        hi,

                         

                        Can you please tell me how did you resolve the issue mentioned at first? I am using JBoss 5.1 and GWT 2.5

                         

                        2012-01-25 14:20:34,531 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to PostClassLoader: name=vfsfile:/apps/jboss-eap-5.1-AS/server/default/deploy/SDSWorkflowBuilder.war/ state=ClassLoader mode=Manual requiredState=PostClassLoader

                        org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/apps/jboss-eap-5.1-AS/server/default/deploy/SDSWorkflowBuilder.war/