MyApp-all.ear contains:
| META-INF/
| META-INF/MANIFEST.MF
| META-INF/application.xml
| MyApp-all.jar
| MyApp-all.wsr
|
MyApp-all.ear:MyApp-all.jar contains:
| META-INF/
| META-INF/MANIFEST.MF
| META-INF/ejb-jar.xml
| META-INF/jboss.xml
| META-INF/jbosscmp-jdbc.xml
| MET
Can someone post the example EAR structure that you used? I'm having a problem
getting JBoss to reconignize the Service file.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001847#4001847
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
Hi,
this is our Schedulable implementation:
| package de.mobilcom.messenger.scheduler;
|
| public class TimedObjectSchedulableRemote implements Schedulable {
| private String sRemoteHomeName;
| private our.company.framework.timer.TimedObjectRemote rTimedObject;
|
| //
Hi t_kishore,
I have tried what you suggest and still get the error :
Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss:service=Scheduler
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Exception setting
attribute [E
Add this entry to jboss-app.xml for your EAR
my-scheduler-service.xml
Keep my-scheduler-service.xml directy under the EAR with entries like this:
true
com.mybizz.scheduler.NotificationSchedule
0 60
-1
Thats all there is to it. The Schedulable
service.xml got truncated in the previous post.
|
|
| true
| com.mybiz.scheduler.NotificationSchedule
| 0
| 60
| -1
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995863#3995863
Re
arggg.. one more time.
| *** jboss-app.xml
|
|
| kns-scheduler-service.xml
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995864#3995864
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
Hi,
we call a SLSB from a org.jboss.varia.scheduler.Scheduler implementation, and
our deployment goes like this:
deploy/applications/MyApp/ contains:
- MyApp-all.ear
- MyApp-api.jar
deploy-hasingleton/applications/MyApp/MyApp-timer-service.xml:
|
|
|
|
| jboss.j2ee:servic