geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krishnakumar B (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-2664) Servlet Filter Error
Date Fri, 15 Dec 2006 09:14:21 GMT
Servlet Filter Error
--------------------

                 Key: GERONIMO-2664
                 URL: http://issues.apache.org/jira/browse/GERONIMO-2664
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Jetty, Tomcat
    Affects Versions: 2.0-M1
            Reporter: Krishnakumar B


Trying out servlet name with a wild card ( * ) in Filter throws exception in Jetty. In tomcat
the filter is not called at all

<filter-mapping>
 <filter-name>Sample Filter</filter-name>
 <servlet-name>*</servlet-name>
</filter-mapping>

instead of

<filter-name>Sample Filter</filter-name>
<!--        <servlet-name>*</servlet-name>  -->
<servlet-name>SampleServlet</servlet-name>
<servlet-name>AnotherSampleServlet</servlet-name>


Jetty

14:21:50,780 ERROR [Deployer] Deployment failed due to
java.lang.AssertionError:
javax.management.MalformedObjectNameException: Invalid character `*'
in value
       at org.apache.geronimo.kernel.Jsr77Naming.createObjectName(Jsr77Naming.java:112)
       at org.apache.geronimo.kernel.Jsr77Naming.createChildName(Jsr77Naming.java:80)
       at org.apache.geronimo.kernel.Jsr77Naming.createChildName(Jsr77Naming.java:54)
       at org.apache.geronimo.jetty6.deployment.JettyModuleBuilder.addFilterMappingsGBeans(JettyModuleBuilder.java:614)
       at org.apache.geronimo.jetty6.deployment.JettyModuleBuilder.addGBeans(JettyModuleBuilder.java:483)
       at org.apache.geronimo.jetty6.deployment.JettyModuleBuilder$$FastClassByCGLIB$$1a00be84.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:124)
       at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:820)
       at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
       at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
       at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
       at org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$8c79360e.addGBeans(<generated>)
       at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:165)
       at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder$$FastClassByCGLIB$$d0c31844.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:124)
       at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:820)
       at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
       at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
       at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
       at org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$8c79360e.addGBeans(<generated>)
       at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:572)
       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:124)
       at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:820)
       at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
       at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
       at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
       at org.apache.geronimo.j2ee.deployment.CorbaGBeanNameSource$$EnhancerByCGLIB$$c3a6b023.buildConfiguration(<generated>)
       at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:302)
       at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124)
       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:124)
       at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:855)
       at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
       at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:114)
       at org.apache.geronimo.deployment.plugin.local.RedeployCommand.redeploySameConfiguration(RedeployCommand.java:224)
       at org.apache.geronimo.deployment.plugin.local.RedeployCommand.run(RedeployCommand.java:100)
       at java.lang.Thread.run(Thread.java:595)
Caused by: javax.management.MalformedObjectNameException: Invalid
character `*' in value
       at javax.management.ObjectName.parseValue(ObjectName.java:870)
       at javax.management.ObjectName.checkValue(ObjectName.java:901)
       at javax.management.ObjectName.construct(ObjectName.java:636)
       at javax.management.ObjectName.<init>(ObjectName.java:1348)
       at javax.management.ObjectName.getInstance(ObjectName.java:1247)
       at org.apache.geronimo.kernel.Jsr77Naming.createObjectName(Jsr77Naming.java:110)
       ... 45 more



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message