Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1346

Disabling @Clustered via jboss.xml not being respected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.5
    • None
    • Clustering
    • None

      An @Clustered bean with <clustered>false</clustered> in its jboss.xml is still using the clustered proxy factory:

      2008-05-08 12:56:44,768 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (RMI TCP Connection(27)-127.0.0.1) Error installing to Start: name=jboss.j2ee:ear=clusteredsession-test.jar,jar=clusteredsession-test.jar,name=NonClusteredStateful,service=EJB3 state=Create
      java.lang.IllegalStateException: Partition BogusPartition not found
      at org.jboss.ha.framework.server.HAPartitionLocator.getHAPartition(HAPartitionLocator.java:125)
      at org.jboss.ejb3.proxy.factory.stateful.StatefulClusterProxyFactory.start(StatefulClusterProxyFactory.java:144)
      at org.jboss.ejb3.session.ProxyDeployer.start(ProxyDeployer.java:95)
      at org.jboss.ejb3.session.SessionContainer.start(SessionContainer.java:188)
      at org.jboss.ejb3.stateful.StatefulContainer.start(StatefulContainer.java:249)

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: