This solution is for JMS hosted as a file. If you are hosting the JMS in Oracle you need to delete all the rows from the JMS tables:
Log indicates:
com.sun.messaging.jmq.jmsserver.util.BrokerException: [B3155]: Failed to lock database tables. The tables are currently locked by the broker running on xs117v6224287.vzbi.com:17676.
[04/Mar/2010:13:12:17 MST] WARNING [B3164]: The portmapper service got an exception processing a request from client 169.254.164.59. The client may need to attempt the connection again:
java.io.IOException: An established connection was aborted by the software in your host machine
Tables rows deleted from:
delete from mqconstate41s;
delete from mqcrec41s;
delete from mqdst41s;
delete from mqmsg41s;
delete from mqses41s;
delete from mqtxn41s;
delete from mqver41s;
commit
[Message sent by forum member 'cobar' (bruce.randall_at_verizonbusiness.com)]
http://forums.java.net/jive/thread.jspa?messageID=390143