Friday, February 12, 2016

WebLogic: validating config.xml

config.xml requires several XSDs to be validated:
 xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd
                            http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd
                            http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd
                            http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd
                            http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator                             http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator/1.0/passwordvalidator.xsd"


For the exact location of these files check here:
http://docs.oracle.com/cd/E28280_01/web.1111/e13716/config_files.htm#DOMCF128 for 10.3.6
namely: WL_HOME/server/lib/schema/weblogic-domain-binding.jar and diagnostics-binding.jar and the names are schema-0.xsd and schema-1.xsd (not a great idea IMHO to rename those files...)



No comments: