JBossDTDs

DTDs and Schemas used by JBoss

 

See http://www.jboss.org/j2ee/dtd/ and http://www.jboss.org/j2ee/schema/. The latter URL is just a redirection to http://www.jboss.org/schema/, where the XSD files are grouped by component.

 

The DTD/XSD files can also be found in the JBoss zip in the subdirectories "/docs/schema" and "/docs/dtd".

 

Up to JBoss 6:

Latest versions of some files might be found in:

http://fisheye.jboss.org/browse/JBossAS/projects/metadata/trunk/src/main/resources/schema/

http://fisheye.jboss.org/browse/JBossAS/projects/metadata/trunk/src/main/resources/dtd

 

JBoss 7 / WildFly:

Latest versions of some files might be found in:

https://github.com/wildfly/wildfly/tree/master/build/src/main/resources/docs/schema

https://github.com/jboss/metadata/tree/master/web/src/main/resources/schema (jboss metadata project)

 

A wiki article about JBoss 5 specific descriptors: http://community.jboss.org/wiki/JBoss5CustomMetadataFiles

 

DTD or Schema

Applies to

Description

Namespaces / Notes

application_1_2.dtd

application.xml

J2EE 1.2 application deployment descriptor


application_1_3.dtd

application.xml

J2EE 1.3 application deployment descriptor


application_1_4.xsd

application.xml

J2EE 1.4 application deployment descriptor


application_5.xsdapplication.xmlJavaEE 5 application deployment descriptor
application_6.xsdapplication.xmlJavaEE6 application deployment descriptor

application-client_1_3.dtd

application-client.xml

J2EE 1.3 application client deployment descriptor


application-client_1_4.xsd

application-client.xml

J2EE 1.4 application client deployment descriptor


application-client_5.xsdapplication-client.xmlJavaEE 5 application client deployment descriptor
application-client_6.xsdapplication-client.xmlJavaEE 6 application client deployment descriptor
bean-deployer_1_0.xsd-jboss-beans.xmlJBoss 4.2 Bean Deployer definition

Namespace: "urn:jboss:bean-deployer"

JBoss 4.2: in /doc/schema

JBoss 5.0: can only be found in /lib/jboss-kernel.jar!schema

bean-deployer_2_0.xsd-jboss-beans.xmlJBoss 5.0 Bean Deployer definition

urn:jboss:bean-deployer:2.0

Can only be found in /lib/jboss-kernel.jar!schema

connector_1_0.dtd

ra.xml

JCA 1.0 Resource Adaptor deployment descriptor


connector_1_5.xsd

ra.xml

JCA 1.5 Resource Adaptor deployment descriptor


connector_1_6.xsdra.xmlJCA 1.6 Resource Adaptor deployment descriptor

ejb-jar.dtd

ejb-jar.xml

EJB 1.1 deployment descriptor


ejb-jar_2_0.dtd

ejb-jar.xml

EJB 2.0 deployment descriptor


ejb-jar_2_1.xsd

ejb-jar.xml

EJB 2.1 deployment descriptor


ejb-jar_3_0.xsdejb-jar.xmlEJB 3.0 deployment descriptor
ejb-jar_3_1.xsdejb-jar.xmlEJB 3.1 deployment descriptor
hornetq-jms.xsd...-hornetq-jms.xmlConfiguration of HornetQ JMS, introduced in JBoss 6.0

Namespace: "urn:hornetq"

not on webseite, only in /common/lib/hornetq-jms.jar!schema

jaws.dtd

jaws.xml

JAWS deploment descriptor


jaws_2_4.dtd

jaws.xml

JAWS 2.4 deployment descriptor


jaws_3_0.dtd

jaws.xml

JAWS 3.0 deployment desctiptor


jboss.dtd

jboss.xml

JBoss 2.2 EJB deploymentDescriptor


jboss_2_4.dtd

jboss.xml

JBoss 2.4 EJB deploymentDescriptor

Schema parsing failed with JBoss 5, try to use later version, e.g. 4.0

jboss_3_0.dtd

jboss.xml

JBoss 3.0 EJB deploymentDescriptor


jboss_3_2.dtd

jboss.xml

JBoss 3.2 EJB deploymentDescriptor


jboss_4_0.dtd

jboss.xml

JBoss 4.0 EJB deploymentDescriptor


jboss_4_2.dtdjboss.xmlJBoss 4.2 EJB deploymentDescriptor
jboss_5_0.dtdjboss.xmlJBoss 5.0 EJB deploymentDescriptorUse jboss_5_0.xsd instead
jboss_5_0.xsdjboss.xmlJBoss 5.0 EJB deploymentDescriptor
jboss_5_1.xsdjboss.xmlJBoss 5.1 EJB deploymentDescriptor
jboss_6_0.dtdjboss.xmlJBoss 6.0 EJB deploymentDescriptorA file "jboss_6.0.xsd" does not seem to exist.
jboss_7_0.xsddomain.xml, host.xml, standalone.xmlConfiguration of JBoss AS 7' domains and standalone serversrenamed to "jboss-as-config_1_0.xsd" in 7.0.1
jboss-acl-config_1_0.xsd

Namespace: "urn:jboss:jboss-acl-config:1.0"

not on website, only in /common/lib/jbosssx.jar!schema

jboss-app_3_0.dtd

jboss-app.xml

JBoss 3.0 application deployment descriptor


jboss-app_3_2.dtd

jboss-app.xml

JBoss 3.2 application deployment descriptor


jboss-app_4_0.dtd

jboss-app.xml

JBoss 4.0 application deployment descriptor


jboss-app_4_2.dtdjboss-app.xmlJBoss 4.2 application deployment descriptor
jboss-app_5_0.dtdjboss-app.xmlJBoss 5.0 application deployment descriptor
jboss-as-config_1_0.xsddomain.xml, host.xml, standalone.xmlConfiguration of JBoss AS 7' domains and standalone servers (since AS 7.0.1)urn:jboss:domain:1.0
jboss-as-datasources_1_0.xsddomain.xml, host.xml, standalone.xmlConfiguration of JBoss AS7's datasource subsystem (since AS 7.0.1)urn:jboss:domain:datasources:1.0
jboss-as-deployment-scanner_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's deployment scanning subsystem (since AS 7.0.1)urn:jboss:domain:deployment-scanner:1.0
jboss-as-ee_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's EE subsystem (since AS 7.0.1)urn:jboss:domain:ee:1.0
jboss-as-ejb3_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's EJB3 subsystem (since AS 7.0.1)urn:jboss:domain:ejb3:1.0
jboss-as-ejb3_1_1.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7.0.1's EJB3 subsystem urn:jboss:domain:ejb3:1.1
jboss-as-infinispan_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's Infinispan subsystem (since AS 7.0.1)urn:jboss:domain:infinispan:1.0
jboss-as-jacorb_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's Jacorb (IIOP) subsystem (since AS 7.0.1)urn:jboss:domain:jacorb:1.0
jboss-as-jaxrs_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's JAXRS subsystem (since AS 7.0.1)urn:jboss:domain:jaxrs:1.0
jboss-as-jca_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's JCA subsystem (since AS 7.0.1)urn:jboss:domain:jca:1.0
jboss-as-jgroups_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's JGroups subsystem (since AS 7.0.1)urn:jboss:domain:jgroups:1.0
jboss-as-jmx_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's JMX subsystem (since AS 7.0.1)urn:jboss:domain:jmx:1.0
jboss-as-jpa_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's JPA subsystem (since AS 7.0.1)urn:jboss:domain:jpa:1.0
jboss-as-logging_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's logging subsystem (since AS 7.0.1)urn:jboss:domain:logging:1.0
jboss-as-logging_1_1.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7.0.1's logging subsystemurn:jboss:domain:logging:1.1
jboss-as-messaging_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's messaging subsystem (since AS 7.0.1)urn:jboss:domain:messaging:1.0
jboss-as-mod-cluster_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's mod-cluster subsystem (since AS 7.0.1)urn:jboss:domain:modcluster:1.0
jboss-as-naming_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's JNDI subsystem (since AS 7.0.1)urn:jboss:domain:naming:1.0
jboss-as-osgi_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's OSGi subsystem (since AS 7.0.1)urn:jboss:domain:osgi:1.0
jboss-as-remoting_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's remoting subsystem (since AS 7.0.1)urn:jboss:domain:remoting:1.0
jboss-as-resource-adapters_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's resource adapter subsystem (since AS 7.0.1)urn:jboss:domain:resource-adapters:1.0
jboss-as-sar_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's MBean-deployment subsystem (since AS 7.0.1)urn:jboss:domain:sar:1.0
jboss-as-security_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's security subsystem (since AS 7.0.1)urn:jboss:domain:security:1.0
jboss-as-threads_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's thread management subsystem (since AS 7.0.1)urn:jboss:domain:threads:1.0
jboss-as-txn_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's transaction management subsystem (since AS 7.0.1)urn:jboss:domain:transactions:1.0
jboss-as-web_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's web server subsystem (since AS 7.0.1)urn:jboss:domain:web:1.0
jboss-as-webservices_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's web services subsystem (since AS 7.0.1)

