merging server.xml of tomcat

Hello!

I have djigzo and djigzo-web up and running by copying the server.xml
of djigzo to /usr/local/tomcat/conf overwriting the default one of tomcat.

My problem is I tried to merge the djigzo server.xml with default
tomcat server.xml by inserting the server-block but got an error then:

Parse Fatal Error at line 146 column 2: Markup im Dokument nach dem Root-Element muss ordnungsgemäß formatiert sein.
org.xml.sax.SAXParseException; systemId: file:/usr/local/tomcat/conf/server.xml; lineNumber: 146; columnNumber: 2; Markup im Dokument nach dem Root-Element muss ordnungsgemäß formatiert sein.

Line 146 starts with <Server> followed by the rest of the server.xml
of djigzo.

Heavy stuff, new to java and tomcat and djigzo.

Whats wrong? Is it possbible to merge this two into one server.xml?

Kind regards

  Andreas

It is possible to merge. Perhaps you have an error in your XML (i.e.,
not valid XML). Why do you want to merge it with the existing settings
and not use the provided server.xml?

Kind regards,

Martijn Brinkers

···

On 12-12-17 14:28, ratatouille via Users wrote:

Hello!

I have djigzo and djigzo-web up and running by copying the server.xml
of djigzo to /usr/local/tomcat/conf overwriting the default one of tomcat.

My problem is I tried to merge the djigzo server.xml with default
tomcat server.xml by inserting the server-block but got an error then:

Parse Fatal Error at line 146 column 2: Markup im Dokument nach dem Root-Element muss ordnungsgemäß formatiert sein.
org.xml.sax.SAXParseException; systemId: file:/usr/local/tomcat/conf/server.xml; lineNumber: 146; columnNumber: 2; Markup im Dokument nach dem Root-Element muss ordnungsgemäß formatiert sein.

Line 146 starts with <Server> followed by the rest of the server.xml
of djigzo.

Heavy stuff, new to java and tomcat and djigzo.

Whats wrong? Is it possbible to merge this two into one server.xml?

--
CipherMail email encryption

Email encryption with support for S/MIME, OpenPGP, PDF encryption and
secure webmail pull.

Twitter: http://twitter.com/CipherMail

I am curious.

Thank you! I assume that just the part <Service name="Catalina"> and its
content with connector and so on must be copied into the <server>-section
with new Servicename="Catalina2" for example. Didn't try it yet and am using
the provided server.xml

All is fine, great stuff. I have another question for which I open a new
thread.

Kind regards

  Andreas

···

Martijn Brinkers via Users <users(a)lists.djigzo.com> schrieb am 12.12.17 um 17:21:13 Uhr: > > Parse Fatal Error at line 146 column 2: Markup im Dokument nach dem Root-Element muss ordnungsgemäß formatiert sein.

> org.xml.sax.SAXParseException; systemId: file:/usr/local/tomcat/conf/server.xml; lineNumber: 146; columnNumber: 2; Markup im Dokument nach dem Root-Element muss ordnungsgemäß formatiert sein.
>
> Line 146 starts with <Server> followed by the rest of the server.xml
> of djigzo.
>
>
> Heavy stuff, new to java and tomcat and djigzo.
>
> Whats wrong? Is it possbible to merge this two into one server.xml?

It is possible to merge. Perhaps you have an error in your XML (i.e.,
not valid XML). Why do you want to merge it with the existing settings
and not use the provided server.xml?