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 145374 - sun-resources.xml needs an xml editor, like web.xml
Summary: sun-resources.xml needs an xml editor, like web.xml
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-28 04:45 UTC by shche123
Modified: 2009-02-19 23:03 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shche123 2008-08-28 04:45:15 UTC
sun-resources.xml needs an xml editor, just like the web.xml
Comment 1 Vince Kraemer 2008-08-28 06:19:26 UTC
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
Comment 2 shche123 2008-08-28 07:09:02 UTC
GF Resource Wizards are buggy. That is why I am looking for another way looking at the file.
What is zero-config support?
Thanks
Leonid
Comment 3 Nitya Doraisamy 2008-08-28 07:17:37 UTC
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
Comment 4 shche123 2008-08-28 07:25:05 UTC
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?
Comment 5 Vince Kraemer 2008-08-28 18:33:35 UTC
these are good questions for the nbj2ee@netbeans.org mailing list.  The issue tracker is a really poor support forum.
Comment 6 Nitya Doraisamy 2008-08-28 21:12:50 UTC
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
Connectors-->Connector Resources

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. 
Comment 7 Vince Kraemer 2008-12-09 23:07:16 UTC
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