cancel
Showing results for 
Search instead for 
Did you mean: 

Tutorial Download/Upload of Excel and other mime types issue

adelh
Champ in-the-making
Champ in-the-making
Hi All,

Here we go, my first post. I really like this software, I was moved by the whitepaper and I'm making people read it at work, just great ideas all around. Wish you the best.

to my question:
I installed the software easy enough using the readme file and was able to log in with admin account as well as create some spaces. I haven't done any specific configuration. Its windows XP, Tomcat 5.5, mysql5. However, I'm getting a few major errors but I have a feeling its something i did.

first of all, I can't uplod anything. I get the following error:

<b>
  Please correct the errors below then click Finish.
A system error happened during the operation: Failed to set content property on stream closure: node: workspace://SpacesStore/06a08ef9-7c04-11da-8e21-7d2104df2917 property: {http://www.alfresco.org/model/content/1.0}content writer: ContentAccessor[ contentUrl=store://2006/1/2/06bacdbb-7c04-11da-8e21-7d2104df2917.bin, mimetype=application/vnd.excel, size=48640, encoding=UTF-8]

</b>

another issue i have is when I try and download the tutorial:

<b>
The node's content is missing:
   node: workspace://SpacesStore/5e564e6f-6b49-11da-a39c-cb73cc66b127
   reader: ContentAccessor[ contentUrl=store://2005/12/12/5e885af0-6b49-11da-a39c-cb73cc66b127.bin, mimetype=application/pdf, size=0, encoding=null] 
Please contact your system administrator.

</b>


when attemting to preview an html document with a template, i get the following error:

<b>
Failed to open stream onto channel: accessor: ContentAccessor[ contentUrl=store://2005/12/12/5ecfeb4e-6b49-11da-a39c-cb73cc66b127.bin, mimetype=text/plain, size=0, encoding=UTF-8]
</b>

or

<b>
IO Error during processing of the template 'workspace://SpacesStore/5ed71745-6b49-11da-a39c-cb73cc66b127'. Please contact your system adminstrator.

</b>
6 REPLIES 6

derek
Star Contributor
Star Contributor
Hi,

Thanks for the vote of confidence.

With regard to the first issue, it would be nice to have the full stack traces.

Was this an upgrade (existing data) or a completely new installation?  Usually this relates to the content being configured to reside in a location different from the default that occurs during an installation.  But given the first problem, I think there may be something more sinister at work.

So, please give full details and traces.  If you would prefer, you could use our JIRA to raise a bug: http://www.alfresco.org/jira.

Regards

adelh
Champ in-the-making
Champ in-the-making
Hi,

Thanks for the vote of confidence.

With regard to the first issue, it would be nice to have the full stack traces.

Was this an upgrade (existing data) or a completely new installation?  Usually this relates to the content being configured to reside in a location different from the default that occurs during an installation.  But given the first problem, I think there may be something more sinister at work.

So, please give full details and traces.  If you would prefer, you could use our JIRA to raise a bug: http://www.alfresco.org/jira.

Regards

Thanks for the reply, here are some answers, hopefully it will narrow down the issue:

1- How can I give you a full stack trace, where is the main log file for the app server? I have tomcat5.
2- this is a complete new installation.
3- you mention that my bug is usually a result of the "the content being configured to reside in a location different from the default", I haven't done anything to any property, just the default setup. Where can I check this to make sure things are normal. Do you have a document you can point me too. The online Wiki help is missing lots of information, I didn't find anything.

Thanks again, I'm new to this product so still picking up things about it. Soon as I get info from you on the loggers, I'll send you the info.


_Adel

derek
Star Contributor
Star Contributor
Hi,

There should be an alfresco.log file in the location that you start your Tomcat from.  If you started your Tomcat from different locations, then there will be multiple of these.

Wherever you start your tomcat from initially, you should edit the post-expanded repository.properties file, which can be found in ${CATALINA_HOME}\webapps\alfresco\WEB-INF\classes\alfresco.  Change the dir.root property to some permanent location.  It is set as a relative path so that people can very quickly download, unzip and run (as per instructions in the README file).  Stop the server and copy the alf_data contents to your new location and restart the server.  Point all new upgrades to this location.

Assuming that you don't have ANY valuable data, I would recommend starting from scratch again.  If you document all the steps you followed along with paths and so on, then we can accurately determine the cause of the error.

I'm sorry that I can't help more.

Regards

adelh
Champ in-the-making
Champ in-the-making
Hi,

There should be an alfresco.log file in the location that you start your Tomcat from.  If you started your Tomcat from different locations, then there will be multiple of these.

Wherever you start your tomcat from initially, you should edit the post-expanded repository.properties file, which can be found in ${CATALINA_HOME}\webapps\alfresco\WEB-INF\classes\alfresco.  Change the dir.root property to some permanent location.  It is set as a relative path so that people can very quickly download, unzip and run (as per instructions in the README file).  Stop the server and copy the alf_data contents to your new location and restart the server.  Point all new upgrades to this location.

Assuming that you don't have ANY valuable data, I would recommend starting from scratch again.  If you document all the steps you followed along with paths and so on, then we can accurately determine the cause of the error.

I'm sorry that I can't help more.

Regards



GREAT, thanks for the data so far. So here is what I have:

my alfresco.log reads:

18:43:22,996 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to execute command: imconvert "E:\servers\alfresco\tomcat\temp\Alfresco\ImageMagickContentTransformer_init_source_56708.gif"  "E:\servers\alfresco\tomcat\temp\Alfresco\ImageMagickContentTransformer_init_target_56709.png"
18:43:25,856 ERROR [org.alfresco.smb.protocol] Error accessing Win32 NetBIOS, check DLL is on the path
18:43:26,121 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Open Source) - v1.1.0; repository v1.1.0



and as far as making changes to file repository.properties:


I see that my local dir.root is set as follows dir.root=./alf_data. and I see data in that dir. Now why is it that I have to change it? why does this fix my problem?



I understand you guys are busy but I can't make sense of the answers and if it does not make sense, I don't want to blindly do anything. so lets start with the log file, which is not showing much!!! 

my Tomcat log has the following errors:
1- 18:34:37,891 ERROR [ui.common.Utils] A system error happened during the operation: Missing classification: {http://www.alfresco.org/model/content/1.0}generalclassifiable
org.alfresco.error.AlfrescoRuntimeException: Missing classification: {http://www.alfresco.org/model/content/1.0}generalclassifiable
   at org.alfresco.repo.search.impl.lucene.LuceneCategoryServiceImpl.createRootCategory(LuceneCategoryServiceImpl.java:291)
   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:585)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:212)
   at $Proxy31.createRootCategory(Unknown Source)
   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:585)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
   at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
