[jboss-user] [JCA/JBoss] - Re: Problem in data source binding while server start
sunil@jboss.org
do-not-reply at jboss.com
Fri Feb 20 00:23:07 EST 2009
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#4211685
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211685
More information about the jboss-user
mailing list