(see simeng_oracle's 24/Oct/12 comment in GLASSFISH-7717)
install GlassFish server
asadmin start-domain
asadmin create-jms-resource --restype javax.jms.ConnectionFactory jms/myConnectionFactory
asadmin create-jms-resource --restype javax.jms.Queue jms/myQueue
asadmin deploy MDBApp.ear
run sender client TestJMS which sends 1 message in JMS transaction
asadmin stop-domain
asadmin start-domain
imqcmd list dst shows following
Name Type State Producers Consumers Msgs
Total Wildcard Total Wildcard Count Remote UnAck InDelay Avg Size
jms_myQueue Queue RUNNING 0 - 1 - 1 0 1 0 157.0
mq.sys.dmq Queue RUNNING 0 - 0 - 1 0 0 0 1312.0
Affected Versions
[4.4u2, 4.5, 4.5.1, 4.5.2]