質問編集履歴
1
エラーログの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,11 +6,13 @@
|
|
6
6
|
|
7
7
|
にてGCログを出力したく「JAVA OPTIONS」に
|
8
8
|
|
9
|
-
|
9
|
+
```javaoptions
|
10
10
|
|
11
11
|
-Xloggc:c:\gc.log.`date +%Y%m%d%H%M%S`
|
12
12
|
|
13
13
|
-XX:+TraceGen1Time
|
14
|
+
|
15
|
+
```
|
14
16
|
|
15
17
|
として「c:\gc.log.yyyyddhhmmss」にファイル出力して
|
16
18
|
|
@@ -20,6 +22,92 @@
|
|
20
22
|
|
21
23
|
|
22
24
|
|
25
|
+
起動時の立ち上げログは下記のようになっていました。
|
26
|
+
|
27
|
+
```log
|
28
|
+
|
29
|
+
・tomcat8-stderr.2020-10-19.log
|
30
|
+
|
31
|
+
2020-10-19 10:38:52 Commons Daemon procrun stderr initialized
|
32
|
+
|
33
|
+
Java HotSpot(TM) Server VM warning: ignoring option PermSize=256m; support was removed in 8.0
|
34
|
+
|
35
|
+
Java HotSpot(TM) Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
・tomcat8-stdout.2020-10-19.log
|
40
|
+
|
41
|
+
2020-10-19 10:38:52 Commons Daemon procrun stdout initialized
|
42
|
+
|
43
|
+
Invalid file name for use with -Xloggc: Filename can only contain the characters [A-Z][a-z][0-9]-_.%[p|t] but it has been c:\gc.log.`date +%Y%m%d%H%M%S`
|
44
|
+
|
45
|
+
Note %p or %t can only be used once
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
・commons-daemon.2020-10-19.log
|
50
|
+
|
51
|
+
[2020-10-19 10:38:52] [error] [ 700] CreateJavaVM Failed
|
52
|
+
|
53
|
+
[2020-10-19 10:38:52] [error] [ 700] 入力された環境オプションが見つかりませんでした。
|
54
|
+
|
55
|
+
[2020-10-19 10:38:52] [error] [ 6908] Failed to start Java
|
56
|
+
|
57
|
+
[2020-10-19 10:38:52] [error] [ 6908] ServiceStart returned 4
|
58
|
+
|
59
|
+
[2020-10-19 10:38:52] [info] [ 6288] Run service finished.
|
60
|
+
|
61
|
+
[2020-10-19 10:38:52] [info] [ 6288] Commons Daemon procrun finished
|
62
|
+
|
63
|
+
```
|
64
|
+
|
65
|
+
JAVA OPTIONSは下記の通りに設定しました。
|
66
|
+
|
67
|
+
```JAVAOPTIONS
|
68
|
+
|
69
|
+
-Dcatalina.home=C:\tools\Tomcat 8.0
|
70
|
+
|
71
|
+
-Dcatalina.base=C:\tools\Tomcat 8.0
|
72
|
+
|
73
|
+
-Djava.io.tmpdir=C:\tools\Tomcat 8.0\temp
|
74
|
+
|
75
|
+
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
|
76
|
+
|
77
|
+
-Djava.util.logging.config.file=C:\tools\Tomcat 8.0\conf\logging.properties
|
78
|
+
|
79
|
+
-XX:PermSize=256m
|
80
|
+
|
81
|
+
-XX:MaxPermSize=256m
|
82
|
+
|
83
|
+
-Xms2048m
|
84
|
+
|
85
|
+
-Xmx2048m
|
86
|
+
|
87
|
+
-XX:NewRatio=2
|
88
|
+
|
89
|
+
-XX:SurvivorRatio=8
|
90
|
+
|
91
|
+
-Dcom.sun.management.jmxremote
|
92
|
+
|
93
|
+
-Dcom.sun.management.jmxremote.port=8686
|
94
|
+
|
95
|
+
-Dcom.sun.management.jmxremote.ssl=false
|
96
|
+
|
97
|
+
-Dcom.sun.management.jmxremote.authenticate=false
|
98
|
+
|
99
|
+
-XX:ReservedCodeCacheSize=256m
|
100
|
+
|
101
|
+
-XX:-UseCodeCacheFlushing
|
102
|
+
|
103
|
+
-Xloggc:c:\gc.log.`date +%Y%m%d%H%M%S`
|
104
|
+
|
105
|
+
-XX:+TraceGen1Time
|
106
|
+
|
107
|
+
```
|
108
|
+
|
109
|
+
|
110
|
+
|
23
111
|
どのようにすればいいでしょうか。
|
24
112
|
|
25
113
|
|