[opencms-dev] Antwort: Re: Antwort: ERROR Calling the OpenCms shell (RMI)

martin.rosenthal at oerag.de martin.rosenthal at oerag.de
Wed Sep 7 12:53:19 CEST 2022


Hello Daniel,

thanks for your quick reply. I now see it too. I've hadn't see, that there
is an default configutaion in the opencms-systems.xml
OpenCms is now running fine.

Thanks and regards,
Martin
_________________________________
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.



Von:	"Daniel Seidel via opencms-dev" <opencms-dev at opencms.org>
An:	opencms-dev at opencms.org
Kopie:	"Daniel Seidel" <d.seidel at alkacon.com>
Datum:	07.09.2022 12:41
Betreff:	Re: [opencms-dev] Antwort: ERROR Calling the OpenCms shell
            (RMI)
Gesendet von:	"opencms-dev" <opencms-dev-bounces at opencms.org>



Hi Martin,

seems you have the <shell-server>-node twice. Just delete the one you
added and switch the attribute "false" to "true" in the other one.
Unfortunately, the Documentation is not updated since the new nodes
letsencrypt and userdata where added.

Best, Daniel.

Am 07.09.22 um 11:55 schrieb martin.rosenthal--- via opencms-dev:
> 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: 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.
>
>
>
> Von:		 "martin.rosenthal--- via opencms-dev"
<opencms-dev at opencms.org>
> An:		 opencms-dev at opencms.org
> Kopie:		 martin.rosenthal at oerag.de
> Datum:		 07.09.2022 11:50
> Betreff:		 [opencms-dev] ERROR Calling the OpenCms shell (RMI)
> Gesendet von:		 "opencms-dev" <opencms-dev-bounces at opencms.org>
>
>
>
>
> 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.
> _______________________________________________
> 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
>
>
>
--
Kind Regards

Daniel.

-------------------

Daniel Seidel
Alkacon Software GmbH & Co. KG - The OpenCms Experts
https://www.alkacon.com - http://www.opencms.org

_______________________________________________
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






More information about the opencms-dev mailing list