| Author |
Weblogic Assertion Error
|
Tige Kala
Greenhorn
Joined: Nov 06, 2003
Posts: 2
|
|
Hello, I have run into the following problem. When running a very long lasting bean transaction on one BEA Weblogic 6.1 SP2 application server I get no errors, but on the other one that in fact should be quite similar to the first one, I get: The exception is raised from my EJB-s ejbPassivate() method, that only does the following: "ctx" represents a UserTransaction. What I am doing is calculating some dividends, and this takes time. There I have several thousand holders, and in a for loop, I calculate dividends for each one of them. The application doing this represents a stateful session bean (EJB). I have done research, consulted with developers by my side, but still get this strange error. What causes this? What should I check? Is it in Weblogic application server's configuration or in the java bean? Thanks in advace! Aulo
|
 |
Tige Kala
Greenhorn
Joined: Nov 06, 2003
Posts: 2
|
|
We commented out the ctx.close() in the ejbPassivate() method, as it is there only for cosmetic purposes. So we now leave the transient context to be removed by the JVM Carbage Collector. A.
|
 |
Ashish Pagare
Ranch Hand
Joined: Oct 14, 2003
Posts: 101
|
|
Are u saying when u remove the ctx.close(), everything works fine? Assertion error is very common in weblogic. My suggestion to you will be to check in the webogic managed/admin server logs, your managed server startup logs to find out if you get any stacktrace. Also check inside the ejbs to make sure u are printing the original stack trace. Can't help much but if you provide stacktrace it will be of some help.
|
 |
 |
|
|
subject: Weblogic Assertion Error
|
|
|