Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-40762

Error trace while reboot server

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 12.5, 19.0
    • Fix Version/s: None
    • Component/s: Portal
    • Labels:
      None
    • Test Plan:
      Hide
      • Start your tomcat server.
      • Navigate to your home site.
      • Shutdown your tomcat server.
      • Start your tomcat server again.
      • While the server is starting try to refresh your browser.
      • Once server it is started you shouldn't watch the error on logs or screen.
      Show
      Start your tomcat server. Navigate to your home site. Shutdown your tomcat server. Start your tomcat server again. While the server is starting try to refresh your browser. Once server it is started you shouldn't watch the error on logs or screen.

      Description

      While you are rebooting servers if there are any user that have been connected until that moment every try to connect again to the server give a 500 error call and an exception.

      WARN http-nio-8080-exec-3 org.sakaiproject.portal.util.ErrorReporter - Reportar Error bug-id: e8bea409-eb31-4a57-8f25-184492d03e76 usuario: null usage-session: null hora: 10-oct-2018 13:03:37 comentario del usuario: null traza de la pila
      org.sakaiproject.portal.api.PortalHandlerException: net.sf.ehcache.ObjectExistsException: Cache org.sakaiproject.db.BaseDbFlatStorage.SAKAI_SITE_PROPERTY already exists
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:856)
      caused by: net.sf.ehcache.ObjectExistsException: Cache org.sakaiproject.db.BaseDbFlatStorage.SAKAI_SITE_PROPERTY already exists
      at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1171)
      at org.sakaiproject.memory.impl.EhcacheMemoryService.makeEhcache(EhcacheMemoryService.java:345)
      at org.sakaiproject.memory.impl.EhcacheMemoryService.getCache(EhcacheMemoryService.java:133)
      at org.sakaiproject.memory.impl.EhcacheMemoryService.newCache(EhcacheMemoryService.java:190)
      at org.sakaiproject.memory.impl.BaseMemoryService.newCache(BaseMemoryService.java:186)
      at org.sakaiproject.util.BaseDbFlatStorage.getCache(BaseDbFlatStorage.java:216)
      at org.sakaiproject.util.BaseDbFlatStorage.readProperties(BaseDbFlatStorage.java:1133)
      at org.sakaiproject.util.BaseDbFlatStorage.readProperties(BaseDbFlatStorage.java:1074)
      at org.sakaiproject.site.impl.DbSiteService$DbStorage.readSiteProperties(DbSiteService.java:2012)
      at org.sakaiproject.site.impl.DbSiteService$DbStorage.readAllSiteProperties(DbSiteService.java:2024)
      at org.sakaiproject.site.impl.BaseSite.loadAll(BaseSite.java:1183)
      at org.sakaiproject.site.impl.BaseSiteService.getDefinedSite(BaseSiteService.java:676)
      at org.sakaiproject.site.impl.BaseSiteService.getSite(BaseSiteService.java:751)
      at org.sakaiproject.site.impl.BaseSiteService.getSiteVisit(BaseSiteService.java:829)
      at org.sakaiproject.site.cover.SiteService.getSiteVisit(SiteService.java:157)
      at org.sakaiproject.portal.charon.site.PortalSiteHelperImpl.getSiteVisit(PortalSiteHelperImpl.java:1165)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.doSite(SiteHandler.java:318)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:266)
      at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:154)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:856)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:467)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:748)
      
      Herramienta:
      Sin Ubicación
      
      Petición:
      : Tipo de autorización:null
      : Codificación:UTF-8
      : Longitud del contenido:-1
      : Tipo de contenido:null
      : Ruta de contexto:/portal
      : Dirección Local:155.54.67.39
      : Nombre Local:E0D55E2125F3.um.es
      : Puerto Local:8080
      : Método:GET
      : Información del path:/site/~281266eb-8d7c-4e94-9ea4-698a6158d98c
      : Protocolo:HTTP/1.1
      : Cadena de petición (QueryString):null
      : Dirección Remota:155.54.67.39
      : Host Remoto:155.54.67.39
      : Puerto Remoto:60131
      : URL solicitada:http://atica-67-39.atica.um.es:8080/portal/site/~281266eb-8d7c-4e94-9ea4-698a6158d98c
      : Esquema:http
      : Nombre del servidor:atica-67-39.atica.um.es
      : Encabezado:
      : Encabezado:host:atica-67-39.atica.um.es:8080
      : Encabezado:connection:keep-alive
      : Encabezado:pragma:no-cache
      : Encabezado:cache-control:no-cache
      : Encabezado:upgrade-insecure-requests:1
      : Encabezado:user-agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
      : Encabezado:accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
      : Encabezado:referer:http://atica-67-39.atica.um.es:8080/portal
      : Encabezado:accept-encoding:gzip, deflate
      : Encabezado:accept-language:en,es;q=0.9,pt;q=0.8,gl;q=0.7,ca;q=0.6,de;q=0.5
      : Encabezado:cookie:---censored---
      : Parámetros:
      : Atributos:
      : Atributo:sakai.character.encoding.done:sakai.character.encoding.done
      : Atributo:sakai.session:MyS_null{b95d91fe-4ae1-49b1-af72-9d2e0cfd8e6a, userId='null', at=0, ts=1, cs=0, Wed Oct 10 13:03:37 CEST 2018}
      : Atributo:sakai.filtered:sakai.filtered
      Sesión:
      : Creado:1539169417687
      : Último acceso:1539169417687
      CreationDateAndTime:miércoles 10 de octubre de 2018
      LastAccessDateAndTime:miércoles 10 de octubre de 2018
      : MaxInactivo:3600

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  eduardorey Eduardo Rey Jara
                  Reporter:
                  eduardorey Eduardo Rey Jara
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code