Details
-
Bug
-
Status: Resolved
-
Resolution: Won't Do
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
437
Description
To reproduce,
1. Get the openflowplugin repo
2. mvn clean install from root
3. Got to the distribution folder and run it.
4. Once the controller has started using mininet add topology using the following command. You should see the following exception,
2014-02-19 17:39:57.359 PST [md-sal-binding-notification-0] ERROR o.o.c.c.scheme.AbstractScheme - Excepion in adding Controller to a Node
javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:72) ~[na:na]
at org.opendaylight.controller.clustering.services_implementation.internal.ClusterManager.tbegin(ClusterManager.java:594) ~[na:na]
at org.opendaylight.controller.clustering.services_implementation.internal.ClusterManager.tbegin(ClusterManager.java:571) ~[na:na]
at org.opendaylight.controller.clustering.services_implementation.internal.ClusterManagerCommon.tbegin(ClusterManagerCommon.java:255) ~[na:na]
at org.opendaylight.controller.connectionmanager.scheme.AbstractScheme.putNodeToController(AbstractScheme.java:244) [bundlefile:na]
at org.opendaylight.controller.connectionmanager.scheme.AbstractScheme.addNode(AbstractScheme.java:298) [bundlefile:na]
at org.opendaylight.controller.connectionmanager.scheme.AbstractScheme.addNode(AbstractScheme.java:305) [bundlefile:na]
at org.opendaylight.controller.connectionmanager.internal.ConnectionManager.updateNode(ConnectionManager.java:215) [bundlefile:na]
at org.opendaylight.controller.sal.implementation.internal.Inventory.updateNode(Inventory.java:115) [bundlefile:na]
at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter.publishNodeUpdate(InventoryAndReadAdapter.java:1031) [bundlefile:na]
at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter.onNodeUpdated(InventoryAndReadAdapter.java:631) [bundlefile:na]
at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker.onNotification(InventoryAndReadAdapter$$Broker$ListenerInvoker.java) [bundlefile:na]
at org.opendaylight.controller.sal.binding.impl.NotifyTask.call(NotifyTask.java:59) [bundlefile:na]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]
Caused by: java.lang.IllegalStateException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.checkTransactionState(BaseTransaction.java:266) ~[na:na]
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:68) ~[na:na]
... 16 common frames omitted