users@glassfish.java.net

Re: sun-resource.xml deployment and/or packaging

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Wed, 05 Nov 2008 18:59:32 -0800

glassfish_at_javadesktop.org wrote:
> I am using NetBeans 6.1
>
> I have an EAR project and would like to administer JMS Connector Resources via the sun-resource.xml file.
>
> Using Netbeans wizard...New File -> Other -> Glassfish -> JMS Resource...
> I was able to create <project>/setup/sun-resource.xml which appears as "Server Resource" in the "Project" tab.
>
> My problem is that the build process is not including this in the ear file OR in the jar file that it pertains to...
>
But the "Run" step or the "Deploy" step via NetBeans should register
the resources defined in this file to the server...
Can't you see the new or updated resources via the Admin GUI after a
deploy of this app?
Ludo
> I am not sure where this xml file should reside in the ear/jar file...I was kindof hoping that Netbeans would do it for me and that would be that and I would then know where it should go...Does it belong with the other configuration xml? like ejb-jar.xml and sun-ejb-jar.xml?
>
> Can anyone help?
> [Message sent by forum member 'suedonne123' (suedonne123)]
>
> http://forums.java.net/jive/thread.jspa?messageID=315162
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>