質問編集履歴
4
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -60,134 +60,108 @@
|
|
60
60
|
|
61
61
|
```
|
62
62
|
|
63
|
-
|
64
|
-
|
65
|
-
その時のeclipseのコンソールに出力されたエラーが以下のとおりです。
|
66
|
-
|
67
|
-
```java
|
68
|
-
|
69
|
-
com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
** BEGIN NESTED EXCEPTION **
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
java.net.ConnectException
|
78
|
-
|
79
|
-
MESSAGE: Operation timed out
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
STACKTRACE:
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
java.net.ConnectException: Operation timed out
|
88
|
-
|
89
|
-
at java.net.PlainSocketImpl.socketConnect(Native Method)
|
90
|
-
|
91
|
-
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
|
92
|
-
|
93
|
-
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
|
94
|
-
|
95
|
-
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
|
96
|
-
|
97
|
-
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
|
98
|
-
|
99
|
-
at java.net.Socket.connect(Socket.java:589)
|
100
|
-
|
101
|
-
at java.net.Socket.connect(Socket.java:538)
|
102
|
-
|
103
|
-
at java.net.Socket.<init>(Socket.java:434)
|
104
|
-
|
105
|
-
at java.net.Socket.<init>(Socket.java:244)
|
106
|
-
|
107
|
-
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:256)
|
108
|
-
|
109
|
-
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:271)
|
110
|
-
|
111
|
-
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2771)
|
112
|
-
|
113
|
-
at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
|
114
|
-
|
115
|
-
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
|
116
|
-
|
117
|
-
at java.sql.DriverManager.getConnection(DriverManager.java:664)
|
118
|
-
|
119
|
-
at java.sql.DriverManager.getConnection(DriverManager.java:247)
|
120
|
-
|
121
|
-
at dao.TestDao.main(TestDao.java:18)
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
** END NESTED EXCEPTION **
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
Last packet sent to the server was 1 ms ago.
|
136
|
-
|
137
|
-
```
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
文字数制限上これくらいしか情報をかけませんが、
|
142
|
-
|
143
|
-
何卒よろしくお願いいたします。
|
144
|
-
|
145
|
-
|
146
|
-
|
147
63
|
---
|
148
64
|
|
149
65
|
追記
|
150
66
|
|
67
|
+
```
|
68
|
+
|
69
|
+
28-Jul-2015 00:18:30.029 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/EGlunch]
|
70
|
+
|
71
|
+
28-Jul-2015 00:18:30.041 WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [EGlunch] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
|
72
|
+
|
73
|
+
28-Jul-2015 00:18:30.050 WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [EGlunch] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
|
74
|
+
|
75
|
+
java.lang.Object.wait(Native Method)
|
76
|
+
|
77
|
+
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
|
78
|
+
|
79
|
+
com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43)
|
80
|
+
|
81
|
+
28-Jul-2015 00:18:30.057 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/usr/share/tomcat8/work/Catalina/localhost/EGlunch] could not be completely deleted. The presence of the remaining files may cause problems
|
82
|
+
|
83
|
+
28-Jul-2015 00:18:30.058 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.delete [/usr/share/tomcat8/work/Catalina/localhost/EGlunch] could not be completely deleted. The presence of the remaining files may cause problems
|
84
|
+
|
85
|
+
28-Jul-2015 00:18:30.058 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/META-INF] could not be completely deleted. The presence of the remaining files may cause problems
|
86
|
+
|
87
|
+
28-Jul-2015 00:18:30.058 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/WEB-INF/classes/fb] could not be completely deleted. The presence of the remaining files may cause problems
|
88
|
+
|
89
|
+
28-Jul-2015 00:18:30.059 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/WEB-INF/classes/mail] could not be completely deleted. The presence of the remaining files may cause problems
|
90
|
+
|
91
|
+
28-Jul-2015 00:18:30.059 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/WEB-INF/classes/search] could not be completely deleted. The presence of the remaining files may cause problems
|
92
|
+
|
93
|
+
28-Jul-2015 00:18:30.059 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/WEB-INF/classes/dao] could not be completely deleted. The presence of the remaining files may cause problems
|
94
|
+
|
95
|
+
28-Jul-2015 00:18:30.060 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/WEB-INF/classes/offer] could not be completely deleted. The presence of the remaining files may cause problems
|
96
|
+
|
97
|
+
28-Jul-2015 00:18:30.060 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/WEB-INF/classes/beans] could not be completely deleted. The presence of the remaining files may cause problems
|
98
|
+
|
99
|
+
28-Jul-2015 00:18:30.061 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/WEB-INF/classes/tomorrowlunch] could not be completely deleted. The presence of the remaining files may cause problems
|
100
|
+
|
101
|
+
28-Jul-2015 00:18:30.063 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/WEB-INF/classes/message] could not be completely deleted. The presence of the remaining files may cause problems
|
102
|
+
|
103
|
+
28-Jul-2015 00:18:30.063 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/WEB-INF/classes/profile] could not be completely deleted. The presence of the remaining files may cause problems
|
104
|
+
|
105
|
+
28-Jul-2015 00:18:30.064 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/WEB-INF/classes] could not be completely deleted. The presence of the remaining files may cause problems
|
106
|
+
|
107
|
+
28-Jul-2015 00:18:30.064 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/WEB-INF/lib] could not be completely deleted. The presence of the remaining files may cause problems
|
108
|
+
|
109
|
+
28-Jul-2015 00:18:30.071 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/WEB-INF] could not be completely deleted. The presence of the remaining files may cause problems
|
110
|
+
|
111
|
+
28-Jul-2015 00:18:30.071 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/js] could not be completely deleted. The presence of the remaining files may cause problems
|
112
|
+
|
113
|
+
28-Jul-2015 00:18:30.072 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/css] could not be completely deleted. The presence of the remaining files may cause problems
|
114
|
+
|
115
|
+
28-Jul-2015 00:18:30.072 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/fonts] could not be completely deleted. The presence of the remaining files may cause problems
|
116
|
+
|
117
|
+
28-Jul-2015 00:18:30.073 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/image/images/images] could not be completely deleted. The presence of the remaining files may cause problems
|
118
|
+
|
119
|
+
28-Jul-2015 00:18:30.074 SEVERE [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.ExpandWar.deleteDir [/var/lib/tomcat8/webapps/EGlunch/image/images] could not be completely deleted. The presence of the remaining files may cause problems
|
120
|
+
|
121
|
+
・・・
|
151
122
|
|
152
123
|
|
153
|
-
/etc/my.cnfの設定です。
|
154
124
|
|
155
|
-
|
125
|
+
28-Jul-2015 00:18:30.108 SEVERE [localhost-startStop-2] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/EGlunch]
|
156
126
|
|
127
|
+
java.io.IOException: [/var/lib/tomcat8/webapps/EGlunch] could not be completely deleted. The presence of the remaining files may cause problems
|
128
|
+
|
129
|
+
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:109)
|
130
|
+
|
131
|
+
at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:618)
|
132
|
+
|
133
|
+
at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:744)
|
134
|
+
|
135
|
+
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:307)
|
136
|
+
|
137
|
+
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
|
138
|
+
|
139
|
+
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
|
140
|
+
|
141
|
+
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
|
142
|
+
|
143
|
+
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
|
144
|
+
|
145
|
+
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
|
146
|
+
|
147
|
+
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
|
148
|
+
|
149
|
+
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
|
150
|
+
|
151
|
+
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:945)
|
152
|
+
|
153
|
+
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1768)
|
154
|
+
|
155
|
+
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
|
156
|
+
|
157
|
+
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
|
158
|
+
|
159
|
+
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
|
160
|
+
|
161
|
+
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
|
162
|
+
|
157
|
-
|
163
|
+
at java.lang.Thread.run(Thread.java:745)
|
158
164
|
|
159
165
|
```
|
160
166
|
|
161
|
-
[mysqld]
|
162
|
-
|
163
|
-
datadir=/var/lib/mysql
|
164
|
-
|
165
|
-
socket=/var/lib/mysql/mysql.sock
|
166
|
-
|
167
|
-
# Disabling symbolic-links is recommended to prevent assorted security risks
|
168
|
-
|
169
|
-
symbolic-links=0
|
170
|
-
|
171
|
-
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
|
172
|
-
|
173
|
-
# Settings user and group are ignored when systemd is used.
|
174
|
-
|
175
|
-
# If you need to run mysqld under a different user or group,
|
176
|
-
|
177
|
-
# customize your systemd unit file for mysqld according to the
|
178
|
-
|
179
|
-
# instructions in http://fedoraproject.org/wiki/Systemd
|
180
|
-
|
181
|
-
innodb_buffer_pool_size = 512M
|
182
|
-
|
183
|
-
innodb_log_file_size = 128M
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
167
|
+
以後もエラーが続きます。
|
188
|
-
|
189
|
-
log-error=/var/log/mysqld.log
|
190
|
-
|
191
|
-
pid-file=/var/run/mysqld/mysqld.pid
|
192
|
-
|
193
|
-
```
|
3
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -141,3 +141,53 @@
|
|
141
141
|
文字数制限上これくらいしか情報をかけませんが、
|
142
142
|
|
143
143
|
何卒よろしくお願いいたします。
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
---
|
148
|
+
|
149
|
+
追記
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
/etc/my.cnfの設定です。
|
154
|
+
|
155
|
+
何か無駄だったり足りないところはありますでしょうか?
|
156
|
+
|
157
|
+
よろしくお願いいたします。
|
158
|
+
|
159
|
+
```
|
160
|
+
|
161
|
+
[mysqld]
|
162
|
+
|
163
|
+
datadir=/var/lib/mysql
|
164
|
+
|
165
|
+
socket=/var/lib/mysql/mysql.sock
|
166
|
+
|
167
|
+
# Disabling symbolic-links is recommended to prevent assorted security risks
|
168
|
+
|
169
|
+
symbolic-links=0
|
170
|
+
|
171
|
+
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
|
172
|
+
|
173
|
+
# Settings user and group are ignored when systemd is used.
|
174
|
+
|
175
|
+
# If you need to run mysqld under a different user or group,
|
176
|
+
|
177
|
+
# customize your systemd unit file for mysqld according to the
|
178
|
+
|
179
|
+
# instructions in http://fedoraproject.org/wiki/Systemd
|
180
|
+
|
181
|
+
innodb_buffer_pool_size = 512M
|
182
|
+
|
183
|
+
innodb_log_file_size = 128M
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
[mysqld_safe]
|
188
|
+
|
189
|
+
log-error=/var/log/mysqld.log
|
190
|
+
|
191
|
+
pid-file=/var/run/mysqld/mysqld.pid
|
192
|
+
|
193
|
+
```
|
2
質問変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -66,203 +66,25 @@
|
|
66
66
|
|
67
67
|
```java
|
68
68
|
|
69
|
-
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
|
70
|
-
|
71
|
-
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
72
|
-
|
73
|
-
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
74
|
-
|
75
|
-
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
76
|
-
|
77
|
-
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
|
78
|
-
|
79
|
-
at com.mysql.jdbc.Util.handleNewInstance(Util.java:400)
|
80
|
-
|
81
|
-
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1038)
|
82
|
-
|
83
|
-
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:339)
|
84
|
-
|
85
|
-
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2247)
|
86
|
-
|
87
|
-
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2280)
|
88
|
-
|
89
|
-
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2079)
|
90
|
-
|
91
|
-
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
|
92
|
-
|
93
|
-
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
|
94
|
-
|
95
|
-
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
96
|
-
|
97
|
-
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
98
|
-
|
99
|
-
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
100
|
-
|
101
|
-
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
|
102
|
-
|
103
|
-
at com.mysql.jdbc.Util.handleNewInstance(Util.java:400)
|
104
|
-
|
105
|
-
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)
|
106
|
-
|
107
|
-
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)
|
108
|
-
|
109
|
-
at java.sql.DriverManager.getConnection(DriverManager.java:664)
|
110
|
-
|
111
|
-
at java.sql.DriverManager.getConnection(DriverManager.java:247)
|
112
|
-
|
113
|
-
at dao.EntryDao.connect(EntryDao.java:27)
|
114
|
-
|
115
|
-
at fb.Callback.doGet(Callback.java:136)
|
116
|
-
|
117
|
-
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
|
118
|
-
|
119
|
-
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
|
120
|
-
|
121
|
-
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
|
122
|
-
|
123
|
-
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
|
124
|
-
|
125
|
-
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
|
126
|
-
|
127
|
-
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
|
128
|
-
|
129
|
-
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
|
130
|
-
|
131
|
-
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
|
132
|
-
|
133
|
-
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
|
134
|
-
|
135
|
-
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
|
136
|
-
|
137
|
-
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
|
138
|
-
|
139
|
-
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
|
140
|
-
|
141
|
-
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
|
142
|
-
|
143
|
-
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
|
144
|
-
|
145
|
-
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
|
146
|
-
|
147
|
-
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
|
148
|
-
|
149
|
-
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
|
150
|
-
|
151
|
-
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
|
152
|
-
|
153
|
-
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
|
154
|
-
|
155
|
-
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
|
156
|
-
|
157
|
-
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
158
|
-
|
159
|
-
at java.lang.Thread.run(Thread.java:745)
|
160
|
-
|
161
|
-
trying com.mysql.fabric.jdbc.FabricMySQLDriver
|
162
|
-
|
163
|
-
com.mysql.jdbc.
|
69
|
+
com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
|
164
70
|
|
165
71
|
|
166
72
|
|
167
|
-
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
|
168
|
-
|
169
|
-
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
170
|
-
|
171
|
-
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
172
|
-
|
173
|
-
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
174
|
-
|
175
|
-
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
|
176
|
-
|
177
|
-
at com.mysql.jdbc.Util.handleNewInstance(Util.java:400)
|
178
|
-
|
179
|
-
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1038)
|
180
|
-
|
181
|
-
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:339)
|
182
|
-
|
183
|
-
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2247)
|
184
|
-
|
185
|
-
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2280)
|
186
|
-
|
187
|
-
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2079)
|
188
|
-
|
189
|
-
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
|
190
|
-
|
191
|
-
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
|
192
|
-
|
193
|
-
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
194
|
-
|
195
|
-
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
196
|
-
|
197
|
-
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
198
|
-
|
199
|
-
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
|
200
|
-
|
201
|
-
at com.mysql.jdbc.Util.handleNewInstance(Util.java:400)
|
202
|
-
|
203
|
-
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)
|
204
|
-
|
205
|
-
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)
|
206
|
-
|
207
|
-
at java.sql.DriverManager.getConnection(DriverManager.java:664)
|
208
|
-
|
209
|
-
at java.sql.DriverManager.getConnection(DriverManager.java:247)
|
210
|
-
|
211
|
-
|
73
|
+
** BEGIN NESTED EXCEPTION **
|
212
|
-
|
213
|
-
at fb.Callback.doGet(Callback.java:136)
|
214
|
-
|
215
|
-
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
|
216
|
-
|
217
|
-
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
|
218
|
-
|
219
|
-
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
|
220
|
-
|
221
|
-
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
|
222
|
-
|
223
|
-
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
|
224
|
-
|
225
|
-
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
|
226
|
-
|
227
|
-
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
|
228
|
-
|
229
|
-
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
|
230
|
-
|
231
|
-
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
|
232
|
-
|
233
|
-
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
|
234
|
-
|
235
|
-
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
|
236
|
-
|
237
|
-
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
|
238
|
-
|
239
|
-
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
|
240
|
-
|
241
|
-
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
|
242
|
-
|
243
|
-
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
|
244
|
-
|
245
|
-
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
|
246
|
-
|
247
|
-
getConnection failed: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
|
248
74
|
|
249
75
|
|
250
76
|
|
251
|
-
|
77
|
+
java.net.ConnectException
|
252
78
|
|
253
|
-
|
79
|
+
MESSAGE: Operation timed out
|
254
80
|
|
255
|
-
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
|
256
81
|
|
257
|
-
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
|
258
82
|
|
259
|
-
|
83
|
+
STACKTRACE:
|
260
84
|
|
261
|
-
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
262
85
|
|
263
|
-
at java.lang.Thread.run(Thread.java:745)
|
264
86
|
|
265
|
-
|
87
|
+
java.net.ConnectException: Operation timed out
|
266
88
|
|
267
89
|
at java.net.PlainSocketImpl.socketConnect(Native Method)
|
268
90
|
|
@@ -276,11 +98,41 @@
|
|
276
98
|
|
277
99
|
at java.net.Socket.connect(Socket.java:589)
|
278
100
|
|
279
|
-
at
|
101
|
+
at java.net.Socket.connect(Socket.java:538)
|
280
102
|
|
281
|
-
at
|
103
|
+
at java.net.Socket.<init>(Socket.java:434)
|
282
104
|
|
105
|
+
at java.net.Socket.<init>(Socket.java:244)
|
106
|
+
|
107
|
+
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:256)
|
108
|
+
|
109
|
+
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:271)
|
110
|
+
|
111
|
+
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2771)
|
112
|
+
|
113
|
+
at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
|
114
|
+
|
115
|
+
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
|
116
|
+
|
117
|
+
at java.sql.DriverManager.getConnection(DriverManager.java:664)
|
118
|
+
|
119
|
+
at java.sql.DriverManager.getConnection(DriverManager.java:247)
|
120
|
+
|
121
|
+
at dao.TestDao.main(TestDao.java:18)
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
283
|
-
|
127
|
+
** END NESTED EXCEPTION **
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
Last packet sent to the server was 1 ms ago.
|
284
136
|
|
285
137
|
```
|
286
138
|
|
1
変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -286,4 +286,6 @@
|
|
286
286
|
|
287
287
|
|
288
288
|
|
289
|
+
文字数制限上これくらいしか情報をかけませんが、
|
290
|
+
|
289
291
|
何卒よろしくお願いいたします。
|