users@glassfish.java.net

Glassfish problem with : (colon) in URL (Specifically with Tapestry)

From: <glassfish_at_javadesktop.org>
Date: Mon, 18 Jan 2010 06:50:49 PST

Hi there,

I'm using Tapestry, and it uses colons in the URL. [b]Everything works fine until I turn on security[/b], and after that I get this error:
HTTP Status 400 - There are some problems in the request: invalid URLPatternSpec

type Status report

There are some problems in the request: invalid URLPatternSpec

The request sent by the client was syntactically incorrect (There are some problems in the request: invalid URLPatternSpec).
Sun Java System Application Server 9.1_02

The URL to get the error looks like this:
http://dev84:8080/piadmin/integratorctrllist.grid.columns:sort/errorMessage

The stack trace:
[#|2010-01-18T09:45:59.678-0500|FINE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=30;_ThreadName=httpSSLWorkerThread-8080-2;ClassName=com.sun.web.security.RealmAdapter;MethodName=hasUserDataPermission;_RequestID=258df9d0-7dea-412e-9ec9-e69e1ac84cc5;|There are some problems in the request: invalid URLPatternSpec
java.lang.IllegalArgumentException: invalid URLPatternSpec
        at javax.security.jacc.URLPatternSpec.setURLPatternArray(URLPatternSpec.java:361)
        at javax.security.jacc.URLPatternSpec.<init>(URLPatternSpec.java:119)
        at javax.security.jacc.WebUserDataPermission.<init>(WebUserDataPermission.java:267)
        at com.sun.web.security.WebSecurityManager.hasUserDataPermission(WebSecurityManager.java:463)
        at com.sun.web.security.RealmAdapter.hasUserDataPermission(RealmAdapter.java:833)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:609)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)


I would really appreciate any help or insight, thanks!
Paul
[Message sent by forum member 'desikage' (desikage_at_yahoo.com)]

http://forums.java.net/jive/thread.jspa?messageID=381547