2 Replies Latest reply on May 3, 2011 5:46 AM by alimakki

    Jboss farmed deployment

    alimakki Newbie

      I have been developing a web service to be deployed on JBOSS AS 6 community edition. 

       

      The application is a WAR, which in turn is contained in an EAR.  I have been able to successfully deploy this application and have it working perfectly on a single instance using the "all" confirguration (not farmed).

       

      However, on a separate machine with 2 instances of the "all" (nodeA, nodeB) cluster running (they are able to see each other) after deploying the application farmed, I get the following error:

       

      Failed to create Resource UssdStopTheClockEAR.ear - cause: org.jboss.profileservice.spi.NoSuchProfileException:Profile does not support deployment actions: ProfileKey@1d8df66a[domain=default, server=default, name=applications]

       

      Has anyone encountered such an error before?as

        • 1. Jboss farmed deployment
          jaikiran pai Master

          Please post the entire exception stacktrace.

          • 2. Jboss farmed deployment
            alimakki Newbie

            The odd part is when I deploy the application in clustered mode, I get the error but oddly enough the application seems to be deployed fine and is replicated across the 2 node cluster.

             

            Stacktrace:

             

            2011-05-03 11:05:57,572 ERROR [org.rhq.plugins.jbossas5.deploy.LocalDeployer] (ResourceContainer.invoker.nonDaemon-1) Error deploying application for request [CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service, name=Enterprise Application (EAR), plugin=JBossAS5]], ResourceKey=[null]].: org.jboss.profileservice.spi.NoSuchProfileException: Profile does not support deployment actions: ProfileKey@1c91abeb[domain=default, server=default, name=applications]

                    at org.jboss.profileservice.management.upload.DeploymentManagerImpl.checkProfile(DeploymentManagerImpl.java:309) [:6.0.0.Final]

                    at org.jboss.profileservice.management.upload.DeploymentManagerImpl.loadProfile(DeploymentManagerImpl.java:218) [:6.0.0.Final]

                    at org.rhq.plugins.jbossas5.deploy.AbstractDeployer.deploy(AbstractDeployer.java:123) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

                    at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createContentBasedResource(CreateChildResourceFacetDelegate.java:124) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

                    at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createResource(CreateChildResourceFacetDelegate.java:56) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

                    at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:304) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]

                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]

                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_24]

                    at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]

                    at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) [:3.0.0]

                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:1.6.0_24]

                    at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_24]

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

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

                    at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]

             

             

            2011-05-03 11:06:32,290 ERROR [org.rhq.plugins.jbossas5.deploy.LocalDeployer] (ResourceContainer.invoker.nonDaemon-1) Error deploying application for request [CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service, name=Enterprise Application (EAR), plugin=JBossAS5]], ResourceKey=[null]].: java.lang.IllegalArgumentException: An application named 'UssdStopTheClockEAR.ear' is already deployed.

                    at org.rhq.plugins.jbossas5.deploy.AbstractDeployer.abortIfApplicationAlreadyDeployed(AbstractDeployer.java:192) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

                    at org.rhq.plugins.jbossas5.deploy.AbstractDeployer.deploy(AbstractDeployer.java:89) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

                    at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createContentBasedResource(CreateChildResourceFacetDelegate.java:124) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

                    at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createResource(CreateChildResourceFacetDelegate.java:56) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

                    at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:304) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]

                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]

                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_24]

                    at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]

                    at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) [:3.0.0]

                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:1.6.0_24]

                    at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_24]

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

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

                    at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]

             

             

            2011-05-03 11:06:32,634 SEVERE [facelets.viewhandler] (http-10.1.108.79-8180-2) Error Rendering View[/secure/resourceContentCreate.xhtml]: java.util.ConcurrentModificationException

                    at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373) [:1.6.0_24]

                    at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:392) [:1.6.0_24]

                    at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:391) [:1.6.0_24]

                    at org.richfaces.model.TreeDataModel.doWalk(TreeDataModel.java:136) [:3.3.3.Final]

                    at org.richfaces.model.TreeDataModel.doWalk(TreeDataModel.java:154) [:3.3.3.Final]

                    at org.richfaces.model.TreeDataModel.doWalk(TreeDataModel.java:154) [:3.3.3.Final]

                    at org.richfaces.model.TreeDataModel.doWalk(TreeDataModel.java:154) [:3.3.3.Final]

                    at org.richfaces.model.TreeDataModel.walk(TreeDataModel.java:178) [:3.3.3.Final]

                    at org.richfaces.component.UITree.walk(UITree.java:422) [:3.3.3.Final]

                    at org.richfaces.renderkit.TreeRendererBase.writeContent(TreeRendererBase.java:683) [:3.3.3.Final]

                    at org.richfaces.renderkit.TreeRendererBase.encodeChildren(TreeRendererBase.java:629) [:3.3.3.Final]

                    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:849) [:2.0.3-]

                    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643) [:2.0.3-]

                    at javax.faces.render.Renderer.encodeChildren(Renderer.java:164) [:2.0.3-]

                    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:849) [:2.0.3-]

                    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643) [:2.0.3-]

                    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646) [:2.0.3-]

                    at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592) [:1.1.15.B1]

                    at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100) [:3.3.3.Final]

                    at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176) [:3.3.3.Final]

                    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117) [:2.0.3-]

                    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-]

                    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135) [:2.0.3-]

                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309) [:2.0.3-]

                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]

                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [:2.1.0.SP1]

                    at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38) [:2.1.0.SP1]

                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [:2.1.0.SP1]

                    at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:86) [:2.1.0.SP1]

                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [:2.1.0.SP1]

                    at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [:2.1.0.SP1]

                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [:2.1.0.SP1]

                    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [:2.1.0.SP1]

                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [:2.1.0.SP1]

                    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [:3.3.3.Final]

                    at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [:3.3.3.Final]

                    at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) [:3.3.3.Final]

                    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [:3.3.3.Final]

                    at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) [:2.1.0.SP1]

                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [:2.1.0.SP1]

                    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) [:2.1.0.SP1]

                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [:2.1.0.SP1]

                    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [:2.1.0.SP1]

                    at org.jboss.on.embedded.LazyStartupFilter.doFilter(LazyStartupFilter.java:87) [:1.4.0.SP2]

                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]

                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

                    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.Final]

                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.Final]

                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.Final]

                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]

                    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]

                    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]

                    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]

                    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final]

                    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]

                    at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]

                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]

                    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]

                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]

                    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]

                    at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]

             

             

            2011-05-03 12:40:20,710 ERROR [org.rhq.plugins.jbossas5.deploy.LocalDeployer] (ResourceContainer.invoker.nonDaemon-2) Error deploying application for request [CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service, name=Enterprise Application (EAR), plugin=JBossAS5]], ResourceKey=[null]].: org.jboss.profileservice.spi.NoSuchProfileException: Profile does not support deployment actions: ProfileKey@1a91606f[domain=default, server=default, name=applications]

                    at org.jboss.profileservice.management.upload.DeploymentManagerImpl.checkProfile(DeploymentManagerImpl.java:309) [:6.0.0.Final]

                    at org.jboss.profileservice.management.upload.DeploymentManagerImpl.loadProfile(DeploymentManagerImpl.java:218) [:6.0.0.Final]

                    at org.rhq.plugins.jbossas5.deploy.AbstractDeployer.deploy(AbstractDeployer.java:123) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

                    at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createContentBasedResource(CreateChildResourceFacetDelegate.java:124) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

                    at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createResource(CreateChildResourceFacetDelegate.java:56) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

                    at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:304) [jopr-jboss-as-5-plugin-3.0.0.jar:3.0.0]

                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]

                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]

                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_24]

                    at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]

                    at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) [:3.0.0]

                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:1.6.0_24]

                    at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_24]

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

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

                    at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]