T5.0.13 colon in URL leads to 503-Error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

T5.0.13 colon in URL leads to 503-Error

tommyboy66

Hello,

I uses SSL in my Application and get an error 503 with EventLink and
ActionLink. For example my code is really simple:
*.tml:
        <t:eventlink t:id="button1">
            <input type="button" value="Click"/>
        </t:eventlink>

*.java:
   void onClickButton1() {
           Logfile.appendLog("onClickButton1");
        }

In this example T5 creates a link like this:
https://localhost/myApp/start:button1

If I click on the button1 I get an error "503 - Access to the requested
resource has been denied". The same issue in ActionLink or
Autocomplete-field. The normal submit of a form works fine (the link T5
create is like https://localhost/myApp/start.myform) . I think the problem
is the interaction between SSL-Encryption, Windows and the colon in the URL,
because without SSL my Code works.
Has anybody an idea how i can avoid this? Is the mistake on Tapestry,
Glassfish or in my site? Is it (simple) possible to change the way Tapestry
decodes URLs?


Thank You,
Tom

PS: My server is a Glassfish


--
View this message in context: http://www.nabble.com/T5.0.13-colon-in-URL-leads-to-503-Error-tp18313019p18313019.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: T5.0.13 colon in URL leads to 503-Error

Filip S. Adamsen
Hi,

This is not a bug in Tapestry, nor is it a problem with Windows - at
least I don't have that problem. To be honest I don't even think it's
Glassfish's fault, although this works for me with Jetty. Perhaps it's a
configuration issue of some sort?

And no, it's not simple to change the way Tapestry decodes URLs.

-Filip

Tommyboy66 skrev:

> Hello,
>
> I uses SSL in my Application and get an error 503 with EventLink and
> ActionLink. For example my code is really simple:
> *.tml:
>         <t:eventlink t:id="button1">
>             <input type="button" value="Click"/>
>         </t:eventlink>
>
> *.java:
>    void onClickButton1() {
>            Logfile.appendLog("onClickButton1");
>         }
>
> In this example T5 creates a link like this:
> https://localhost/myApp/start:button1
>
> If I click on the button1 I get an error "503 - Access to the requested
> resource has been denied". The same issue in ActionLink or
> Autocomplete-field. The normal submit of a form works fine (the link T5
> create is like https://localhost/myApp/start.myform) . I think the problem
> is the interaction between SSL-Encryption, Windows and the colon in the URL,
> because without SSL my Code works.
> Has anybody an idea how i can avoid this? Is the mistake on Tapestry,
> Glassfish or in my site? Is it (simple) possible to change the way Tapestry
> decodes URLs?
>
>
> Thank You,
> Tom
>
> PS: My server is a Glassfish
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: T5.0.13 colon in URL leads to 503-Error

tommyboy66

Thanks for you reply Filip,

I am using Glassfish with normal Basic-Authentification and there are no
problems with pages, resources or else. Only this special interaction causes
this issue. Also I wonder about the Status 503, normally the status ist 403
generated by an access denied.
In my web.xml there are all things permitted for this user (admin):
clipping from web.xml:
         <security-constraint>
        <display-name>SecurityConstraint</display-name>
        <web-resource-collection>
            <web-resource-name>PagesT5</web-resource-name>
            <url-pattern>/*</url-pattern>
            <http-method>POST</http-method>
            <http-method>GET</http-method>              
            <http-method>DELETE</http-method>
            <http-method>HEAD</http-method>
            <http-method>OPTIONS</http-method>
            <http-method>PUT</http-method>
            <http-method>TRACE</http-method>
        </web-resource-collection>
        <auth-constraint>
            <role-name>Guest</role-name>
            <role-name>User</role-name>
            <role-name>HardwareAdmin</role-name>
            <role-name>Admin</role-name>
        </auth-constraint>

Have you or anybody else a hint for me, that shows me the right direction?
Since 2 days I can't  find a solution, a hint or something else. :-(




Filip S. Adamsen-2 wrote:

>
> Hi,
>
> This is not a bug in Tapestry, nor is it a problem with Windows - at
> least I don't have that problem. To be honest I don't even think it's
> Glassfish's fault, although this works for me with Jetty. Perhaps it's a
> configuration issue of some sort?
>
> And no, it's not simple to change the way Tapestry decodes URLs.
>
>

--
View this message in context: http://www.nabble.com/T5.0.13-colon-in-URL-leads-to-503-Error-tp18313019p18316476.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: T5.0.13 colon in URL leads to 503-Error

Filip S. Adamsen
Well, 503 is Service Unavailable - could Glassfish be interpreting the
URL in a wrong way because of the colon? I really don't know anything
about Glassfish as I've never used it.

-Filip

Tommyboy66 skrev:

> Thanks for you reply Filip,
>
> I am using Glassfish with normal Basic-Authentification and there are no
> problems with pages, resources or else. Only this special interaction causes
> this issue. Also I wonder about the Status 503, normally the status ist 403
> generated by an access denied.
> In my web.xml there are all things permitted for this user (admin):
> clipping from web.xml:
> <security-constraint>
>         <display-name>SecurityConstraint</display-name>
>         <web-resource-collection>
>             <web-resource-name>PagesT5</web-resource-name>
>             <url-pattern>/*</url-pattern>
>             <http-method>POST</http-method>
>             <http-method>GET</http-method>              
>             <http-method>DELETE</http-method>
>             <http-method>HEAD</http-method>
>             <http-method>OPTIONS</http-method>
>             <http-method>PUT</http-method>
>             <http-method>TRACE</http-method>
>         </web-resource-collection>
>         <auth-constraint>
>             <role-name>Guest</role-name>
>             <role-name>User</role-name>
>             <role-name>HardwareAdmin</role-name>
>             <role-name>Admin</role-name>
>         </auth-constraint>
>
> Have you or anybody else a hint for me, that shows me the right direction?
> Since 2 days I can't  find a solution, a hint or something else. :-(
>
>
>
>
> Filip S. Adamsen-2 wrote:
>> Hi,
>>
>> This is not a bug in Tapestry, nor is it a problem with Windows - at
>> least I don't have that problem. To be honest I don't even think it's
>> Glassfish's fault, although this works for me with Jetty. Perhaps it's a
>> configuration issue of some sort?
>>
>> And no, it's not simple to change the way Tapestry decodes URLs.
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]