Imports jbossws-jaxws-config_4_0.xsd

 

urn:jboss:domain:webservices:1.0

jboss-as-weld_1_0.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's Weld (CDI) subsystem (since AS 7.0.1)urn:jboss:domain:weld:1.0
jboss-beans-common_2_0.xsd---Included by bean-deployer_2_0.xsdCan only be found in /lib/jboss-kernel.jar!schema

jboss-client_3_2.dtd

jboss-client.xml

JBoss 3.2 application client deployment descriptor


jboss-client_4_0.dtd

jboss-client.xml

JBoss 4.0 application client deployment descriptor


jboss-client_4_2.dtdjboss-client.xmlJBoss 4.2 application client deployment descriptor
jboss-client_5_0.dtdjboss-client.xmlJBoss 5.0 application client deployment descriptor
jboss-client_5_0.xsdjboss-client.xmlJBoss 5.0 application client deployment descriptor
jboss-client_5_1.xsdjboss-client.xmlJBoss 5.1 application client deployment descriptor
jboss-client_6_0.xsdjboss-client.xmlJBoss 6.0 application client deployment descriptor

jbosscmp-jdbc_3_0.dtd

jbosscmp-jdbc.xml

JBoss 3.0 CMP deployment descriptor


jbosscmp-jdbc_3_2.dtd

jbosscmp-jdbc.xml

JBoss 3.2 CMP deployment descriptor


jbosscmp-jdbc_4_0.dtd

jbosscmp-jdbc.xml

JBoss 4.0 CMP deployment descriptor


jbosscmp-jdbc_4_2.dtdjbosscmp-jdbc.xmlJBoss 4.2 CMP deployment descriptor
jboss-common_5_1.xsd---Included by jboss_5_1.xsd and jboss_client_5_1.xsd
jboss-common_6_0.xsd---Included by jboss_6_0.xsd and jboss_client_6_0.xsd
jboss-datasources.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's datasource subsystemrenamed to jboss-as-datasources_1_0.xsd in 7.0.1
jboss-deployment-scanner.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's deployment scanning subsystemrenamed to jboss-as-deployment-scanner_1_0.xsd in 7.0.1
jboss-deployment-structure-1_0.xsdjboss-deployment-structure.xmlDescribe deployment's structure. Use this in case your deployment does not comply to the usual/spec deployments.urn:jboss:deployment-structure:1.0
jboss-deployment-structure-1_1.xsdjboss-deployment-structure.xmlDescribe deployment's structure. Use this in case your deployment does not comply to the usual/spec deployments.urn:jboss:deployment-structure:1.1
jboss-deployment-structure-1_2.xsdjboss-deployment-structure.xmlDescribe deployment's structure. Use this in case your deployment does not comply to the usual/spec deployments.urn:jboss:deployment-structure:1.2

