[jboss-jira] [JBoss JIRA] (AS7-6449) jboss-cli deploy --force fails for OSGi bundles

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Mon Mar 18 10:46:44 EDT 2013


    [ https://issues.jboss.org/browse/AS7-6449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761594#comment-12761594 ] 

Thomas Diesler edited comment on AS7-6449 at 3/18/13 10:46 AM:
---------------------------------------------------------------

Cannot reproduce

{code}
[standalone at localhost:9999 /] deploy ~/git/jbosgi/distribution/installer/target/deploy-artifacts/lib/org.apache.felix.eventadmin.jar
[standalone at localhost:9999 /] deploy ~/git/jbosgi/distribution/installer/target/deploy-artifacts/lib/org.apache.felix.eventadmin.jar
'org.apache.felix.eventadmin.jar' already exists in the deployment repository (use --force to replace the existing content in the repository).
[standalone at localhost:9999 /] deploy --force ~/git/jbosgi/distribution/installer/target/deploy-artifacts/lib/org.apache.felix.eventadmin.jar
[standalone at localhost:9999 /]
{code}
                
      was (Author: thomas.diesler):
    Cannot reproduce

{code}
[standalone at localhost:9999 /] deploy ~/git/jbosgi/distribution/installer/target/deploy-artifacts/lib/org.apache.felix.eventadmin.jar
[standalone at localhost:9999 /] deploy ~/git/jbosgi/distribution/installer/target/deploy-artifacts/lib/org.apache.felix.eventadmin.jar
'org.apache.felix.eventadmin.jar' already exists in the deployment repository (use --force to replace the existing content in the repository).
[standalone at localhost:9999 /] deploy --force ~/git/jbosgi/distribution/installer/target/deploy-artifacts/lib/org.apache.felix.eventadmin.jar
{code}
                  
> jboss-cli deploy --force fails for OSGi bundles
> -----------------------------------------------
>
>                 Key: AS7-6449
>                 URL: https://issues.jboss.org/browse/AS7-6449
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CLI, OSGi
>    Affects Versions: EAP 6.1.0.Alpha (7.2.0.Final)
>         Environment: Windows 7, 64-bit
>            Reporter: Jarkko Rantavuori
>            Assignee: Thomas Diesler
>
> If you try to deploy already-deployed .jar from cli, it says "already exists in the deployment repository (use --force to replace the existing content in the repository)". However, using --force errors with "service already registered" if it is an OSGi 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


More information about the jboss-jira mailing list