You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by "Marcel Offermans (JIRA)" <ji...@apache.org> on 2012/11/08 00:30:12 UTC

[jira] [Commented] (ACE-292) Management agent fails to update singleton bundle

    [ https://issues.apache.org/jira/browse/ACE-292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492815#comment-13492815 ] 

Marcel Offermans commented on ACE-292:
--------------------------------------

When replaying this issue, I'm already running into another issue. The log contains the following error:

2012.11.08 00:25:31 WARNING - Bundle: org.apache.felix.http.jetty - /deployment/defaultTargetID/versions/1.0.0 - java.lang.IllegalArgumentException: Filename artifact-Bundle-SymbolicName-helloworld;singleton:=true-Bundle-Version-1.0.3.jar constructed from the url contains an illegal character ';'
	at org.apache.ace.deployment.provider.impl.ArtifactDataImpl.<init>(ArtifactDataImpl.java:100)
	at org.apache.ace.deployment.provider.impl.ArtifactDataImpl.<init>(ArtifactDataImpl.java:55)
	at org.apache.ace.deployment.provider.repositorybased.RepositoryBasedProvider.getAllArtifactData(RepositoryBasedProvider.java:238)
	at org.apache.ace.deployment.provider.repositorybased.RepositoryBasedProvider.getBundleData(RepositoryBasedProvider.java:151)
	at org.apache.ace.deployment.provider.repositorybased.RepositoryBasedProvider.getBundleData(RepositoryBasedProvider.java:88)
	at org.apache.ace.deployment.streamgenerator.impl.StreamGeneratorImpl.getDeploymentPackage(StreamGeneratorImpl.java:55)
	at org.apache.ace.deployment.servlet.DeploymentServlet.handlePackageDelivery(DeploymentServlet.java:194)
	at org.apache.ace.deployment.servlet.DeploymentServlet.doGet(DeploymentServlet.java:100)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at org.apache.ace.deployment.servlet.DeploymentServlet.service(DeploymentServlet.java:132)

So it seems ACE does not correctly strip off attributes and then creates an illegal filename.
                
> Management agent fails to update singleton bundle
> -------------------------------------------------
>
>                 Key: ACE-292
>                 URL: https://issues.apache.org/jira/browse/ACE-292
>             Project: ACE
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>         Environment: Equinox 3.7
>            Reporter: Aldo Eisma
>            Priority: Minor
>
> When a singleton bundle is updated to a new version the ACE Management Agent fails to update the bundle.
> This results in a BundleException 'The bundle ... could not be resolved. Reason: Another singleton version selected' for the new version of the bundle.
> The previous version of the bundle must be uninstalled before trying to resolve or start or resolve the new bundle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira