geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heinz Drews" <heinz.dr...@gmail.com>
Subject Errors deploying webapplication with security constraint
Date Sun, 27 Aug 2006 18:48:31 GMT
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

Mime
View raw message