Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

deadlock or starvation?

 
Roman Nicoulaus
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I've got the thread log below. In your opinion is the following situation deadlock, or is it just starvation?
Thank you very much for your reply,
Roman


"AJPRequestHandler-ApplicationServerThread-1" prio=5 Thread id=1 BLOCKED
com.mycompany.project.util.MySessionLog.log(MySessionLog.java:32)
oracle.toplink.publicinterface.Session.log(Session.java:2221)
oracle.toplink.publicinterface.Session.log(Session.java:3495)
oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:485)
oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:442)
oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:453)
oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:174)
oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelect(DatasourceCallQueryMechanism.java:156)
oracle.toplink.queryframework.DirectReadQuery.executeNonCursor(DirectReadQuery.java:92)
oracle.toplink.queryframework.DataReadQuery.executeDatabaseQuery(DataReadQuery.java:110)
oracle.toplink.queryframework.ValueReadQuery.executeDatabaseQuery(ValueReadQuery.java:55)
oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:603)
oracle.toplink.queryframework.DataReadQuery.execute(DataReadQuery.java:96)
oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:2062)
oracle.toplink.publicinterface.Session.executeQuery(Session.java:981)
oracle.toplink.publicinterface.Session.executeQuery(Session.java:938)
oracle.toplink.sequencing.QuerySequence.select(QuerySequence.java:264)
oracle.toplink.sequencing.QuerySequence.updateAndSelectSequence(QuerySequence.java:215)
oracle.toplink.sequencing.StandardSequence.getGeneratedVector(StandardSequence.java:58)
oracle.toplink.sequencing.DefaultSequence.getGeneratedVector(DefaultSequence.java:121)
oracle.toplink.sequencing.Sequence.getGeneratedVector(Sequence.java:229)
oracle.toplink.internal.sequencing.SequencingManager$Preallocation_NoTransaction_State.getNextValue(SequencingManager.java:510)
oracle.toplink.internal.sequencing.SequencingManager.getNextValue(SequencingManager.java:864)
oracle.toplink.internal.sequencing.ClientSessionSequencing.getNextValue(ClientSessionSequencing.java:75)
oracle.toplink.internal.descriptors.ObjectBuilder.assignSequenceNumber(ObjectBuilder.java:201)
oracle.toplink.publicinterface.UnitOfWork.assignSequenceNumbers(UnitOfWork.java:383)
oracle.toplink.publicinterface.UnitOfWork.collectAndPrepareObjectsForCommit(UnitOfWork.java:774)
oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1312)
oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:1097)
oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:865)
com.mycompany.project.export.tracking.impl.PlanovanaAkciaFacade.vytvorPlanovanuAkciu(PlanovanaAkciaFacade.java:62)
com.mycompany.project.export.tracking.Vykonavatel.vykonajAkciuSynchronne(Vykonavatel.java:398)
com.mycompany.project.export.tracking.Vykonavatelia.vykonajAkciuSynchronne(Vykonavatelia.java:258)
com.mycompany.project.facades.nonejb.finRiadenie.sf.ZiadostOPlatbuSFFacade.upravZiadostOPlatbu(ZiadostOPlatbuSFFacade.java:427)
com.mycompany.project.web.friadenie.actions.sf.doklady.UlozDokladAction.perform(UlozDokladAction.java:103)
com.mycompany.project.web.general.actions.ActionSupport.perform(ActionSupport.java:183)
org.apache.struts.action.Action.execute(Action.java:420)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
com.mycompany.project.web.general.filters.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:37)
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
com.mycompany.project.web.general.filters.UseUserFilter.doFilter(UseUserFilter.java:73)
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
com.mycompany.project.web.general.filters.SessionTimeOutFilter.doFilter(SessionTimeOutFilter.java:37)
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
java.lang.Thread.run(Thread.java:595)





