8 Replies Latest reply on Jan 21, 2005 9:47 AM by chris bono

    rmi-iiop

    chris bono Newbie

      WindowsXP
      Sun1.4.2_05
      JBoss3.2.3

      I am deploying an ejb that has a reference to a POJO. The POJO extends another POJO that extends another POJO.

      The deployment is failing w/ the following message at deploy time. Any ideas as to what is causing this? Thanks


      [ERROR]@[17 Jan 2005 12:35:12,281] [org.jboss.ejb.StatelessSessionContainer] : Initialization failed
      java.lang.IllegalArgumentException: Class org.foo.UserVO already has TypeCode.
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addTypeCode(InterfaceRepository.java:345)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addValue(InterfaceRepository.java:974)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addClass(InterfaceRepository.java:750)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.getTypeCode(InterfaceRepository.java:312)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addArray(InterfaceRepository.java:814)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addClass(InterfaceRepository.java:723)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.getTypeCode(InterfaceRepository.java:312)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addValue(InterfaceRepository.java:992)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addValue(InterfaceRepository.java:953)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addClass(InterfaceRepository.java:750)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.getTypeCode(InterfaceRepository.java:312)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addValue(InterfaceRepository.java:992)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addClass(InterfaceRepository.java:750)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.getTypeCode(InterfaceRepository.java:312)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addValue(InterfaceRepository.java:992)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addValue(InterfaceRepository.java:953)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addClass(InterfaceRepository.java:750)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.getTypeCode(InterfaceRepository.java:312)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addOperations(InterfaceRepository.java:647)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addInterface(InterfaceRepository.java:920)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.addClass(InterfaceRepository.java:730)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.getTypeCode(InterfaceRepository.java:312)
      at org.jboss.iiop.rmi.ir.InterfaceRepository.mapClass(InterfaceRepository.java:138)
      at org.jboss.proxy.ejb.IORFactory.create(IORFactory.java:251)
      at org.jboss.ejb.StatelessSessionContainer.createService(StatelessSessionContainer.java:168)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)