[opencms-dev] ERROR Calling the OpenCms shell (RMI)
martin.rosenthal at oerag.de
martin.rosenthal at oerag.de
Wed Sep 7 11:50:39 CEST 2022
Hello everybody,
i want to call the OpenCms Shell via RMI: In the documentation (
https://documentation.opencms.org/opencms-documentation/server-installation/opencms-shell/index.html
) i read:
". ..
To allow for connections via RMI, you need to configure the connection in
the opencms-system.xml (und {webapp home}/WEB-INF/config/). Add the
following line right above the closing </system> tag:
<shell-server enabled="true" port="1101" />
..."
Corresponding to this informations i've add the line in my
opencms-systems.xml above </system>-tag
........
<shell-server enabled="false" port="1101"/>
<userdata>
<userdata-domain
class="org.opencms.jsp.userdata.CmsUserDataHeader"/>
<userdata-domain
class="org.opencms.jsp.userdata.CmsDefaultUserDataDomain"/>
</userdata>
<shell-server enabled="true" port="1101"/>
</system>
</opencms>
But now i get an error and OpenCms is not running.
".....
07 Sep 2022 11:26:24,825 [r: ] ERROR
[che.commons.digester3.Digester:1526] Parse Error at line 140 column 14:
The content of element type "system" must match
"(internationalization,mail,events?,versionhistory,resourceinit?,requesthandlers?,passwordhandler,validationhandler?,loginmanager?,loginmessage?,sax-impl-system-properties?,runtimeproperties?,runtimeclasses,defaultusers,defaultcontentencoding,memorymonitor?,flexcache,http-authentication,resultcache,content-notification?,authorizationhandler?,api-authorizations?,encryption?,publishmanager?,session-storageprovider?,permissionhandler?,servletcontainer-settings?,ade?,sitemap?,subscriptionmanager?,workflow?,user-session-mode?,credentials-resolver?,publish-list-remove-mode?,detail-page-handler?,restrict-detail-contents?,shell-server?,letsencrypt?,userdata?)".
{}
org.xml.sax.SAXParseException: The content of element type "system" must
match
"(internationalization,mail,events?,versionhistory,resourceinit?,requesthandlers?,passwordhandler,validationhandler?,loginmanager?,loginmessage?,sax-impl-system-properties?,runtimeproperties?,runtimeclasses,defaultusers,defaultcontentencoding,memorymonitor?,flexcache,http-authentication,resultcache,content-notification?,authorizationhandler?,api-authorizations?,encryption?,publishmanager?,session-storageprovider?,permissionhandler?,servletcontainer-settings?,ade?,sitemap?,subscriptionmanager?,workflow?,user-session-mode?,credenti
als-resolver?,publish-list-remove-mode?,detail-page-handler?,restrict-detail-contents?,shell-server?,letsencrypt?,userdata?)".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException
(Unknown Source) ~[xercesImpl-2.12.0.jar:?]
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
[xercesImpl-2.12.0.jar:?]
..."
Is the documentation not actual? Must i do additional configurations?
Thanks and regards,
Martin Rosenthal
_________________________________
Entwickler
IT-Anwendungen
Telefon: +49 211 529-5775
Telefax: +49 211 529-59775
E-Mail: Martin.Rosenthal at oerag.de
www.oerag.de
E-Mail-Newsletter "Rund um Rechtsschutz" – jetzt anmelden:
www.oerag.de/newsletter
ÖRAG Rechtsschutzversicherungs-AG
Hansaallee 199, 40549 Düsseldorf
Vorstand: Dragica Mischler (Vorsitzende), Marcus Hansen, Betina Nickel
Aufsichtsratsvorsitzender: Dr. Wolfgang Breuer
Sitz der Gesellschaft: Düsseldorf, Registergericht Düsseldorf HRB 12073
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser E-Mail sind nicht gestattet.
More information about the opencms-dev
mailing list