[opencms-dev] OpenCMS 15 - error 404 after update of the jsp template of a jsp element like navigation.jsp

Jochen Graf j.graf at alkacon.com
Fri May 12 18:10:44 CEST 2023


Hi,

do you have two browser tabs open, one tab to edit the main.jsp in the 
workplace JSP editor and the other tab to view the changes made to the 
main.jsp on a web page?

If this is what you are trying to do, you have to open the two tabs in 
incognito mode. Then it should work.

The point is that if you are logged into the workplace you cannot have 
access to different sites with one session at the same time. If you are 
modifying your main.jsp, you are in the root site /system/*. This is why 
web pages below /sites/* do not show up.

Hope this helps

Jochen


Am 11.05.23 um 16:45 schrieb laurent.druart--- via opencms-dev:
> If I logout and login again, 404 error disappear. So no need to 
> restart Tomact but not a pratical solution...
>
> BR,
>
> Laurent
>
> Le 2023-05-11T15:34:50.000+02:00, laurent.druart--- via opencms-dev 
> <opencms-dev at opencms.org> a écrit :
>
>     One more info: the 404 error occurs only whene connected in
>     OpenCMS Workspace. In another browser, and another machine website
>     pages are correctly rendred.
>
>     BR,
>
>     Laurent
>
>     Le 2023-05-11T15:02:02.000+02:00, laurent.druart--- via
>     opencms-dev <opencms-dev at opencms.org
>     <mailto:opencms-dev at opencms.org>> a écrit :
>
>         I don't think I did that. I only edited the jsp. After a
>         reboot everything is back to normal.
>
>         BR,
>         Laurent
>
>         Le 2023-05-11T14:55:29.000+02:00, Manfred Schenk
>         <manfred.schenk at zerobyte.de
>         <mailto:manfred.schenk at zerobyte.de>> a écrit :
>
>             Just an idea: opencms User a Customizing 404-handler for
>             the optimized Page delivery. Have you deactivated this
>             handler by accident?
>
>             Regards
>             Manfred
>
>
>
>             Von meinem/meiner Galaxy gesendet
>
>
>
>             -------- Ursprüngliche Nachricht --------
>             Von: "laurent.druart--- via opencms-dev"
>             <opencms-dev at opencms.org <mailto:opencms-dev at opencms.org>>
>             Datum: 11.05.23 14:45 (GMT+01:00)
>             An: opencms-dev at opencms.org <mailto:opencms-dev at opencms.org>
>             Cc: laurent.druart at ldict.be <mailto:laurent.druart at ldict.be>
>             Betreff: [opencms-dev] OpenCMS 15 - error 404 after update
>             of the jsp template of a jsp element like navigation.jsp
>
>             Hello,
>
>             I've a test website running OpenCMS 15. When I update my
>             main template (main.jsp), I save and publish the
>             modification and after that I got 404 error on all website
>             pages. If I restart Tomcat, all comes back. Same issue
>             when I update an element like my navbar component.
>
>             Is it an issue in OCMS15? How to fix it? A restart is not
>             a solution when we go in production.
>
>             Thanks for your help
>
>             Laurent
>
>
>
>
>         ------------------------------------------------------------------------
>         _______________________________________________ This mail is
>         sent to you from the opencms-dev mailing list To change your
>         list options, or to unsubscribe from the list, please visit
>         https://lists.opencms.org/mailman/listinfo/opencms-dev
>         <https://lists.opencms.org/mailman/listinfo/opencms-dev>
>
>
>
>
>     ------------------------------------------------------------------------
>     _______________________________________________ This mail is sent
>     to you from the opencms-dev mailing list To change your list
>     options, or to unsubscribe from the list, please visit
>     https://lists.opencms.org/mailman/listinfo/opencms-dev
>     <https://lists.opencms.org/mailman/listinfo/opencms-dev>
>
>
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
-- 
Alkacon Software GmbH & Co. KG  - The OpenCms Experts
http://www.alkacon.com  -http://www.opencms.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20230512/bba676c1/attachment.htm>


More information about the opencms-dev mailing list