dcsimg
<br>Thread locked</br>
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   kathir_murugs
Posted On:   Friday, December 21, 2001 11:07 AM

We r using weblogic application server in a cluster environment. We have a thread pool. Each thread will process their records if it has any. It means that the record will be inserted into a table and assigned for each thread using a algorithm. At the startup all the thread will go into a wait state and the thread will get notfied if the thread has any record to process. we r getting a strange problem of thread getting locked consistently for the thread number 6. It is happening when it tries to access their record using the session bean for the very first time and it remains in the locked state. In the session bean we query the records using the weblogic connection. Thi   More>>



We r using weblogic application server in a cluster environment.


We have a thread pool. Each thread will process their records if it has any.

It means that the record will be inserted into a table and assigned for each thread using a algorithm.
At the startup all the thread will go into a wait state and the thread will get notfied if the thread has any record to process.

we r getting a strange problem of thread getting locked consistently for the thread number 6.

It is happening when it tries to access their record using the session bean for the very first time and it remains in the locked state.

In the session bean we query the records using the weblogic connection.
This problem occurs only for the thread number 6 and all other thread works.

Our thread pool size is 10.
For ur reference i've attached the stack trace below...


Thanks and regards,

kathir.



"OANST_03064-6" daemon prio=9 tid=0x00df0370 nid=70 lwp_id=10884 runnable [0x3dfc7000..0x3dfc6478]
at
oracle.jdbc.driver.OraclePreparedStatement.executeQuery
(OraclePreparedStatement.java:342)

- locked <0x4615cf60> (a
oracle.jdbc.driver.OracleConnection)

- locked <0x487e4080>
(a oracle.jdbc.driver.OraclePreparedStatement)

at weblogic.jdbcbase.jts.Statement.executeQuery(Statement.java:58)
at weblogic.jdbc20.rmi.internal.PreparedStatementImpl.executeQuery
(PreparedStatementImpl.java:46)
at weblogic.jdbc20.rmi.SerialPreparedStatement.executeQuery(SerialPreparedStatement.java:40)
at
it.sella.titoli.ordine.router.messaggidarouter.implementation.GestoreMessaggiDaRouterBean.getRigaMessaggiDaRouterCollection(GestoreMessaggiDaRouterBean.java:150)

   <<Less

Re: <br>Thread locked</br>

Posted By:   Alex_Chaffee  
Posted On:   Sunday, December 23, 2001 09:04 AM

This is not appropriate for the Threads FAQ. It's apparently a WebLogic bug or config issue. Try the WebLogic support boards, or the Servlets FAQ.

About | Sitemap | Contact