1
resposta

ERRO 503 - Jetty

Boa noite.

Então, fiz todos os processo, incluindo colocar o pacote .war na pasta webapps porém quando coloco : "http://localhost:8080/gerenciador/listaEmpresas", tenho esse erro: HTTP ERROR 503 Problem accessing /gerenciador/listaEmpresas. Reason:

Service Unavailable

Powered by Jetty:// 9.4.12.v20180830

Inspecionar > Network(requisição status):

Request URL: http://localhost:8080/gerenciador/listaEmpresas Request Method: GET Status Code: 503 Service Unavailable Remote Address: [::1]:8080 Referrer Policy: no-referrer-when-downgrade Cache-Control: must-revalidate,no-cache,no-store Content-Length: 362 Content-Type: text/html;charset=iso-8859-1 Server: Jetty(9.4.12.v20180830) 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: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7 Cache-Control: max-age=0 Connection: keep-alive Host: localhost:8080 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Entretanto ao colocar o "http://localhost:8080/", tenho essa mensagem: Error 404 - Not Found. No context on this server matched or handled this request. Contexts known to this server are: /gerenciador ---> o.e.j.w.WebAppContext@6ddf90b0{gerenciador,/gerenciador,file:///tmp/jetty-0.0.0.0-8080-gerenciador.war-_gerenciador-any-8101830367920608494.dir/webapp/,UNAVAILABLE}{/gerenciador.war} Powered by Jetty:// 9.4.12.v20180830

Que pelo que entendi, o Jetty subiu meu pacote, correto?

Então alguém consegue me ajudar com esse problema?

OBS: No TomCat v9 tudo funciona normalmente e estou usando o Ubuntu.

Alguém consegue me ajudar?

1 resposta

Roberto bom dia, desculpa a demora! Você conseguiu resolver ? Senão posso tentar te ajudar!

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software