[opencms-dev] Error Importing Module and PacketTooBigExceptio n
Reinier.Battenberg at mbcac.Mercedes-Benz.com
Reinier.Battenberg at mbcac.Mercedes-Benz.com
Tue Feb 10 09:19:02 CET 2004
Hi Thomas,
I had the same question a couple of days ago, If you search the archive
(which you should always do before posting), you will find this:
Hi,
Thanks for all the help, here is the summary:
We are running on windows and had never really touched the mySQL
installation. On windows the mySQL settings are stored in a my.ini file in
the windows directory. This file does not exist by default, but 4 different
proposed configurations are provided in the c:\mysql\ folder.
Because they have a .cnf extension, windows shows these files as Speeddial
icons, but you can open them with a text editor of choice. The one you need
is depends on your expected load on your database.
If you copy one of these files to the windows folder and rename it to
my.ini, then you have to file that contains the set_max_allowed_packet
setting, and you can change it to a size that is applicable for your
installation.
Rgds,
reinier
-----Original Message-----
From: Thomas Gagné [mailto:tgagne at wideopenwest.com]
Sent: 10 February 2004 05:55
To: opencms-dev at opencms.org
Subject: [opencms-dev] Error Importing Module and PacketTooBigException
Trying to load an existing site as .zip. This is what appears in the
logfile:
[09.02.2004 21:47:39] <opencms_critical> [CmsElementXml
(CmsAdminModuleNew/module_new)] Non OpenCms error occured in getContent
for template class com.opencms.workplace.CmsAdminModuleNew
Trying to load the .zip file directory into an already-existing
directory complained about a few poorly named files (.nsconfig) but
after eliminating them, I get the traceback below--but it doesn't
identify the offending file:
com.opencms.core.CmsException: 0 Unknown exception. Detailed error:
CmsException ID: 0.
root cause was com.opencms.core.CmsException: 0 Unknown exception.
Detailed error: CmsException ID: 0.
root cause was com.opencms.core.CmsException: 4 Sql exception. Detailed
error: [com.opencms.file.mySql.CmsDbAccess] Communication link failure:
com.mysql.jdbc.PacketTooBigException.
root cause was java.sql.SQLException: Communication link failure:
com.mysql.jdbc.PacketTooBigException
at com.opencms.file.CmsImportFolder.<init>(CmsImportFolder.java:146)
at
com.opencms.workplace.CmsNewResourceUpload.getContent(CmsNewResourceUpload.j
ava:219)
at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)
at com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache
.java:149)
at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)
at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
at com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
at
com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.java:331)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown
Source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
Source)
at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(Unknown
Source)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown
Source)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(Unknown
Source)
at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(Unknown
Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:392)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619)
at java.lang.Thread.run(Thread.java:536)
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list