The problem is with large files. <br>You have to raise the value of max_allowed_packet in mysqld section (16M seems enough) in my.cnf and repeat the installation.<br><br>HTH<br>Stephan<br><br><div class="gmail_quote">2011/5/12 Yves Ettounsi <span dir="ltr"><<a href="mailto:yves.ettounsi@switch.ch">yves.ettounsi@switch.ch</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Mathias,<br>
<br>
I can confirm your issue, got exactly the same error messages here:<br>
<div class="im"><br>
<br>
<br>
ERROR [encms.xml.CmsXmlEntityResolver: 370] Could not resolve OpenCms<br>
XML entity reference<br>
</div>"opencms://system/modules/org.opencms.ade.containerpage/schemas/container_page.xsd"<br>
<div class="im">org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource<br>
from path<br>
"/system/modules/org.opencms.ade.containerpage/schemas/container_page.xsd".<br>
at<br>
org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:79)<br>
<br>
<br>
</div>I tried a new, fresh installation of ocms8 on two different MacBook<br>
Pro's, both with 10.6 and Tomcat 5.5./MySQL.<br>
<br>
I also published those files in the workplace, afterwards the template<br>
III worked (altough I'm unable to use the ADE functionality for strange<br>
reasons).<br>
<br>
Greetings,<br>
<font color="#888888">Yves<br>
</font><div><div></div><div class="h5"><br>
<br>
On 5/12/11 9:52 AM, Mathias Lin wrote:<br>
><br>
> I've run the setup twice on Mac OS X 10.6.7, Tomcat7 (512mb mem heap<br>
> assigned) , MySql5, and still getting these issues. I probably need to<br>
> monitor the tomcat logs a bit more, but not urgent at the moment.<br>
><br>
> On WinXP, Tomcat6 though, I've installed OCMS8 as well just now, no problems<br>
> at all.<br>
><br>
><br>
><br>
> Alexander Kandzior wrote:<br>
>><br>
>> Mathias,<br>
>><br>
>>> I just installed OpenCms 8 on Mac OS X (fresh installation, not an<br>
>>> upgrade<br>
>> of<br>
>>> an existing one) and found a few issues.<br>
>><br>
>> Not sure where your issues are coming from but I am running OpenCms 8 on<br>
>> my<br>
>> MacBook Air with Mac OS X (10.6) in a Tomcat / MySQL installation and I<br>
>> did<br>
>> not have any issues setting this up and running.<br>
>><br>
>>> The next issue I noticed is with the Template III demo: even though I'm<br>
>>> logged in, and the login box for the extranet on the left hand side shows<br>
>>> "Logged in as: Admin", it would still show the name/password field below.<br>
>> Is<br>
>>> that intentionally?<br>
>><br>
>> Yes it's intentional. The idea is when you do a demo with a customer, you<br>
>> can just switch to another user directly. Like "look now the X user can /<br>
>> can not do this and that because of his permissions etc.". Should not be<br>
>> too<br>
>> hard to change that behavior, maybe we do add an option for this in the<br>
>> next<br>
>> release.<br>
>><br>
>><br>
>> Kind Regards,<br>
>> Alex.<br>
>><br>
>> -------------------<br>
>> Alexander Kandzior<br>
>><br>
>> Alkacon Software GmbH - The OpenCms Experts<br>
>> <a href="http://www.alkacon.com" target="_blank">http://www.alkacon.com</a> - <a href="http://www.opencms.org" target="_blank">http://www.opencms.org</a><br>
>><br>
>><br>
>> -----Original Message-----<br>
>> From: <a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a><br>
>> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>] On Behalf Of Mathias Lin<br>
>> Sent: Thursday, May 12, 2011 6:27 AM<br>
>> To: <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
>> Subject: [opencms-dev] Issues with OpenCms 8 on fresh install (Mac OS X)<br>
>><br>
>><br>
>> I just installed OpenCms 8 on Mac OS X (fresh installation, not an upgrade<br>
>> of<br>
>> an existing one) and found a few issues. Before digging deeper into code<br>
>> analysis and debugging, I want to know whether some of you has similar<br>
>> issues as well:<br>
>><br>
>> After running the setup, which runs through successfully, then start page<br>
>> gets opened with a 500 error, log says:<br>
>><br>
>> 12 May 2011 11:49:03,270 ERROR [encms.xml.CmsXmlEntityResolver: 370] Could<br>
>> not resolve OpenCms XML entity reference<br>
>> "opencms://system/modules/org.opencms.ade.containerpage/schemas/container_pa<br>
>> ge.xsd"<br>
>> org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource<br>
>> from path<br>
>> "/system/modules/org.opencms.ade.containerpage/schemas/container_page.xsd".<br>
>> at<br>
>> org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResou<br>
>> rceNotFoundException.java:79)<br>
>> at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:343)<br>
>> at org.opencms.db.CmsDbContext.report(CmsDbContext.java:295)<br>
>> at<br>
>> org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:4600)<br>
>> at org.opencms.file.CmsObject.readResource(CmsObject.java:2765)<br>
>> at org.opencms.file.CmsObject.readFile(CmsObject.java:2144)<br>
>> at<br>
>> org.opencms.xml.CmsXmlEntityResolver.resolveEntity(CmsXmlEntityResolver.java<br>
>> :361)<br>
>> at<br>
>> org.opencms.xml.CmsXmlContentDefinition.unmarshal(CmsXmlContentDefinition.ja<br>
>> va:442)<br>
>> at<br>
>> org.opencms.xml.content.CmsXmlContent.getContentDefinition(CmsXmlContent.jav<br>
>> a:805)<br>
>> at<br>
>> org.opencms.xml.containerpage.CmsXmlContainerPage.<init>(CmsXmlContainerPage<br>
>> .java:139)<br>
>> at<br>
>> org.opencms.xml.containerpage.CmsXmlContainerPageFactory.unmarshal(CmsXmlCon<br>
>> tainerPageFactory.java:387)<br>
>><br>
>><br>
>> So I open the workplace (logging in as Admin) to find the problem, and see<br>
>> another issue: in the workplace file list, left to each file and folder,<br>
>> folder icons display well, but file icons don't show.<br>
>> see Screenshot<br>
>> <a href="http://imageshack.us/photo/my-images/852/screenshot20110512at115.png/" target="_blank">http://imageshack.us/photo/my-images/852/screenshot20110512at115.png/</a><br>
>> I remember having had this before on a OpenCms7 installation (and can't<br>
>> recall the reason, long time ago, maybe it was permission related), but<br>
>> never had this issue on a localhost installation before.<br>
>><br>
>> Back to my initial problem, I see that in folder<br>
>> /system/modules/org.opencms.ade.containerpage/schemas/, all xsd files are<br>
>> gray flagged (belonging to project "Import of module<br>
>> org.opencms.ade.containerpage"):<br>
>> <a href="http://imageshack.us/photo/my-images/861/screenshot20110512at115.png/" target="_blank">http://imageshack.us/photo/my-images/861/screenshot20110512at115.png/</a><br>
>><br>
>><br>
>> So I switch to that project and try to publish everything (via toolbar<br>
>> button). -> getting:<br>
>><br>
>> Attention: Your publish job created May 12, 2011 11:58:18 AM finished with<br>
>> 3<br>
>> warnings and 0 errors.<br>
>><br>
>> However, even it says the publish job finished, the resources aren't<br>
>> published afterwards and still have the yellow flag.<br>
>> Looking at the queue log, I actually see that there were errors though:<br>
>><br>
>> ( 1 / 75 ) Publishing file<br>
>> /system/modules/org.opencms.ade.containerpage/resources/containerpage/15C89A<br>
>> 0C95792FAC5C3FCC34BC2CBC41.cache.html<br>
>> ... Error publishing file<br>
>> "/system/modules/org.opencms.ade.containerpage/resources/containerpage/15C89<br>
>> A0C95792FAC5C3FCC34BC2CBC41.cache.html".<br>
>> Exception org.opencms.file.CmsDataAccessException: Unable to read file<br>
>> contents with resource ID "d14b225b-7988-11e0-8c78-b967eb0fb6b8"<br>
>> (online=false).<br>
>> at<br>
>> org.opencms.db.generic.CmsProjectDriver.publishFile(CmsProjectDriver.java:12<br>
>> 45)<br>
>> at<br>
>> org.opencms.db.generic.CmsProjectDriver.publishProject(CmsProjectDriver.java<br>
>> :1700)<br>
>> at org.opencms.db.CmsDriverManager.publishJob(CmsDriverManager.java:5880)<br>
>> at org.opencms.publish.CmsPublishThread.run(CmsPublishThread.java:162)<br>
>> Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to<br>
>> read<br>
>> file contents with resource ID "d14b225b-7988-11e0-8c78-b967eb0fb6b8"<br>
>> (online=false).<br>
>> at org.opencms.db.generic.CmsVfsDriver.readContent(CmsVfsDriver.java:1682)<br>
>> at<br>
>> org.opencms.db.generic.CmsProjectDriver.publishFileContent(CmsProjectDriver.<br>
>> java:1273)<br>
>> at<br>
>> org.opencms.db.generic.CmsProjectDriver.publishNewFile(CmsProjectDriver.java<br>
>> :3561)<br>
>> at<br>
>> org.opencms.db.generic.CmsProjectDriver.publishFile(CmsProjectDriver.java:12<br>
>> 00)<br>
>> ... 3 more<br>
>> Statistics: published files: 1, published folders: 0, deleted folders: 0,<br>
>> duration: 00:00:00<br>
>> Exception org.opencms.file.CmsDataAccessException: Error publishing file<br>
>> "/system/modules/org.opencms.ade.containerpage/resources/containerpage/15C89<br>
>> A0C95792FAC5C3FCC34BC2CBC41.cache.html".<br>
>> at<br>
>> org.opencms.file.CmsDataAccessException.createException(CmsDataAccessExcepti<br>
>> on.java:78)<br>
>> at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:343)<br>
>> at org.opencms.db.CmsDbContext.report(CmsDbContext.java:295)<br>
>> at<br>
>> org.opencms.db.generic.CmsProjectDriver.publishProject(CmsProjectDriver.java<br>
>> :1732)<br>
>> at org.opencms.db.CmsDriverManager.publishJob(CmsDriverManager.java:5880)<br>
>> at org.opencms.publish.CmsPublishThread.run(CmsPublishThread.java:162)<br>
>> Caused by: org.opencms.file.CmsDataAccessException: Unable to read file<br>
>> contents with resource ID "d14b225b-7988-11e0-8c78-b967eb0fb6b8"<br>
>> (online=false).<br>
>> at<br>
>> org.opencms.db.generic.CmsProjectDriver.publishFile(CmsProjectDriver.java:12<br>
>> 45)<br>
>> at<br>
>> org.opencms.db.generic.CmsProjectDriver.publishProject(CmsProjectDriver.java<br>
>> :1700)<br>
>> ... 2 more<br>
>> Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to<br>
>> read<br>
>> file contents with resource ID "d14b225b-7988-11e0-8c78-b967eb0fb6b8"<br>
>> (online=false).<br>
>> at org.opencms.db.generic.CmsVfsDriver.readContent(CmsVfsDriver.java:1682)<br>
>> at<br>
>> org.opencms.db.generic.CmsProjectDriver.publishFileContent(CmsProjectDriver.<br>
>> java:1273)<br>
>> at<br>
>> org.opencms.db.generic.CmsProjectDriver.publishNewFile(CmsProjectDriver.java<br>
>> :3561)<br>
>> at<br>
>> org.opencms.db.generic.CmsProjectDriver.publishFile(CmsProjectDriver.java:12<br>
>> 00)<br>
>> ... 3 more<br>
>> ... the resources have been published<br>
>><br>
>><br>
>> So next, I mark some of the files separately via workplace and try to to<br>
>> publish them, which works for the xsd files, but not for some of the files<br>
>> under<br>
>> /system/modules/org.opencms.ade.containerpage/resources/containerpage/<br>
>><br>
>> I tried restarting Tomcat, but doesn't help.<br>
>><br>
>> Since the xsd files are now published though at least, the site now opens<br>
>> in<br>
>> offline mode as well as online mode.<br>
>><br>
>> The next issue I noticed is with the Template III demo: even though I'm<br>
>> logged in, and the login box for the extranet on the left hand side shows<br>
>> "Logged in as: Admin", it would still show the name/password field below.<br>
>> Is<br>
>> that intentionally? Doesn't look right logically:<br>
>> <a href="http://imageshack.us/photo/my-images/52/screenshot20110512at122.png/" target="_blank">http://imageshack.us/photo/my-images/52/screenshot20110512at122.png/</a><br>
>><br>
>> -----<br>
>> Mathias Lin<br>
>> Skype: mathias.lin<br>
>> <a href="http://www.mathiaslin.com" target="_blank">http://www.mathiaslin.com</a><br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://old.nabble.com/Issues-with-OpenCms-8-on-fresh-install-%28Mac-OS-X%29-" target="_blank">http://old.nabble.com/Issues-with-OpenCms-8-on-fresh-install-%28Mac-OS-X%29-</a><br>
>> tp31599982p31599982.html<br>
>> Sent from the OpenCMS - Dev mailing list archive at Nabble.com.<br>
>><br>
>><br>
>> _______________________________________________<br>
>> This mail is sent to you from the opencms-dev mailing list<br>
>> To change your list options, or to unsubscribe from the list, please visit<br>
>> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
>><br>
>><br>
>> _______________________________________________<br>
>> This mail is sent to you from the opencms-dev mailing list<br>
>> To change your list options, or to unsubscribe from the list, please visit<br>
>> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
>><br>
>><br>
><br>
><br>
> -----<br>
> Mathias Lin<br>
> Skype: mathias.lin<br>
> <a href="http://www.mathiaslin.com" target="_blank">http://www.mathiaslin.com</a><br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</div></div></blockquote></div><br>