<%-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --%> <%-- $Rev$ $Date$ --%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>

WAR - Environment -- Configure Web Application Identity and Class Path

Defaults in this page should suffice for typical scenarios.

Web Context Root:
This is the first part of the URL used to access the Web application by the client. For example, if the context-root is entered as "HelloWorld", then a typical URL to the application would start with "http://host:port/HelloWorld/".
Web Application Identity
Every module in Geronimo is uniquely identified by it's ModuleID which consists of four components: groupId/artifactId/version/type. Example: "org.apache.geronimo.plugins/plancreator-tomcat/2.1/car".
Group Id:
A name identifying a group of related modules. This may be a project name, a company name, etc. The important thing is that each artifactID should be unique within the group.
Artifact Id:
A name identifying the specific module within the group.
Version:
Version number for the module.
Type:
A module's type is normally either CAR (for a system module) or the file extension for an application module (ear,war,jar,etc).
Class Path Settings
Hidden Classes:
List packages or classes that may be in a parent class loader, but should not be exposed from there to the Web application. This is typically used when the Web application wants to use a different version of a library than that of it's parent configuration (or Geronimo itself) uses. Separate multiple package/class names with a semicolon ';'
Non Overridable Classes:
List packages or classes that the Web application should always load from a parent class loader, and never load from WEB-INF/lib or WEB-INF/classes. This might be used to force a Web application to share the same instance of a common library with other Web applications, even if they each include it in their own WAR. Separate multiple package/class names with a semicolon ';'
Inverse Class Loading:
CHECKED />
Normally (if this element is not checked), the module's class loader will work normally - classes will be loaded from the parent class loader if available before checking the current class loader. If this element is checked, that behavior is reversed and the current class loader will always be checked first before looking in the parent class loader. This is often enabled to give the JARs in WEB-INF/lib precedence over anything that might be in a parent class loader.

">Cancel