This is the content of my META-INF/sun-resources.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE resources PUBLIC "-//Sun Microsystems Inc.//DTD Application
Server 9.0 Domain//EN"
"C:/Sun/glassfish/lib/dtds/sun-resources_1_3.dtd">
<resources>
<admin-object-resource enabled="true" jndi-name="jms/MDB1"
object-type="user" res-adapter="jmsra"
res-type="javax.jms.Queue">
<description/>
<property name="Name" value="MDB1"/>
</admin-object-resource>
</resources>
-----Original Message-----
From: Edward Chou [mailto:Edward.Chou_at_Sun.COM]
Sent: Tuesday, November 14, 2006 3:08 PM
To: dev_at_glassfish.dev.java.net
Subject: Can I embed sun-resources.xml in my EAR file?
Hi all,
Is it possible for me to embed a sun-resources.xml in my
deployable archive, and deploy to glassfish? I cannot find any
documentation for this on the Glassfish website, and I tried this
approach with latest V2M2 build, but the sun-resources.xml doesn't seem
to get picked up when I deploy my EAR file.
Thanks,
Edward