Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1953

Installer's "all" profile missing HA classes

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • None
    • None

      When running the ejb3 clustering tutorial against the installer's 'all" profile, I am receiving a TypeNotPresentException in my server.log

      1. run the installer, select the "all" profile
      2. build the ejb3 cluster tutorial "$ ant"
      3 run the ejb3 cluster tutorial "$ ant run.stateless"

      Ant exits with the following:
      run.stateless:
      [java] Exception in thread "main" javax.naming.NameNotFoundException: org.jboss.tutorial.clustering.bean.Session not bound
      [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)
      [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)
      [java] at org.jnp.server.NamingServer.getObject(NamingServer.java:505)

      I see this in my server.log

      — MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM —
      ObjectName: jboss.j2ee:service=EJB3,name=org.jboss.tutorial.clustering.bean.SessionBean
      State: FAILED
      Reason: java.lang.RuntimeException: java.lang.TypeNotPresentException: Type org.jboss.ha.framework.interfaces.LoadBalancePolicy not present

      ObjectName: jboss.j2ee:service=EJB3,name=org.jboss.tutorial.clustering.bean.StatefulBean
      State: FAILED
      Reason: java.lang.RuntimeException: java.lang.TypeNotPresentException: Type org.jboss.ha.framework.interfaces.LoadBalancePolicy not present

            norman.richards Norman Richards (Inactive)
            ryan.campbell_jira ryan.campbell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: