When I use the default deployment order for JBoss it works fine. We want to deploy
Alerter.jar before deploying scheduler-service.xml.
Here, scheduler-service.xml looks for the Alerter class in Alerter.jar. So I changed the
deployment order for .jar and -service.xml.
Alerter.jar points to 'MSSQLDSA' data source. So while deploying Alerter.jar it
looks for it and throws the above error.
I tried to change the deployment order for -ds.xml also but it throws the same error.
Following is the scheculer-service.xml configuration:
| <server>
|
| <mbean code="org.jboss.varia.scheduler.Scheduler"
| name="jboss:service=Scheduler">
| <attribute name="StartAtStartup">true</attribute>
| <attribute
name="SchedulableClass">com.soa.alerter.Alerter</attribute>
| <attribute name="SchedulableArguments">true</attribute>
| <attribute
name="SchedulableArgumentTypes">boolean</attribute>
|
| <attribute name="InitialStartDate">NOW</attribute>
| <attribute name="SchedulePeriod">60000</attribute>
| <attribute name="InitialRepetitions">-1</attribute>
| </mbean>
|
| </server>
|
Sunil
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211685#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...