users@glassfish.java.net

Re: asadmin add-resource not working in GFv3

From: <forums_at_java.net>
Date: Wed, 24 Aug 2011 06:31:09 -0500 (CDT)

Hi wfsaxton,

The doctype mentioned in the porta-resources.xml should be as follows:

<!DOCTYPE resources PUBLIC "-//GlassFish.org//DTD GlassFish Application
Server 3.1 Resource Definitions//EN"
"http://glassfish.org/dtds/glassfish-resources_1_5.dtd">

also ensure to provide relative path of the portal-resources.xml while
invoking add-resources command.  Otherwise by default the command prepends
as-install/domains/domain1/config/ to the xml file.  if it is in windows
environment, you will have to provide '/' as folder separator while providing
relative path instead of '\'.

check the above suggestions and let me know if it worked.

cheers!


--
[Message sent by forum member 'Vijayadiraju']
View Post: http://forums.java.net/node/705234