4 Replies Latest reply on Aug 13, 2008 5:16 PM by Peter Johnson

    When deploying stateful session bean, it shows via JNDI view

    Yair Zaslavsky Newbie

      The definition of the bean is:

      public class AMSQueryManagerBean implements QueryManager {

      JNDI view shows:

      QueryComposerManagerBean (class: org.jnp.interfaces.NamingContext)
      | | +- RemoteStatefulProxyFactory (proxy: $Proxy170 implements interface org.jboss.ejb3.ProxyFactory)
      | | +- Remote (class: java.lang.Object)
      | | +- LocalStatefulProxyFactory (class: org.jboss.ejb3.stateful.StatefulLocalProxyFactory)
      | | +- Local (class: java.lang.Object)

      I manage to lookup it from tomcat, and J2SE clients
      I cannot lookup it from a WAR that is a part of the deployed ear (throws class cast exception, this is why i checked the JNDI view).
      For stateless session beans, i see Remote and Local are ok in JNDI view.

      How can I solve this? (There is no multiple defition in the EAR of the stateful session bean)