You can't/shouldn't access an EntityManager during @Startup.
My suggestion is to schedule your method to execute at a later date using @Asynchronous
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039792#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...