jboss-ds_1_0.dtd

-ds.xml

JBoss 3.2/JCA 1.0 datasource configuration


jboss-ds_1_5.dtd

-ds.xml

JBoss 4.0/JCA 1.5 datasource configuration


jboss-ds_5_0.dtd-ds.xmlJBoss 5.0/JCA 1.5 datasource configuration
jboss-ds_5_0.xsd-ds.xmlJBoss 5.0/JCA 1.5 datasource configuration
jboss-ee.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's EE subsystemrenamed to jboss-as-ee_1_0.xsd in 7.0.1
jboss-ejb3.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's EJB3 subsystemrenamed to jboss-as-ejb3_1_0.xsd in 7.0.1
jboss-infinispan.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's Infinispan subsystemrenamed to jboss-as-infinispan_1_0.xsd in 7.0.1
jboss-jacorb.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's Jacorb (IIOP) subsystemrenamed to jboss-as-jacorb_1_0.xsd in 7.0.1
jboss-jaxrs.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's JAXRS subsystemrenamed to jboss-as-jaxrs_1_0.xsd in 7.0.1
jboss-jca.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's JCA subsystemrenamed to jboss-as-jca_1_0.xsd in 7.0.1
jboss-jgroups.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's JGroups subsystemrenamed to jboss-as-jgroups_1_0.xsd in 7.0.1
jboss-jmx.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's JMX subsystemrenamed to jboss-as-jmx_1_0.xsd in 7.0.1
jboss-jpa.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's JPA subsystemrenamed to jboss-as-jpa_1_0.xsd in 7.0.1
jboss-logging.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's logging subsystemrenamed to jboss-as-logging_1_0.xsd in 7.0.1
jboss-messaging.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's messaging subsystemrenamed to jboss-as-messaging_1_0.xsd in 7.0.1
jboss-mod-cluster.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's mod-cluster subsystemrenamed to jboss-as-mod-cluster_1_0.xsd in 7.0.1
jboss-naming.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's JNDI subsystemrenamed to jboss-as-naming_1_0.xsd in 7.0.1
jboss-osgi.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's OSGi subsystemrenamed to jboss-as-osgi_1_0.xsd in 7.0.1
jboss-remoting.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's remoting subsystemrenamed to jboss-as-remoting_1_0.xsd in 7.0.1
jboss-resource-adapters.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's resource adapter subsystemrenamed to jboss-as-resource-adapters_1_0.xsd in 7.0.1
jboss-sar.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's MBean-deployment subsystemrenamed to jboss-as-sar_1_0.xsd in 7.0.1
jboss-security.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's security subsystemrenamed to jboss-as-security_1_0.xsd in 7.0.1

jboss-service_3_2.dtd

-service.xml

skeleton JBoss 3.2 MBean service descriptor


jboss-service_4_0.dtd

-service.xml

skeleton JBoss 4.0 MBean service descriptor


jboss-service_4_2.dtd-service.xml

skeleton JBoss 4.2 MBean service descriptor


jboss-service_5_0.dtd-service.xmlskeleton JBoss 5.0 MBean service descriptor
jboss-service_7_0.xsd-service.xmlJBoss 7.0 MBean service descriptor

jboss-subscription.dtd

-service.xml

SubscriptionList MBeans which extend ListenerServiceMBeanSupport


jboss-threads.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's thread management subsystemrenamed to jboss-as-threads_1_0.xsd in 7.0.1
jboss-txn.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's transaction management subsystemrenamed to jboss-as-txn_1_0.xsd in 7.0.1

jboss-web.dtd

