users@glassfish.java.net

Change/Disabling DTD path specified into domain.xml

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 Jul 2010 09:28:55 PDT

Some body know if is posible disabling or change the code line that specifies the path of the DTD used by the domain.xml file in GlassFish?

For example:
Each time that I add a new LDAP configuration, Connection pool, deploy a new resource, etc. The domain.xml file is regenerated with the line:
<!DOCTYPE domain PUBLIC "-//Sun Microsystems Inc.//DTD Application Server 9.1 Domain//EN" "http://www.sun.com/software/appserver/dtds/sun-domain_1_3.dtd">

I required:
a) Disabling the generation of the DOCTYPE line or
b) Replace automatically the Path: http://www.sun.com/software/appserver/dtds/sun-domain_1_3.dtd by a local path: /export/home/javausr/domains/myDomain/dtds/sun-domain_1_3.dtd


Best regards.
[Message sent by forum member 'rodriguo']

http://forums.java.net/jive/thread.jspa?messageID=478191