My Oracle Support Banner

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

Last updated on APRIL 26, 2023

Applies to:

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


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

./asadmin create-jms-resource --target i1 --restype javax.jms.Queue jms/<ResourceName>

./asadmin create-resource-ref --target server jms/<ResourceName>

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 "<ResourceName>" 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.




Note: You are unable to delete the connection factories using the administration console. A message is returned indicating 405 "Method Not Allowed".





To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.