[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Issue on AS4.0.3RC1?
Anyone solve this? I am seeing it in 4.0.4.GA. How do I tell the scheduler the class in in my web app? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953586#3953586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953586 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Issue on AS4.0.3RC1?
That seems to be a true statement. Consider the following simple test case: import org.jboss.varia.scheduler.Schedulable; | | public class TestScheduler implements Schedulable { | public TestScheduler() { | super(); | } | | public void perform(java.util.Date date, long param) { | try { | System.out.println("calling TestScheduler"); | } | catch (Exception e) { | System.out.println("Exception " + e.getLocalizedMessage()); | e.printStackTrace(); | } | } | } | with the following in scheduler-services.xml: | | true | TestScheduler | NOW | 1000 | 1 | | Saving (deploying) the scheduler-services.xml file results in: anonymous wrote : --- MBeans waiting for other MBeans --- | ObjectName: jboss:service=TestScheduler | State: FAILED | Reason: org.jboss.deployment.DeploymentException: Exception setting attribute [EMAIL PROTECTED] on mbean jboss:service=TestScheduler; - nested throwable: (java.security.InvalidParameterException: Given class TestScheduler is not not found) | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss:service=TestScheduler | State: FAILED | Reason: org.jboss.deployment.DeploymentException: Exception setting attribute [EMAIL PROTECTED] on mbean jboss:service=TestScheduler; - nested throwable: (java.security.InvalidParameterException: Given class TestScheduler is not not found) | which implies to me there's most likely a class loader issue, or that the Scheduler is deprecated. So - I'm really confused. We have some fairly simple schedule operations where the Scheduler has worked well. Is the scheduler deprecated? Is this a bug? Should we be using Quartz or similar products? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884767#3884767 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884767 --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Issue on AS4.0.3RC1?
4.0.3 changed something so that your JBoss services can't get access to classes in your .war file. There's probably something about this. The best solution would be to repackage as an .ear, put the common classes in a .jar, and share them using a common classloader. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884638#3884638 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884638 --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Issue on AS4.0.3RC1?
BTW - what's really weird about this - everything else works fine - just the scheduled objects it can't find. All other classes referenced from the JSP pages work fine. I've tried deploying both as exploded and packaged war files, no difference. And in the exploded WAR, I've verified that the com.imc.scheduled.InventoryAvailabilityHandler.class is there, just as you'd expect, under the WEB-INF/classes directory. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884037#3884037 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884037 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user