Я установил Websphere Liberty Core 8.5.5 и все выглядит хорошо при запуске сервера, его остановке и т. Д., И я могу получить доступ к приложениям, развернутым на сервере Liberty.
Проблема возникает через некоторое время (ок. Через 1 час)или 2 часа) сервер свободы автоматически останавливается, и мне приходится снова запускать сервер вручную для работы с развернутыми приложениями.
Это рабочий сервер, поэтому приложения должны быть доступны 24/7.Итак, есть ли обходной путь или какие-либо свойства, которые у меня есть, чтобы исправить эту проблему?
Ниже приведена ошибка, которая появляется через некоторое время после запуска сервера из командной строки.
SRVE8109W: Uncaught exception thrown by filter CompressionFilter: jav
a.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.writev0(Native Method)
at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:55)
at sun.nio.ch.IOUtil.write(IOUtil.java:148)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:529)
at java.nio.channels.SocketChannel.write(SocketChannel.java:493)
at com.ibm.ws.tcpchannel.internal.NioSocketIOChannel.write(NioSocketIOCh
annel.java:206)
at [internal classes]
at com.ibm.worklight.management.ui.servlet.StaticContentCompressionFilte
r.writeCacheToResponse(StaticContentCompressionFilter.java:210)
at com.ibm.worklight.management.ui.servlet.StaticContentCompressionFilte
r.doFilter(StaticContentCompressionFilter.java:135)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterI
nstanceWrapper.java:194)
at [internal classes]
[ERROR ] SRVE0315E: An execption occurred: com.ibm.ws.webcontainer.webapp.WebA
ppErrorReport: javax.servlet.ServletException: java.io.IOException: An existing
connection was forcibly closed by the remote host
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterI
nstanceWrapper.java:249)
at [internal classes]
Caused by: javax.servlet.ServletException: java.io.IOException: An existing conn
ection was forcibly closed by the remote host
... 3 more
Caused by: java.io.IOException: An existing connection was forcibly closed by th
e remote host
at sun.nio.ch.SocketDispatcher.writev0(Native Method)
at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:55)
at sun.nio.ch.IOUtil.write(IOUtil.java:148)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:529)
at java.nio.channels.SocketChannel.write(SocketChannel.java:493)
at com.ibm.ws.tcpchannel.internal.NioSocketIOChannel.write(NioSocketIOCh
annel.java:206)
at [internal classes]
at com.ibm.worklight.management.ui.servlet.StaticContentCompressionFilte
r.writeCacheToResponse(StaticContentCompressionFilter.java:210)
at com.ibm.worklight.management.ui.servlet.StaticContentCompressionFilte
r.doFilter(StaticContentCompressionFilter.java:135)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterI
nstanceWrapper.java:194)
... 1 more
[WARNING ] WARNING: Cannot set status. Response already committed.
[WARNING ] SRVE8094W: WARNING: Cannot set header. Response already committed.
[ERROR ] Error Page Exception:
worklightconsole
/worklightconsole
Error Page Exception
com.ibm.ws.webcontainer.webapp.WebAppErrorReport:
java.io.IOException: An existing connection was forcibly closed by the remote h
ost
at sun.nio.ch.SocketDispatcher.writev0(Native Method)
at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:55)
at sun.nio.ch.IOUtil.write(IOUtil.java:148)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:529)
at java.nio.channels.SocketChannel.write(SocketChannel.java:493)
at com.ibm.ws.tcpchannel.internal.NioSocketIOChannel.write(NioSocketIOCh
annel.java:206)
at [internal classes]
at com.ibm.worklight.management.ui.servlet.StaticContentCompressionFilte
r.writeCacheToResponse(StaticContentCompressionFilter.java:210)
at com.ibm.worklight.management.ui.servlet.StaticContentCompressionFilte
r.doFilter(StaticContentCompressionFilter.java:135)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterI
nstanceWrapper.java:194)
at [internal classes]
Caused by: java.io.IOException: An existing connection was forcibly closed by th
e remote host
... 12 more
Спасибо,Аджай