2- 18:37:49,344 ERROR [ui.common.Utils] Failed to open stream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2005/12/12/5ecfeb4e-6b49-11da-a39c-cb73cc66b127.bin, mimetype=text/plain, size=0, encoding=UTF-8]
org.alfresco.service.cmr.repository.TemplateException: Failed to open stream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2005/12/12/5ecfeb4e-6b49-11da-a39c-cb73cc66b127.bin, mimetype=text/plain, size=0, encoding=UTF-8]
   at org.alfresco.repo.template.TemplateServiceImpl.processTemplate(TemplateServiceImpl.java:115)
   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:585)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
   at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:32)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:37)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
   at $Proxy50.processTemplate(Unknown Source)
….
Caused by: org.alfresco.service.cmr.repository.ContentIOException: Failed to open stream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2005/12/12/5edbd238-6b49-11da-a39c-cb73cc66b127.bin, mimetype=text/plain, size=0, encoding=UTF-8]
   at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:212)
   at org.alfresco.repo.template.ClassPathRepoTemplateLoader$RepoTemplateSource.getReader(ClassPathRepoTemplateLoader.java:227)
   at org.alfresco.repo.template.ClassPathRepoTemplateLoader.getReader(ClassPathRepoTemplateLoader.java:96)
   at freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:370)
   at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:347)
   at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:229)
   at freemarker.template.Configuration.getTemplate(Configuration.java:439)
   at freemarker.template.Configuration.getTemplate(Configuration.java:404)
   at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:124)
   at org.alfresco.repo.template.TemplateServiceImpl.processTemplate(TemplateServiceImpl.java:107)
   … 61 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: Failed to open file channel: ContentAccessor[ contentUrl=store://2005/12/12/5edbd238-6b49-11da-a39c-cb73cc66b127.bin, mimetype=text/plain, size=0, encoding=UTF-8]
   at org.alfresco.repo.content.filestore.FileContentReader.getDirectReadableChannel(FileContentReader.java:198)
   at org.alfresco.repo.content.AbstractContentReader.getReadableChannel(AbstractContentReader.java:187)
   at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:205)
   … 70 more
