0 Replies Latest reply on Apr 8, 2004 7:18 AM by Oleg V. Safonov

    Create bean in factory

    Oleg V. Safonov Newbie

      Hi.

      If I use IIOP protocol (JBoss 4.0 DR3) and create beans from my own factory I get CORBA::UNKNOWN exception (this exception translated from ClassCastException in JBoss core). Example:
      class MyFactoryBean ...
      ...
      MyBean createBean() {
      ...
      return myBeanHome.create();
      }

      That wrong?

      Thanks.