This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 145218 - unable to create Queue Destination using New JMS Resource Wizard...
Summary: unable to create Queue Destination using New JMS Resource Wizard...
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-26 22:35 UTC by shche123
Modified: 2008-08-28 07:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shche123 2008-08-26 22:35:45 UTC
Unable to create Queue Destination using New JMS Resource Wizard...

updates sun-resources.xml file, but does not create 'Destination Resource' on deploy.

unable to create Queue Destination using New JMS Resource Wizard... (Looking at the "Queue Destinations" selection under
GlassFish V2 in the Services window.

looking at the sun-resources.xml file, both connector-resource and connector-connection-pool are given the same
jndi-name="jms/simpleQueue" name. Is this correct?

Thanks
Leonid

    <connector-resource enabled="true" jndi-name="jms/simpleQueue" object-type="user" pool-name="jms/simpleQueue"/>
    <connector-connection-pool associate-with-thread="false" connection-creation-retry-attempts="0"
connection-creation-retry-interval-in-seconds="10" connection-definition-name="javax.jms.QueueConnectionFactory"
connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" fail-all-connections="false"
idle-timeout-in-seconds="300" is-connection-validation-required="false" lazy-connection-association="false"
lazy-connection-enlistment="false" match-connections="true" max-connection-usage-count="0" max-pool-size="32"
max-wait-time-in-millis="60000" name="jms/simpleQueue" pool-resize-quantity="2" resource-adapter-name="jmsra"
steady-pool-size="8" validate-atmost-once-period-in-seconds="0"/>
Comment 1 Vince Kraemer 2008-08-27 15:13:33 UTC
the duplicate names do look suspect.
Comment 2 Nitya Doraisamy 2008-08-28 05:17:42 UTC
JMS resource of types javax.jms.QueueConnectionFactory, javax.jms.QueueConnectionFactory and javax.jms.ConnectionFactory
map to a Connection Factory resource (under under 'JMS Resources-->Connection Factories') and a Connector Resource (see
under 'Connectors-->Connector Resources'). The associated pool is a Connector Connection Pool displayed under
'Connectors-->Connector Connection Pools'.
The Connector Connection Pool is not part of the JMS Resources listing. The naming of the connection pool defaults to
the name of the associated JMS resource. This conforms to the way the admin console behaves while creating JMS Resources.

JMS resource of type javax.jms.Queue and javax.jms.Topic map to 'JMS Resources-->Destination Resources' and
'Connectors-->Admin Object Resources'

The JMS Resource Wizard does call out the Connector types that the resources resolve to. 

Closing the issue as Invalid. Please provide comments if we can make the wizard more descriptive.
Comment 3 shche123 2008-08-28 07:15:32 UTC
Sorry, I don't understand anything that you are saying.

I ran the wizard, and came up with these results.

Are you saying the results are correct?
Or am I using the wizard wrong?

Thanks
Leonid