Caused by: java.io.IOException: File does not exist
   at org.alfresco.repo.content.filestore.FileContentReader.getDirectReadableChannel(FileContentReader.java:184)
   … 72 more
4- a bunch of this maybe 1000 lines:
Wrote null
Wrote null
Wrote null
Wrote null
Wrote null
Wrote null
Wrote null
Wrote null
and then followed with this:
18:52:24,844 ERROR [ui.common.Utils] A system error happened during the operation: Failed to set content property on stream closure:
   node: workspace://SpacesStore/f7c37a5c-7c03-11da-8e21-7d2104df2917
   property: {http://www.alfresco.org/model/content/1.0}content
   writer: ContentAccessor[ contentUrl=store://2006/1/2/f7e2740e-7c03-11da-8e21-7d2104df2917.bin, mimetype=application/vnd.excel, size=48640, encoding=UTF-8]
org.alfresco.service.cmr.repository.ContentIOException: Failed to set content property on stream closure:
   node: workspace://SpacesStore/f7c37a5c-7c03-11da-8e21-7d2104df2917
   property: {http://www.alfresco.org/model/content/1.0}content
   writer: ContentAccessor[ contentUrl=store://2006/1/2/f7e2740e-7c03-11da-8e21-7d2104df2917.bin, mimetype=application/vnd.excel, size=48640, encoding=UTF-8]
   at org.alfresco.repo.content.RoutingContentService$WriteStreamListener.contentStreamClosed(RoutingContentService.java:378)
   at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel$1.doWork(AbstractContentAccessor.java:264)
   at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:127)
   at org.alfresco.repo.transaction.TransactionUtil.executeInUserTransaction(TransactionUtil.java:72)
   at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel.fireChannelClosed(AbstractContentAccessor.java:269)
   at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel.implCloseChannel(AbstractContentAccessor.java:243)
   at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:97)
   at java.nio.channels.Channels$1.close(Channels.java:138)
   at java.io.FilterOutputStream.close(FilterOutputStream.java:143)
   at org.springframework.util.FileCopyUtils.copy(FileCopyUtils.java:132)
   at org.alfresco.repo.content.AbstractContentWriter.putContent(AbstractContentWriter.java:277)
   at org.alfresco.web.bean.wizard.BaseContentWizard.saveContent(BaseContentWizard.java:197)
   at org.alfresco.web.bean.wizard.AddContentWizard.finish(AddContentWizard.java:105)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at java.lang.Thread.run(Thread.java:595)
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: Failed to parse model
   at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:91)
   at org.alfresco.repo.dictionary.DictionaryModelType.onContentUpdate(DictionaryModelType.java:143)
   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:585)
   at $Proxy3.setProperty(Unknown Source)
   at org.alfresco.repo.content.RoutingContentService$WriteStreamListener.contentStreamClosed(RoutingContentService.java:363)
   … 45 more
Caused by: org.jibx.runtime.JiBXException: Error parsing document (line 1, col 1)
   at org.jibx.runtime.impl.UnmarshallingContext.toStart(UnmarshallingContext.java:525)
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2508)
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2675)
   at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:86)
   … 83 more

