[
https://issues.jboss.org/browse/AS7-6449?page=com.atlassian.jira.plugin.s...
]
Thomas Diesler resolved AS7-6449.
---------------------------------
Resolution: Done
Done
{code}
[standalone@localhost:9999 /] deploy
~/git/jbosgi/distribution/installer/target/deploy-artifacts/lib/org.apache.felix.eventadmin.jar
[standalone@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@localhost:9999 /] deploy --force
~/git/jbosgi/distribution/installer/target/deploy-artifacts/lib/org.apache.felix.eventadmin.jar
[standalone@localhost:9999 /]
{code}
{code}
10:50:07,597 INFO [org.jboss.osgi.framework] (MSC service thread 1-6) JBOSGI011001:
Bundle installed: org.apache.felix.eventadmin:1.3.0
10:50:07,644 INFO [org.jboss.osgi.framework] (MSC service thread 1-6) JBOSGI011002:
Bundle started: org.apache.felix.eventadmin:1.3.0
10:50:07,658 INFO [org.jboss.as.server] (management-handler-thread - 8) JBAS018565:
Replaced deployment "org.apache.felix.eventadmin.jar" with deployment
"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
Fix For: 8.0.0.Alpha1
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