Here's the stack trace of the CreateException I caught :
ERROR | Thu Aug 10 21:13:19 EDT 2000 | Thread[RMI TCP
Connection(13)-127.0.0.1,5,RMI Runtime] | TimesheetDayBean | Create
failed(could not call
ejbCreate):java.lang.reflect.InvocationTargetException
javax.ejb.CreateException: Create failed(could not call
ejbCreate):java.lang.reflect.InvocationTargetException
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:248)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unknown
Source)
at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:204)
at $Proxy29.create(Unknown Source)
at
com.ogs.timesheet.entity.TimesheetDayBean.addChargeEntry(TimesheetDayBean.java:169)
at java.lang.reflect.Method.invoke(Native Method)
at
org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:559)
at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:179)
at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:100)
at
org.jboss.ejb.plugins.TxInterceptor$RunInvoke.run(TxInterceptor.java:414)
at
org.jboss.ejb.plugins.TxInterceptor.runWithTransactions(TxInterceptor.java:185)
at org.jboss.ejb.plugins.TxInterceptor.invoke(TxInterceptor.java:100)
at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:134)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:154)
at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:315)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:180)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:242)
at sun.rmi.transport.Transport$1.run(Transport.java:155)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:152)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:462)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:662)
at java.lang.Thread.run(Thread.java:498)
marc fleury wrote:
>
> Actually it is in there already...
>
> > [TimesheetDay] java.rmi.ServerException: Exception occurred; nested
> > exception is:
> > [TimesheetDay] javax.ejb.EJBException
> > [TimesheetDay] javax.ejb.EJBException
> > [TimesheetDay] at
> > javax.ejb.EJBException.<init>(EJBException.java:58)
> > [TimesheetDay] at
> > com.ogs.timesheet.entity.TimesheetDayBean.addChargeEntry(Timesheet
> > DayBean.java:175)
>
> ^^^^^^^^^^^^^^^
>
> that is your stuff and it seems to throw an exception at line 175, what is
> that exception?
>
> > [TimesheetDay] at java.lang.Thread.run(Thread.java:498)
> > [TSSession] java.rmi.ServerException: Exception occurred; nested
> > exception is:
> > [TSSession] javax.ejb.EJBException
> > [TSSession] javax.ejb.EJBException
> > [TSSession] at javax.ejb.EJBException.<init>(EJBException.java:58)
> > [TSSession] at
> > com.ogs.timesheet.session.TSSessionBean.addChargeEntryToCurrentDay
> > (TSSessionBean.java:220)
> ^^^^^^^^^^^^^^^^
>
> I guess this one calls the other right?
>
> > Richard Backhouse
> > Oak Grove Software
>
> marc
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]