Latest build from cvs gives me this stack trace when I try loading bmp
beans :

[Default] org.jboss.tm.TxManager@1b3e5da3
[Timesheet] java.rmi.ServerException: Exception occurred; nested
exception is: 
[Timesheet]     java.lang.NullPointerException
[Timesheet] java.lang.NullPointerException
[Timesheet]     at
org.jboss.tm.TransactionImpl.getStatus(TransactionImpl.java:100)
[Timesheet]     at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:175)
[Timesheet]     at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:100)
[Timesheet]     at
org.jboss.ejb.plugins.TxInterceptor$RunInvoke.run(TxInterceptor.java:414)
[Timesheet]     at
org.jboss.ejb.plugins.TxInterceptor.runWithTransactions(TxInterceptor.java:185)
[Timesheet]     at
org.jboss.ejb.plugins.TxInterceptor.invoke(TxInterceptor.java:100)
[Timesheet]     at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:134)
[Timesheet]     at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:154)
[Timesheet]     at
org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:315)
[Timesheet]     at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:180)
[Timesheet]     at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:160)
[Timesheet]     at java.lang.reflect.Method.invoke(Native Method)
[Timesheet]     at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:242)
[Timesheet]     at sun.rmi.transport.Transport$1.run(Transport.java:155)
[Timesheet]     at java.security.AccessController.doPrivileged(Native
Method)
[Timesheet]     at
sun.rmi.transport.Transport.serviceCall(Transport.java:152)
[Timesheet]     at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:462)
[Timesheet]     at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:662)
[Timesheet]     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.loadTimesheet(TSSessionBean.java:157)
[TSSession]     at java.lang.reflect.Method.invoke(Native Method)
[TSSession]     at
org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:502)
[TSSession]     at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:134)
[TSSession]     at
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:87)
[TSSession]     at
org.jboss.ejb.plugins.TxInterceptor$RunInvoke.run(TxInterceptor.java:414)
[TSSession]     at
org.jboss.ejb.plugins.TxInterceptor.runWithTransactions(TxInterceptor.java:185)
[TSSession]     at
org.jboss.ejb.plugins.TxInterceptor.invoke(TxInterceptor.java:100)
[TSSession]     at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:154)
[TSSession]     at
org.jboss.ejb.StatefulSessionContainer.invoke(StatefulSessionContainer.java:319)
[TSSession]     at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:180)
[TSSession]     at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:160)
[TSSession]     at java.lang.reflect.Method.invoke(Native Method)
[TSSession]     at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:242)
[TSSession]     at sun.rmi.transport.Transport$1.run(Transport.java:155)
[TSSession]     at java.security.AccessController.doPrivileged(Native
Method)
[TSSession]     at
sun.rmi.transport.Transport.serviceCall(Transport.java:152)
[TSSession]     at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:462)
[TSSession]     at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:662)
[TSSession]     at java.lang.Thread.run(Thread.java:498)
ERROR   | Fri Aug 11 17:00:25 EDT 2000 | Thread[Thread-175,5,main] |
TSListEditAction | RemoteException caught while loading timesheet list
ERROR   | Fri Aug 11 17:00:25 EDT 2000 | Thread[Thread-175,5,main] |
TSListEditAction | RemoteException occurred in server thread; nested
exception is: 
        java.rmi.ServerException: Exception occurred; nested exception is: 
        javax.ejb.EJBException
java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is: 
        java.rmi.ServerException: Exception occurred; nested exception is: 
        javax.ejb.EJBException
java.rmi.ServerException: Exception occurred; nested exception is: 
        javax.ejb.EJBException
javax.ejb.EJBException
        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.invoke(Unknown
Source)
        at
org.jboss.ejb.plugins.jrmp.interfaces.StatefulSessionProxy.invoke(StatefulSessionProxy.java:157)
        at $Proxy18.loadTimesheet(Unknown Source)
        at
com.ogs.timesheet.jspbean.TSListEditAction.perform(TSListEditAction.java:51)
        at
org.apache.struts.action.ActionServlet.processActionInstance(ActionServlet.java:794)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:702)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:314)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
        at java.lang.Thread.run(Thread.java:498)


Richard Backhouse

marc fleury wrote:
> 
> New TM is done.
> 
> hee hee an XP session of 6 hours :)
> 
> OK the new arch is this
> 
> Tx  Tx   Tx     Tx
> 
>         TxMan <- maps Tx to TxCapsule
> 
>         TxCapsule <- meat (xaResources and Sync)
> 
> meaning that the TxImpl (that used to do all the work) is now a lightweight
> "proxy" to the TxMan, all it knows is its name.  The TxMan hashes the Tx
> (btw forget the byte[].hashCode(), found a trick;) and  gets the
> "txCapsule".
> 
> The TxCapsule, is only one per Transaction (and in that sense is the "real"
> transaction) and contains all the relevant information (callbacks synchs,
> timeout, commit logic) that used to be in TxImpl.
> 
> What this buys us is that now we can propagate a Tx (serialize it and
> deserialize it) and still find all the puppies we need to find on commit
> since the Tx is always recognized by the TM even though it is a brand new Tx
> object.
> 
> Transactional B2B works.  (actually there is still a bug in B2B CMP, but I
> am on it).
> It is now correct in propagation in VM, it is not distributed (this is the
> FastTM project ;) but distributing it can work with this architecture
> (basically TxMan needs callbacks) and we can make these as fast as needed in
> VM following the Proxy trick of jboss... ToDo, but not today.
> 
> manhana I will iron out the TM bug I saw on running TestBeans (CMP one
> (still createEntity :))) but BMP works).  And I will get on the other bugs
> reported as well.
> 
> g'night
> 
> marc
> 
> ________________________
> Marc Fleury
> Chief Technology Officer
> Telkel, Inc.
> ________________________

Reply via email to