Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11520

Cannot login to front _admin anymore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.6.0
    • None
    • None
    • None

      due to RUNTIME-10, the assumed 404 of the front _admin (tinymce.js, jquery.js and jquery.crop.js) you cannot login at startup (empty cache) on some servers

      2023-02-03 17:53:29,969 ERROR [org.ametys.runtime.kernel.sitemap.actions.exception] (http-nio-8083-exec-8;/_admin/index.html) The user is not logged in since the cookie was not sent back to 
      him (reponse commited true ; buffer size + 8192)
      java.lang.IllegalStateException: Impossible de créer une session après que la réponse ait été envoyée
      at org.apache.catalina.connector.Request.doGetSession(Request.java:3060)
      at org.apache.catalina.connector.Request.getSession(Request.java:2492)
      at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:908)
      at org.apache.cocoon.environment.http.HttpRequest.getSession(HttpRequest.java:232)
      at org.apache.cocoon.environment.wrapper.RequestWrapper.getSession(RequestWrapper.java:290)
      at org.apache.cocoon.environment.wrapper.RequestWrapper.getSession(RequestWrapper.java:290)
      at org.ametys.core.authentication.AuthenticateAction.renewSession(AuthenticateAction.java:818)
      at org.ametys.runtime.exception.ExceptionAction.act(ExceptionAction.java:83)
      at org.ametys.plugins.core.ui.resources.DefaultResourceDependenciesList._getFileSource(DefaultResourceDependenciesList.java:89)
      at org.ametys.plugins.core.ui.resources.DefaultResourceDependenciesList.getDependenciesList(DefaultResourceDependenciesList.java:64)
      at org.ametys.plugins.core.ui.resources.ResourceDependenciesListExtensionPoint.lambda$getDependencies$1(ResourceDependenciesListExtensionPoint.java:50)
      at java.base/java.util.Optional.map(Optional.java:260)
      at org.ametys.plugins.core.ui.resources.ResourceDependenciesListExtensionPoint.getDependencies(ResourceDependenciesListExtensionPoint.java:56)
      at org.ametys.plugins.core.ui.minimize.HashCache.lambda$_getFiles$0(HashCache.java:162)
      at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
      at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
      at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845)
      at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
      at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
      at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
      at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
      at org.ametys.plugins.core.ui.minimize.HashCache._getFiles(HashCache.java:165)
      at org.ametys.plugins.core.ui.minimize.HashCache.createHash(HashCache.java:138)
      at org.ametys.plugins.core.ui.minimize.MinimizeTransformer._processQueue(MinimizeTransformer.java:358)
      at org.ametys.plugins.core.ui.minimize.MinimizeTransformer.startElement(MinimizeTransformer.java:171)

            raphael Raphaël Franchet
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: