User: schaefera
Date: 02/01/17 13:57:26
Modified: src/etc/conf/default jboss-service.xml
Log:
Ajusted JSR-77 to the new JBoss JMX naming and the Scheduler now can be restarted
and will keep the schedule and allows an easier date input for Initial Start Date
Revision Changes Path
1.22 +11 -15 jboss/src/etc/conf/default/jboss-service.xml
Index: jboss-service.xml
===================================================================
RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/jboss-service.xml,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- jboss-service.xml 2002/01/04 00:11:35 1.21
+++ jboss-service.xml 2002/01/17 21:57:22 1.22
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>
-<!-- $Id: jboss-service.xml,v 1.21 2002/01/04 00:11:35 user57 Exp $ -->
+<!-- $Id: jboss-service.xml,v 1.22 2002/01/17 21:57:22 schaefera Exp $ -->
<!-- ===================================================================== -->
<!-- -->
@@ -33,10 +33,8 @@
<!-- JSR-77 Single JBoss Server Management Domain -->
<!-- ==================================================================== -->
- <!-- TODO: rename jmx domain to jboss.management.single -->
-
<mbean code="org.jboss.management.j2ee.SingleJBossServerManagement"
- name="SingleJBoss:type=J2EEDomain,name=Manager" >
+ name="jboss.management.single:type=J2EEDomain,name=Manager" >
</mbean>
<!-- ==================================================================== -->
@@ -142,19 +140,17 @@
<!-- Scheduler Service -->
<!-- ==================================================================== -->
- <!-- Uncomment this to enable Scheduling
+ <!-- Uncomment this to enable Scheduling - ->
<mbean code="org.jboss.util.Scheduler" name="jboss:service=Scheduler">
- <constructor>
- <arg type="java.lang.String" value=":server=Scheduler"/>
- <arg type="java.lang.String"
value="org.jboss.util.Scheduler$SchedulableExample"/>
- <arg type="java.lang.String" value="Schedulabe Test,12345"/>
- <arg type="java.lang.String" value="java.lang.String,int"/>
- <arg type="long" value="0"/>
- <arg type="long" value="10000"/>
- <arg type="long" value="-1"/>
- </constructor>
+ <attribute name="StartAtStartup">true</attribute>
+ <attribute
name="SchedulableClass">org.jboss.util.Scheduler$SchedulableExample</attribute>
+ <attribute name="SchedulableArguments">Schedulabe Test,12345</attribute>
+ <attribute name="SchedulableArgumentTypes">java.lang.String,int</attribute>
+ <attribute name="InitialStartDate">0</attribute>
+ <attribute name="SchedulePeriod">10000</attribute>
+ <attribute name="InitialRepetitions">-1</attribute>
</mbean>
- -->
+ <!- - -->
<!-- Uncomment this and set up according to manual to add Castor JDO service
<mbean code="org.jboss.jdo.castor.CastorJDOImpl"
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development