我正在尝试使用洞察力分析 grails 应用程序。
- Grails - 2.4.0 或 2.4.1(尝试 2.4.1 看看它是否解决了我的问题)
- GGTS - 3.5.0 w/eclipse 4.3.2
- tcserver -VMWare vFabric tc Server Developer Edition(运行时)v2.9(来自 eclipse)
- PermGenSpace = 1024m
我尝试了以下方法;
- 将 grails 应用程序从项目资源管理器中拖放到服务器窗格中的 tc 服务器上
- 使用 grails dev war 构建 grails 应用程序,并通过命令行直接将 war 文件放入 webapps 目录
- 运行方式 -> 在服务器上运行
我看到了相同的结果,即下面的堆栈跟踪。有人对可能出了什么问题或如何使这项工作有想法吗?如果需要更多信息,请告诉我,我会尽力提供。
非常感谢!
坦图斯
编辑:
通过调整 tcserver 的内存让服务器启动。阻止服务器启动的真正问题是堆栈跟踪最底部的堆内存错误。我仍然看到 SimepleFrameBuilder 的错误,但至少服务器现在启动了 :)。
这是内存设置的服务器配置的相关部分;
-Xmx2048m -Xss1024k -XX:MaxPermSize=2048m
- 堆栈跟踪 -
2014-06-25 09:13:40,995 [localhost-startStop-1] ERROR errorhandling.CollectionErrors - Disabling aspect com.springsource.insight.plugin.springcore.ClassPathScanOperationCollectionAspect
- IllegalStateException: current frame builder doesn't support frame discarding class com.springsource.insight.intercept.trace.SimpleFrameBuilder
2014-06-25 09:13:41,010 [localhost-startStop-1] ERROR errorhandling.AdviceErrorHandlingAspect - Error swallowed in advice adviceexecution(void com.springsource.insight.collection.AbstractOperationCollectionAspect.afterReturning(Object, JoinPoint.StaticPart))
java.lang.IllegalStateException: current frame builder doesn't support frame discarding class com.springsource.insight.intercept.trace.SimpleFrameBuilder
at com.springsource.insight.intercept.trace.collapse.CollapsingFrameBuilder.getFirstCollapsedFrame(CollapsingFrameBuilder.java:183)
at com.springsource.insight.intercept.trace.collapse.CollapsingFrameBuilder.collapseIfRequired(CollapsingFrameBuilder.java:150)
at com.springsource.insight.intercept.trace.collapse.CollapsingFrameBuilder.exit(CollapsingFrameBuilder.java:72)
at com.springsource.insight.intercept.trace.ThreadLocalFrameBuilder.exit(ThreadLocalFrameBuilder.java:93)
at com.springsource.insight.collection.overflow.CountOperationsTraceOverflowStrategy.doExit(CountOperationsTraceOverflowStrategy.java:196)
at com.springsource.insight.collection.overflow.CountOperationsTraceOverflowStrategy.exit(CountOperationsTraceOverflowStrategy.java:91)
at com.springsource.insight.collection.DefaultOperationCollector.exit(DefaultOperationCollector.java:161)
at com.springsource.insight.collection.DefaultOperationCollector._exitNormal(DefaultOperationCollector.java:74)
at com.springsource.insight.collection.DefaultOperationCollector.exitNormal(DefaultOperationCollector.java:65)
at com.springsource.insight.collection.AbstractOperationCollectionAspect.ajc$afterReturning$com_springsource_insight_collection_AbstractOperationCollectionAspect$2$34342d20_aroundBody2(AbstractOperationCollectionAspect.aj:105)
at com.springsource.insight.collection.AbstractOperationCollectionAspect$AjcClosure3.run(AbstractOperationCollectionAspect.aj:1)
at com.springsource.insight.collection.errorhandling.AdviceErrorHandlingAspect.ajc$around$com_springsource_insight_collection_errorhandling_AdviceErrorHandlingAspect$1$e76a6b03proceed(AdviceErrorHandlingAspect.aj:41)
at com.springsource.insight.collection.errorhandling.AdviceErrorHandlingAspect.ajc$around$com_springsource_insight_collection_errorhandling_AdviceErrorHandlingAspect$1$e76a6b03(AdviceErrorHandlingAspect.aj:43)
at com.springsource.insight.collection.AbstractOperationCollectionAspect.ajc$afterReturning$com_springsource_insight_collection_AbstractOperationCollectionAspect$2$34342d20(AbstractOperationCollectionAspect.aj:1)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
[error 2014/06/25 09:14:45.735 PDT <GemfireHeapPoller> tid=0x23] Member: gamera(5640:loner):0:eb9aced3 above critical heap threshold