Antwort: ERROR Calling the OpenCms shell (RMI)

"martin.rosenthal--- via opencms-dev" <[email protected]>
Newsgroups gmane.comp.cms.opencms.devel
Message-ID <OF0E881E2D.22B449FB-ONC12588B6.003658E7-C12588B6.00367E63@oerag.de>
an addtiional info. I'm using OpenCms 13 with OCEE, Tomcat 9.0.65 and
OpenJDK 11.:

Regards,
Martin Rosenthal
_________________________________
Entwickler
IT-Anwendungen

Telefon: +49 211 529-5775
Telefax: +49 211 529-59775
E-Mail: [email protected]
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.



Von:	"martin.rosenthal--- via opencms-dev" <[email protected]>
An:	[email protected]
Kopie:	[email protected]
Datum:	07.09.2022 11:50
Betreff:	[opencms-dev] ERROR Calling the OpenCms shell (RMI)
Gesendet von:	"opencms-dev" <[email protected]>




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: [email protected]
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.
_______________________________________________
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




_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.