<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hmm, a resteasy dependency has stuck in maybe?  Remove the jaxrs and
    resteasy jars that exist in the adapter distro for Jetty?  Does that
    work?<br>
    <br>
    <div class="moz-cite-prefix">On 1/11/2016 6:50 AM, Pavel Maslov
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAF9aV_o-wER+c4jAOPBNRLQ-sx1W2VSi3znivx4QDJCqqZqWWw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_quote">
          <div dir="ltr">
            <div>Hi,</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>I am planning to migrate the Keycloak server from
              version 1.3.1 to 1.7.0. However, when trying to access a
              secured resource of our API I get the following error:</div>
            <div><br>
            </div>
            <div>
              <pre style="overflow:auto;font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;padding:1em;word-wrap:break-word;color:rgb(91,97,105);border:none;border-radius:2px;font-size:13px!important;margin-top:12px!important;margin-bottom:12px!important;line-height:1.6em!important;background:rgb(248,250,252)"><code style="font-family:Menlo,'Liberation Mono',Consolas,'DejaVu Sans Mono','Ubuntu Mono','Courier New','andale mono','lucida console',monospace;font-size:inherit;padding:0px;color:inherit;border-radius:0px;word-wrap:normal;margin-top:0px;background-color:transparent">HTTP ERROR 500

Problem accessing /v1/producers. Reason:

    Server Error
java.lang.AbstractMethodError: javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
    at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
    at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:292)
    at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:222)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
    at com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilter.java:165)
    at com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilter.java:239)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    at org.eclipse.jetty.server.Server.handle(Server.java:497)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    at java.lang.Thread.run(Thread.java:745)</code></pre>
            </div>
            <div><br>
            </div>
            <div>It used to work with the previous version of Keycloak +
              adapter (1.3.1). The only thing I did is I just changed
              dependency version 1.3.1 to 1.7.0 in my pom.xml:</div>
            <div><br>
            </div>
            <div>
              <pre style="color:rgb(0,0,0);font-family:'DejaVu Sans Mono';font-size:9pt"><span style="background-color:rgb(239,239,239)">&lt;</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">dependency</span><span style="background-color:rgb(239,239,239)">&gt;</span>
    <span style="background-color:rgb(239,239,239)">&lt;</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">groupId</span><span style="background-color:rgb(239,239,239)">&gt;</span>org.keycloak<span style="background-color:rgb(239,239,239)">&lt;/</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">groupId</span><span style="background-color:rgb(239,239,239)">&gt;</span>
    <span style="background-color:rgb(239,239,239)">&lt;</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">artifactId</span><span style="background-color:rgb(239,239,239)">&gt;</span>keycloak-core<span style="background-color:rgb(239,239,239)">&lt;/</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">artifactId</span><span style="background-color:rgb(239,239,239)">&gt;</span>
    <span style="background-color:rgb(239,239,239)">&lt;</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">version</span><span style="background-color:rgb(239,239,239)">&gt;</span>1.7.0.Final<span style="background-color:rgb(239,239,239)">&lt;/</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">version</span><span style="background-color:rgb(239,239,239)">&gt;</span>
<span style="background-color:rgb(239,239,239)">&lt;/</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">dependency</span><span style="background-color:rgb(239,239,239)">&gt;</span>
<span style="background-color:rgb(239,239,239)">&lt;</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">dependency</span><span style="background-color:rgb(239,239,239)">&gt;</span>
    <span style="background-color:rgb(239,239,239)">&lt;</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">groupId</span><span style="background-color:rgb(239,239,239)">&gt;</span>org.keycloak<span style="background-color:rgb(239,239,239)">&lt;/</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">groupId</span><span style="background-color:rgb(239,239,239)">&gt;</span>
    <span style="background-color:rgb(239,239,239)">&lt;</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">artifactId</span><span style="background-color:rgb(239,239,239)">&gt;</span>keycloak-services<span style="background-color:rgb(239,239,239)">&lt;/</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">artifactId</span><span style="background-color:rgb(239,239,239)">&gt;</span>
    <span style="background-color:rgb(239,239,239)">&lt;</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">version</span><span style="background-color:rgb(239,239,239)">&gt;</span>1.7.0.Final<span style="background-color:rgb(239,239,239)">&lt;/</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">version</span><span style="background-color:rgb(239,239,239)">&gt;</span>
<span style="background-color:rgb(239,239,239)">&lt;/</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">dependency</span><span style="background-color:rgb(239,239,239)">&gt;</span></pre>
              <pre style="color:rgb(0,0,0);font-family:'DejaVu Sans Mono';font-size:9pt"><pre style="font-family:'DejaVu Sans Mono';font-size:9pt"><span style="background-color:rgb(239,239,239)">&lt;</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">dependency</span><span style="background-color:rgb(239,239,239)">&gt;</span>
    <span style="background-color:rgb(239,239,239)">&lt;</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">groupId</span><span style="background-color:rgb(239,239,239)">&gt;</span>org.keycloak<span style="background-color:rgb(239,239,239)">&lt;/</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">groupId</span><span style="background-color:rgb(239,239,239)">&gt;</span>
    <span style="background-color:rgb(239,239,239)">&lt;</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(228,228,255)">artifactId</span><span style="background-color:rgb(239,239,239)">&gt;</span>keycloak-jetty92-adapter-dist<span style="background-color:rgb(239,239,239)">&lt;/</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(228,228,255)">artifactId</span><span style="background-color:rgb(239,239,239)">&gt;</span>
    <span style="background-color:rgb(239,239,239)">&lt;</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">version</span><span style="background-color:rgb(239,239,239)">&gt;</span>1.7.0.Final<span style="background-color:rgb(239,239,239)">&lt;/</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">version</span><span style="background-color:rgb(239,239,239)">&gt;</span>
    <span style="background-color:rgb(239,239,239)">&lt;</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">type</span><span style="background-color:rgb(239,239,239)">&gt;</span>pom<span style="background-color:rgb(239,239,239)">&lt;/</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">type</span><span style="background-color:rgb(239,239,239)">&gt;</span>
<span style="background-color:rgb(239,239,239)">&lt;/</span><span style="color:rgb(0,0,128);font-weight:bold;background-color:rgb(239,239,239)">dependency</span><span style="background-color:rgb(239,239,239)">&gt;</span></pre></pre>
              <pre style="color:rgb(0,0,0);font-family:'DejaVu Sans Mono';font-size:9pt"><span style="background-color:rgb(239,239,239)">
</span></pre>
            </div>
            <div><br>
            </div>
            <div>Perhaps, something else is missing. Can it be web.xml
              or jetty-web.xml that I have to update in some way? Any
              ideas?</div>
            <div>Thanks.</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <br clear="all">
            <div>
              <div>
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div style="font-family:arial;font-size:small">
                        <div dir="ltr"><font color="#888888">Regards,<br>
                            Pavel Maslov, MS</font></div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Bill Burke
JBoss, a division of Red Hat
<a class="moz-txt-link-freetext" href="http://bill.burkecentral.com">http://bill.burkecentral.com</a></pre>
  </body>
</html>