如何在java中获取阻止我的应用程序

时间:2015-11-11 12:18:24

标签: multithreading debian

Thread [TP-Processor2,5,main] - 这是阻止我的java应用程序的线程。我使用tomcat服务器和Debian linux。该线程是我的Java应用程序的一部分!我想调查一下这个帖子。我如何在Debian中获得有关此主题的更多信息?

TP-Processor2,5,主要是什么意思?

我有这个错误:

  

2015年11月11日12:33:23,864错误   org.apache.wicket.RequestCycle.logRuntimeException:1521 -   org.apache.wicket.WicketRuntimeException:1分钟后的Pagemap   null仍被锁定:Thread [TP-Processor2,5,main]放弃   试图获取路径的页面:3:log_out_link
  org.apache.wicket.protocol.http.request.InvalidUrlException:   org.apache.wicket.WicketRuntimeException:1分钟后的Pagemap   null仍被锁定:Thread [TP-Processor2,5,main]放弃   试图获取路径的页面:3:log_out_link at   org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262)     在org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)at   org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)at   org.apache.wicket.RequestCycle.request(RequestCycle.java:545)at   org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)     在   org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)     在   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)     在   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)     在   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)     在   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)     在   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)     在   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)     在   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)     在   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)     在   org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)     在   org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)     在org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)     在   org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)     在   org.apache.jk.common.ChannelSocket $ SocketConnection.runIt(ChannelSocket.java:891)     在   org.apache.tomcat.util.threads.ThreadPool $ ControlRunnable.run(ThreadPool.java:690)     在java.lang.Thread.run(Thread.java:701)引起:   org.apache.wicket.WicketRuntimeException:1分钟后的Pagemap   null仍被锁定:Thread [TP-Processor2,5,main]放弃   试图获取路径的页面:3:log_out_link at   java.net.SocketInputStream.socketRead0(Native Method)at   java.net.SocketInputStream.read(SocketInputStream.java:146)at   com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:114)     在   com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:161)     在   com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:189)     在com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3116)at   com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3573)at at   com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3562)at at   com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4113)at at   com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)at at   com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)at at   com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2812)at   com.mysql.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:5339)     在   com.mchange.v2.c3p0.impl.NewProxyConnection.setAutoCommit(NewProxyConnection.java:1085)     在   org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:91)     在   org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1354)     在org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:38)     在   org.springframework.orm.jpa.ExtendedEntityManagerCreator $ ExtendedEntityManagerInvocationHandler.enlistInCurrentTransaction(ExtendedEntityManagerCreator.java:397)     在   org.springframework.orm.jpa.ExtendedEntityManagerCreator $ ExtendedEntityManagerInvocationHandler.doJoinTransaction(ExtendedEntityManagerCreator.java:374)     在   org.springframework.orm.jpa.ExtendedEntityManagerCreator $ ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:332)     在com.sun.proxy。$ Proxy39.find(未知来源)at   com.velti.smsoffice.admin.AdministrationBean.saveDomain(AdministrationBean.java:115)     在   com.velti.smsoffice.admin.AdministrationBean $$ FastClassByCGLIB $$ 3af2a32f.invoke()     在net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)at   org.springframework.aop.framework.Cglib2AopProxy $ CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:692)     在   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)     在   org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)     在   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)     在   org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)     在   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)     在   org.springframework.aop.framework.Cglib2AopProxy $ DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:625)     在   com.velti.smsoffice.admin.AdministrationBean $$ EnhancerByCGLIB $$ 4cdf5a11.saveDomain()     在   com.velti.smsoffice.ui.users.SortedUsersProvider.saveDomain(SortedUsersProvider.java:175)     在com.velti.smsoffice.ui.users.Users.persistItem(Users.java:409)at   com.velti.smsoffice.ui.MyFormPanel $ 1.onSubmit(MyFormPanel.java:57)at at   org.apache.wicket.ajax.markup.html.form.AjaxButton $ 1.onSubmit(AjaxButton.java:102)     在   org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143)     在   org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)     在   org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:286)     在   org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)     在   org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)     在   org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)     在org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)...   另外19个

2 个答案:

答案 0 :(得分:0)

我猜'TP-Processor2'是当前的线程。此调用执行时间超过1分钟,因此当前超时。

您可以使用Jconsole查看有关该主题的更多信息。

答案 1 :(得分:0)

不确定名称在您的服务器中的位置,但它将是一个webcontainer线程。

(通常用于tomcat的http-8080-1)。

这个线程肯定有更多的执行时间 - 我可以看到一些数据库活动。

也检查这个帖子:

Increase the lock time for "After 1 minute the Pagemap null is still locked" Exception