I am deploying an ejb that has a reference to a POJO. The deployment is failing 
w/ the following message at deploy time. Any ideas as to what is causing this? 
Thanks


[EMAIL PROTECTED] 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)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862447#3862447

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862447


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to