0 Replies Latest reply on Jul 8, 2011 4:33 AM by reb00t

    RemoteHome not bound when Clustered

    reb00t Newbie



      I want to bind the remote home interface of an EJB3 StatelessSessionBean in a clustered environment. When I remove the @Clustered annotation, the remote home interface is bound in the JNDI-Tree correctly. If not, it is not bound an I get no error message in the server.log (jboss 4.2.3).


      My setting:


      public interface EJB3BusinessInterface { ... }


      public interface EJB2RemoteInterface extends EJBObject, EJB3BusinessInterface { ... }


      public interface EJB2RemoteInterfaceHome extends EJBHome { ... }






      public class EJB3SessionBean implements EJB3BusinessInterface { ... }



      <?xml version="1.0" encoding="UTF-8"?>

      <!-- <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd"> -->







      <?xml version="1.0" encoding="UTF-8"?>

      <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee"


          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"