Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Fwd: Upgrading from Jetty 7 to 8

Hi Joakim,

Thanks for your very in-depth reply to my question :-)

I've updated the Wiki to point to your reply at:-

http://wiki.eclipse.org/Jetty/Howto/Upgrade_from_Jetty_7_to_Jetty_8

In the end we discovered the problem was caused by not including jetty-rewrite in our pom.xml, so it was just a case of needing to RTFEM (EM standing for Error Message).

Thanks


Steve


On 1 April 2013 13:27, Stephen Halsey <shalsey@xxxxxxxxxxxx> wrote:
Hi Joakim,

Thanks for your very in-depth reply to my question :-)

I've updated the Wiki to point to your reply at:-

http://wiki.eclipse.org/Jetty/Howto/Upgrade_from_Jetty_7_to_Jetty_8

In the end we discovered the problem was caused by not including jetty-rewrite in our pom.xml, so it was just a case of needing to RTFEM (EM standing for Error Message).

Thanks


Steve

On 29 March 2013 18:51, Stephen Halsey <steve@xxxxxxxxxxxx> wrote:
Hi,

I am upgrading from Jetty 7 to 8 and found the following on the:-
which prints:-

Permission error

You do not have permission to do that, for the following reason:

The action you have requested is limited to users in the group user.


Should I join a certain group to get access to this page?  I have become a "Friend of Eclipse" and now am being told:-

You've followed a link to a page that doesn't exist yet.

So I'm guessing its just a page on the Wiki that hasn't been created yet?

If so, are there any tools I can use like the very wonderful jetty6to7-1.0.jar to upgrade from 7 to 8 please?  Specifically I am needing to upgrade the following section in jetty.xml:-

    <!-- =========================================================== -->
    <!-- Configure Rewrite Handler                                   -->
    <!-- =========================================================== -->
    <Set name="handler">
        <New id="Handlers" class="org.eclipse.jetty.rewrite.handler.RewriteHandler">
            <Set name="rules">
                <Array type="org.eclipse.jetty.rewrite.handler.Rule">
                    <Item>
                        <New id="forwardedHttps"
                            class="org.eclipse.jetty.rewrite.handler.ForwardedSchemeHeaderRule">

                            <!-- If this header is present, and the specified headerValue matches,
                                 then the specified scheme will be passed on. If the headerValue isn't
                                 specified, then the presence of the header with any value will trigger
                                 the scheme modification.
                            -->
                            <Set name="header">X-Forwarded-Scheme</Set>
                            <Set name="headerValue">https</Set>
                            <Set name="scheme">https</Set>
                        </New>
                    </Item>
                </Array>
            </Set>

and am thinking that I may have to move it into the jetty-rewrite.xml file and also may have to update my pom.xml to download the <artifactId>jetty-rewrite</artifactId> which I didn't have to do before?

thanks a lot


Steve.




--

moreover_logo_2012_sm

Stephen Halsey

shalsey@xxxxxxxxxxxx

Office: +44-1992-500-567

Mobile: +44-7767-744-930

Home | Blog | Twitter



--

moreover_logo_2012_sm

Stephen Halsey

shalsey@xxxxxxxxxxxx

Office: +44-1992-500-567

Mobile: +44-7767-744-930

Home | Blog | Twitter

Attachment: image001.gif
Description: GIF image


Back to the top