Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Issues with jetty-9.4.11 running JSTL.jar

The jstl jars in jetty-9.4.x are in these jars: org.apache.taglibs.taglibs-standard-impl-1.2.5.jar and org.apache.taglibs.taglibs-standard-spec-1.2.5.jar, so your regex is wrong there.

Have a read of the documentation at http://www.eclipse.org/jetty/documentation/9.4.12.v20180830/configuring-jsp.html which explains what the regex should look like and how to use jsf.

Jan

On 14 September 2018 at 08:45, Ubani Allison <ubani.allison@xxxxxxxxx> wrote:
Hi all,

I really have been struggling to get my web app to run with jetty-9.4.11. When I deploy my WAR file to a standalone jetty instances it works, but
when I use embedded jetty-9.4.11 the pages will not display. This same war file works in jetty-7.0.1 but since I migrated to jetty-9.4.11, I have
not have any success. The browser is not receiving any response back from my application. Any suggestions will be appreciated.

  HandlerCollection hc = new HandlerCollection();
            ContextHandlerCollection contexts = new ContextHandlerCollection();
            
            DefaultHandler defaultHandler = new DefaultHandler();
            hc.setHandlers(new Handler[] { contexts, defaultHandler});
            server.setHandler(hc);            
            
            DeploymentManager dm = new DeploymentManager();
            WebAppProvider webappProvider = new WebAppProvider();
            webappProvider.setMonitoredDirName(sDir);
            webappProvider.setScanInterval(1);
            webappProvider.setExtractWars(true);
            dm.setContexts(contexts);
            //dm.setContextAttribute(
            //        "org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern",
            //        ".*/servlet-api-[^/]*\\.jar$");

            dm.setContextAttribute(
                    "org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern",
                    ".*/[^/]*servlet-api-[^/]*\\.jar$|.*/jstl*\\.jar$|.*/jsf*\\.jar$");
            
            dm.addAppProvider(webappProvider);
            server.addBean(dm);            
            dm.start();






