Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: SchedulerFactoryBean does not start

  1. #11
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    Last edited by karldmoore; Aug 18th, 2007 at 05:35 PM.
    Barracuda Networks SSL VPN Lead Developer
    http://pramatr.wordpress.com
    http://twitter.com/karldmoore
    http://www.linkedin.com/in/karldmoore
    Any postings are my own opinion, and should not be attributed to my employer or clients.

  2. #12
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    Did this solve you problem in the end?
    Last edited by karldmoore; Aug 18th, 2007 at 05:35 PM.
    Barracuda Networks SSL VPN Lead Developer
    http://pramatr.wordpress.com
    http://twitter.com/karldmoore
    http://www.linkedin.com/in/karldmoore
    Any postings are my own opinion, and should not be attributed to my employer or clients.

  3. #13
    Join Date
    Aug 2007
    Posts
    4

    Default Yes, that worked

    karldmoore,

    Apologies for the delayed posting. I got distracted and drifted into few other tasks.

    Yes, your suggestion worked. My code now looks like:
    Code:
    ApplicationContext factory = new ClassPathXmlApplicationContext ("config.xml" );
            
    while (true) {
        System.out.println("Main thread going to sleep for a bit");
        Thread.sleep(1000 * 10);
        System.out.println("Is the job running?");
    }
    and it works as expected.

    Thank you very much!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •