2.9.0 Upgrade Issue

Hello!

We have upgraded to the latest version but now when we start up Djigzo it fails with the following error:

Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 20 in XML document from file [/usr/share/djigzo/conf/spring/soap.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 20; columnNumber: 81; The prefix "sec" for element "sec:keyManagers" is not bound.

I have diff'd the rpmsave against the new version and apart from the password I do not see any difference ?

Thanks, Phil

You have setup soap over SSL. This is not enabled by default. Can you
check whether the system start if you disable (i.e., switch to default
commented out)

Kind regards,

Martijn Brinkers

···

On 10/15/2014 10:33 AM, Phil Daws wrote:

Hello!

We have upgraded to the latest version but now when we start up Djigzo it fails with the following error:

Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 20 in XML document from file [/usr/share/djigzo/conf/spring/soap.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 20; columnNumber: 81; The prefix "sec" for element "sec:keyManagers" is not bound.

I have diff'd the rpmsave against the new version and apart from the password I do not see any difference ?

--
CipherMail email encryption

Open source email encryption gateway with support for S/MIME, OpenPGP
and PDF messaging.

Twitter: http://twitter.com/CipherMail

can you add the following namespace to soap.xml (just below xmlns:httpj):

xmlns:sec="http://cxf.apache.org/configuration/security"

So the xml header should look like:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans&quot;
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
        xmlns:jaxws="http://cxf.apache.org/jaxws&quot;

xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration&quot;
        xmlns:sec="http://cxf.apache.org/configuration/security&quot;

Then restart to see whether this fixes it.

Note to others: this is only needed if you allow external systems to
connect to the SOAP interface over SSL. By default the SOAP interface is
only used internally and is not accessible from the outside

Kind regards

Martijn Brinkers

···

On 10/15/2014 10:33 AM, Phil Daws wrote:

We have upgraded to the latest version but now when we start up Djigzo it fails with the following error:

Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 20 in XML document from file [/usr/share/djigzo/conf/spring/soap.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 20; columnNumber: 81; The prefix "sec" for element "sec:keyManagers" is not bound.

I have diff'd the rpmsave against the new version and apart from the password I do not see any difference ?

--
CipherMail email encryption

Open source email encryption gateway with support for S/MIME, OpenPGP
and PDF messaging.

Twitter: http://twitter.com/CipherMail

Good morning, Martijn:

Indeed that does resolve the issue. And yes, am running a split configuration between DMZ and back-end network.

Many thanks, Phil

···

----- Original Message -----
From: "Martijn Brinkers" <martijn(a)djigzo.com>
To: users(a)lists.djigzo.com
Sent: Wednesday, 15 October, 2014 10:04:43 AM
Subject: Re: 2.9.0 Upgrade Issue

On 10/15/2014 10:33 AM, Phil Daws wrote:

We have upgraded to the latest version but now when we start up Djigzo it fails with the following error:

Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 20 in XML document from file [/usr/share/djigzo/conf/spring/soap.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 20; columnNumber: 81; The prefix "sec" for element "sec:keyManagers" is not bound.

I have diff'd the rpmsave against the new version and apart from the password I do not see any difference ?

can you add the following namespace to soap.xml (just below xmlns:httpj):

xmlns:sec="http://cxf.apache.org/configuration/security&quot;

So the xml header should look like:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans&quot;
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
        xmlns:jaxws="http://cxf.apache.org/jaxws&quot;

xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration&quot;
        xmlns:sec="http://cxf.apache.org/configuration/security&quot;

Then restart to see whether this fixes it.

Note to others: this is only needed if you allow external systems to
connect to the SOAP interface over SSL. By default the SOAP interface is
only used internally and is not accessible from the outside

Kind regards

Martijn Brinkers

--
CipherMail email encryption

Open source email encryption gateway with support for S/MIME, OpenPGP
and PDF messaging.

Twitter: http://twitter.com/CipherMail
_______________________________________________
Users mailing list
Users(a)lists.djigzo.com
https://lists.djigzo.com/lists/listinfo/users