<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all, <br>
<br>
When I installed OpenCms 6 on a Tomcat 4 server, an error occured while
the import of the com.alkacon.documentation.documentation_javadoc
module. Now, I tried to import it manually. <br>
<br>
I got a javasript error at this line (with firefox and MSIE) in the
init function :<br>
<pre id="line41">aN('( 1 / 793 ) '); aN('Importing'); a(' /alkacon-documentation/ '); a('... '); aO('o.k.'); a('<br>'); aB(); aN('( 2 / 793 ) '); aN('Importing'); a(' /alkacon-documentation/javadoc/ '); a('... '); aO('o.k.'); a('<br>'); aB(); aN('( 3 / 793 ) '); aN('Importing'); a(' /alkacon-documentation/javadoc/core/ '); a('... '); aO('o.k.'); a('<br>'); aB(); aN('( 4 / 793 ) '); aN('Importing'); a(' /alkacon-documentation/javadoc/core/allclasses-frame.html '); a('... '); aO('o.k.'); a('<br>'); aB(); aN('( 5 / 793 ) '); aN('Importing'); a(' /alkacon-documentation/javadoc/core/allclasses-noframe.html '); a('... '); aO('o.k.'); a('<br>'); aB(); aN('( 6 / 793 ) '); aN('Importing'); a(' /alkacon-documentation/javadoc/core/constant-values.html '); a('... '); aT('Exception org.opencms.db.CmsDbSqlException: Error creating resource &quot;/alkacon-documentation/javadoc/core/constant-values.html&quot; on path &quot;/sites/default/alkacon-doc
umentation/javadoc/core/constant-values.html&quot;.<br>       at org.opencms.db.CmsDbSqlException.createException(CmsDbSqlException.java:103)<br>       at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213)<br>  at org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)<br>  at org.opencms.db.CmsSecurityManager.importResource(CmsSecurityManager.java:2448)<br>     at org.opencms.file.types.A_CmsResourceType.importResource(A_CmsResourceType.java:410)<br>        at org.opencms.file.CmsObject.importResource(CmsObject.java:1556)<br>     at org.opencms.importexport.CmsImportVersion4.importResource(CmsImportVersion4.java:316)<br>      at org.opencms.importexport.CmsImportVersion4.readResourcesFromManifest(CmsImportVersion4.java:480)<br>   at org.opencms.importexport.CmsImportVersion4.importResources(CmsImportVersion4.java:132)<br>     at org.opencms.importexport.CmsImport.importResources(CmsImport.java:326)<br>     at org.opencms.module.CmsM
oduleImportExportHandler.importModule(CmsModuleImportExportHandler.java:507)<br>  at org.opencms.module.CmsModuleImportExportHandler.importData(CmsModuleImportExportHandler.java:347)<br>  at org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:708)<br>        at org.opencms.workplace.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:94)<br>Caused by: org.opencms.db.CmsDbSqlException: An SQL error occurred when executing the following query: com.mysql.jdbc.PreparedStatement@cf38da: UPDATE CMS_OFFLINE_CONTENTS SET FILE_CONTENT=** STREAM DATA ** WHERE RESOURCE_ID='3ead958c-e8dd-11d9-820a-1937cc62396b'. <br>      at org.opencms.db.generic.CmsVfsDriver.writeContent(CmsVfsDriver.java:2076)<br>   at org.opencms.db.CmsDriverManager.createResource(CmsDriverManager.java:1752)<br> at org.opencms.db.CmsSecurityManager.importResource(CmsSecurityManager.java:2446)<br>     ... 10 more<br>Caused by: com.mysql.
jdbc.PacketTooBigException: Packet for query is too large (1477084 &gt; 1048576). You can change this value on the server by setting the max_allowed_packet' variable.<br>    at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:1741)<br>     at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:1727)<br>     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1148)<br>      at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1278)<br>   at com.mysql.jdbc.Connection.execSQL(Connection.java:2247)<br>    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1772)<br>        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1619)<br>        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)<br>    at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)<br>    at org.opencms.db.generic.CmsVfsDriver.writeContent(CmsVfsDriver.java:2
074)<br>  ... 12 more<br>'); 
</pre>
Then I got errors because init was not defined.<br>
<br>
Best regards, <br>
<pre class="moz-signature" cols="72">-- 
Xavier Ottolini
Développeur multimédia

Adelis
37, rue d'Engwiller
67350 La Walck
France
Téléphone : +33 (0) 3 88 72 29 10
Télécopie : +33 (0) 3 88 72 29 19
<a class="moz-txt-link-freetext" href="http://www.adelis.com">http://www.adelis.com</a>

</pre>
</body>
</html>