4 Replies Latest reply on Jun 7, 2010 1:48 PM by clebert.suconic

    Jboss AS6 M3 woes with HornetQ

      I downloaded the 3rd milestone of the AS today.

       

      1st problem related to an error with Rich faces. I downloaded the 3.3.3 RF jar and updarted the lib folder with the files and that problem went away

       

      Current problem is with creating queues in the admin console

       

      The error when I try to add a new queue and hit Save is...

       

      Failed to add Resource (see app server log for additional details): java.lang.IllegalStateException:Failed to find template for: QueueTemplate

       

      13:57:09,949 ERROR [org.rhq.plugins.jbossas5.ApplicationServerComponent] Unable
      to process create request: java.lang.IllegalStateException: Failed to find templ
      ate for: QueueTemplate
              at org.jboss.profileservice.management.ManagementViewImpl.getTemplate(Ma
      nagementViewImpl.java:1397) [:6.0.0.20100429-M3]
              at org.rhq.plugins.jbossas5.ApplicationServerComponent.createConfigurati
      onBasedResource(ApplicationServerComponent.java:482) [jopr-jboss-as-5-plugin-3.0
      .0.B04.jar:3.0.0.B04]
              at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(Ap
      plicationServerComponent.java:338) [jopr-jboss-as-5-plugin-3.0.0.B04.jar:3.0.0.B
      04]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_2
      0]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39) [:1.6.0_20]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25) [:1.6.0_20]
              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_20]
              at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread
      .call(ResourceContainer.java:525) [:3.0.0.B04]
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:
      1.6.0_20]
              at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_20]
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886) [:1.6.0_20]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908) [:1.6.0_20]
              at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]

       

      13:57:09,949 WARN  [org.rhq.core.pc.inventory.CreateResourceRunner] Throwable wa
      s found in creation report for request [1]: java.lang.IllegalStateException: Fai
      led to find template for: QueueTemplate - Enable DEBUG logging to see the stack
      trace.
      13:57:09,949 INFO  [org.rhq.core.pc.inventory.CreateResourceRunner] Sending crea
      te response to server: CreateResourceResponse[RequestId=1, Status=Failure]

        • 1. Re: Jboss AS6 M3 woes with HornetQ
          clebert.suconic

          I believe there was an issue with the JOPR integration right before the release.

           

           

          As you are in development mode now, maybe you could use the AS trunk?

          • 2. Re: Jboss AS6 M3 woes with HornetQ
            timfox

            I should add, we had the console integration working fine when we left it.

             

            But someone (who shall remain nameless) in another team broke it right before the AS team cut the AS 6 M3 release....

            • 3. Re: Jboss AS6 M3 woes with HornetQ

              I downloaded the Development version from the SVN trunk today... Still cant add queues..

               

              Failed to add Resource (see app server log for additional details): org.jboss.profileservice.spi.NoSuchDeploymentException:Failed to find template for: QueueTemplate

               

              However

              if I run the Jboss AS 6 server from the bin/run.bat but have the JBOSS_HOME pointed to Jboss 5, then the queues show up in AS 5!

               

              <<See Attachment for Screenshot>>

              • 4. Re: Jboss AS6 M3 woes with HornetQ
                clebert.suconic

                I downloaded the Development version from the SVN trunk today... Still cant add queues..

                 

                Failed to add Resource (see app server log for additional details): org.jboss.profileservice.spi.NoSuchDeploymentException:Failed to find template for: QueueTemplate

                 

                 

                Really? :-/ ... We will raise an issue with the JOPR guys.

                 

                 

                However

                if I run the Jboss AS 6 server from the bin/run.bat but have the JBOSS_HOME pointed to Jboss 5, then the queues show up in AS 5!

                 

                 

                 

                if you set JBOSS_HOME to a different place ,then the run.sh will just use the JBoss from that location. in other words you are running AS5.