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