3 Replies Latest reply on Oct 11, 2006 11:21 AM by fkhan

    Is the 4.0.4.GA org.jboss.varia.scheduler.Scheduler single t

    fkhan Newbie

      We use org.jboss.varia.scheduler.Scheduler to invoke variable intervaled background processes on our server, the goal is that the processes will seamless interleave because they are mutually independent. However looking through the logs it seems that the processes are blocking each other, only one at a time is ever invoked even though some are scheduled to occur at the same time. Also if one of the scheduled processes hangs none of the other scheduled processes are executed till the hung process dies. All the processes are run off the Timer-3 thread regardless if the Schedulers are created in the same or different SARs.

      It seems this service is single threaded and multi-threaded behavior is not possible with it, am I correct?

      Jboss 4.0.4.GA

      -fazle

        • 1. Re: Is the 4.0.4.GA org.jboss.varia.scheduler.Scheduler sing
          Dimitris Andreadis Master

          My understanding is the Scheduler uses JMX Timer and the JBoss implementation of is based on an internal thread pool, so it should be multithreaded.

          I'm not sure if you run using jdk5, in which case the sun JMX timer is used, what their implementation is doing.

          Maybe switch to jdk1.4 and see what happens.

          • 2. Re: Is the 4.0.4.GA org.jboss.varia.scheduler.Scheduler sing
            fkhan Newbie

            we are using JDK5, and aren't in the position to roll back to 1.4.2

            maybe I have something configured wrong. We have a single SAR with a single jboss-service.xml (whose contents are below) in the META-INF directory of the SAR . At the top of the file we declare multiple non-scheduled services, then at the bottom of the file various schedulable services are declared.

            At start up it seem the schedulables are sequentially started, and if any one of them hangs all other activity stops.


            <?xml version="1.0" encoding="UTF-8"?>



            <!-- devices -->

            orb
            jboss:service=Naming



            dashboard
            jboss:service=Naming



            marketWatcher
            jboss:service=Naming



            weatherGlass
            jboss:service=Naming



            weatherWizard
            jboss:service=Naming



            easyStreet
            jboss:service=Naming



            <!-- channels -->


            aimStatus
            jboss:service=Naming



            airQuality
            jboss:service=Naming



            buddyStatus
            jboss:service=Naming



            currentHumidity
            jboss:service=Naming



            currentTemperature
            jboss:service=Naming



            currentVisibility
            jboss:service=Naming



            currentWindSpeed
            jboss:service=Naming



            dollarVsEuro
            jboss:service=Naming



            financialInstrument
            jboss:service=Naming



            fiveDayWeatherForecast
            jboss:service=Naming



            fiveRouteJamFactor
            jboss:service=Naming



            fiveSkiHillPowder
            jboss:service=Naming



            genericNewsFutures
            jboss:service=Naming



            googleSearchHits
            jboss:service=Naming



            incidentSpeedCitywideTrafficChannel
            jboss:service=Naming



            mobileMinutesRemaining
            jboss:service=Naming



            myPortfolio
            jboss:service=Naming



            myTrafficRoute
            jboss:service=Naming



            overallPollen
            jboss:service=Naming



            skiBasePowder
            jboss:service=Naming



            stockPercentChange
            jboss:service=Naming



            theirForecast
            jboss:service=Naming



            todaysConditionsWeatherForecast
            jboss:service=Naming



            todaysHighWeatherForecast
            jboss:service=Naming



            todaysUVForecast
            jboss:service=Naming



            todaysWindSpeedWeatherForecast
            jboss:service=Naming



            waveHeight
            jboss:service=Naming



            weekendForecast
            jboss:service=Naming



            trafficChannel
            jboss:service=Naming



            PGandEChannel
            jboss:service=Naming



            SCEChannel
            jboss:service=Naming



            SDGandEChannel
            jboss:service=Naming


            <!-- Pager Servers -->

            basic
            weatherBeacon
            1450079
            1450079
            ambient/pager/BasicBeaconMetrocall
            jboss:service=Naming



            basic
            easyStreet
            1450246
            1450218
            ambient/pager/BasicEasyStreetMetrocall
            com.ambientdevices.wine.devicetype.devices.EasyStreet$FlexpinFilter
            jboss:service=Naming



            premium
            easyStreet
            9
            1
            ambient/pager/PremiumEasyStreetMetrocall
            jboss:service=Naming




            basic
            dashboard
            1900900
            1450078
            ambient/pager/BasicDashboardMetrocall
            jboss:service=Naming



            premium
            dashboard
            1901864
            1900767
            ambient/pager/PremiumDashboardMetrocall
            jboss:service=Naming



            basic
            orb
            1830702
            1618430
            ambient/pager/BasicOrbMetrocall
            jboss:service=Naming



            basic
            weatherGlass
            1450075
            1661346
            ambient/pager/BasicWeatherGlassMetrocall
            jboss:service=Naming



            premium
            weatherGlass
            1612137
            1902523
            ambient/pager/PremiumWeatherGlassMetrocall
            jboss:service=Naming




            basic
            weatherWizard
            1350062
            1450357
            ambient/pager/BasicWeatherWizardMetrocall
            jboss:service=Naming



            premium
            weatherWizard
            1450076
            1450211
            ambient/pager/PremiumWeatherWizardMetrocall
            jboss:service=Naming



            <!--


            basic
            marketWatcher
            100
            1
            ambient/pager/BasicMarketWatcherMetrocall
            jboss:service=Naming



            premium-anchor
            marketWatcher
            200
            101



            premium-delta
            marketWatcher
            200
            101


            -->
            <!-- Other services -->


            ambient/billing/BillingServer
            jboss:service=Naming




            <!-- Schedulable services -->
            <!--




            true
            jboss:type=billingTrigger,name=BillingTrigger
            hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )
            NOW
            21600000
            1

            -->





            true
            jboss:type=accuweather,name=CurrentWeatherPoller
            hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )
            NOW
            900000
            -1






            true
            jboss:type=accuweather,name=AirQualityPoller
            hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )
            NOW
            10800000
            -1






            true
            jboss:type=accuweather,name=AstroPoller
            hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )
            NOW
            21600000
            -1






            true
            jboss:type=accuweather,name=BeachBoatingPoller
            hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )
            NOW
            10800000
            -1






            true
            jboss:type=accuweather,name=MobilityTrafficPoller
            hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )
            NOW
            900000
            -1






            true
            jboss:type=accuweather,name=WeatherForecastPoller
            hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )
            NOW
            10800000
            -1


            <!--




            true
            jboss:type=accuweather,name=SkiConditionsPoller
            hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )
            NOW
            21600000
            -1

            -->



            ambient/trigger/BasicEasyStreetMetrocallTrigger
            ambient/pager/BasicEasyStreetMetrocall



            true
            jboss:type=pagerTrigger,name=BasicEasyStreetMetrocallTrigger
            perform( DATE, REPETITIONS )
            NOW
            180000
            -1




            ambient/trigger/BasicBeaconMetrocallTrigger
            ambient/pager/BasicBeaconMetrocall



            true
            jboss:type=pagerTrigger,name=BasicBeaconMetrocallTrigger
            perform( DATE, REPETITIONS )
            NOW
            900000
            -1




            ambient/trigger/BasicWeatherWizardMetrocallTrigger
            ambient/pager/BasicWeatherWizardMetrocall



            true
            jboss:type=pagerTrigger,name=BasicWeatherWizardMetrocallTrigger
            perform( DATE, REPETITIONS )
            NOW
            900000
            -1




            ambient/trigger/PremiumWeatherWizardMetrocallTrigger
            ambient/pager/PremiumWeatherWizardMetrocall



            true
            jboss:type=pagerTrigger,name=PremiumWeatherWizardMetrocallTrigger
            perform( DATE, REPETITIONS )
            NOW
            900000
            -1




            ambient/trigger/BasicDashboardMetrocallTrigger
            ambient/pager/BasicDashboardMetrocall



            true
            jboss:type=pagerTrigger,name=BasicDashboardMetrocallTrigger
            perform( DATE, REPETITIONS )
            NOW
            900000
            -1




            ambient/trigger/PremiumDashboardMetrocallTrigger
            ambient/pager/PremiumDashboardMetrocall



            true
            jboss:type=pagerTrigger,name=PremiumDashboardMetrocallTrigger
            perform( DATE, REPETITIONS )
            NOW
            900000
            -1




            ambient/trigger/BasicWeatherGlassMetrocallTrigger
            ambient/pager/BasicWeatherGlassMetrocall



            true
            jboss:type=pagerTrigger,name=BasicWeatherGlassMetrocallTrigger
            perform( DATE, REPETITIONS )
            NOW
            900000
            -1




            ambient/trigger/PremiumWeatherGlassMetrocallTrigger
            ambient/pager/PremiumWeatherGlassMetrocall



            true
            jboss:type=pagerTrigger,name=PremiumWeatherGlassMetrocallTrigger
            perform( DATE, REPETITIONS )
            NOW
            900000
            -1




            ambient/trigger/BasicOrbMetrocallTrigger
            ambient/pager/BasicOrbMetrocall



            true
            jboss:type=pagerTrigger,name=BasicOrbMetrocallTrigger
            perform( DATE, REPETITIONS )
            NOW
            900000
            -1




            • 3. Re: Is the 4.0.4.GA org.jboss.varia.scheduler.Scheduler sing
              fkhan Newbie

               

              <?xml version="1.0" encoding="UTF-8"?>
              
              <server>
              
              <!-- devices -->
               <mbean code="com.ambientdevices.wine.devicetype.devices.Orb" name="jboss:service=Orb">
               <attribute name="DeviceName">orb</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.devicetype.devices.Dashboard" name="jboss:service=Dashboard">
               <attribute name="DeviceName">dashboard</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.devicetype.devices.MarketWatcher" name="jboss:service=MarketWatcher">
               <attribute name="DeviceName">marketWatcher</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.devicetype.devices.WeatherGlass" name="jboss:service=WeatherGlass">
               <attribute name="DeviceName">weatherGlass</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.devicetype.devices.WeatherWizard" name="jboss:service=WeatherWizard">
               <attribute name="DeviceName">weatherWizard</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.devicetype.devices.EasyStreet" name="jboss:service=EasyStreet">
               <attribute name="DeviceName">easyStreet</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
              
              <!-- channels -->
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.online.AIMStatusChannel" name="jboss:service=AIMServiceChannel">
               <attribute name="ChannelName">aimStatus</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.AirQualityChannel" name="jboss:service=AirQualityChannel">
               <attribute name="ChannelName">airQuality</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.online.AIMStatusChannel" name="jboss:service=BuddyStatusServiceChannel">
               <attribute name="ChannelName">buddyStatus</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.CurrentHumidityChannel" name="jboss:service=CurrentHumidityChannel">
               <attribute name="ChannelName">currentHumidity</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.CurrentTemperatureChannel" name="jboss:service=CurrentTemperatureChannel">
               <attribute name="ChannelName">currentTemperature</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.CurrentVisibilityChannel" name="jboss:service=CurrentVisibilityChannel">
               <attribute name="ChannelName">currentVisibility</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.CurrentWindSpeedChannel" name="jboss:service=WindSpeedChannel">
               <attribute name="ChannelName">currentWindSpeed</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.newsfutures.DollarVsEuroChannel" name="jboss:service=DollarVsEuroChannel">
               <attribute name="ChannelName">dollarVsEuro</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.financial.YahooInstrumentChannel" name="jboss:service=financialInstrument">
               <attribute name="ChannelName">financialInstrument</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.FiveDayWeatherForecastChannel" name="jboss:service=FiveDayWeatherForecastChannel">
               <attribute name="ChannelName">fiveDayWeatherForecast</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.traffic.FiveRouteJamFactorChannel" name="jboss:service=FiveRouteJamFactorChannel">
               <attribute name="ChannelName">fiveRouteJamFactor</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.FiveSkiHillPowderChannel" name="jboss:service=FiveSkiHillPowderChannel">
               <attribute name="ChannelName">fiveSkiHillPowder</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.newsfutures.GenericNewsFuturesChannel" name="jboss:service=GenericNewsFuturesChannel">
               <attribute name="ChannelName">genericNewsFutures</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.search.GoogleSearchHitsChannel" name="jboss:service=GoogleSearchHitsChannel">
               <attribute name="ChannelName">googleSearchHits</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.traffic.IncidentSpeedCitywideTrafficChannel" name="jboss:service=IncidentSpeedCitywideTrafficChannel">
               <attribute name="ChannelName">incidentSpeedCitywideTrafficChannel</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.bills.MobileMinutesRemainingChannel" name="jboss:service=mobileMinutesRemainingChannel">
               <attribute name="ChannelName">mobileMinutesRemaining</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.financial.YahooPortfolioChannel" name="jboss:service=MyPortfolioChannel">
               <attribute name="ChannelName">myPortfolio</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.traffic.IncidentSpeedTrafficChannel" name="jboss:service=MyTrafficRouteChannel">
               <attribute name="ChannelName">myTrafficRoute</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.OverallPollenChannel" name="jboss:service=OverallPollenChannel">
               <attribute name="ChannelName">overallPollen</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.SkiBasePowderChannel" name="jboss:service=SkiBasePowderChannel">
               <attribute name="ChannelName">skiBasePowder</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.financial.YahooQuoteStockChannel" name="jboss:service=StockPercentChangeChannel">
               <attribute name="ChannelName">stockPercentChange</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.TodaysHighWeatherForecastChannel" name="jboss:service=theirForecastChannel">
               <attribute name="ChannelName">theirForecast</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.TodaysConditionsWeatherForecastChannel" name="jboss:service=TodaysConditionsWeatherForecastChannel">
               <attribute name="ChannelName">todaysConditionsWeatherForecast</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.TodaysHighWeatherForecastChannel" name="jboss:service=TodaysHighWeatherForecastChannel">
               <attribute name="ChannelName">todaysHighWeatherForecast</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.TodaysUVForecastChannel" name="jboss:service=TodaysUVForecastChannel">
               <attribute name="ChannelName">todaysUVForecast</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.TodaysWindSpeedForecastChannel" name="jboss:service=TodaysWindSpeedForecastChannel">
               <attribute name="ChannelName">todaysWindSpeedWeatherForecast</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.WaveHeightChannel" name="jboss:service=WaveHeightChannel">
               <attribute name="ChannelName">waveHeight</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.weather.WeekendWeatherForecastChannel" name="jboss:service=WeekendWeatherForecastChannel">
               <attribute name="ChannelName">weekendForecast</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.traffic.TrafficChannel" name="jboss:service=TrafficChannel">
               <attribute name="ChannelName">trafficChannel</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.energy.PGandEChannel" name="jboss:service=PGandEChannel">
               <attribute name="ChannelName">PGandEChannel</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.energy.SCEChannel" name="jboss:service=SCEChannel">
               <attribute name="ChannelName">SCEChannel</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datachannel.channel.energy.PGandEChannel" name="jboss:service=SDGandEChannel">
               <attribute name="ChannelName">SDGandEChannel</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
              <!-- Pager Servers -->
               <mbean code="com.ambientdevices.wine.pagerserver.PagerServer"
               name="jboss:type=pagerserver,name=BasicBeaconMetrocall">
               <attribute name="BroadcastType">basic</attribute>
               <attribute name="DeviceType">weatherBeacon</attribute>
               <attribute name="LowestPIN">1450079</attribute>
               <attribute name="HighestPIN">1450079</attribute>
               <attribute name="JndiName">ambient/pager/BasicBeaconMetrocall</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerServer"
               name="jboss:type=pagerserver,name=BasicEasyStreetMetrocall">
               <attribute name="BroadcastType">basic</attribute>
               <attribute name="DeviceType">easyStreet</attribute>
               <attribute name="HighestPIN">1450246</attribute>
               <attribute name="LowestPIN">1450218</attribute>
               <attribute name="JndiName">ambient/pager/BasicEasyStreetMetrocall</attribute>
               <attribute name="FlexpinFilterClassName">com.ambientdevices.wine.devicetype.devices.EasyStreet$FlexpinFilter</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerServer"
               name="jboss:type=pagerserver,name=PremiumEasyStreetMetrocall">
               <attribute name="BroadcastType">premium</attribute>
               <attribute name="DeviceType">easyStreet</attribute>
               <attribute name="HighestPIN">9</attribute>
               <attribute name="LowestPIN">1</attribute>
               <attribute name="JndiName">ambient/pager/PremiumEasyStreetMetrocall</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerServer"
               name="jboss:type=pagerserver,name=BasicDashboardMetrocall">
               <attribute name="BroadcastType">basic</attribute>
               <attribute name="DeviceType">dashboard</attribute>
               <attribute name="HighestPIN">1900900</attribute>
               <attribute name="LowestPIN">1450078</attribute>
               <attribute name="JndiName">ambient/pager/BasicDashboardMetrocall</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerServer"
               name="jboss:type=pagerserver,name=PremiumDashboardMetrocall">
               <attribute name="BroadcastType">premium</attribute>
               <attribute name="DeviceType">dashboard</attribute>
               <attribute name="HighestPIN">1901864</attribute>
               <attribute name="LowestPIN">1900767</attribute>
               <attribute name="JndiName">ambient/pager/PremiumDashboardMetrocall</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerServer"
               name="jboss:type=pagerserver,name=BasicOrbMetrocall">
               <attribute name="BroadcastType">basic</attribute>
               <attribute name="DeviceType">orb</attribute>
               <attribute name="HighestPIN">1830702</attribute>
               <attribute name="LowestPIN">1618430</attribute>
               <attribute name="JndiName">ambient/pager/BasicOrbMetrocall</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerServer"
               name="jboss:type=pagerserver,name=BasicWeatherGlassMetrocall">
               <attribute name="BroadcastType">basic</attribute>
               <attribute name="DeviceType">weatherGlass</attribute>
               <attribute name="LowestPIN">1450075</attribute>
               <attribute name="HighestPIN">1661346</attribute>
               <attribute name="JndiName">ambient/pager/BasicWeatherGlassMetrocall</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerServer"
               name="jboss:type=pagerserver,name=PremiumWeatherGlassMetrocall">
               <attribute name="BroadcastType">premium</attribute>
               <attribute name="DeviceType">weatherGlass</attribute>
               <attribute name="LowestPIN">1612137</attribute>
               <attribute name="HighestPIN">1902523</attribute>
               <attribute name="JndiName">ambient/pager/PremiumWeatherGlassMetrocall</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerServer"
               name="jboss:type=pagerserver,name=BasicWeatherWizardMetrocall">
               <attribute name="BroadcastType">basic</attribute>
               <attribute name="DeviceType">weatherWizard</attribute>
               <attribute name="LowestPIN">1350062</attribute>
               <attribute name="HighestPIN">1450357</attribute>
               <attribute name="JndiName">ambient/pager/BasicWeatherWizardMetrocall</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerServer"
               name="jboss:type=pagerserver,name=PremiumWeatherWizardMetrocall">
               <attribute name="BroadcastType">premium</attribute>
               <attribute name="DeviceType">weatherWizard</attribute>
               <attribute name="LowestPIN">1450076</attribute>
               <attribute name="HighestPIN">1450211</attribute>
               <attribute name="JndiName">ambient/pager/PremiumWeatherWizardMetrocall</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
              
              <!--
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerServer"
               name="jboss:type=pagerserver,name=BasicMarketWatcherMetrocall">
               <attribute name="BroadcastType">basic</attribute>
               <attribute name="DeviceType">marketWatcher</attribute>
               <attribute name="HighestPIN">100</attribute>
               <attribute name="LowestPIN">1</attribute>
               <attribute name="JndiName">ambient/pager/BasicMarketWatcherMetrocall</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerServer"
               name="jboss:type=pagerserver,name=PremiumMarketWatcherAnchorMetrocall">
               <attribute name="BroadcastType">premium-anchor</attribute>
               <attribute name="DeviceType">marketWatcher</attribute>
               <attribute name="HighestPIN">200</attribute>
               <attribute name="LowestPIN">101</attribute>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerServer"
               name="jboss:type=pagerserver,name=PremiumMarketWatcherDeltaMetrocall">
               <attribute name="BroadcastType">premium-delta</attribute>
               <attribute name="DeviceType">marketWatcher</attribute>
               <attribute name="HighestPIN">200</attribute>
               <attribute name="LowestPIN">101</attribute>
               </mbean>
              
              -->
              <!-- Other services -->
              
               <mbean code="com.ambientdevices.wine.billing.BillingServer"
               name="jboss:type=billing,name=Billing">
               <attribute name="JndiName">ambient/billing/BillingServer</attribute>
               <depends>jboss:service=Naming</depends>
               </mbean>
              
              
              
              <!-- Schedulable services -->
              <!--
               <mbean code="com.ambientdevices.wine.billing.BillingTrigger"
               name="jboss:type=billingTrigger,name=BillingTrigger">
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler"
               name="jboss:service=DailyBillingService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=billingTrigger,name=BillingTrigger</attribute>
               <attribute name="SchedulableMBeanMethod">hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">21600000</attribute>
               <attribute name="InitialRepetitions">1</attribute>
               </mbean>
              -->
              
               <mbean code="com.ambientdevices.wine.datasource.accuweather.CurrentWeatherMBeanPoller"
               name="jboss:type=accuweather,name=CurrentWeatherPoller">
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler" name="jboss:service=CurrentWeatherPollerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=accuweather,name=CurrentWeatherPoller</attribute>
               <attribute name="SchedulableMBeanMethod">hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">900000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datasource.accuweather.AirQualityMBeanPoller"
               name="jboss:type=accuweather,name=AirQualityPoller">
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler" name="jboss:service=AirQualityPollerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=accuweather,name=AirQualityPoller</attribute>
               <attribute name="SchedulableMBeanMethod">hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">10800000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datasource.accuweather.AstroMBeanPoller"
               name="jboss:type=accuweather,name=AstroPoller">
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler" name="jboss:service=AstroPollerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=accuweather,name=AstroPoller</attribute>
               <attribute name="SchedulableMBeanMethod">hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">21600000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datasource.accuweather.BeachBoatingMBeanPoller"
               name="jboss:type=accuweather,name=BeachBoatingPoller">
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler" name="jboss:service=BeachBoatingPollerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=accuweather,name=BeachBoatingPoller</attribute>
               <attribute name="SchedulableMBeanMethod">hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">10800000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datasource.traffic.MobilityTrafficMBeanPoller"
               name="jboss:type=accuweather,name=MobilityTrafficPoller">
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler" name="jboss:service=MobilityTrafficPollerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=accuweather,name=MobilityTrafficPoller</attribute>
               <attribute name="SchedulableMBeanMethod">hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">900000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              
               <mbean code="com.ambientdevices.wine.datasource.accuweather.WeatherForecastMBeanPoller"
               name="jboss:type=accuweather,name=WeatherForecastPoller">
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler" name="jboss:service=WeatherForecastPollerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=accuweather,name=WeatherForecastPoller</attribute>
               <attribute name="SchedulableMBeanMethod">hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">10800000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              
              <!--
               <mbean code="com.ambientdevices.wine.datasource.accuweather.SkiConditionsMBeanPoller"
               name="jboss:type=accuweather,name=SkiConditionsPoller">
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler" name="jboss:service=SkiConditionsPollerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=accuweather,name=SkiConditionsPoller</attribute>
               <attribute name="SchedulableMBeanMethod">hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">21600000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              -->
              
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerTrigger"
               name="jboss:type=pagerTrigger,name=BasicEasyStreetMetrocallTrigger">
               <attribute name="JndiName">ambient/trigger/BasicEasyStreetMetrocallTrigger</attribute>
               <attribute name="PagerJndiName">ambient/pager/BasicEasyStreetMetrocall</attribute>
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler"
               name="jboss:service=BasicEasyStreetMetrocallTriggerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=pagerTrigger,name=BasicEasyStreetMetrocallTrigger</attribute>
               <attribute name="SchedulableMBeanMethod">perform( DATE, REPETITIONS )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">180000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerTrigger"
               name="jboss:type=pagerTrigger,name=BasicBeaconMetrocallTrigger">
               <attribute name="JndiName">ambient/trigger/BasicBeaconMetrocallTrigger</attribute>
               <attribute name="PagerJndiName">ambient/pager/BasicBeaconMetrocall</attribute>
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler"
               name="jboss:service=BasicBeaconMetrocallTriggerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=pagerTrigger,name=BasicBeaconMetrocallTrigger</attribute>
               <attribute name="SchedulableMBeanMethod">perform( DATE, REPETITIONS )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">900000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerTrigger"
               name="jboss:type=pagerTrigger,name=BasicWeatherWizardMetrocallTrigger">
               <attribute name="JndiName">ambient/trigger/BasicWeatherWizardMetrocallTrigger</attribute>
               <attribute name="PagerJndiName">ambient/pager/BasicWeatherWizardMetrocall</attribute>
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler"
               name="jboss:service=BasicWeatherWizardTriggerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=pagerTrigger,name=BasicWeatherWizardMetrocallTrigger</attribute>
               <attribute name="SchedulableMBeanMethod">perform( DATE, REPETITIONS )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">900000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerTrigger"
               name="jboss:type=pagerTrigger,name=PremiumWeatherWizardMetrocallTrigger">
               <attribute name="JndiName">ambient/trigger/PremiumWeatherWizardMetrocallTrigger</attribute>
               <attribute name="PagerJndiName">ambient/pager/PremiumWeatherWizardMetrocall</attribute>
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler"
               name="jboss:service=PremiumWeatherWizardTriggerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=pagerTrigger,name=PremiumWeatherWizardMetrocallTrigger</attribute>
               <attribute name="SchedulableMBeanMethod">perform( DATE, REPETITIONS )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">900000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerTrigger"
               name="jboss:type=pagerTrigger,name=BasicDashboardMetrocallTrigger">
               <attribute name="JndiName">ambient/trigger/BasicDashboardMetrocallTrigger</attribute>
               <attribute name="PagerJndiName">ambient/pager/BasicDashboardMetrocall</attribute>
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler"
               name="jboss:service=BasicDashboardMetrocallTriggerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=pagerTrigger,name=BasicDashboardMetrocallTrigger</attribute>
               <attribute name="SchedulableMBeanMethod">perform( DATE, REPETITIONS )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">900000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerTrigger"
               name="jboss:type=pagerTrigger,name=PremiumDashboardMetrocallTrigger">
               <attribute name="JndiName">ambient/trigger/PremiumDashboardMetrocallTrigger</attribute>
               <attribute name="PagerJndiName">ambient/pager/PremiumDashboardMetrocall</attribute>
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler"
               name="jboss:service=PremiumDashboardMetrocallTriggerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=pagerTrigger,name=PremiumDashboardMetrocallTrigger</attribute>
               <attribute name="SchedulableMBeanMethod">perform( DATE, REPETITIONS )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">900000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerTrigger"
               name="jboss:type=pagerTrigger,name=BasicWeatherGlassMetrocallTrigger">
               <attribute name="JndiName">ambient/trigger/BasicWeatherGlassMetrocallTrigger</attribute>
               <attribute name="PagerJndiName">ambient/pager/BasicWeatherGlassMetrocall</attribute>
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler"
               name="jboss:service=BasicWeatherGlassMetrocallTriggerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=pagerTrigger,name=BasicWeatherGlassMetrocallTrigger</attribute>
               <attribute name="SchedulableMBeanMethod">perform( DATE, REPETITIONS )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">900000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerTrigger"
               name="jboss:type=pagerTrigger,name=PremiumWeatherGlassMetrocallTrigger">
               <attribute name="JndiName">ambient/trigger/PremiumWeatherGlassMetrocallTrigger</attribute>
               <attribute name="PagerJndiName">ambient/pager/PremiumWeatherGlassMetrocall</attribute>
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler"
               name="jboss:service=PremiumWeatherGlassMetrocallTriggerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=pagerTrigger,name=PremiumWeatherGlassMetrocallTrigger</attribute>
               <attribute name="SchedulableMBeanMethod">perform( DATE, REPETITIONS )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">900000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              
              
               <mbean code="com.ambientdevices.wine.pagerserver.PagerTrigger"
               name="jboss:type=pagerTrigger,name=BasicOrbMetrocallTrigger">
               <attribute name="JndiName">ambient/trigger/BasicOrbMetrocallTrigger</attribute>
               <attribute name="PagerJndiName">ambient/pager/BasicOrbMetrocall</attribute>
               </mbean>
              
               <mbean code="org.jboss.varia.scheduler.Scheduler"
               name="jboss:service=BasicOrbMetrocallTriggerService">
               <attribute name="StartAtStartup">true</attribute>
               <attribute name="SchedulableMBean">jboss:type=pagerTrigger,name=BasicOrbMetrocallTrigger</attribute>
               <attribute name="SchedulableMBeanMethod">perform( DATE, REPETITIONS )</attribute>
               <attribute name="InitialStartDate">NOW</attribute>
               <attribute name="SchedulePeriod">900000</attribute>
               <attribute name="InitialRepetitions">-1</attribute>
               </mbean>
              
              
              </server>