# 2.9.0 Upgrade Issue

**URL:** <https://community.ciphermail.com/t/2-9-0-upgrade-issue/403>\
**Category:** Gateway\
**Created:** [October 15, 2014, 8:33am UTC](https://community.ciphermail.com/t/2-9-0-upgrade-issue/403 "2014-10-15T08:33:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_UxBoD](https://avatars.discourse-cdn.com/v4/letter/_/eb9ed0/32.png) [@\_UxBoD](https://community.ciphermail.com/u/_UxBoD)\
**Post date:** [October 15, 2014, 8:33am UTC](https://community.ciphermail.com/t/2-9-0-upgrade-issue/403/1 "2014-10-15T08:33:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [October 15, 2014, 8:51am UTC](https://community.ciphermail.com/t/2-9-0-upgrade-issue/403/2 "2014-10-15T08:51:00Z")

</div>

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.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [October 15, 2014, 9:04am UTC](https://community.ciphermail.com/t/2-9-0-upgrade-issue/403/3 "2014-10-15T09:04:43Z")

</div>

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

xmlns:sec="[http://cxf.apache.org/configuration/security&quot](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](http://www.springframework.org/schema/beans&quot);  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance&quot](http://www.w3.org/2001/XMLSchema-instance&quot);  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xmlns:jaxws="[http://cxf.apache.org/jaxws&quot](http://cxf.apache.org/jaxws&quot);

xmlns:httpj="[http://cxf.apache.org/transports/http-jetty/configuration&quot](http://cxf.apache.org/transports/http-jetty/configuration&quot);  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xmlns:sec="[http://cxf.apache.org/configuration/security&quot](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.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)

---

<div class="post-metadata">

**Author:** ![\_UxBoD](https://avatars.discourse-cdn.com/v4/letter/_/eb9ed0/32.png) [@\_UxBoD](https://community.ciphermail.com/u/_UxBoD)\
**Post date:** [October 15, 2014, 9:10am UTC](https://community.ciphermail.com/t/2-9-0-upgrade-issue/403/4 "2014-10-15T09:10:39Z")

</div>

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](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](http://www.springframework.org/schema/beans&quot);  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance&quot](http://www.w3.org/2001/XMLSchema-instance&quot);  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xmlns:jaxws="[http://cxf.apache.org/jaxws&quot](http://cxf.apache.org/jaxws&quot);
> 
> xmlns:httpj="[http://cxf.apache.org/transports/http-jetty/configuration&quot](http://cxf.apache.org/transports/http-jetty/configuration&quot);  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xmlns:sec="[http://cxf.apache.org/configuration/security&quot](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.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)  
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Users mailing list  
> Users(a)lists.djigzo.com  
> [https://lists.djigzo.com/lists/listinfo/users](https://lists.djigzo.com/lists/listinfo/users)
