The reference to entity "transport.keyStorePassword" must end with the ';' delimiter

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

The reference to entity "transport.keyStorePassword" must end with the ';' delimiter

jeunii
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 2017-05-09 22:20:29,796 | ERROR | mix-7.0.0/deploy | BlueprintDeploymentListener | 105 - org.apache.karaf.deployer.blueprint - 4.0.8 | Unable to parse deployed file /tmp/apache-servicemix-7.0.0/deploy/qpid-routes-iv.xml org.xml.sax.SAXParseException: The reference to entity "transport.keyStorePassword" must end with the ';' delimiter. ERROR

Timothy Bish

It's XML so an & is expressed as "&"

"amqps://esesslx0827.ss.sw.ericsson.se:9443?transport.keyStoreLocation=etc/qpid.jks&transport.keyStorePassword=test123"



On 05/09/2017 06:26 PM, jeunii wrote:

> I am trying to setup a connection using SSL.
>
> My config initially was ::
>
>   <bean id="amqp" class="org.apache.camel.component.amqp.AMQPComponent">
>      <property name="connectionFactory">
>         <bean class="org.apache.qpid.jms.JmsConnectionFactory">
>           <property name="remoteURI"
> value="amqp://esesslx0827.ss.sw.ericsson.se:9443" />
>         </bean>
>      </property>
>    </bean>
>
> In order to secure my connection, now Im using ::
>
> <property name="remoteURI"
> value="amqps://esesslx0827.ss.sw.ericsson.se:9443?transport.keyStoreLocation=etc/qpid.jks&transport.keyStorePassword=test123"
> />
>
> As per documentation, I can add a number of parameter by seperating them
> using '&'.
>
> But I am getting the ERROR ::
>
> Unable to parse deployed file
> /tmp/apache-servicemix-7.0.0/deploy/qpid-routes-iv.xml
> org.xml.sax.SAXParseException: The reference to entity
> "transport.keyStorePassword" must end with the ';' delimiter.
> at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)[:]
>
>
> I tried doing the following ::
>
> <property name="remoteURI"
> value="amqps://esesslx0827.ss.sw.ericsson.se:9443?transport.keyStoreLocation=etc/qpid.jks;&transport.keyStorePassword=test123;"
> />
>
> But Im getting the same ERROR. Ive tried looking at multiple forums but I do
> not see the use of ";" as a separator. Im confused as to what is the issue ?
> Do I need to update my libraries ?
>
>
>
>
>
> --
> View this message in context: http://qpid.2158936.n2.nabble.com/2017-05-09-22-20-29-796-ERROR-mix-7-0-0-deploy-BlueprintDeploymentListener-105-org-apache-karaf-deplR-tp7663005.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 2017-05-09 22:20:29,796 | ERROR | mix-7.0.0/deploy | BlueprintDeploymentListener | 105 - org.apache.karaf.deployer.blueprint - 4.0.8 | Unable to parse deployed file /tmp/apache-servicemix-7.0.0/deploy/qpid-routes-iv.xml org.xml.sax.SAXParseException: The reference to entity "transport.keyStorePassword" must end with the ';' delimiter. ERROR

Robbie Gemmell
Administrator
In reply to this post by jeunii
Looks like an XML parsing error. Escaping the "&" as "&amp;" in the
URL should do the trick.

On 9 May 2017 at 23:26, jeunii <[hidden email]> wrote:

> I am trying to setup a connection using SSL.
>
> My config initially was ::
>
>  <bean id="amqp" class="org.apache.camel.component.amqp.AMQPComponent">
>     <property name="connectionFactory">
>        <bean class="org.apache.qpid.jms.JmsConnectionFactory">
>          <property name="remoteURI"
> value="amqp://esesslx0827.ss.sw.ericsson.se:9443" />
>        </bean>
>     </property>
>   </bean>
>
> In order to secure my connection, now Im using ::
>
> <property name="remoteURI"
> value="amqps://esesslx0827.ss.sw.ericsson.se:9443?transport.keyStoreLocation=etc/qpid.jks&transport.keyStorePassword=test123"
> />
>
> As per documentation, I can add a number of parameter by seperating them
> using '&'.
>
> But I am getting the ERROR ::
>
> Unable to parse deployed file
> /tmp/apache-servicemix-7.0.0/deploy/qpid-routes-iv.xml
> org.xml.sax.SAXParseException: The reference to entity
> "transport.keyStorePassword" must end with the ';' delimiter.
>         at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)[:]
>
>
> I tried doing the following ::
>
> <property name="remoteURI"
> value="amqps://esesslx0827.ss.sw.ericsson.se:9443?transport.keyStoreLocation=etc/qpid.jks;&transport.keyStorePassword=test123;"
> />
>
> But Im getting the same ERROR. Ive tried looking at multiple forums but I do
> not see the use of ";" as a separator. Im confused as to what is the issue ?
> Do I need to update my libraries ?
>
>
>
>
>
> --
> View this message in context: http://qpid.2158936.n2.nabble.com/2017-05-09-22-20-29-796-ERROR-mix-7-0-0-deploy-BlueprintDeploymentListener-105-org-apache-karaf-deplR-tp7663005.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 2017-05-09 22:20:29,796 | ERROR | mix-7.0.0/deploy | BlueprintDeploymentListener | 105 - org.apache.karaf.deployer.blueprint - 4.0.8 | Unable to parse deployed file /tmp/apache-servicemix-7.0.0/deploy/qpid-routes-iv.xml org.xml.sax.SAXParseException: The reference to entity "transport.keyStorePassword" must end with the ';' delimiter. ERROR

jeunii
Worked like a charm ! Thank you !
Loading...