Hi Authors and everybody Here's my problem: I develop using visual age. I created a bunch of stateless beans that interact with each other. The application works great under Viasual Age's Websphere Test Environment, but in the real Websphere (3.5)... There is this one bean that many other beans use... this is bean A. Now, one of the other beans who call bean A is bean B. Ok. bean B calls A all the time. The first 3 or 4 times it calls A, A is created and executed, but then, the following time, it can't create the bean and it will never do it unless it is restarted. Meanwhile, all the other beans that call A work fine all the time.. Any advice?. Some clues... I am calling bean B from a thread generated by a servlet that starts it. (the other beans are also called like that). Bean B loops continously to see if it finds messages on a queue (MQSeries) and calls bean A all the time. Thank you! Francisco.
Originally posted by Kyle Brown: What is the exact error you get in the log?
java.rmi.ServerException: RemoteException occurred in server thread; nestedexception is: com.ibm.websphere.csi.CSITransactionRolledbackException: Transaction timed out com.ibm.websphere.csi.CSITransactionRolledbackException: Transaction timed out at com.nar.ndi.server.ejb.validation.EJSRemoteValidationHome.create(EJSRemoteValidationHome.java:44) at com.nar.ndi.server.ejb.validation._ValidationHome_BaseStub.create (_ValidationHome_BaseStub.java:178) at com.nar.ndi.server.ejb.validation._ValidationHome_Stub.create (_ValidationHome_Stub.java:151) at com.nar.shared.server.cache.CacheObject.createValidation(CacheObject.java:357) at com.nar.ndi.server.ejb.controller.CDBControllerBean.processRequest(CDBControllerBean.java:339) at com.nar.ndi.server.ejb.controller.CDBControllerBean.process(CDBControllerBean.java:133) at com.nar.ndi.server.ejb.controller.EJSRemoteCDBController.process(EJSRemoteCDBController.java:35) at com.nar.ndi.server.ejb.controller._CDBController_BaseStub.process (_CDBController_BaseStub.java:244) at com.nar.ndi.server.ejb.controller._CDBController_Stub.process (_CDBController_Stub.java:203) at com.nar.shared.servlet.CDBControllerThread.run(CDBControllerThread.java:23) This is what I got from stderr_out.txt Also, I discovered it is using 100% of the CPU... why could this be?.. I am using WS, with XML libraries (xerces), oracle and MQSeries, and JavaMail. Any advice on where to start looking?. Thanks!! Francisco.
The error indicates it's a transaction timeout exception. What are you doing inside the bean's create() method? Is there any possibility you're waiting on something for a long time there? Kyle Brown ------------------ Kyle Brown, Author of Enterprise Java (tm) Programming with IBM Websphere
Nope. The method is empty. Are there any other reasons why websphere will eat up 100% of the CPU?... I think my problem has to do with that... Open connections, values by reference as opposed to By Value, generating many threads... any ideas? thanks again! Francisco.
Originally posted by Kyle Brown: The error indicates it's a transaction timeout exception. What are you doing inside the bean's create() method? Is there any possibility you're waiting on something for a long time there? Kyle Brown