sun-resources.xml needs an xml editor, just like the web.xml
Actually, we do not encourage users to edit the file directly. It is manipulated through the GF resource wizards and
the zero-config support...
Converting to enhancement request
GF Resource Wizards are buggy. That is why I am looking for another way looking at the file.
What is zero-config support?
Please file any bugs that you see in the GF Resource Wizards so we can resolve any issues. What have you not been able
to do with the GF Resource Wizards or what errors are you seeing.
Zero config is the automatic creation & registration of resources when the user intiates actions like Use Database,
Creates mdb's, Send JMS message etc
Maybe that is it just hard to use the JMS Resource wizards.
Do you have to run it twice? Once for the Queue and once for the Factory?
How would I setup a queue with a factory?
these are good questions for the firstname.lastname@example.org mailing list. The issue tracker is a really poor support forum.
The wizards are creating the expected resources. JMS resources when deployed map to JMS Resource AND Connector Resources
on the GlassFish Server.
The wizard first page allows you to choose various resource types. Depending on your choice the JMS Resource is either a
Connection Factory Resource (and Connector Resource ) or a Destination Resource (and Admin Object Resource). The radio
buttons in the first page of the wizard are grouped by the type of resource that is created.
In your scenario,
You created a JMS Resource of resource type "javax.jms.QueueConnectionFactory". This results in <connector-resource
..../> and a <connector-connection-pool .../> in the sun-resources.xml
The <connector-resource ..../> is seen in the Services window at JMS Resources-->Connection Factories and
The <connector-connection-pool .../> is seen in the Services window at 'Connectors-->Connector Connection Pools'
For using JMS in GlassFish see, http://today.java.net/pub/a/today/2008/01/22/jms-messaging-using-glassfish.html
As Vince suggested, the mailing list is a better place to get support.
I think the enhancement request here is related to the help content or the feedback that the user gets from this wizard.
please look at that for 7.0