[infinispan-issues] [JBoss JIRA] (ISPN-4789) Avoid having two OSGi containers running at the same time.
Galder Zamarreño (JIRA)
issues at jboss.org
Wed Oct 1 05:35:03 EDT 2014
[ https://issues.jboss.org/browse/ISPN-4789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreño updated ISPN-4789:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 7.0.0.CR1
Resolution: Done
> Avoid having two OSGi containers running at the same time.
> ----------------------------------------------------------
>
> Key: ISPN-4789
> URL: https://issues.jboss.org/browse/ISPN-4789
> Project: Infinispan
> Issue Type: Task
> Affects Versions: 7.0.0.Beta2
> Reporter: Ion Savin
> Assignee: Ion Savin
> Fix For: 7.0.0.CR1
>
>
> Combining PerSuite and PerClass/PerMethod PAX EXAM reactors results in two containers running at the same time which could trigger resource conflicts similar to the one below:
> {noformat}
> karaf at root> Exception in thread "JMX Connector Thread [service:jmx:rmi://0.0.0.0:44444/jndi/rmi://0.0.0.0:1099/karaf-root]" java.lang.RuntimeException:
> Port already in use: 44444;
> You may have started two containers. If you need to start a second container or the default ports are already in use update the config file etc/org.apache.karaf.management.cfg and change the Registry Port and Server Port to unused ports
> at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:244)
> {noformat}
> To avoid this issue split the OSGi tests into two groups with separate Surefire executions - one with the container reused and one with the container started for each class/method.
> Related to an earlier workaround: ISPN-4487
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the infinispan-issues
mailing list