jboss-web.xml

JBoss 2.4 deployment descriptor for servlet 2.2 web application


jboss-web_3_0.dtd

jboss-web.xml

JBoss 3.0 deployment descriptor for servlet 2.3 web application


jboss-web_3_2.dtd

jboss-web.xml

JBoss 3.2 deployment descriptor for servlet 2.3 web application


jboss-web_4_0.dtd

jboss-web.xml

JBoss 4.0 deployment descriptor for servlet 2.4 web application


jboss-web_4_2.dtd

jboss-web.xml

JBoss 4.2 deployment descriptor for servlet 2.4 web application


jboss-web_5_0.dtdjboss-web.xmlJBoss 5.0 deployment descriptor for servlet 2.5 web application
jboss-web_5_1.xsdjboss-web.xmlJBoss 5.1 deployment descriptor for servlet 2.5 web application
jboss_web_6.0.xsdjboss-web.xmlJBoss 6.0 deployment descriptor for servlet 3.0 web applicationCurrently only at http://www.jboss.org/schema/jbossweb/jboss-web_6_0.xsd ; See AS7-3401
jboss-web.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's web server subsystemrenamed to jboss-as-web_1_0.xsd in 7.0.1
jboss-webservices.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's web services subsystem

Imports jbossws-jaxws-config_4_0.xsd

 

renamed to jboss-as-webservices_1_0.xsd in 7.0.1

jboss-weld.xsddomain.xml, standalone.xmlConfiguration of JBoss AS7's Weld (CDI) subsystemrenamed to jboss-as-weld_1_0.xsd in 7.0.1
jboss-xts.xsddomain.xml, standalone.xmlThe configuration of the XTS subsystem in AS 7urn:jboss:domain:xts:1.0

jboss_xmbean_1_0.dtd

-xmbean.xml

JBoss MX 1.0 XMBean deployment descriptor


jboss_xmbean_1_1.dtd

-xmbean.xml

JBoss MX 1.1 XMBean deployment descriptor


jboss_xmbean_1_2.dtd

-xmbean.xml

JBoss MX 1.2 XMBean deployment descriptor


jbossws-jaxws-config_4_0.xsddomain.xml, standalone.xmlJAXWS configurations in JBoss AS 7's web services subsystem
policy_1_0.xsd---Includes bean-deployer_2_0.xsdurn:jboss:policy:1.0

Can only be found in /lib/jboss-kernel.jar!schema

security-beans_1_0.xsd-jboss-beans.xmlJBoss 5.0 security policy configurationnot on website, only in /common/lib/jbosssx.jar!schema

security_config.dtd

login-config.xml

JBoss 3.0 security policy configuration

not on website,

JBoss 4.2: in /doc/schema

JBoss 5.0: in /common/lib/jbosssx.jar!dtd

security-config_4_0.xsd

login-config.xml

JBoss 4.0 security policy configuration

not on website,

JBoss 4.2: in /doc/schema

JBoss 5.0: only in /common/lib/jbosssx.jar!schema
security-config_4_1.xsdlogin-config.xmlJBoss 4.1 (?) security policy configuration

not on website,

JBoss 4.2: in /doc/schema

JBoss 5.0: only in /common/lib/jbosssx.jar!schema

security-config_5_0.xsdlogin-config.xmlJBoss 5.0 security policy configuration

not on website, only in /common/lib/jbosssx.jar!schema

In JBoss 5.0 "login-config.xml" is obsolete, better use a "-jboss-beans.xml" file

web-app_2_2.dtd

web.xml

Servlet 2.2 deployment descriptor


web-app_2_3.dtd

web.xml

Servlet 2.3 deployment descriptor


web-app_2_4.xsd

web.xml

Servlet 2.4 deployment descriptor


web-app_2_5.xsdweb.xmlServlet 2.5 deployment descriptor
web-app_3_0.xsdweb.xmlServlet 3.0 deployment descriptor