Hy
Situation:
I hava a ejb3 package (abpejb.ejb3) and i also want to have a service that use some data from this package.
in the farm directory i have scheduler-service.xml with this code:
<mbean code="com.pathoss.abp.ejb.batch.mailer.MailerBatchCluster" name="com.pathoss.abp:service=MailerBatch"> </mbean> <mbean code="org.jboss.varia.scheduler.SingleScheduleProvider" name="jboss:service=HASingleScheduleProviderMailer"> <depends>jboss.j2ee:module=abpejb.ejb3,service=EJB3</depends> <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends> <depends>jboss:service=ScheduleManager</depends> <depends>com.pathoss.abp:service=MailerBatch</depends> <attribute name="ScheduleManagerName">jboss:service=ScheduleManager</attribute> <attribute name="TargetName">com.pathoss.abp:service=MailerBatch</attribute> <attribute name="TargetMethod">hit( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME, java.lang.String )</attribute> <attribute name="DateFormat"></attribute> <attribute name="StartDate">NOW</attribute> <attribute name="Period">10000</attribute> <attribute name="Repetitions">-1</attribute> </mbean>
status: Deployment FAILED reason: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
i forgot to mention that i'm using jboss 4.2.2-GA