"AJPRequestHandler-ApplicationServerThread-5" prio=5 Thread id=5 WAITING
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:474)
oracle.toplink.internal.helper.ConcurrencyManager.acquire(ConcurrencyManager.java:76)
oracle.toplink.internal.helper.ConcurrencyManager.acquire(ConcurrencyManager.java:62)
oracle.toplink.internal.sequencing.SequencingManager.acquireLock(SequencingManager.java:259)
oracle.toplink.internal.sequencing.SequencingManager$Preallocation_NoTransaction_State.getNextValue(SequencingManager.java:506)
oracle.toplink.internal.sequencing.SequencingManager.getNextValue(SequencingManager.java:864)
oracle.toplink.internal.sequencing.ClientSessionSequencing.getNextValue(ClientSessionSequencing.java:75)
oracle.toplink.internal.descriptors.ObjectBuilder.assignSequenceNumber(ObjectBuilder.java:201)
oracle.toplink.publicinterface.UnitOfWork.assignSequenceNumbers(UnitOfWork.java:383)
oracle.toplink.publicinterface.UnitOfWork.collectAndPrepareObjectsForCommit(UnitOfWork.java:774)
oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1312)
oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:1097)
oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:865)
com.mycompany.project.facades.nonejb.system.HistoriaZmienFacade.vytvorHistoriaZmien(HistoriaZmienFacade.java:25)
com.mycompany.project.util.MySessionLog.log(MySessionLog.java:83)
oracle.toplink.publicinterface.Session.log(Session.java:2221)
com.mycompany.project.util.MySessionListener.postCommitUnitOfWork(MySessionListener.java:31)
oracle.toplink.sessions.SessionEventManager.postCommitUnitOfWork(SessionEventManager.java:277)
oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:867)
com.mycompany.project.facades.nonejb.rozpocet.PlanSumaProjektuFacade.upravPlanovanaSumaProjektu(PlanSumaProjektuFacade.java:31)
com.mycompany.project.web.projekt.util.PrepocetCerpaniUtil.doPrepocetViazanychProstriedkov(PrepocetCerpaniUtil.java:480)
com.mycompany.project.web.projekt.util.PrepocetCerpaniUtil.doPrepocetCerpani(PrepocetCerpaniUtil.java:73)
com.mycompany.project.web.projekt.actions.finplan.PrepocetOstatnychSumAction.perform(PrepocetOstatnychSumAction.java:42)
com.mycompany.project.web.general.actions.ActionSupport.perform(ActionSupport.java:183)
org.apache.struts.action.Action.execute(Action.java:420)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
com.mycompany.project.web.general.filters.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:37)
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
com.mycompany.project.web.general.filters.UseUserFilter.doFilter(UseUserFilter.java:73)
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
com.mycompany.project.web.general.filters.SessionTimeOutFilter.doFilter(SessionTimeOutFilter.java:37)
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
java.lang.Thread.run(Thread.java:595)




"AJPRequestHandler-ApplicationServerThread-91" prio=5 Thread id=91 WAITING
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:474)
oracle.toplink.internal.helper.ConcurrencyManager.acquire(ConcurrencyManager.java:76)
oracle.toplink.internal.helper.ConcurrencyManager.acquire(ConcurrencyManager.java:62)
oracle.toplink.internal.sequencing.SequencingManager.acquireLock(SequencingManager.java:259)
oracle.toplink.internal.sequencing.SequencingManager$Preallocation_NoTransaction_State.getNextValue(SequencingManager.java:506)
oracle.toplink.internal.sequencing.SequencingManager.getNextValue(SequencingManager.java:864)
oracle.toplink.internal.sequencing.ClientSessionSequencing.getNextValue(ClientSessionSequencing.java:75)
oracle.toplink.internal.descriptors.ObjectBuilder.assignSequenceNumber(ObjectBuilder.java:201)
oracle.toplink.publicinterface.UnitOfWork.assignSequenceNumbers(UnitOfWork.java:383)
oracle.toplink.publicinterface.UnitOfWork.collectAndPrepareObjectsForCommit(UnitOfWork.java:774)
oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1312)
oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:1097)
oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:865)
com.mycompany.project.export.tracking.impl.PlanovanaAkciaFacade.vytvorPlanovanuAkciu(PlanovanaAkciaFacade.java:62)
com.mycompany.project.export.tracking.Vykonavatel.vykonajAkciuSynchronne(Vykonavatel.java:398)
com.mycompany.project.export.tracking.Vykonavatelia.vykonajAkciuSynchronne(Vykonavatelia.java:258)
com.mycompany.project.facades.nonejb.workflow.WorkflowFacade.upravWorkflowObjekt(WorkflowFacade.java:106)
com.mycompany.project.web.workflow.general.actions.ZmenStavAction.perform(ZmenStavAction.java:1079)
com.mycompany.project.web.general.actions.ActionSupport.perform(ActionSupport.java:183)
org.apache.struts.action.Action.execute(Action.java:420)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
com.mycompany.project.web.general.filters.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:37)
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
com.mycompany.project.web.general.filters.UseUserFilter.doFilter(UseUserFilter.java:73)
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
com.mycompany.project.web.general.filters.SessionTimeOutFilter.doFilter(SessionTimeOutFilter.java:37)
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
java.lang.Thread.run(Thread.java:595)
 
Edward Harned
Ranch Hand
Posts: 291
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you must post to multiple forums at least let people know so they don't waste time replying to something that was answered elsewhere.
Sun
 
Today you are you, that is turer than true. There is no one alive who is youer than you! - Seuss. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!