Creating a JMS Destination Resource Using asadmin Command Incorrectly Creates a JMS Connection Factory on GlassFish Server (Doc ID 2030125.1)

Last updated on AUGUST 21, 2015

Applies to:

Oracle GlassFish Server - Version 3.1.2 to 3.1.2 [Release 3.1]
Information in this document applies to any platform.

Symptoms

 Create a jms destination resource using command's such as:

./asadmin create-jms-resource --target i1 --restype javax.jms.Queue jms/TestQueue

./asadmin create-resource-ref --target server jms/TestQueue

The above commands create the jms destination and admin object as it should. However, the command is also creating a jms connection factory. The admin console will show a connection factories named "TestQueue" in the left pane whereas the right pane will be empty. The connection factory will have no connector connection pool or resource type defined implying it is corrupt.

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms