Hi, 

 You can do this by using the deployment sorters specified in
/conf/jboss-service.xml. For example, you can use the PrefixDeploymentSorter
and call your scheduler service xml 1blahblah.xml.

Cheers,
Krishna

-----Original Message-----
From: Marek Lange [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 3:24 PM
To: JBoss User
Subject: [JBoss-user] Deploying scheduler after EAR deployment


Hi all,

what is the best way to configure JBoss to deploy the scheduler service 
after the deployment of the application during startup? The problem is 
that the scheduler uses classes which are included in the EAR. That is 
why JBoss throws a deployment error when starting:

[ServiceConfigurator] Problem configuring service 
jboss:service=ModuleScheduler
org.jboss.deployment.DeploymentException: Exception setting attribute 
javax.management.Attribute: name=SchedulableClass 
value=mypackage.MySchedulableImpl on mbean 
jboss:service=ModuleScheduler; - nested throwable: 
(java.security.InvalidParameterException: Given class 
mypackage.MySchedulableImpl is not valid or not found)

Thanks for the hints,

-marek



-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to