1 Reply Latest reply on May 12, 2004 8:28 AM by Klaus Dirlewanger

    migration to jboss-4.0.0DR3: Parse error in application web.

    Klaus Dirlewanger Newbie

      Hello together,

      i´m just trying to migrate to JBoss version 4 (jboss-4.0.0DR3). I installed it, started ist, set up an initial server configuration, started it again, all works fine.

      But now I deployed a WAR-File that works fine on JBoss version 3 (jboss-3.2.0RC3_tomcat-4.1.18), started it and the server has some problems:

      12:22:26,834 INFO [TomcatDeployer] deploy, ctxPath=/osvCustomerClient, warUrl=file:/C:/Programme/jboss-4.0.0DR3/server/osv/tmp/deploy/tmp21217osvCust
      omerClient.war/
      12:22:27,162 ERROR [Digester] End event threw exception
      java.lang.reflect.InvocationTargetException
       at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)
       at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
       at org.apache.commons.digester.Rule.end(Rule.java:276)
       at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
       at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
       at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source)
       at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
       at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
       at org.apache.commons.digester.Digester.parse(Digester.java:1548)
       at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:256)
       at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:597)
       at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:209)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4178)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
       at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:100)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
       at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:100)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:241)
       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:325)
       at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:327)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:864)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:673)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
       at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
       at $Proxy7.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:303)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:477)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
       at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:828)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:360)
       at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
       at $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:253)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:864)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:673)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
       at org.jboss.Main.boot(Main.java:144)
       at org.jboss.Main$1.run(Main.java:389)
       at java.lang.Thread.run(Thread.java:536)
      Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> /private/*.jsp in security constraint
       at org.apache.catalina.core.StandardContext.addConstraint(StandardContext.java:1743)
       ... 103 more
      12:22:27,177 ERROR [ContextConfig] Parse error in application web.xml
      java.lang.IllegalArgumentException: Invalid <url-pattern> /private/*.jsp in security constraint
       at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
       at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
       at org.apache.commons.digester.Digester.endElement(Digester.java:1061)
       at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
       at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source)
       at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
       at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
       at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
       at org.apache.commons.digester.Digester.parse(Digester.java:1548)
       at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:256)
       at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:597)
       at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:209)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4178)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
       at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:100)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
       at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:100)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:241)
       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:325)
       at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:327)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:864)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:673)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
       at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
       at $Proxy7.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:303)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:477)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
       at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:828)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:360)
       at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
       at $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:253)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:864)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:673)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
       at org.jboss.Main.boot(Main.java:144)
       at org.jboss.Main$1.run(Main.java:389)
       at java.lang.Thread.run(Thread.java:536)
      12:22:27,427 ERROR [ContextConfig] Occurred at line 113 column 27
      


      I think the essential settings about security are made in "web.xml"

      <?xml version="1.0" encoding="ISO-8859-1" ?>
      <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
      <web-app>
      
       <display-name>
       OSV-Customer-Client Struts/JSP-based
       </display-name>
      
       <listener>
       <listener-class>de.kamuc.osv.client.customer.util.UserSessionListener</listener-class>
       </listener>
      
       <servlet>
       <servlet-name>OsvCustomerClient</servlet-name>
       <jsp-file>/jsp/index.jsp</jsp-file>
       </servlet>
      
       <servlet>
       <servlet-name>PDFGenerator</servlet-name>
       <servlet-class>de.kamuc.osv.client.customer.util.PDFGenerator</servlet-class>
       <load-on-startup>1</load-on-startup>
       </servlet>
      
       <!-- Action Servlet Configuration -->
       <servlet>
       <servlet-name>action</servlet-name>
       <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
       <init-param>
       <param-name>application</param-name>
       <!--<param-value>
       de.kamuc.osv.client.config.struts.customer.ApplicationResources
       </param-value>-->
       <param-value>ApplicationResources</param-value>
       </init-param>
       <init-param>
       <param-name>config</param-name>
       <param-value>/WEB-INF/struts-config.xml</param-value>
       </init-param>
       <init-param>
       <param-name>debug</param-name>
       <param-value>2</param-value>
       </init-param>
       <init-param>
       <param-name>detail</param-name>
       <param-value>2</param-value>
       </init-param>
       <init-param>
       <param-name>validate</param-name>
       <param-value>true</param-value>
       </init-param>
      
       <load-on-startup>2</load-on-startup>
       </servlet>
      
       <servlet-mapping>
       <servlet-name>OsvCustomerClient</servlet-name>
       <url-pattern>/osvClient</url-pattern>
       </servlet-mapping>
      
       <servlet-mapping>
       <servlet-name>PDFGenerator</servlet-name>
       <url-pattern>/pdfGenerator</url-pattern>
       </servlet-mapping>
      
       <servlet-mapping>
       <servlet-name>action</servlet-name>
       <url-pattern>*.do</url-pattern>
       </servlet-mapping>
      
       <taglib>
       <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
       <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
       </taglib>
      
       <taglib>
       <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
       <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
       </taglib>
      
       <taglib>
       <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
       <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
       </taglib>
      
       <taglib>
       <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
       <taglib-location>/WEB-INF/struts-template.tld</taglib-location>
       </taglib>
      
       <taglib>
       <taglib-uri>/WEB-INF/struts-form.tld</taglib-uri>
       <taglib-location>/WEB-INF/struts-form.tld</taglib-location>
       </taglib>
      
       <taglib>
       <taglib-uri>/WEB-INF/osv-customer.tld</taglib-uri>
       <taglib-location>/WEB-INF/osv-customer.tld</taglib-location>
       </taglib>
      
       <security-constraint>
       <display-name>HelloUser</display-name>
       <web-resource-collection>
       <web-resource-name>My secure resources</web-resource-name>
       <description>Resources to be placed under security control.</description>
      
       <url-pattern>/private/*.jsp</url-pattern>
       <url-pattern>/private/*.html</url-pattern>
       </web-resource-collection>
      
       <auth-constraint>
       <role-name>guest</role-name>
       </auth-constraint>
       </security-constraint>
      
       <security-role>
       <description>The role allowed to access our content</description>
       <role-name>guest</role-name>
       </security-role>
      
       <ejb-ref>
       <ejb-ref-name>ejb/codedNameUserController</ejb-ref-name>
       <ejb-ref-type>Session</ejb-ref-type>
       <home>de.kamuc.osv.ejb.controller.UserControllerHome</home>
       <remote>de.kamuc.osv.ejb.controller.UserController</remote>
       </ejb-ref>
      </web-app>
      


      Now then I read out that a role called "guest" is allowed to use the application, how an anonymous internet user slips into the "guest" role I can´t find out. There are no entries in users.properties resp. roles.properties. Maybe there are some concepts with anonymous users.

      My Questions:

      Did there something change in JBoss V4.0?

      In the J2EE Specification I read that one can still use DTD based descriptors. So why is there an XML parsing error with JBoss V4.0 that does not happen in JBoss V3.2?

      Where is the bug?

        • 1. Re: migration to jboss-4.0.0DR3: Parse error in application
          Klaus Dirlewanger Newbie

          One additional experience: There is not /private/ directory in the war file. Therefore I made a try and changed it to

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


          With this entry there is no problem at deployment time, but the browser replies the following

          HTTP Status 403 - Configuration error: Cannot perform access control without an authenticated principal
          
          Access to the specified resource (Configuration error: Cannot perform access control without an authenticated principal) has been forbidden.
          Apache Tomcat/5.0.20