ensure to have the following in your resource xml file.
<!DOCTYPE resources PUBLIC "-//GlassFish.org//DTD GlassFish Application
Server 3.1 Resource Definitions//EN"
"
http://glassfish.org/dtds/glassfish-resources_1_5.dtd">
if in windows environment, use '/' as folder separator in the path instead of
'\' while providing relative path of resource xml file. otherwise the
command prepends the ...domain/domain1/config/ directory.
check the above and then invoke add-resources command.
warning: this command will overwrite your domain.xml with the resources being
added, am exploring to see how to append the resources instead of overwriting
entire domain.xml.
--
[Message sent by forum member 'Vijayadiraju']
View Post: http://forums.java.net/node/705234