The process isn't created until after the method completes so during the method the processId isn't available. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059559#4059559 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059559