如何在我的Windows机器上安装tomcat的java飞行记录器?

时间:2018-05-29 11:00:06

标签: java-8

我在我的Windows机器上的tomcat中运行了一个Web应用程序。我正在尝试使用Java Mission Control监视它。我收到一条错误消息,解锁商业功能以访问Java飞行记录器..请指导我在何处以及如何启用它。 提前谢谢..

1 个答案:

答案 0 :(得分:0)

您可以尝试设置Sub Combine() Dim x as Variant, rng as Range, CRng as Range, s as String Dim LastRow as Long, i as Long i = 2 : s = "EXECSDATE" With ThisWorkbook.Worksheets("Sheet1") LastRow = .Range("B" & .Rows.count).End(xlUp).Row Do While i <= LastRow Set rng = .Range("B" & i & ":B" & LastRow) x = Application.Match(s, rng, 0) If IsError(x) Then Set CRng = .Rows(i-1 & ":" & LastRow) CRng.Copy Destination:= Worksheets.Add.Range("A1") Exit Do Else Set CRng = .Rows(i-1 & ":" & i+x-2) CRng.Copy Destination:= Worksheets.Add.Range("A1") i = i + x End If Loop End With End Sub 环境变量,例如:

CATALINA_OPTS

然后照常启动Tomcat。