Janine,
You are producing a recursive call in the creation of your value objects. You cannot have value objects that have a reference to each other, as you have in their corresponding EJBs.
Regards Jose
Janine G�rtner wrote:
Hello folks!
I beg your pardon, but i have another problem with crm. I don't only need an n-m relationship, i also need an bidrectional 1-1 relationship. I tried to develop one, but i receive this error message, when i try to call the getter methods from my testclient. Could anyone tell me what this error message means?
I receive exactly the same error message if i try to convert my unidirectional to a bidirectional one. Pleeease help me. I don't know anything anymore.
Greetings, Janine
----------------->
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.ServerException: EJBException:; nested exception is: javax.ejb.EJBException: Fehler in FloFaBean.getZugang: javax.ejb.TransactionRolledbackLocalException: null; CausedByException is: null; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: null; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: null; CausedByException is: null; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: null; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: Reentrant method call detected: Zugang 2 at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Unknown Source) at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source) at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) at sun.rmi.server.UnicastRef.invoke(Unknown Source) at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy. java:135) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45) at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterce ptor.java:100) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) at $Proxy1.getZugang(Unknown Source) at de.nine.client.Florames.testBean(Florames.java:57) at de.nine.client.Florames.main(Florames.java:136) Caused by: java.rmi.ServerException: EJBException:; nested exception is: javax.ejb.EJBException: Fehler in FloFaBean.getZugang: javax.ejb.TransactionRolledbackLocalException: null; CausedByException is: null; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: null; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: null; CausedByException is: null; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: null; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: Reentrant method call detected: Zugang 2 at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:347) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderI nterceptor.java:122) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContain er.java:331) at org.jboss.ejb.Container.invoke(Container.java:700) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatch er.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:367) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Unknown Source) at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: javax.ejb.EJBException: Fehler in FloFaBean.getZugang: javax.ejb.TransactionRolledbackLocalException: null; CausedByException is: null; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: null; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: null; CausedByException is: null; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: null; CausedByException is: Reentrant method call detected: Zugang 2; CausedByException is: Reentrant method call detected: Zugang 2 at de.nine.session.FloFaBean.getZugang(FloFaBean.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessS essionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cached ConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSess ionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.j ava:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.ja va:267) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) ... 21 more
====
That's the code from KundeBean.java:
// ====================================================================== // CMR Felder // ======================================================================
// ----------------------------------------------------------------------
/** * Zugangsdaten des Kunden liefern * * @return Zugangsdaten des Kunden * * @ejb.value-object * aggregate="de.nine.cmp.ZugangValue" * aggregate-name="Zugang" * members="de.nine.cmp.ZugangLocal" * members-name="Zugang" * relation="external" * @ejb.relation * name="zugang-kunde" * role-name="kunde-hat-zugang" * @ejb.interface-method * view-type="local" */ public abstract ZugangLocal getZugang();
/** * Zugangsdaten des Kunden setzen * * @param zugang: Zugangsdaten des Kunden * * @ejb.interface-method * view-type="local" */ public abstract void setZugang(ZugangLocal zugang);
==== That's the code from ZugangBean:
// ====================================================================== // CMR Felder // ======================================================================
// ----------------------------------------------------------------------
/** * Kundendaten liefern * * @return Kundendaten * * @ejb.value-object * aggregate="de.nine.cmp.KundeValue" * aggregate-name="Kunde" * members="de.nine.cmp.KundeLocal" * members-name="Kunde" * relation="external" * @ejb.relation * name="zugang-kunde" * role-name="zugang-gehoert_zu-kunde" * @ejb.interface-method * view-type="local" * * @jboss.relation * fk-column="fkKunde" * related-pk-field="idKunde" */ public abstract KundeLocal getKunde();
/** * Kundendaten setzen * * @param kunde: Kundendaten * * @ejb.interface-method * view-type="local" */ public abstract void setKunde(KundeLocal kunde);
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
