cmsshell in OpenCms 19 Docker container
Kai Widmann via opencms-dev <[email protected]> Wed, 16 Apr 2025 09:45:01 +0000
| Newsgroups | gmane.comp.cms.opencms.devel |
|---|---|
| Message-ID | <[email protected]> |
Hey there, I have the oficial OpenCms 19 Docker image running as described here: https://github.com/alkacon/opencms-docker Now I’d like to use the cmsshell.sh to script some CMS stuff like importing modules. But cmsshell.sh isn’t starting (see log below). It seems to try to use Tomcat, but OpenCms is installed on Jetty, /usr/local/tomcat doesnt really exist. I tried to create a symlink /usr/local/tomcat ponting to /usr/local/jetty, but that just led to another exception. Does anyone have an idea, how I could get cmsshell.sh running in an OpenCms 19 docker container with Jetty? Or might it be easier to just use the tomcat version also provided? Best wishes, Kai root@abddfbe309dc:/container/webapps/ROOT/WEB-INF# ./cmsshell.sh TOMCAT_CLASSPATH: :/usr/local/tomcat/lib/*.jar TOMCAT_HOME: /usr/local/tomcat OPENCMS_BASE: /container/webapps/ROOT/WEB-INF ERROR: servlet-api.jar not found in TOMCAT_CLASSPATH! You may need to set the TOMCAT_HOME variable. You can also provide TOMCAT_HOME as first parameter. Mit freundlichen Grüßen Kai Widmann Webentwickler Backend EWS Elektrizitätswerke Schönau eG Lehrter Straße 57 Haus 1 | 10557 Berlin Hauptsitz: Friedrichstraße 53/55 | 79677 Schönau www.ews-schoenau.de<https://www.ews-schoenau.de/> Vorstände Anja Burde, Armin Komenda, Alexander Sladek, Sebastian Sladek Aufsichtsratsvorsitzender Thomas Jorberg Genossenschaftsregister GnR 700017 beim AG Freiburg im Breisgau _______________________________________________ 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