Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-654

Support for env-entry in web.xml for Tomcat

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 1.0-M4
    • Fix Version/s: None
    • Component/s: Tomcat
    • Labels:
      None
    • Environment:

      All environments

      Description

      If web.xml has an env-entry, the deployer gives the following error :
      ...........
      ...........
      ...........
      19:34:21,765 DEBUG [Deployer] Deployment failed: plan=null, module=D:\anita\geronimo\incubator-geronimo\modules\assembly\target\geronimo-1.0-SNAPSHOT\..\..\geronimo-tomcatdemo3-1.0-SNAPSHOT.war
      org.apache.geronimo.common.DeploymentException: <url-pattern>
      /CompressionTest
      must not contain LF(#xA)
      at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.checkString(TomcatModuleBuilder.java:778)
      at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.checkURLPattern(TomcatModuleBuilder.java:760)
      at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.check(TomcatModuleBuilder.java:744)
      at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.createModule(TomcatModuleBuilder.java:155)
      at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.createModule(TomcatModuleBuilder.java:119)
      at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder$$FastClassByCGLIB$$6f85ec2c.invoke(<generated>)
      at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
      at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:710)
      at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
      at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
      at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:94)
      at org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$a2f97cf7.createModule(<generated>)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:122)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<generated>)
      at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
      at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:710)
      at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
      at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
      at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:94)
      at org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$b1c33169.getDeploymentPlan(<generated>)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:123)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:80)
      at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
      at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
      at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:745)
      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:177)
      at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:124)
      at org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(<generated>)
      at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
      at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:745)
      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:177)
      at org.apache.geronimo.kernel.jmx.MBeanServerDelegate.invoke(MBeanServerDelegate.java:117)
      at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source)
      at javax.management.remote.rmi.RMIConnectionImpl.access$100(Unknown Source)
      at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source)
      at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
      at sun.rmi.transport.Transport$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      19:34:59,843 DEBUG [ManagerBase] Start expire sessions StandardManager at 1117150499843 sessioncount 0
      19:34:59,843 DEBUG [ManagerBase] End expire sessions StandardManager processingTime 0 expired sessions: 0
      This web.xml is from jsp-examples of Tomcat.

        Attachments

        1. web.zip
          3 kB
          Anita Kulshreshtha

          Activity

            People

            • Assignee:
              jgenender Jeff Genender
              Reporter:
              akulshre Anita Kulshreshtha
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: