12 Replies Latest reply on Dec 4, 2008 9:19 AM by mazz

    Custom JMX Plugin fails with error: There is  no resource ty

    rafaelri

      I've followed the tutorial at http://management-platform.blogspot.com/2008/11/monitoring-custom-jmx-mbeans-with-jopr.html in order to monitor a custom mbean deployed on WebSphere AS.
      But everytime I try to deploy my custom plugin I get the following error message:

      org.rhq.core.clientapi.agent.metadata.InvalidPluginDescriptorException: There is
       no resource type named [JMX Server] from a plugin named [JMX]; please check the
      descriptor of type [GifeManagement]
      

      Even the jar file from http://support.rhq-project.org/download/attachments/2458612/custom-jmx-plugin-demo-code.zip?version=1 fail with the same exception.
      Does anyone knows if I am missing something or if there is any changes due to a Jopr version change?

      best regards,

        • 1. Re: Custom JMX Plugin fails with error: There is  no resourc
          mazz

          You are not the first person to mention this, but I have not seen this myself.

          Did you happen to hot deploy your new plugin while the server was running? We only recently fixed a bug in /trunk that fixes hot deployment.

          What happens if you restart your server?

          If you can't get it to work, I think this can quickly get it to work.

          1) shutdown the server
          2) reinstall in a new Jopr server from the distro
          3) immediately copy your new plugin to the rhq-plugins directory BEFORE you start the server
          4) run the server and point your browser to it. because its a new install, it should go to the installer UI. In there tell it to overwrite your old existing database schema - this purges the old database data).

          See if it works now.

          A few fixes went into trunk recently around hot deployment of plugins and around deploying new plugins that alter the type hierarchy - so if all else fails, you can try to build from trunk and use up to date code.

          Some recent fixes that went in related to this area of the code:

          http://jira.rhq-project.org/browse/RHQ-1086
          http://jira.rhq-project.org/browse/RHQ-1094
          http://jira.rhq-project.org/browse/RHQ-1203

          • 2. Re: Custom JMX Plugin fails with error: There is  no resourc
            rafaelri

            Mazz,

            I tried the way you suggested but it seems like there is a side effect of having the custom plugin in the folder before installing. Installer failed everytime (I tried 3 times).
            So I tried back without the plugin and it worked. But I guess we end up in the same scenario as before.

            • 3. Re: Custom JMX Plugin fails with error: There is  no resourc
              mazz

              What was the error? And are you perhaps on Windows and had that plugin jar opened or locked? The installer wants to rename rhq.ear.rej to rhq.ear, and if you have ANY files locked under there it will fail.

              It should not have failed and I can't see why it ever would fail if you simply just put another file under the rhq-plugins directory. Post any error messages you see in the server logs.

              • 4. Re: Custom JMX Plugin fails with error: There is  no resourc
                rafaelri

                Yes, I am on Windows but there isn't any file handles open I can assure you. I am copying the jar file with an ant task to avoid such problems.
                I am attaching the output from the prompt console:

                C:\opt\new5\jopr-server-2.1.0.GA\bin>set RHQ_SERVER_JAVA_HOME=c:\arquiv~1\java\j
                re6
                
                C:\opt\new5\jopr-server-2.1.0.GA\bin>rhq-server-console.bat
                
                C:\opt\new5\jopr-server-2.1.0.GA\bin>cd C:\opt\new5\jopr-server-2.1.0.GA\bin\
                
                C:\opt\new5\jopr-server-2.1.0.GA\bin>rhq-server.bat console
                --> Wrapper Started as Console
                Launching a JVM...
                Wrapper (Version 3.2.0) http://wrapper.tanukisoftware.org
                
                17:53:23,474 INFO [Server] Starting JBoss (MX MicroKernel)...
                17:53:23,474 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=
                JBoss_4_2_1_GA date=200707131605)
                17:53:23,474 INFO [Server] Home Dir: C:\opt\new5\jopr-server-2.1.0.GA\jbossas
                17:53:23,474 INFO [Server] Home URL: file:/C:/opt/new5/jopr-server-2.1.0.GA/jbo
                ssas/
                17:53:23,474 INFO [Server] Patch URL: null
                17:53:23,474 INFO [Server] Server Name: default
                17:53:23,474 INFO [Server] Server Home Dir: C:\opt\new5\jopr-server-2.1.0.GA\jb
                ossas\server\default
                17:53:23,474 INFO [Server] Server Home URL: file:/C:/opt/new5/jopr-server-2.1.0
                .GA/jbossas/server/default/
                17:53:23,474 INFO [Server] Server Log Dir: C:\opt\new5\jopr-server-2.1.0.GA\log
                s
                17:53:23,474 INFO [Server] Server Temp Dir: C:\opt\new5\jopr-server-2.1.0.GA\jb
                ossas\server\default\tmp
                17:53:23,474 INFO [Server] Root Deployment Filename: jboss-service.xml
                17:53:23,662 INFO [ServerInfo] Java version: 1.6.0_10,Sun Microsystems Inc.
                17:53:23,662 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 11.0-b15,Sun
                 Microsystems Inc.
                17:53:23,662 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
                17:53:23,849 INFO [Server] Core system initialized
                17:53:25,302 INFO [WebService] Using RMI server codebase: http://cpqd051728:909
                3/
                17:53:25,302 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
                ce:jboss-log4j.xml
                17:53:25,584 INFO [TransactionManagerService] JBossTS Transaction Service (JTA
                version) - JBoss Inc.
                17:53:25,584 INFO [TransactionManagerService] Setting up property manager MBean
                 and JMX layer
                17:53:25,756 INFO [TransactionManagerService] Starting recovery manager
                17:53:25,802 INFO [TransactionManagerService] Recovery manager started
                17:53:25,802 INFO [TransactionManagerService] Binding TransactionManager JNDI R
                eference
                17:53:29,209 INFO [EJB3Deployer] Starting java:comp multiplexer
                17:53:29,927 INFO [InterceptorChainFactory] interceptor chain is:
                class org.jboss.cache.interceptors.CallInterceptor
                class org.jboss.cache.interceptors.EvictionInterceptor
                class org.jboss.cache.interceptors.PessimisticLockInterceptor
                class org.jboss.cache.interceptors.UnlockInterceptor
                class org.jboss.cache.interceptors.ReplicationInterceptor
                class org.jboss.cache.interceptors.TxInterceptor
                class org.jboss.cache.interceptors.CacheMgmtInterceptor
                17:53:30,193 INFO [STDOUT]
                -------------------------------------------------------
                GMS: address is 127.0.0.1:2039
                -------------------------------------------------------
                17:53:32,209 INFO [TreeCache] viewAccepted(): [127.0.0.1:2039|0] [127.0.0.1:203
                9]
                17:53:32,224 INFO [TreeCache] TreeCache local address is 127.0.0.1:2039
                17:53:32,615 INFO [AprLifecycleListener] The Apache Tomcat Native library which
                 allows optimal performance in production environments was not found on the java
                .library.path: C:\opt\new5\jopr-server-2.1.0.GA/bin/wrapper/windows-x86_32
                17:53:32,662 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
                -7080
                17:53:32,881 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
                -7443
                17:53:32,881 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-9009
                
                17:53:32,881 INFO [Catalina] Initialization processed in 378 ms
                17:53:32,881 INFO [StandardService] Starting service jboss.web
                17:53:32,881 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.0.GA
                17:53:32,912 INFO [Catalina] Server startup in 33 ms
                17:53:32,974 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-w
                eb.deployer/ROOT.war/
                17:53:33,365 INFO [RtFilter] Initialized response-time filter for webapp with c
                ontext root 'ROOT'.
                17:53:33,427 INFO [TomcatDeployer] deploy, ctxPath=/juddi, warUrl=.../deploy/ju
                ddi-service.sar/juddi.war/
                17:53:33,506 INFO [RtFilter] Initialized response-time filter for webapp with c
                ontext root 'juddi'.
                17:53:33,506 INFO [RegistryServlet] Loading jUDDI configuration.
                17:53:33,506 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.prope
                rties
                17:53:33,506 INFO [RegistryServlet] Initializing jUDDI components.
                17:53:34,037 INFO [QuartzResourceAdapter] start quartz!!!
                17:53:34,084 INFO [SimpleThreadPool] Job execution threads will use class loade
                r of thread: main
                17:53:34,099 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
                17:53:34,099 INFO [RAMJobStore] RAMJobStore initialized.
                17:53:34,099 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzSchedule
                r' initialized from default resource file in Quartz package: 'quartz.properties'
                
                17:53:34,099 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
                17:53:34,099 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS
                TERED started.
                17:53:34,427 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
                oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
                17:53:34,552 INFO [TomcatDeployer] deploy, ctxPath=/installer, warUrl=.../deplo
                y/rhq-installer.war/
                17:53:34,990 INFO [RtFilter] Initialized response-time filter for webapp with c
                ontext root 'installer'.
                17:53:35,006 INFO [EARDeployer] Init J2EE application: file:/C:/opt/new5/jopr-s
                erver-2.1.0.GA/jbossas/server/default/deploy/rhq.ear/
                17:53:35,006 ERROR [MainDeployer] Could not initialise deployment: file:/C:/opt/
                new5/jopr-server-2.1.0.GA/jbossas/server/default/deploy/rhq.ear/
                org.jboss.deployment.DeploymentException: No META-INF/application.xml found
                 at org.jboss.deployment.EARDeployer.init(EARDeployer.java:146)
                 at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                 at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                er.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                or.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                BeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy9.deploy(Unknown Source)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
                tScanner.java:421)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
                canner.java:634)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                doScan(AbstractDeploymentScanner.java:263)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
                bstractDeploymentScanner.java:336)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
                upport.java:289)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
                eanSupport.java:245)
                 at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                er.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
                ler.java:978)
                 at $Proxy0.start(Unknown Source)
                 at org.jboss.system.ServiceController.start(ServiceController.java:417)
                 at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                er.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy4.start(Unknown Source)
                 at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                er.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                or.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                BeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy5.deploy(Unknown Source)
                 at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                 at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                 at org.jboss.Main.boot(Main.java:200)
                 at org.jboss.Main$1.run(Main.java:508)
                 at java.lang.Thread.run(Unknown Source)
                17:53:35,099 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
                
                --- Incompletely deployed packages ---
                org.jboss.deployment.DeploymentInfo@bb2357e0 { url=file:/C:/opt/new5/jopr-server
                -2.1.0.GA/jbossas/server/default/deploy/rhq.ear/ }
                 deployer: org.jboss.deployment.EARDeployer@831a91
                 status: null
                 state: FAILED
                 watch: file:/C:/opt/new5/jopr-server-2.1.0.GA/jbossas/server/default/deploy/rh
                q.ear/
                 altDD: null
                 lastDeployed: 1228334015006
                 lastModified: 1228333995505
                 mbeans:
                
                
                17:53:35,146 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-708
                0
                17:53:35,162 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-744
                3
                17:53:35,162 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-9009
                17:53:35,162 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBos
                s_4_2_1_GA date=200707131605)] Started in 11s:688ms
                17:54:54,131 INFO [RtFilter] -- Filter openFile: Writing response-time log for
                webapp with context root 'ROOT' to 'C:\opt\new5\jopr-server-2.1.0.GA\jbossas\ser
                ver\default\log\rt\ROOT_rt.log' (hashCode=14172956)...
                17:54:55,678 INFO [RtFilter] -- Filter openFile: Writing response-time log for
                webapp with context root 'installer' to 'C:\opt\new5\jopr-server-2.1.0.GA\jbossa
                s\server\default\log\rt\installer_rt.log' (hashCode=32434925)...
                17:54:57,912 INFO [ConfigurationBean] Could not determine database existence: o
                rg.postgresql.util.PSQLException: FATAL: password authentication failed for user
                 "rhqadmin"
                17:54:57,944 INFO [ConfigurationBean] Could not determine database existence: o
                rg.postgresql.util.PSQLException: FATAL: password authentication failed for user
                 "rhqadmin"
                17:54:57,975 INFO [ConfigurationBean] Could not determine database existence: o
                rg.postgresql.util.PSQLException: FATAL: password authentication failed for user
                 "rhqadmin"
                17:55:06,444 INFO [ConfigurationBean] Could not determine database existence: o
                rg.postgresql.util.PSQLException: FATAL: password authentication failed for user
                 "rhqadmin"
                17:55:06,459 INFO [ConfigurationBean] Could not determine database existence: o
                rg.postgresql.util.PSQLException: FATAL: password authentication failed for user
                 "rhqadmin"
                17:55:06,491 INFO [ConfigurationBean] Could not determine database existence: o
                rg.postgresql.util.PSQLException: FATAL: password authentication failed for user
                 "rhqadmin"
                17:55:06,522 INFO [ConfigurationBean] Could not determine database existence: o
                rg.postgresql.util.PSQLException: FATAL: password authentication failed for user
                 "rhqadmin"
                17:55:06,881 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_ALERT_NOTIFICATION] or one of its sequences. Cause: ErrorCode=[0]; SQLState=
                [42P01]; Message=[ERROR: sequence "rhq_alert_notification_id_seq" does not exist
                ]; Type=[org.postgresql.util.PSQLException]
                17:55:06,881 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_ALERT_CONDITION_LOG] or one of its sequences. Cause: ErrorCode=[0]; SQLState
                =[42P01]; Message=[ERROR: sequence "rhq_alert_condition_log_id_seq" does not exi
                st]; Type=[org.postgresql.util.PSQLException]
                17:55:06,881 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_ALERT_NOTIF_LOG] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42
                P01]; Message=[ERROR: sequence "rhq_alert_notif_log_id_seq" does not exist]; Typ
                e=[org.postgresql.util.PSQLException]
                17:55:06,881 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_ALERT] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01]; Mess
                age=[ERROR: sequence "rhq_alert_id_seq" does not exist]; Type=[org.postgresql.ut
                il.PSQLException]
                17:55:06,881 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_ALERT_CONDITION] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42
                P01]; Message=[ERROR: sequence "rhq_alert_condition_id_seq" does not exist]; Typ
                e=[org.postgresql.util.PSQLException]
                17:55:06,881 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_ALERT_DAMPEN_EVENT] or one of its sequences. Cause: ErrorCode=[0]; SQLState=
                [42P01]; Message=[ERROR: sequence "rhq_alert_dampen_event_id_seq" does not exist
                ]; Type=[org.postgresql.util.PSQLException]
                17:55:06,881 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_ALERT_DEFINITION] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[4
                2P01]; Message=[ERROR: sequence "rhq_alert_definition_id_seq" does not exist]; T
                ype=[org.postgresql.util.PSQLException]
                17:55:06,881 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_EVENT] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01]; Mess
                age=[ERROR: sequence "rhq_event_id_seq" does not exist]; Type=[org.postgresql.ut
                il.PSQLException]
                17:55:06,881 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_EVENT_SOURCE] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01
                ]; Message=[ERROR: sequence "rhq_event_source_id_seq" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:06,881 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_EVENT_DEF] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01];
                Message=[ERROR: sequence "rhq_event_def_id_seq" does not exist]; Type=[org.postg
                resql.util.PSQLException]
                17:55:06,897 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_DELETE_RES_HIST] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42
                P01]; Message=[ERROR: sequence "rhq_delete_res_hist_id_seq" does not exist]; Typ
                e=[org.postgresql.util.PSQLException]
                17:55:06,897 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CREATE_RES_HIST] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42
                P01]; Message=[ERROR: sequence "rhq_create_res_hist_id_seq" does not exist]; Typ
                e=[org.postgresql.util.PSQLException]
                17:55:06,897 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_PKG_PRD_MAP] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01]
                ; Message=[ERROR: table "rhq_pkg_prd_map" does not exist]; Type=[org.postgresql.
                util.PSQLException]
                17:55:06,897 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_PKG_VER_CONTENT_SRC_MAP] or one of its sequences. Cause: ErrorCode=[0]; SQLS
                tate=[42P01]; Message=[ERROR: table "rhq_pkg_ver_content_src_map" does not exist
                ]; Type=[org.postgresql.util.PSQLException]
                17:55:06,897 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CHANNEL_PKG_VERSION_MAP] or one of its sequences. Cause: ErrorCode=[0]; SQLS
                tate=[42P01]; Message=[ERROR: table "rhq_channel_pkg_version_map" does not exist
                ]; Type=[org.postgresql.util.PSQLException]
                17:55:06,944 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CHANNEL_CONTENT_SRC_MAP] or one of its sequences. Cause: ErrorCode=[0]; SQLS
                tate=[42P01]; Message=[ERROR: table "rhq_channel_content_src_map" does not exist
                ]; Type=[org.postgresql.util.PSQLException]
                17:55:06,944 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CHANNEL_RESOURCE_MAP] or one of its sequences. Cause: ErrorCode=[0]; SQLStat
                e=[42P01]; Message=[ERROR: table "rhq_channel_resource_map" does not exist]; Typ
                e=[org.postgresql.util.PSQLException]
                17:55:06,944 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_PACKAGE_INST_STEP] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: sequence "rhq_package_inst_step_id_seq" does not exist];
                 Type=[org.postgresql.util.PSQLException]
                17:55:06,944 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CONTENT_SRC_SYNC] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[4
                2P01]; Message=[ERROR: sequence "rhq_content_src_sync_id_seq" does not exist]; T
                ype=[org.postgresql.util.PSQLException]
                17:55:06,944 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_INSTALLED_PKG_HIST] or one of its sequences. Cause: ErrorCode=[0]; SQLState=
                [42P01]; Message=[ERROR: sequence "rhq_installed_pkg_hist_id_seq" does not exist
                ]; Type=[org.postgresql.util.PSQLException]
                17:55:06,944 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_INSTALLED_PACKAGE] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: sequence "rhq_installed_package_id_seq" does not exist];
                 Type=[org.postgresql.util.PSQLException]
                17:55:06,944 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CONTENT_REQ] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01]
                ; Message=[ERROR: sequence "rhq_content_req_id_seq" does not exist]; Type=[org.p
                ostgresql.util.PSQLException]
                17:55:06,959 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_PACKAGE_VERSION] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42
                P01]; Message=[ERROR: sequence "rhq_package_version_id_seq" does not exist]; Typ
                e=[org.postgresql.util.PSQLException]
                17:55:06,959 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_PACKAGE_BITS] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01
                ]; Message=[ERROR: sequence "rhq_package_bits_id_seq" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:06,959 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_PACKAGE] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01]; Me
                ssage=[ERROR: sequence "rhq_package_id_seq" does not exist]; Type=[org.postgresq
                l.util.PSQLException]
                17:55:06,959 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_PACKAGE_TYPE] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01
                ]; Message=[ERROR: sequence "rhq_package_type_id_seq" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:06,959 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CHANNEL] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01]; Me
                ssage=[ERROR: sequence "rhq_channel_id_seq" does not exist]; Type=[org.postgresq
                l.util.PSQLException]
                17:55:06,959 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CONTENT_SOURCE] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P
                01]; Message=[ERROR: sequence "rhq_content_source_id_seq" does not exist]; Type=
                [org.postgresql.util.PSQLException]
                17:55:06,959 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CONTENT_SOURCE_TYPE] or one of its sequences. Cause: ErrorCode=[0]; SQLState
                =[42P01]; Message=[ERROR: sequence "rhq_content_source_type_id_seq" does not exi
                st]; Type=[org.postgresql.util.PSQLException]
                17:55:06,959 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_ARCHITECTURE] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01
                ]; Message=[ERROR: sequence "rhq_architecture_id_seq" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:06,959 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEAS_DATA_NUM_R14] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: table "rhq_meas_data_num_r14" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:06,959 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEAS_DATA_NUM_R13] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: table "rhq_meas_data_num_r13" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEAS_DATA_NUM_R12] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: table "rhq_meas_data_num_r12" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEAS_DATA_NUM_R11] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: table "rhq_meas_data_num_r11" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEAS_DATA_NUM_R10] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: table "rhq_meas_data_num_r10" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEAS_DATA_NUM_R09] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: table "rhq_meas_data_num_r09" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEAS_DATA_NUM_R08] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: table "rhq_meas_data_num_r08" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEAS_DATA_NUM_R07] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: table "rhq_meas_data_num_r07" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEAS_DATA_NUM_R06] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: table "rhq_meas_data_num_r06" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEAS_DATA_NUM_R05] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: table "rhq_meas_data_num_r05" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEAS_DATA_NUM_R04] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: table "rhq_meas_data_num_r04" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEAS_DATA_NUM_R03] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: table "rhq_meas_data_num_r03" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEAS_DATA_NUM_R02] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: table "rhq_meas_data_num_r02" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEAS_DATA_NUM_R01] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: table "rhq_meas_data_num_r01" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEAS_DATA_NUM_R00] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: table "rhq_meas_data_num_r00" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_NUMBERS] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01]; Me
                ssage=[ERROR: sequence "rhq_numbers_i_seq" does not exist]; Type=[org.postgresql
                .util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEASUREMENT_OOB] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42
                P01]; Message=[ERROR: sequence "rhq_measurement_oob_id_seq" does not exist]; Typ
                e=[org.postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_AVAILABILITY] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01
                ]; Message=[ERROR: sequence "rhq_availability_id_seq" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,053 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CALLTIME_DATA_VALUE] or one of its sequences. Cause: ErrorCode=[0]; SQLState
                =[42P01]; Message=[ERROR: sequence "rhq_calltime_data_value_id_seq" does not exi
                st]; Type=[org.postgresql.util.PSQLException]
                17:55:07,147 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CALLTIME_DATA_KEY] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: sequence "rhq_calltime_data_key_id_seq" does not exist];
                 Type=[org.postgresql.util.PSQLException]
                17:55:07,147 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEASUREMENT_DATA_TRAIT] or one of its sequences. Cause: ErrorCode=[0]; SQLSt
                ate=[42P01]; Message=[ERROR: table "rhq_measurement_data_trait" does not exist];
                 Type=[org.postgresql.util.PSQLException]
                17:55:07,147 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEASUREMENT_DATA_NUM_1D] or one of its sequences. Cause: ErrorCode=[0]; SQLS
                tate=[42P01]; Message=[ERROR: table "rhq_measurement_data_num_1d" does not exist
                ]; Type=[org.postgresql.util.PSQLException]
                17:55:07,147 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEASUREMENT_DATA_NUM_6H] or one of its sequences. Cause: ErrorCode=[0]; SQLS
                tate=[42P01]; Message=[ERROR: table "rhq_measurement_data_num_6h" does not exist
                ]; Type=[org.postgresql.util.PSQLException]
                17:55:07,147 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEASUREMENT_DATA_NUM_1H] or one of its sequences. Cause: ErrorCode=[0]; SQLS
                tate=[42P01]; Message=[ERROR: table "rhq_measurement_data_num_1h" does not exist
                ]; Type=[org.postgresql.util.PSQLException]
                17:55:07,147 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEASUREMENT_BLINE] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: sequence "rhq_measurement_bline_id_seq" does not exist];
                 Type=[org.postgresql.util.PSQLException]
                17:55:07,147 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEASUREMENT_SCHED] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: sequence "rhq_measurement_sched_id_seq" does not exist];
                 Type=[org.postgresql.util.PSQLException]
                17:55:07,162 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_MEASUREMENT_DEF] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42
                P01]; Message=[ERROR: sequence "rhq_measurement_def_id_seq" does not exist]; Typ
                e=[org.postgresql.util.PSQLException]
                17:55:07,162 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_PLUGIN] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01]; Mes
                sage=[ERROR: sequence "rhq_plugin_id_seq" does not exist]; Type=[org.postgresql.
                util.PSQLException]
                17:55:07,162 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_QRTZ_LOCKS] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01];
                 Message=[ERROR: table "rhq_qrtz_locks" does not exist]; Type=[org.postgresql.ut
                il.PSQLException]
                17:55:07,162 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_QRTZ_SCHEDULER_STATE] or one of its sequences. Cause: ErrorCode=[0]; SQLStat
                e=[42P01]; Message=[ERROR: table "rhq_qrtz_scheduler_state" does not exist]; Typ
                e=[org.postgresql.util.PSQLException]
                17:55:07,162 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_QRTZ_PAUSED_TRIGGER_GRPS] or one of its sequences. Cause: ErrorCode=[0]; SQL
                State=[42P01]; Message=[ERROR: table "rhq_qrtz_paused_trigger_grps" does not exi
                st]; Type=[org.postgresql.util.PSQLException]
                17:55:07,162 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_QRTZ_CALENDARS] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P
                01]; Message=[ERROR: table "rhq_qrtz_calendars" does not exist]; Type=[org.postg
                resql.util.PSQLException]
                17:55:07,162 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_QRTZ_FIRED_TRIGGERS] or one of its sequences. Cause: ErrorCode=[0]; SQLState
                =[42P01]; Message=[ERROR: table "rhq_qrtz_fired_triggers" does not exist]; Type=
                [org.postgresql.util.PSQLException]
                17:55:07,162 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_QRTZ_TRIGGER_LISTENERS] or one of its sequences. Cause: ErrorCode=[0]; SQLSt
                ate=[42P01]; Message=[ERROR: table "rhq_qrtz_trigger_listeners" does not exist];
                 Type=[org.postgresql.util.PSQLException]
                17:55:07,256 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_QRTZ_BLOB_TRIGGERS] or one of its sequences. Cause: ErrorCode=[0]; SQLState=
                [42P01]; Message=[ERROR: table "rhq_qrtz_blob_triggers" does not exist]; Type=[o
                rg.postgresql.util.PSQLException]
                17:55:07,256 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_QRTZ_CRON_TRIGGERS] or one of its sequences. Cause: ErrorCode=[0]; SQLState=
                [42P01]; Message=[ERROR: table "rhq_qrtz_cron_triggers" does not exist]; Type=[o
                rg.postgresql.util.PSQLException]
                17:55:07,256 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_QRTZ_SIMPLE_TRIGGERS] or one of its sequences. Cause: ErrorCode=[0]; SQLStat
                e=[42P01]; Message=[ERROR: table "rhq_qrtz_simple_triggers" does not exist]; Typ
                e=[org.postgresql.util.PSQLException]
                17:55:07,256 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_QRTZ_TRIGGERS] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P0
                1]; Message=[ERROR: table "rhq_qrtz_triggers" does not exist]; Type=[org.postgre
                sql.util.PSQLException]
                17:55:07,256 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_QRTZ_JOB_LISTENERS] or one of its sequences. Cause: ErrorCode=[0]; SQLState=
                [42P01]; Message=[ERROR: table "rhq_qrtz_job_listeners" does not exist]; Type=[o
                rg.postgresql.util.PSQLException]
                17:55:07,256 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_QRTZ_JOB_DETAILS] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[4
                2P01]; Message=[ERROR: table "rhq_qrtz_job_details" does not exist]; Type=[org.p
                ostgresql.util.PSQLException]
                17:55:07,256 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_SYSTEM_CONFIG] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P0
                1]; Message=[ERROR: sequence "rhq_system_config_id_seq" does not exist]; Type=[o
                rg.postgresql.util.PSQLException]
                17:55:07,256 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_OPERATION_SCHEDULE] or one of its sequences. Cause: ErrorCode=[0]; SQLState=
                [42P01]; Message=[ERROR: table "rhq_operation_schedule" does not exist]; Type=[o
                rg.postgresql.util.PSQLException]
                17:55:07,256 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_OPERATION_HISTORY] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: sequence "rhq_operation_history_id_seq" does not exist];
                 Type=[org.postgresql.util.PSQLException]
                17:55:07,256 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_OPERATION_DEF] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P0
                1]; Message=[ERROR: sequence "rhq_operation_def_id_seq" does not exist]; Type=[o
                rg.postgresql.util.PSQLException]
                17:55:07,272 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_SUBJECT_ROLE_MAP] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[4
                2P01]; Message=[ERROR: table "rhq_subject_role_map" does not exist]; Type=[org.p
                ostgresql.util.PSQLException]
                17:55:07,272 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_SUBJECT] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01]; Me
                ssage=[ERROR: sequence "rhq_subject_id_seq" does not exist]; Type=[org.postgresq
                l.util.PSQLException]
                17:55:07,272 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_PERMISSION] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01];
                 Message=[ERROR: table "rhq_permission" does not exist]; Type=[org.postgresql.ut
                il.PSQLException]
                17:55:07,272 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_ROLE_RESOURCE_GROUP_MAP] or one of its sequences. Cause: ErrorCode=[0]; SQLS
                tate=[42P01]; Message=[ERROR: table "rhq_role_resource_group_map" does not exist
                ]; Type=[org.postgresql.util.PSQLException]
                17:55:07,272 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_ROLE] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01]; Messa
                ge=[ERROR: sequence "rhq_role_id_seq" does not exist]; Type=[org.postgresql.util
                .PSQLException]
                17:55:07,272 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_PRINCIPAL] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01];
                Message=[ERROR: sequence "rhq_principal_id_seq" does not exist]; Type=[org.postg
                resql.util.PSQLException]
                17:55:07,272 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CONFIG_UPDATE] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P0
                1]; Message=[ERROR: sequence "rhq_config_update_id_seq" does not exist]; Type=[o
                rg.postgresql.util.PSQLException]
                17:55:07,287 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CONFIG_GROUP_UPDATE] or one of its sequences. Cause: ErrorCode=[0]; SQLState
                =[42P01]; Message=[ERROR: sequence "rhq_config_group_update_id_seq" does not exi
                st]; Type=[org.postgresql.util.PSQLException]
                17:55:07,287 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_RESOURCE_GROUP_RES_EXP_MAP] or one of its sequences. Cause: ErrorCode=[0]; S
                QLState=[42P01]; Message=[ERROR: table "rhq_resource_group_res_exp_map" does not
                 exist]; Type=[org.postgresql.util.PSQLException]
                17:55:07,287 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_RESOURCE_GROUP_RES_IMP_MAP] or one of its sequences. Cause: ErrorCode=[0]; S
                QLState=[42P01]; Message=[ERROR: table "rhq_resource_group_res_imp_map" does not
                 exist]; Type=[org.postgresql.util.PSQLException]
                17:55:07,287 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_RESOURCE_GROUP] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P
                01]; Message=[ERROR: sequence "rhq_resource_group_id_seq" does not exist]; Type=
                [org.postgresql.util.PSQLException]
                17:55:07,303 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_GROUP_DEF] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01];
                Message=[ERROR: sequence "rhq_group_def_id_seq" does not exist]; Type=[org.postg
                resql.util.PSQLException]
                17:55:07,303 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_RESOURCE_ERROR] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P
                01]; Message=[ERROR: sequence "rhq_resource_error_id_seq" does not exist]; Type=
                [org.postgresql.util.PSQLException]
                17:55:07,303 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_RESOURCE] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01]; M
                essage=[ERROR: sequence "rhq_resource_id_seq" does not exist]; Type=[org.postgre
                sql.util.PSQLException]
                17:55:07,303 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_PRD_VER] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01]; Me
                ssage=[ERROR: sequence "rhq_prd_ver_id_seq" does not exist]; Type=[org.postgresq
                l.util.PSQLException]
                17:55:07,303 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_PROCESS_SCAN] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01
                ]; Message=[ERROR: sequence "rhq_process_scan_id_seq" does not exist]; Type=[org
                .postgresql.util.PSQLException]
                17:55:07,303 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_RESOURCE_TYPE_PARENTS] or one of its sequences. Cause: ErrorCode=[0]; SQLSta
                te=[42P01]; Message=[ERROR: table "rhq_resource_type_parents" does not exist]; T
                ype=[org.postgresql.util.PSQLException]
                17:55:07,303 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_RESOURCE_SUBCAT] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42
                P01]; Message=[ERROR: sequence "rhq_resource_subcat_id_seq" does not exist]; Typ
                e=[org.postgresql.util.PSQLException]
                17:55:07,303 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_RESOURCE_TYPE] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P0
                1]; Message=[ERROR: sequence "rhq_resource_type_id_seq" does not exist]; Type=[o
                rg.postgresql.util.PSQLException]
                17:55:07,303 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_FAILOVER_DETAILS] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[4
                2P01]; Message=[ERROR: sequence "rhq_failover_details_id_seq" does not exist]; T
                ype=[org.postgresql.util.PSQLException]
                17:55:07,319 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_FAILOVER_LIST] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P0
                1]; Message=[ERROR: sequence "rhq_failover_list_id_seq" does not exist]; Type=[o
                rg.postgresql.util.PSQLException]
                17:55:07,319 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_PARTITION_DETAILS] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[
                42P01]; Message=[ERROR: sequence "rhq_partition_details_id_seq" does not exist];
                 Type=[org.postgresql.util.PSQLException]
                17:55:07,319 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_PARTITION_EVENT] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42
                P01]; Message=[ERROR: sequence "rhq_partition_event_id_seq" does not exist]; Typ
                e=[org.postgresql.util.PSQLException]
                17:55:07,319 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_AGENT] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01]; Mess
                age=[ERROR: sequence "rhq_agent_id_seq" does not exist]; Type=[org.postgresql.ut
                il.PSQLException]
                17:55:07,319 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_SERVER] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01]; Mes
                sage=[ERROR: sequence "rhq_server_id_seq" does not exist]; Type=[org.postgresql.
                util.PSQLException]
                17:55:07,319 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_AFFINITY_GROUP] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P
                01]; Message=[ERROR: sequence "rhq_affinity_group_id_seq" does not exist]; Type=
                [org.postgresql.util.PSQLException]
                17:55:07,319 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CONFIG_TEMPLATE] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42
                P01]; Message=[ERROR: sequence "rhq_config_template_id_seq" does not exist]; Typ
                e=[org.postgresql.util.PSQLException]
                17:55:07,319 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CONFIG_PROPERTY] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42
                P01]; Message=[ERROR: sequence "rhq_config_property_id_seq" does not exist]; Typ
                e=[org.postgresql.util.PSQLException]
                17:55:07,319 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CONFIG] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01]; Mes
                sage=[ERROR: sequence "rhq_config_id_seq" does not exist]; Type=[org.postgresql.
                util.PSQLException]
                17:55:07,319 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CONFIG_PROP_CONSTR] or one of its sequences. Cause: ErrorCode=[0]; SQLState=
                [42P01]; Message=[ERROR: sequence "rhq_config_prop_constr_id_seq" does not exist
                ]; Type=[org.postgresql.util.PSQLException]
                17:55:07,319 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CONF_PROP_DEF_ENUM] or one of its sequences. Cause: ErrorCode=[0]; SQLState=
                [42P01]; Message=[ERROR: sequence "rhq_conf_prop_def_enum_id_seq" does not exist
                ]; Type=[org.postgresql.util.PSQLException]
                17:55:07,334 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CONFIG_PROP_DEF] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42
                P01]; Message=[ERROR: sequence "rhq_config_prop_def_id_seq" does not exist]; Typ
                e=[org.postgresql.util.PSQLException]
                17:55:07,334 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CONFIG_PROP_GRP_DEF] or one of its sequences. Cause: ErrorCode=[0]; SQLState
                =[42P01]; Message=[ERROR: sequence "rhq_config_prop_grp_def_id_seq" does not exi
                st]; Type=[org.postgresql.util.PSQLException]
                17:55:07,334 ERROR [DBSetup] {DBSetup.dropped-table-error}Failed to drop table [
                RHQ_CONFIG_DEF] or one of its sequences. Cause: ErrorCode=[0]; SQLState=[42P01];
                 Message=[ERROR: sequence "rhq_config_def_id_seq" does not exist]; Type=[org.pos
                tgresql.util.PSQLException]
                17:55:07,334 INFO [DBSetup] {DBSetup.uninstall.views.dropped}[0] views dropped
                successfully.
                17:55:07,334 INFO [DBSetup] {DBSetup.uninstall.tables.dropped}[0] tables droppe
                d successfully.
                17:55:07,334 INFO [DBSetup] {DBSetup.uninstall.views.failed}[0] views failed to
                 drop.
                17:55:07,334 INFO [DBSetup] {DBSetup.uninstall.tables.failed}[108] tables faile
                d to drop.
                17:55:20,709 INFO [DBSetup] {DBSetup.setup.tables.created}[108] tables created
                successfully
                17:55:20,709 INFO [DBSetup] {DBSetup.setup.indexes.created}[57] indexes created
                 successfully
                17:55:20,709 INFO [DBSetup] {DBSetup.setup.views.created}[0] views created succ
                essfully
                17:55:21,053 INFO [DBSetup] {DBSetup.setup.tables.created}[0] tables created su
                ccessfully
                17:55:21,053 INFO [DBSetup] {DBSetup.setup.indexes.created}[0] indexes created
                successfully
                17:55:21,053 INFO [DBSetup] {DBSetup.setup.views.created}[0] views created succ
                essfully
                17:55:25,647 WARN [TreeCache] Calls to setFetchStateOnStartup are ignored; conf
                igure state transfer using setFetchInMemoryState and any cache loader's FetchPer
                sistentState property
                17:55:25,647 INFO [InterceptorChainFactory] interceptor chain is:
                class org.jboss.cache.interceptors.CallInterceptor
                class org.jboss.cache.interceptors.OptimisticNodeInterceptor
                class org.jboss.cache.interceptors.OptimisticCreateIfNotExistsInterceptor
                class org.jboss.cache.interceptors.OptimisticValidatorInterceptor
                class org.jboss.cache.interceptors.OptimisticLockingInterceptor
                class org.jboss.cache.interceptors.OptimisticReplicationInterceptor
                class org.jboss.cache.interceptors.TxInterceptor
                class org.jboss.cache.interceptors.CacheMgmtInterceptor
                17:55:25,678 INFO [STDOUT]
                -------------------------------------------------------
                GMS: address is 127.0.0.1:2073
                -------------------------------------------------------
                17:55:27,678 INFO [TreeCache] viewAccepted(): [127.0.0.1:2073|0] [127.0.0.1:207
                3]
                17:55:27,678 INFO [TreeCache] TreeCache local address is 127.0.0.1:2073
                17:55:27,678 INFO [TreeCache] State could not be retrieved (we are the first me
                mber in group)
                17:55:27,881 INFO [MailService] Mail Service bound to java:/Mail
                17:55:28,131 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
                oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
                17:55:28,225 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
                oss.jca:service=DataSourceBinding,name=RHQDS' to JNDI name 'java:RHQDS'
                17:55:28,694 INFO [AlertConditionQueue] Bound to JNDI name: queue/AlertConditio
                nQueue
                17:55:28,694 INFO [OutOfBoundsConditionQueue] Bound to JNDI name: queue/OutOfBo
                undsConditionQueue
                17:55:28,709 INFO [DLQ] Bound to JNDI name: queue/DLQ
                17:55:28,725 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
                oss.jca:service=DataSourceBinding,name=NoTxRHQDS' to JNDI name 'java:NoTxRHQDS'
                17:55:28,725 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
                
                --- Incompletely deployed packages ---
                org.jboss.deployment.DeploymentInfo@bb2357e0 { url=file:/C:/opt/new5/jopr-server
                -2.1.0.GA/jbossas/server/default/deploy/rhq.ear/ }
                 deployer: org.jboss.deployment.EARDeployer@831a91
                 status: null
                 state: FAILED
                 watch: file:/C:/opt/new5/jopr-server-2.1.0.GA/jbossas/server/default/deploy/rh
                q.ear/
                 altDD: null
                 lastDeployed: 1228334015006
                 lastModified: 1228333995505
                 mbeans:
                


                It then gets stuck at the browser window with:

                Welcome to Jopr!

                Jopr will be installed!
                ...
                Starting up, please wait...

                and server console gets stuck as well where I've shown you.

                regards,

                • 5. Re: Custom JMX Plugin fails with error: There is  no resourc
                  mazz

                   

                  Could not initialise deployment: file:/C:/opt/new5/jopr-server-2.1.0.GA/jbossas/server/default/deploy/rhq.ear/


                  Something is wrong with your .ear. I have never seen that error before.

                  Where do you copy your plugin jar?

                  It should go in:

                  /C:/opt/new5/jopr-server-2.1.0.GA/jbossas/server/default/deploy/rhq.ear/rhq-downloads/rhq-plugins



                  • 6. Re: Custom JMX Plugin fails with error: There is  no resourc
                    rafaelri

                    That's exactly where I am placing it ;)
                    I am not at work anymore, otherwise I could paste here the 3 files I've set for my project:
                    - build.xml
                    - build.properties_defaults
                    - rhq-plugin.xml
                    So you could have the exact idea of how I am attempting to do this.
                    But reinforcing what I said... Yes :D that's where I am placing... I had exactly the same feeling as you... gosh... it shouldn't have stopped working... I guess you already noticed the folder name "new5" ... I even tried not to replace the previous one and risk reusing an old installation, so... I tried it loads of time with fresh new postgres db instances and installations...
                    And mazz... I have one curiosity... I saw the rhq project and had a deja vu... the projects are related, right? or should I say... some kind of twins?

                    • 7. Re: Custom JMX Plugin fails with error: There is  no resourc
                      mazz

                       

                      I saw the rhq project and had a deja vu... the projects are related, right


                      RHQ is the upstream to Jopr.

                      See the FAQ "What is the difference between JON, RHQ and Jopr?":

                      https://docs.jbosson.redhat.com/confluence/display/JON2/08.+FAQ#08.FAQ-WhatisthedifferencebetweenJON%2CRHQandJopr%3F

                      • 8. Re: Custom JMX Plugin fails with error: There is  no resourc
                        mazz

                        Back to your error:

                        17:53:35,006 ERROR [MainDeployer] Could not initialise deployment: file:/C:/opt/new5/jopr-server-2.1.0.GA/jbossas/server/default/deploy/rhq.ear/
                        org.jboss.deployment.DeploymentException: No META-INF/application.xml found


                        This is saying you don't have META-INF/application.xml in that rhq.ear directory. Can you confirm that you do? Obviously, that should be there.



                        • 9. Re: Custom JMX Plugin fails with error: There is  no resourc
                          rafaelri

                          Hi Mazz...

                          The problem was that I was placing the file at

                          /jopr-server-2.1.0.GA/jbossas/server/default/deploy/rhq.ear/rhq-downloads/rhq-plugins

                          prior to installing, then when installer tried to rename
                          /jopr-server-2.1.0.GA/jbossas/server/default/deploy/rhq.ear.rej to /jopr-server-2.1.0.GA/jbossas/server/default/deploy/rhq.ear the directory was already there.
                          So now I am installing the plugin prior to installation at
                          /jopr-server-2.1.0.GA/jbossas/server/default/deploy/rhq.ear.rej/rhq-downloads/rhq-plugins
                          and letting the installer rename it to the final directory... now the plugin is getting deployed fine. I'll check now if I am able to lookup the MBean at WAS.

                          • 10. Re: Custom JMX Plugin fails with error: There is  no resourc
                            rafaelri

                            Mazz!

                            The plugin installed just fine now:

                            10:00:11,142 INFO [ProductPluginDeployer] Deploying RHQ plugin GifeJmx (Gife JM
                            X Plugin), version 1.0...
                            

                            but I could not lookup the MBean on the WAS server. It did not show on the agent list, but I think this deserves a new thread.
                            I'll open a new one. Tks a lot for helping on this first problem resolution!

                            • 11. Re: Custom JMX Plugin fails with error: There is  no resourc
                              rafaelri

                              Hi Mazz!

                              Plugin installation is fine now but still it does not show on console.
                              I've open a separate thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194343 for the next issue.

                              regards!

                              • 12. Re: Custom JMX Plugin fails with error: There is  no resourc
                                mazz

                                Oppss... I can't believe I didn't think to tell you that!

                                Yes, when you unzip the distro, the EAR is not yet deployed, hence it has .rej at the end of the directory name (that tells the JBossAS deployer to "reject" it, i.e. not deploy it).

                                After you tell the installer the rest of the settings needed by the EAR, the installer will only then rename it to "rhq.ear" - thus deploying the main application.

                                I'll remember this the next time someone has this question :)