0 Replies Latest reply on Apr 14, 2003 7:36 PM by maksymg

    ClassCastException with two similar ear files

    maksymg

      Hi all,
      I need to install two identical (only JNDI bean names and some properties are different) applications on the same server and the applications must communicate to each other.
      When I try to cast a remote bean interface through PortableRemoteObject from an application I recieve ClassCastException.
      I compile a code-ejb.jar and create two appl-ejb.jar that contain only configuration files and reference to code-ejb.jar through manifest ClassPath clause.
      I put these files in two ear files with guideline to scope its loading using ears.

      What's wrong? Please help

      Maksym