Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    It's possible you're trying to write to a connection that's already closed. Another cause for this is that you closed the socket with unread data in the socket receive buffer.

  2. ,
    Expert tip

    This might be caused by unmatching versions of SSL. Java starts normally with SSLv2 and your server might not be able to negotiate. You have to force Java to use SSLv3. See this comment: https://goo.gl/hx0YB3

Solutions on the web

via Liferay Issues by Tammy Fong, 1 year ago
No operations allowed after connection closed.
via liferay.com by Unknown author, 2 years ago
via Liferay Issues by Tammy Fong, 1 year ago
No operations allowed after connection closed.
java.net.SocketException: Connection reset	at java.net.SocketInputStream.read(SocketInputStream.java:168)	at com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:114)	at com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:161)	at com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:189)	at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3049)	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3503)	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3492)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4043)	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2375)	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2359)	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)	at org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:817)	at org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:1)	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:586)	at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:811)	at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:833)	at org.springframework.jdbc.object.SqlUpdate.update(SqlUpdate.java:167)	at com.liferay.portlet.asset.service.persistence.AssetTagPersistenceImpl$ClearAssetEntries.clear(AssetTagPersistenceImpl.java:2415)	at com.liferay.portlet.asset.service.persistence.AssetTagPersistenceImpl.removeImpl(AssetTagPersistenceImpl.java:343)	at com.liferay.portlet.asset.service.persistence.AssetTagPersistenceImpl.removeImpl(AssetTagPersistenceImpl.java:1)	at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.remove(BasePersistenceImpl.java:241)	at com.liferay.portlet.asset.service.impl.AssetTagLocalServiceImpl.deleteTag(AssetTagLocalServiceImpl.java:251)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:117)	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:52)	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113)	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113)	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113)	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113)	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113)	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:218)	at undefined.$Proxy131.deleteTag(Unknown Source)	at com.liferay.portal.service.impl.GroupLocalServiceImpl.deleteGroup(GroupLocalServiceImpl.java:705)	at com.liferay.portal.service.impl.GroupLocalServiceImpl.deleteGroup(GroupLocalServiceImpl.java:837)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:117)	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:52)	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113)	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:218)	at undefined.$Proxy24.deleteGroup(Unknown Source)	at com.liferay.portal.service.GroupLocalServiceUtil.deleteGroup(GroupLocalServiceUtil.java:74)	at com.liferay.portal.staging.StagingImpl.disableStaging(StagingImpl.java:476)	at com.liferay.portal.staging.StagingImpl.updateStaging(StagingImpl.java:1438)	at com.liferay.portal.kernel.staging.StagingUtil.updateStaging(StagingUtil.java:420)	at com.liferay.portlet.sites.action.EditGroupAction.updateGroup(EditGroupAction.java:578)	at com.liferay.portlet.sites.action.EditGroupAction.processAction(EditGroupAction.java:101)	at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:169)	at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:214)	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:616)	at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:647)	at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:315)	at com.liferay.portlet.MonitoringPortlet.processAction(MonitoringPortlet.java:184)	at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:940)	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:681)	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:243)	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:567)	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:544)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:73)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:314)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:85)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:144)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:73)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:358)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:314)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:259)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:70)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:260)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:191)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:85)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)	at java.lang.Thread.run(Thread.java:662)