PLEASE HELP! Problems creating Entity Bean

Hello,

I've created an Application Client in order to access an Entity Beans via a Session Bean. Whilst creating the "Language"-Bean via the Remote Object the size of the error log is growing very fast (in a few minutes up to 500 MB) and the SUN minor code 1015 is thrown.

Does anyone know what to do? I've spent now nearly 2 days in order to solve the problem and I'm really despaired.

Thanks in advance.

Beate

***********************************************************************

The Session Bean contains the following code:

try {

javax.naming.Context jndiContext = new InitialContext();

LanguageHome languageHome = (LanguageHome) jndiContext.lookup (LANGUAGE_JNDI);

LanguageRemote languageRemote = languageHome.create(languageHashtable);

}

catch (NamingException ne) {

System.out.println("in NamingException in createLanguage");

throw new CreateException(ne.toString());

}

catch(RemoteException re){

System.out.println("in RemoteException in createLanguage");

throw new CreateException(re.toString());

}

***********************************************************************

The error log contains the following error text:

org.omg.CORBA.OBJ_ADAPTER:vmcid: SUN minor code: 1015 completed: No

at com.sun.corba.ee.internal.POA.GenericPOAServerSC.preinvoke(GenericPOAServerSC.java:352)

at com.sun.corba.ee.internal.POA.ServantCachePOAClientSC.initServant(ServantCachePOAClientSC.java:100)

at com.sun.corba.ee.internal.POA.ServantCachePOAClientSC.unmarshal(ServantCachePOAClientSC.java:91)

at com.sun.corba.ee.internal.POA.POAImpl.makeObjectReference(POAImpl.java:998)

at com.sun.corba.ee.internal.POA.POAImpl.createReference(POAImpl.java:1008)

at com.sun.corba.ee.internal.POA.POAImpl.create_reference_with_id(POAImpl.java:1061)

at com.sun.enterprise.iiop.POAProtocolMgr.createReference(POAProtocolMgr.java:296)

at com.sun.ejb.containers.EntityContainer.internalGetEJBObject(EntityContainer.java:1197)

at com.sun.ejb.containers.EntityContainer.getEJBObject(EntityContainer.java:171)

at com.sun.ejb.containers.ContainerFactoryImpl.getTargetObject(ContainerFactoryImpl.java:176)

[2293 byte] By [Genesis2000a] at [2007-9-27 12:53:32]
# 1
Hello, I found the problem. My Primarykey class had a corrupt "equals" function. I used "==" for a String comparison instead of "equals()". This caused an endless loop. Thanks. Beate
Genesis2000a at 2007-7-9 8:08:15 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
I had the same. J2EE 1.3.1 + J2SE 1.4.1 + JTOPEN.thank you! I would never foud it myselve!
pablo71a at 2007-7-9 8:08:15 > top of Java-index,Other Topics,Patterns & OO Design...