3 Replies Latest reply on Feb 24, 2013 4:54 AM by Ales Justin

    pull queues and background threads

    bartvb Newbie

      I'm trying to start background workers when the servlet context is created. These works pull work from pull queues. The servlet context is created before the infinispan caches that back the queues are created. This results in an exception in the workers. This code works fine in the GAE dev server.

       

      Here is the sample code:

      http://vanbrabant.eu/pullqueue.tar.bz2

       

      It already contains a compiled war. Just drop it in the deployment dir and you get the exception.

       

      I tested it against a CD that was compiled with AS 7.2.0 final.