[opencms-dev] cmsshell in OpenCms 19 Docker container
Kai Widmann
kai.widmann at ews-schoenau.de
Wed Apr 16 11:45:01 CEST 2025
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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20250416/4318d9d2/attachment.htm>
More information about the opencms-dev
mailing list