25107 - Erro ao salvar programação de troca de escala/horário
Problema: Descrição do Problema: Ao salvar uma programação de troca de escala/horário no Gestão do Ponto é exibido o seguinte erro:
Solução: Solução 25107: Verificado que no Glassfish havia um Virtual Server e Http Listner configurados para aceitar SSL, porém o Gestão do Ponto do cliente não utilizava HTTPS, sendo assim foram removidas as configurações.
Grassfish > Server-Config > Http Listeners
Glassfish > Server-Config > Virtual Servers
com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
at [Source: <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd><html xmlns=http://www.w3.org/1999/xhtml><head><title>GlassFish Server Open Source Edition 4.0 - Error report</title><style type=text/css><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - Internal Server Error</h1><hr/><p><b>type</b> Exception report</p><p><b>message</b>Internal Server Error</p><p><b>description</b>The server encountered an internal error that prevented it from fulfilling this request.</p><p><b>exception</b> <pre>javax.servlet.ServletException: A MultiException has 1 exceptions. They are:
1. java.lang.IllegalStateException: Not inside a request scope.
</pre></p><p><b>root cause</b> <pre>A MultiException has 1 exceptions. They are:
1. java.lang.IllegalStateException: Not inside a request scope...
Rotina / Tela: Programações de troca de Horário/Escala
Solução: Solução 25107: Verificado que no Glassfish havia um Virtual Server e Http Listner configurados para aceitar SSL, porém o Gestão do Ponto do cliente não utilizava HTTPS, sendo assim foram removidas as configurações.
Grassfish > Server-Config > Http Listeners
Glassfish > Server-Config > Virtual Servers