Corrected JMS problems