Hello,

      I am attempting to migrate an existing working war file from
tomcat to websphere express v5.1.  My application is setup exactly as
the tdk demo. The Jakarta site states that all I have to do is changes
the references from 2.2 servlet spec in order to deploy this in another
compliant container.  This has not been successful. Here is a copy of my
web.xml file:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd";>

 

   <web-app id="WebApp_1084977951520">

      <servlet id="Servlet_1084977943158">

         <servlet-name>glostage</servlet-name>

         <servlet-class>org.apache.turbine.Turbine</servlet-class>

         <init-param id="InitParam_1084977951540">

            <param-name>applicationRoot</param-name>

            <param-value>webContext</param-value>

         </init-param>

         <init-param id="InitParam_1084977951781">

            <param-name>properties</param-name>

 
<param-value>/WEB-INF/conf/TurbineResources.properties</param-value>

         </init-param>

         <load-on-startup>1</load-on-startup>

      </servlet>

      <servlet-mapping id="ServletMapping_1084977951791">

         <servlet-name>glostage</servlet-name>

         <url-pattern>/glostage/servlet/glostage</url-pattern>

      </servlet-mapping>

      <security-constraint id="SecurityConstraint_1084977951801">

         <web-resource-collection
id="WebResourceCollection_1084977951811">

            <web-resource-name>templates</web-resource-name>

            <url-pattern>/templates/*</url-pattern>

         </web-resource-collection>

         <web-resource-collection
id="WebResourceCollection_1084977951812">

            <web-resource-name>logs</web-resource-name>

            <url-pattern>/logs/*</url-pattern>

         </web-resource-collection>

         <auth-constraint id="AuthConstraint_1084977951811">

            <role-name>admin</role-name>

         </auth-constraint>

      </security-constraint>

      <login-config id="LoginConfig_1084977951811">

         <auth-method>BASIC</auth-method>

         <realm-name>Templates</realm-name>

      </login-config>

   </web-app>

 

Brian

 

Reply via email to