You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <ui...@incubator.apache.org> on 2009/08/17 21:29:14 UTC

[jira] Commented: (UIMA-1495) dd2spring throws SAXParseException if parameters are appended to a broker URL

    [ https://issues.apache.org/jira/browse/UIMA-1495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744174#action_12744174 ] 

Marshall Schor commented on UIMA-1495:
--------------------------------------

The reason this is failing (thanks to Burn) is that the brokerURL is also used as a name.  There is code to "clean up" broker urls so they can be used as a name, but that code needs to be extended to handle the url form of parameters.

> dd2spring throws SAXParseException if parameters are appended to a broker URL
> -----------------------------------------------------------------------------
>
>                 Key: UIMA-1495
>                 URL: https://issues.apache.org/jira/browse/UIMA-1495
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Burn Lewis
>            Priority: Minor
>             Fix For: 2.3AS
>
>
> If a brokerURL includes ActiveMQ parameters, e.g.
>   tcp://foo.com:61616?wireFormat.maxInactivityDuration=30000
> we get:
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 30 in XML document from URL [file:C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/UIMAdd2springOutput6969751502912373687.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Attribute value "qBroker_tcp_c__ss_foo.com_c_61616?wireFormat.maxInactivityDuration=30000" of type ID must be a name.
> Caused by: org.xml.sax.SAXParseException: Attribute value "qBroker_tcp_c__ss_foo.com_c_61616?wireFormat.maxInactivityDuration=30000" of type ID must be a name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.