You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/09/25 09:14:16 UTC

[jira] Assigned: (FELIX-1639) XML Entity references (eg, DTDs) in Spring files can fail the build

     [ https://issues.apache.org/jira/browse/FELIX-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet reassigned FELIX-1639:
--------------------------------------

    Assignee: Guillaume Nodet

> XML Entity references (eg, DTDs) in Spring files can fail the build
> -------------------------------------------------------------------
>
>                 Key: FELIX-1639
>                 URL: https://issues.apache.org/jira/browse/FELIX-1639
>             Project: Felix
>          Issue Type: Bug
>    Affects Versions: maven-bundle-plugin-2.0.1
>         Environment: Windows XP, Linux
>            Reporter: Patrick Forhan
>            Assignee: Guillaume Nodet
>         Attachments: pom.xml, server-communication-osgi-context.xml
>
>
> As of 2.0.1, maven-bundle-plugin scans META-INF/spring/*.xml looking for spring contexts.  If, as in our case, you have an XML entity reference (like a DTD) and your location makes use of an HTTP proxy, the build can fail with an odd, cyptic message:
> [INFO] [bundle:bundle]
> ERROR:  'Connection refused'
> ERROR:  'com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Connection refused'
> [ERROR] Error building bundle org.bjc.es:org.bjc.es.pt2.communication:bundle:clover:2.0.0-SNAPSHOT : Unexpected exception in processing spring resources(META-INF/spring/server-communication-osgi-context.xml): javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Connection refused
> It is parsing these XML files, and trying to resolve any entities.

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