See http://issues.apache.org/jira/browse/GERONIMO-1585 for previous discussion.
Maybe we can actually fix this soon?

thanks
david jencks

On Aug 27, 2006, at 2:48 PM, Heinz Drews wrote:

Hello,

I try to deploy a webapp with a security constraint in G build from trunk.
web.xml contains:
<web-resource-collection>
<web-resource-name>Secure</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
The deploy fails with message:
Qualifier patterns in the URLPatternSpec cannot match the first URLPattern

Patterns like /x/* are accepted.

Pattern /*.jsp produces:
java.lang.NullPointerException
   at java.util.Hashtable.put(Hashtable.java:393)
at org.apache.naming.resources.DirContextURLStreamHandler.bind (DirContextURLStreamHandler.java:233)
   at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart (TomcatWebAppContext.java:444)
   at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance (GBeanInstance.java:984)
   at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart( GBeanInstanceState.java:267)
   at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start (GBeanInstanceState.java:102)
   at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive (GBeanInstanceState.java:124)
   at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive (GBeanInstance.java:543)

Any idea how to approach to find out the reason?
Thanks for help,
Heinz

Reply via email to