cancel
Showing results for 
Search instead for 
Did you mean: 

Error deploying Alfresco 1.4 on top of tomcat

mmarathe
Champ in-the-making
Champ in-the-making
I am getting several errors deploying the enterprise trial license version 1.4 of Alfresco on top of tomcat. Any simple hints would be helpful, thanks.

INFO: Deploying web application archive alfresco.war
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: alfresco.log (Permission denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
.
.
.
log4j:ERROR Either File or DatePattern options are not set for appender [File].
16:10:25,555 ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemInfoBootstrap' defined in class path resource [alfresco/bootstrap-context.xml]:
.
.
.
[alfresco/authentication-services-context.xml]: Can't resolve reference to bean 'authenticationComponentImpl' while setting property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationComponentImpl' defined in class path resource [alfresco/authentication-services-context.xml]:
.
.
.
org.alfresco.service.cmr.repository.ContentIOException: Failed to create store root: ./alf_data/contentstore    at org.alfresco.repo.content.filestore.FileContentStore.<init>(FileContentStore.java:60)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:172)   at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:75)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:670)
.
.
.
16:10:25,561 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
11 REPLIES 11

mmarathe
Champ in-the-making
Champ in-the-making
Thanks Dave,

I will double check that, although I have done that!!.

dschmalz
Champ in-the-making
Champ in-the-making
Thanks Dave,
I wanted to try localizing Alfresco in Japanese. How can I do that? Does it has a different Japanese version or creating a user inside it can change its settings to be localized in Japanese?

For the moment, the user can select on the login page the desired UI Locale. If you're using the Tomcat bundle, the files for Japanese internationalization are already included. You can then follow the indications given in the Wiki:

http://wiki.alfresco.com/wiki/Simple_Customisations#Adding_Languages

Otherwise, just download the Tomcat bundle - unzip - and look for the japanese language pack in alfresco-1.4Preview/tomcat/shared/classes/alfresco/messages folder.
Copy them to your install (same path), apply the changes described in the Wiki (web-client-config-custom.xml is in the shared/classes/alfresco/extension folder)

As far as I know language packs are the ones shipped with the 1.3 version since 1.4 is not final. Therefore, expect some translation items to be missing.

David