5-Wrote null
Wrote null
Wrote null
18:52:39,188 ERROR [ui.common.Utils] A system error happened during the operation: Failed to set content property on stream closure:
   node: workspace://SpacesStore/004dc0e2-7c04-11da-8e21-7d2104df2917
   property: {http://www.alfresco.org/model/content/1.0}content
   writer: ContentAccessor[ contentUrl=store://2006/1/2/0067ffa4-7c04-11da-8e21-7d2104df2917.bin, mimetype=application/vnd.excel, size=48640, encoding=UTF-8]
org.alfresco.service.cmr.repository.ContentIOException: Failed to set content property on stream closure:
   node: workspace://SpacesStore/004dc0e2-7c04-11da-8e21-7d2104df2917
   property: {http://www.alfresco.org/model/content/1.0}content
   writer: ContentAccessor[ contentUrl=store://2006/1/2/0067ffa4-7c04-11da-8e21-7d2104df2917.bin, mimetype=application/vnd.excel, size=48640, encoding=UTF-8]
   at org.alfresco.repo.content.RoutingContentService$WriteStreamListener.contentStreamClosed(RoutingContentService.java:378)
   at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel$1.doWork(AbstractContentAccessor.java:264)
   at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:127)
   at org.alfresco.repo.transaction.TransactionUtil.executeInUserTransaction(TransactionUtil.java:72)
   at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel.fireChannelClosed(AbstractContentAccessor.java:269)
   at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel.implCloseChannel(AbstractContentAccessor.java:243)
   at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:97)
   at java.nio.channels.Channels$1.close(Channels.java:138)
   at java.io.FilterOutputStream.close(FilterOutputStream.java:143)
   at org.springframework.util.FileCopyUtils.copy(FileCopyUtils.java:132)
   at org.alfresco.repo.content.AbstractContentWriter.putContent(AbstractContentWriter.java:277)
   at org.alfresco.web.bean.wizard.BaseContentWizard.saveContent(BaseContentWizard.java:197)
   at org.alfresco.web.bean.wizard.AddContentWizard.finish(AddContentWizard.java:105)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
….
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: Failed to parse model
   at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:91)
   at org.alfresco.repo.dictionary.DictionaryModelType.onContentUpdate(DictionaryModelType.java:143)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
….
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:212)
   at $Proxy3.setProperty(Unknown Source)
   at org.alfresco.repo.content.RoutingContentService$WriteStreamListener.contentStreamClosed(RoutingContentService.java:363)
   … 45 more
Caused by: org.jibx.runtime.JiBXException: Error parsing document (line 1, col 1)
   at org.jibx.runtime.impl.UnmarshallingContext.toStart(UnmarshallingContext.java:525)
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2508)
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2675)
   at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:86)
   … 83 more
Wrote null
Wrote null
Wrote null

