XML files in JRun

JRun complies with J2EE standards, which require the use of XML files for server and web application configuration. JRun also uses XML files to define the container environment. The following sections describe the J2EE-standard XML files used by JRun and the JRun-specific XML server configuration files.

Standard J2EE XML files

The following table describes the J2EE-standard XML files used in web application deployment:
XML file
Description
Location
application.xml
Defines settings for enterprise applications (EAR files) at the module level. Includes module definitions, context roots, and security settings.
jrun_root/servers/server_name/�app_name/META-INF
web.xml
Defines settings for web modules (WAR files) at the component level (servlets, filters, event handlers). Includes servlet definitions, initialization parameters for the web application, and security settings.
jrun_root/servers/server_name/�app_name/WEB-INF
ejb-jar.xml
Defines settings for EJB modules (EJB JAR files) at the component level (EJBs). Includes EJB definitions, environment entries, permission levels, and security settings.
jrun_root/servers/server_name/�app_name/META-INF

JRun-specific XML files

The following table describes the XML files that configure the JRun container environment and are not a standard part of J2EE:
XML file
Description
Location
servers.xml
Lists the servers in the current JRun installation.
jrun_root/lib
jrun-web.xml
Contains web application elements that are specific to the JRun application server.
jrun_root/servers/server_name/app_name/WEB-INF
default-web.xml
Has the same structure as the standard web.xml file, but it applies settings to all the web applications in a JRun server.
jrun_root/servers/server_name/server-inf
jrun-dtd-mappings. xml
Specifies mappings between an XML DOCTYPE public ID and physical DTD files. Normally, DTD files are resolved over connections to remote servers; specifying a mapping in this file allows the DTD file to be read locally.
jrun_root/servers/server_name/server-inf
jrun.xml
Defines the core service settings for the JRun server.
jrun_root/servers/server_name/server-inf
jrun-jms.xml
Defines the built-in JMS provider.
jrun_root/servers/server_name/server-inf
jrun-resources.xml
Defines J2EE resource factories (JDBC data sources, JMS providers, JavaMail sessions, and URLs). Also defines custom pools of objects.
jrun_root/servers/server_name/server-inf
jrun-users.xml
Defines users for the JRun server.
jrun_root/servers/server_name/server-inf
xdoclet.xml
Configures the XDoclet utility.
jrun_root/lib
server-config.wsdd
Defines web services and the web service engine.
jrun_root/servers/server_name/app_name/WEB-INF

For more information on using JRun configuration files, see JRun Assembly and Deployment Guide.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/jrun/4/Programmers_Guide/servletxml3.htm