gpt4 book ai didi

java - Spring Insight 崩溃并出现 "Imbalanced frame stack"

转载 作者:塔克拉玛干 更新时间:2023-11-03 03:34:58 24 4
gpt4 key购买 nike

我想使用 spring insight 来跟踪我的 spring mvc webapp。启动 tc server 2.5 开发人员版时,我的应用程序出现了,但我在控制台中看到以下消息:

20.10.2011 09:24:24 com.springsource.insight.intercept.trace.SimpleFrameBuilder enter
FATAL: Frame stack exceeded MAX_FRAMES_PER_TRACE limit or has been aborted limit: 3000 frameCount: 3000 aborted: false
20.10.2011 09:24:24 com.springsource.insight.collection.errorhandling.AdviceErrorHandlingAspect ajc$around$com_springsource_insight_collection_errorhandling_AdviceErrorHandlingAspect$1$e76a6b03
FATAL: Error swallowed in advice adviceexecution(void com.springsource.insight.collection.AbstractOperationCollectionAspect.afterReturning(Object, JoinPoint.StaticPart))

--

java.lang.IllegalStateException: Imbalanced frame stack!  (exit() called too many times)
com.springsource.insight.intercept.trace.ThreadLocalFrameBuilder.exit(ThreadLocalFrameBuilder.java:61)
com.springsource.insight.collection.DefaultOperationCollector.exit(DefaultOperationCollector.java:111)
com.springsource.insight.collection.DefaultOperationCollector.exitNormal(DefaultOperationCollector.java:67)
com.springsource.insight.plugin.springtx.TransactionOperationCollectionAspect.ajc$afterReturning$com_springsource_insight_plugin_springtx_TransactionOperationCollectionAspect$2$e13fb3a0(TransactionOperationCollectionAspect.aj:61)
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)
org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$afterReturning$org_springframework_transaction_aspectj_AbstractTransactionAspect$3$2a73e96c(AbstractTransactionAspect.aj:78)
...

我可以在此消息后调用一些 Controller 操作,但在某些时候服务器只是拒绝处理我的请求并将相同的堆栈跟踪发送到浏览器。

有没有人遇到过这个问题?即使停用洞察插件 annotationhibernatejdbcspring-tx 也无法解决问题。

最佳答案

Jon Travis几乎完全正确,但系统属性是

-Dinsight-max-frames

默认值为 3000,见 insight-intercept-1.5.1.SR2.jar:com.springsource.insight.intercept.trace.FrameBuilder

将值更改为 -Dinsight-max-frames=6000 为我解决了这个问题。

关于java - Spring Insight 崩溃并出现 "Imbalanced frame stack",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7725157/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com