6-Wrote null
Wrote null
Wrote null
18:52:49,688 ERROR [ui.common.Utils] A system error happened during the operation: Failed to set content property on stream closure:
   node: workspace://SpacesStore/06a08ef9-7c04-11da-8e21-7d2104df2917
   property: {http://www.alfresco.org/model/content/1.0}content
   writer: ContentAccessor[ contentUrl=store://2006/1/2/06bacdbb-7c04-11da-8e21-7d2104df2917.bin, mimetype=application/vnd.excel, size=48640, encoding=UTF-8]
org.alfresco.service.cmr.repository.ContentIOException: Failed to set content property on stream closure:
   node: workspace://SpacesStore/06a08ef9-7c04-11da-8e21-7d2104df2917
   property: {http://www.alfresco.org/model/content/1.0}content
   writer: ContentAccessor[ contentUrl=store://2006/1/2/06bacdbb-7c04-11da-8e21-7d2104df2917.bin, mimetype=application/vnd.excel, size=48640, encoding=UTF-8]
   at org.alfresco.repo.content.RoutingContentService$WriteStreamListener.contentStreamClosed(RoutingContentService.java:378)
   at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel$1.doWork(AbstractContentAccessor.java:264)
   at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:127)
   at org.alfresco.repo.transaction.TransactionUtil.executeInUserTransaction(TransactionUtil.java:72)
   at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel.fireChannelClosed(AbstractContentAccessor.java:269)
   at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel.implCloseChannel(AbstractContentAccessor.java:243)
   at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:97)
   at java.nio.channels.Channels$1.close(Channels.java:138)
   at java.io.FilterOutputStream.close(FilterOutputStream.java:143)
   at org.springframework.util.FileCopyUtils.copy(FileCopyUtils.java:132)
   at org.alfresco.repo.content.AbstractContentWriter.putContent(AbstractContentWriter.java:277)

Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: Failed to parse model
   at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:91)
   at org.alfresco.repo.dictionary.DictionaryModelType.onContentUpdate(DictionaryModelType.java:143)
   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:585)
   at org.alfresco.repo.policy.JavaBehaviour$JavaMethodInvocationHandler.invoke(JavaBehaviour.java:219)
   at $Proxy41.onContentUpdate(Unknown Source)

   … 45 more
Caused by: org.jibx.runtime.JiBXException: Error parsing document (line 1, col 1)
   at org.jibx.runtime.impl.UnmarshallingContext.toStart(UnmarshallingContext.java:525)
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2508)
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2675)
   at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:86)
   … 83 more

Caused by: org.alfresco.service.cmr.repository.ContentIOException: Failed to open file channel: ContentAccessor[ contentUrl=store://2005/12/12/5ed98846-6b49-11da-a39c-cb73cc66b127.bin, mimetype=text/plain, size=0, encoding=UTF-8]
   at org.alfresco.repo.content.filestore.FileContentReader.getDirectReadableChannel(FileContentReader.java:198)
   at org.alfresco.repo.content.AbstractContentReader.getReadableChannel(AbstractContentReader.java:187)
   at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:205)
   … 68 more
Caused by: java.io.IOException: File does not exist
   at org.alfresco.repo.content.filestore.FileContentReader.getDirectReadableChannel(FileContentReader.java:184)
   … 70 more
21:58:17,907 ERROR [ui.common.Utils] IO Error during processing of the template 'workspace://SpacesStore/5ed71745-6b49-11da-a39c-cb73cc66b127'. Please contact your system adminstrator.
org.alfresco.service.cmr.repository.TemplateException: IO Error during processing of the template 'workspace://SpacesStore/5ed71745-6b49-11da-a39c-cb73cc66b127'. Please contact your system adminstrator.
   at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:144)
   at org.alfresco.repo.template.TemplateServiceImpl.processTemplate(TemplateServiceImpl.java:107)
   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.la

   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.FileNotFoundException: Template workspace://SpacesStore/5ed71745-6b49-11da-a39c-cb73cc66b127 not found.
   at freemarker.template.Configuration.getTemplate(Configuration.java:441)
   at freemarker.template.Configuration.getTemplate(Configuration.java:404)
   at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:124)
   … 60 more


Hopefully this will make it easier to narrow down the issue. If you still think reinstall is the way, i'll do that but I bascially followed the intall notes already

derek
Star Contributor
Star Contributor
Hi,

Thanks for the trace.  The root cause of this particular evil is

Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: Failed to parse model
The system will not be able to do very much in this state as it cannot read the basic Alfresco model.

Firstly, check that the expanded configuration files are present at <CATALINA_HOME>/webapps/alfresco/WEB-INF/classes/alfresco, in particular the model subdirectory.  Tomcat should have expanded the war file automatically and the location >/webapps/alfresco/WEB-INF/classes should be on the classpath of the web application.

Which download bundle are you installing?
Are you able to put the bundle somewhere publicly accessible so that we might download it and see if it is complete?

Regards

steve
Champ in-the-making
Champ in-the-making
Hello,

One other question, does the user that is running Tomcat have permissions on all the relevant directories?

Steve