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

Solutions on the web

via JIRA by Damian Jansen, 1 year ago
Packet for query is too large (1304637 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.
via https://bugzilla.redhat.com/bugzilla/ by Damian Jansen, 1 year ago
Packet for query is too large (1304637 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.
via JIRA by Damian Jansen, 1 year ago
Packet for query is too large (1304637 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.
via JIRA by Alice Carey, 1 year ago
Packet for query is too large (2622380 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.
via JIRA by Alice Carey, 1 year ago
Packet for query is too large (2622380 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.
via Kuali JIRA by Steven Black, 1 year ago
Packet for query is too large (1486406 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.
com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1304637 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.	at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3279)	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1971)	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415)	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2333)	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2318)	at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at net.bull.javamelody.JdbcWrapper.doExecute(JdbcWrapper.java:373)	at net.bull.javamelody.JdbcWrapper$StatementInvocationHandler.invoke(JdbcWrapper.java:130)	at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:259)	at undefined.$Proxy202.executeUpdate(Unknown Source)	at org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:493)	at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:133)	at org.hibernate.id.IdentityGenerator$GetGeneratedKeysDelegate.executeAndExtract(IdentityGenerator.java:96)	at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:58)	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2966)	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3477)	at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:81)	at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:362)	at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:203)	at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:183)	at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:167)	at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:321)	at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:286)	at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:192)	at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:125)	at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:78)	at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:208)	at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:151)	at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:78)	at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:852)	at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:826)	at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:830)	at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:875)	at sun.reflect.GeneratedMethodAccessor535.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.jboss.seam.persistence.EntityManagerInvocationHandler.invoke(EntityManagerInvocationHandler.java:46)	at undefined.$Proxy199.persist(Unknown Source)	at org.hibernate.search.jpa.impl.FullTextEntityManagerImpl.persist(FullTextEntityManagerImpl.java:125)	at sun.reflect.GeneratedMethodAccessor535.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.jboss.seam.persistence.EntityManagerInvocationHandler.invoke(EntityManagerInvocationHandler.java:46)	at undefined.$Proxy200.persist(Unknown Source)	at org.jboss.seam.framework.EntityHome.persist(EntityHome.java:84)	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 org.jboss.seam.util.Reflections.invoke(Reflections.java:22)	at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)	at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)	at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)	at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:97)	at org.jboss.seam.util.Work.workInTransaction(Work.java:61)	at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:91)	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)	at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)	at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:163)	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)	at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)	at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:186)	at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:104)	at org.zanata.action.TranslationMemoryAction_$$_javassist_seam_47.persist(TranslationMemoryAction_$$_javassist_seam_47.java)	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 org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335)	at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348)	at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)	at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)	at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)	at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)	at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:101)	at net.bull.javamelody.JsfActionListener.processAction(JsfActionListener.java:65)	at javax.faces.component.UICommand.broadcast(UICommand.java:315)	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:786)	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1251)	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:620)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:553)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:482)	at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)	at org.zanata.seam.interceptor.MonitoringWrapper.doFilter(MonitoringWrapper.java:70)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)	at org.zanata.servlet.GWTCacheControlFilter.doFilter(GWTCacheControlFilter.java:63)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)	at org.jboss.security.negotiation.NegotiationAuthenticator$WrapperValve.invoke(NegotiationAuthenticator.java:336)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:389)	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)	at java.lang.Thread.run(Thread.java:662)