2018-09-13 14:24:21,784 [qtp-35913463-24] DEBUG HttpConnection - HttpConnection@cdb548d2[p=HttpParser{s=START,0 of -1},g=HttpGenerator@7e29bce8{s=START}]=>HttpChannelOverHttp@97013d33{r=0,c=false,a=IDLE,uri=null,age=0}<-DecryptedEndPoint@1693a94f{/127.0.0.1:49886<->/127.0.0.1:7777,OPEN,fill=-,flush=-,to=145/30000}->HttpConnection@cdb548d2[p=HttpParser{s=START,0 of -1},g=HttpGenerator@7e29bce8{s=START}]=>HttpChannelOverHttp@97013d33{r=0,c=false,a=IDLE,uri=null,age=0}->SocketChannelEndPoint@432790d4{/127.0.0.1:49886<->/127.0.0.1:7777,OPEN,fill=-,flush=-,to=3/30000}{io=0/0,kio=0,kro=1}->SslConnection@26197137{NOT_HANDSHAKING,eio=-1/-1,di=-1}=>HttpConnection@cdb548d2[p=HttpParser{s=START,0 of -1},g=HttpGenerator@7e29bce8{s=START}]=>HttpChannelOverHttp@97013d33{r=0,c=false,a=IDLE,uri=null,age=0} filled 469 HeapByteBuffer@1da99ed1[p=0,l=469,c=17408,r=469]={<<<GET /SSPDashboard...5z3m5cil0h0\r\n\r\n>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
2018-09-13 14:24:21,784 [qtp-35913463-24] DEBUG HttpConnection - HttpConnection@cdb548d2[p=HttpParser{s=START,0 of -1},g=HttpGenerator@7e29bce8{s=START}]=>HttpChannelOverHttp@97013d33{r=0,c=false,a=IDLE,uri=null,age=0}<-DecryptedEndPoint@1693a94f{/127.0.0.1:49886<->/127.0.0.1:7777,OPEN,fill=-,flush=-,to=145/30000}->HttpConnection@cdb548d2[p=HttpParser{s=START,0 of -1},g=HttpGenerator@7e29bce8{s=START}]=>HttpChannelOverHttp@97013d33{r=0,c=false,a=IDLE,uri=null,age=0}->SocketChannelEndPoint@432790d4{/127.0.0.1:49886<->/127.0.0.1:7777,OPEN,fill=-,flush=-,to=3/30000}{io=0/0,kio=0,kro=1}->SslConnection@26197137{NOT_HANDSHAKING,eio=-1/-1,di=-1}=>HttpConnection@cdb548d2[p=HttpParser{s=START,0 of -1},g=HttpGenerator@7e29bce8{s=START}]=>HttpChannelOverHttp@97013d33{r=0,c=false,a=IDLE,uri=null,age=0} parse HeapByteBuffer@1da99ed1[p=0,l=469,c=17408,r=469]={<<<GET /SSPDashboard...5z3m5cil0h0\r\n\r\n>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00} {}
2018-09-13 14:24:21,784 [qtp-35913463-24] DEBUG HttpParser - parseNext s=START HeapByteBuffer@1da99ed1[p=0,l=469,c=17408,r=469]={<<<GET /SSPDashboard...5z3m5cil0h0\r\n\r\n>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
2018-09-13 14:24:21,784 [qtp-35913463-24] DEBUG HttpParser - START --> SPACE1
2018-09-13 14:24:21,786 [qtp-35913463-24] DEBUG HttpParser - SPACE1 --> URI
2018-09-13 14:24:21,786 [qtp-35913463-24] DEBUG HttpParser - URI --> SPACE2
2018-09-13 14:24:21,786 [qtp-35913463-24] DEBUG HttpParser - SPACE2 --> REQUEST_VERSION
2018-09-13 14:24:21,786 [qtp-35913463-24] DEBUG HttpParser - REQUEST_VERSION --> HEADER
2018-09-13 14:24:21,787 [qtp-35913463-24] DEBUG HttpParser - HEADER:Host --> VALUE
2018-09-13 14:24:21,787 [qtp-35913463-24] DEBUG HttpParser - HEADER:Host --> IN_VALUE
2018-09-13 14:24:21,787 [qtp-35913463-24] DEBUG HttpParser - HEADER:Host --> FIELD
2018-09-13 14:24:21,789 [qtp-35913463-24] DEBUG HttpParser - HEADER:Connection: keep-alive --> IN_VALUE
2018-09-13 14:24:21,789 [qtp-35913463-24] DEBUG HttpParser - HEADER:Connection: keep-alive --> FIELD
2018-09-13 14:24:21,793 [qtp-35913463-24] DEBUG HttpParser - HEADER: --> IN_NAME
2018-09-13 14:24:21,793 [qtp-35913463-24] DEBUG HttpParser - HEADER:Upgrade-Insecure-Requests --> VALUE
2018-09-13 14:24:21,793 [qtp-35913463-24] DEBUG HttpParser - HEADER:Upgrade-Insecure-Requests --> IN_VALUE
2018-09-13 14:24:21,793 [qtp-35913463-24] DEBUG HttpParser - HEADER:Upgrade-Insecure-Requests --> FIELD
2018-09-13 14:24:21,793 [qtp-35913463-24] DEBUG HttpParser - HEADER:User-Agent --> VALUE
2018-09-13 14:24:21,793 [qtp-35913463-24] DEBUG HttpParser - HEADER:User-Agent --> IN_VALUE
2018-09-13 14:24:21,794 [qtp-35913463-24] DEBUG HttpParser - HEADER:User-Agent --> FIELD
2018-09-13 14:24:21,794 [qtp-35913463-24] DEBUG HttpParser - HEADER:Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 --> IN_VALUE
2018-09-13 14:24:21,794 [qtp-35913463-24] DEBUG HttpParser - HEADER:Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 --> FIELD
2018-09-13 14:24:21,794 [qtp-35913463-24] DEBUG HttpParser - HEADER:Accept-Encoding: gzip, deflate, br --> IN_VALUE
2018-09-13 14:24:21,794 [qtp-35913463-24] DEBUG HttpParser - HEADER:Accept-Encoding: gzip, deflate, br --> FIELD
2018-09-13 14:24:21,794 [qtp-35913463-24] DEBUG HttpParser - HEADER:Accept-Language --> VALUE
2018-09-13 14:24:21,794 [qtp-35913463-24] DEBUG HttpParser - HEADER:Accept-Language --> IN_VALUE
2018-09-13 14:24:21,794 [qtp-35913463-24] DEBUG HttpParser - HEADER:Accept-Language --> FIELD
2018-09-13 14:24:21,794 [qtp-35913463-24] DEBUG HttpParser - HEADER:Cookie --> VALUE
2018-09-13 14:24:21,794 [qtp-35913463-24] DEBUG HttpParser - HEADER:Cookie --> IN_VALUE
2018-09-13 14:24:21,794 [qtp-35913463-24] DEBUG HttpParser - HEADER:Cookie --> FIELD
2018-09-13 14:24:21,794 [qtp-35913463-24] DEBUG HttpParser - HEADER --> END
2018-09-13 14:24:21,795 [qtp-35913463-24] DEBUG HttpChannel - REQUEST for //localhost:7777/SSPDashboard on HttpChannelOverHttp@97013d33{r=1,c=false,a=IDLE,uri=//localhost:7777/SSPDashboard,age=1}
GET //localhost:7777/SSPDashboard HTTP/1.1
Host: localhost:7777
Connection: keep-alive
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Cookie: JSESSIONID=1ibz0ohp1twxmq1hvjixfpk2oig113icy28cg1f5z3m5cil0h0


2018-09-13 14:24:21,795 [qtp-35913463-24] DEBUG HttpChannel - HttpChannelOverHttp@97013d33{r=1,c=false,a=IDLE,uri=//localhost:7777/SSPDashboard,age=1} onContentComplete
2018-09-13 14:24:21,796 [qtp-35913463-24] DEBUG HttpChannel - HttpChannelOverHttp@97013d33{r=1,c=false,a=IDLE,uri=//localhost:7777/SSPDashboard,age=2} onRequestComplete
2018-09-13 14:24:21,796 [qtp-35913463-24] DEBUG HttpInput - HttpInputOverHTTP@86fd398f[c=0,q=0,[0]=null,s=STREAM] addContent EOF
2018-09-13 14:24:21,797 [qtp-35913463-24] DEBUG HttpConnection - HttpConnection@cdb548d2[p=HttpParser{s=END,0 of -1},g=HttpGenerator@7e29bce8{s=START}]=>HttpChannelOverHttp@97013d33{r=1,c=false,a=IDLE,uri=//localhost:7777/SSPDashboard,age=2}<-DecryptedEndPoint@1693a94f{/127.0.0.1:49886<->/127.0.0.1:7777,OPEN,fill=-,flush=-,to=157/30000}->HttpConnection@cdb548d2[p=HttpParser{s=END,0 of -1},g=HttpGenerator@7e29bce8{s=START}]=>HttpChannelOverHttp@97013d33{r=1,c=false,a=IDLE,uri=//localhost:7777/SSPDashboard,age=2}->SocketChannelEndPoint@432790d4{/127.0.0.1:49886<->/127.0.0.1:7777,OPEN,fill=-,flush=-,to=16/30000}{io=0/0,kio=0,kro=1}->SslConnection@26197137{NOT_HANDSHAKING,eio=-1/-1,di=-1}=>HttpConnection@cdb548d2[p=HttpParser{s=END,0 of -1},g=HttpGenerator@7e29bce8{s=START}]=>HttpChannelOverHttp@97013d33{r=1,c=false,a=IDLE,uri=//localhost:7777/SSPDashboard,age=3} parsed true HttpParser{s=END,0 of -1}
2018-09-13 14:24:21,797 [qtp-35913463-24] DEBUG HttpConnection - releaseRequestBuffer HttpConnection@cdb548d2[p=HttpParser{s=END,0 of -1},g=HttpGenerator@7e29bce8{s=START}]=>HttpChannelOverHttp@97013d33{r=1,c=false,a=IDLE,uri=//localhost:7777/SSPDashboard,age=3}<-DecryptedEndPoint@1693a94f{/127.0.0.1:49886<->/127.0.0.1:7777,OPEN,fill=-,flush=-,to=158/30000}->HttpConnection@cdb548d2[p=HttpParser{s=END,0 of -1},g=HttpGenerator@7e29bce8{s=START}]=>HttpChannelOverHttp@97013d33{r=1,c=false,a=IDLE,uri=//localhost:7777/SSPDashboard,age=3}->SocketChannelEndPoint@432790d4{/127.0.0.1:49886<->/127.0.0.1:7777,OPEN,fill=-,flush=-,to=16/30000}{io=0/0,kio=0,kro=1}->SslConnection@26197137{NOT_HANDSHAKING,eio=-1/-1,di=-1}=>HttpConnection@cdb548d2[p=HttpParser{s=END,0 of -1},g=HttpGenerator@7e29bce8{s=START}]=>HttpChannelOverHttp@97013d33{r=1,c=false,a=IDLE,uri=//localhost:7777/SSPDashboard,age=3}
2018-09-13 14:24:21,797 [qtp-35913463-24] DEBUG HttpChannel - HttpChannelOverHttp@97013d33{r=1,c=false,a=IDLE,uri=//localhost:7777/SSPDashboard,age=3} handle //localhost:7777/SSPDashboard 
2018-09-13 14:24:21,797 [qtp-35913463-24] DEBUG HttpChannelState - handling HttpChannelState@9c865bec{s=IDLE a=NOT_ASYNC i=true r=IDLE w=false}
2018-09-13 14:24:21,798 [qtp-35913463-24] DEBUG HttpChannel - HttpChannelOverHttp@97013d33{r=1,c=false,a=DISPATCHED,uri=//localhost:7777/SSPDashboard,age=4} action DISPATCH
2018-09-13 14:24:21,799 [qtp-35913463-24] DEBUG Server - REQUEST GET /SSPDashboard on HttpChannelOverHttp@97013d33{r=1,c=false,a=DISPATCHED,uri=//localhost:7777/SSPDashboard,age=5}
2018-09-13 14:24:21,799 [qtp-35913463-24] DEBUG ContextHandler - scope null||/SSPDashboard @ o.e.j.w.WebAppContext@-536f2062{SSPDashboard,/SSPDashboard,file:///C:/Users/ari51787/sandbox/SSPConfig3432-20180529-NEW-HEAD-BUILD400/apps/jetty/webservices/webapps/SSPDashboard/,UNAVAILABLE}{C:\Users\ari51787\sandbox\SSPConfig3432-20180529-NEW-HEAD-BUILD400\apps\jetty\webservices\webapps\SSPDashboard}
2018-09-13 14:24:21,801 [qtp-35913463-24] DEBUG HttpChannel - sendResponse info=null content=HeapByteBuffer@790b7f36[p=0,l=0,c=0,r=0]={<<<>>>} complete=true committing=true callback=Blocker@d9468f8{null}
2018-09-13 14:24:21,801 [qtp-35913463-24] DEBUG HttpChannel - COMMIT for /SSPDashboard on HttpChannelOverHttp@97013d33{r=1,c=true,a=DISPATCHED,uri=//localhost:7777/SSPDashboard,age=7}


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users



--
Jan Bartel <janb@xxxxxxxxxxx>
www.webtide.com
Expert assistance from the creators of Jetty and CometD


Back to the top