Installing Alfresco War on Existing Tomcat -
i managed install alfresco using installer , run using tomcat comes . however, since have existing tomcat 7 installation, i'd run alfresco own tomcat installation.
i getting below error when browsed http://192.168.33.10:8080/
cannot find alfresco repository on server. (does application have access alfresco-global.properties? application have cross-context permissions?)
this alfresco-global.properties
############################### ## common alfresco properties # ############################### dir.root=/home/vagrant/alfresco-community/alf_data alfresco.context=alfresco alfresco.host=127.0.0.1 alfresco.port=8080 alfresco.protocol=http share.context=share share.host=127.0.0.1 share.port=8080 share.protocol=http ### database connection properties ### db.driver=org.postgresql.driver db.username=alfresco db.password=alfresco db.name=alfresco db.url=jdbc:postgresql://localhost/${db.name} # note: database must able accept @ least many connections. please see database documentation instructions on how configure this. db.pool.max=275 db.pool.validate.query=select 1 # server mode. set value here # unknown | test | backup | production system.servermode=unknown ### ftp server configuration ### ftp.port=2121 ### rmi registry port jmx ### alfresco.rmi.services.port=50500 ### external executable locations ### ooo.exe=/home/vagrant/alfresco-community/libreoffice/program/soffice.bin ooo.enabled=true ooo.port=8100 img.root=/home/vagrant/alfresco-community/common img.dyn=${img.root}/lib img.exe=${img.root}/bin/convert alfresco-pdf-renderer.root=/home/vagrant/alfresco-community/common/alfresco-pdf-renderer alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer jodconverter.enabled=false jodconverter.officehome=/home/vagrant/alfresco-community/libreoffice
this how tomcat folder (i not sure if file permission issue)
any on appreciated. thanks!
update
the alfresco.log gave me this
caused by: org.springframework.beans.factory.beancreationexception: error creating bean name 'deletedcontentstore' defined in class path resource [alfresco/content-services-context.xml]: instantiation of bean failed; nested exception org.springframework.beans.beaninstantiationexception: not instantiate bean class [org.alfresco.repo.content.filestore.filecontentstore]: constructor threw exception; nested exception org.alfresco.service.cmr.repository.contentioexception: 06290000 failed create store root: /home/vagrant/alfresco-community/alf_data/contentstore.deleted @ org.springframework.beans.factory.support.constructorresolver.autowireconstructor(constructorresolver.java:285) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.autowireconstructor(abstractautowirecapablebeanfactory.java:1077) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbeaninstance(abstractautowirecapablebeanfactory.java:981) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:487) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:458) @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:293) @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:223) @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:290) @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:191) @ org.springframework.beans.factory.support.beandefinitionvalueresolver.resolvereference(beandefinitionvalueresolver.java:328) ... 100 more caused by: org.springframework.beans.beaninstantiationexception: not instantiate bean class [org.alfresco.repo.content.filestore.filecontentstore]: constructor threw exception; nested exception org.alfresco.service.cmr.repository.contentioexception: 06290000 failed create store root: /home/vagrant/alfresco-community/alf_data/contentstore.deleted @ org.springframework.beans.beanutils.instantiateclass(beanutils.java:163) @ org.springframework.beans.factory.support.simpleinstantiationstrategy.instantiate(simpleinstantiationstrategy.java:121) @ org.springframework.beans.factory.support.constructorresolver.autowireconstructor(constructorresolver.java:277) ... 109 more caused by: org.alfresco.service.cmr.repository.contentioexception: 06290000 failed create store root: /home/vagrant/alfresco-community/alf_data/contentstore.deleted @ org.alfresco.repo.content.filestore.filecontentstore.<init>(filecontentstore.java:119) @ org.alfresco.repo.content.filestore.filecontentstore.<init>(filecontentstore.java:104) @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:62) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:45) @ java.lang.reflect.constructor.newinstance(constructor.java:423) @ org.springframework.beans.beanutils.instantiateclass(beanutils.java:148) ... 111 more [root@localhost tomcat]# 2017-07-29 06:53:23,510 warn [org.alfresco.web.scripts.servlet.x509servletfilterbase] [localhost-startstop-1] clientauth not appear set tomcat. clientauth must set 'want' x509 authentication 2017-07-29 06:53:23,511 warn [org.alfresco.web.scripts.servlet.x509servletfilterbase] [localhost-startstop-1] attempting set clientauth=want through jmx... 2017-07-29 06:53:23,515 warn [org.alfresco.web.scripts.servlet.x509servletfilterbase] [localhost-startstop-1] unable set clientauth=want through jmx. 2017-07-29 06:53:24,010 error [org.apache.solr.core.corecontainer] [coreloadexecutor-5-thread-1] error creating core [collection1]: not load conf core collection1: error loading solr config /home/vagrant/alfresco-community/solr4/collection1/conf/solrconfig.xml org.apache.solr.common.solrexception: not load conf core collection1: error loading solr config /home/vagrant/alfresco-community/solr4/collection1/conf/solrconfig.xml @ org.apache.solr.core.configsetservice.getconfig(configsetservice.java:66) @ org.apache.solr.core.corecontainer.create(corecontainer.java:489) @ org.apache.solr.core.corecontainer$1.call(corecontainer.java:255) @ org.apache.solr.core.corecontainer$1.call(corecontainer.java:249) @ java.util.concurrent.futuretask.run(futuretask.java:266) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1149) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:624) @ java.lang.thread.run(thread.java:748) caused by: org.apache.solr.common.solrexception: error loading solr config /home/vagrant/alfresco-community/solr4/collection1/conf/solrconfig.xml @ org.apache.solr.core.solrconfig.readfromresourceloader(solrconfig.java:154) @ org.apache.solr.core.configsetservice.createsolrconfig(configsetservice.java:80) @ org.apache.solr.core.configsetservice.getconfig(configsetservice.java:61) ... 7 more caused by: java.io.ioexception: can't find resource 'solrconfig.xml' in classpath or '/home/vagrant/alfresco-community/solr4/collection1/conf' @ org.apache.solr.core.solrresourceloader.openresource(solrresourceloader.java:362) @ org.apache.solr.core.solrresourceloader.openconfig(solrresourceloader.java:308) @ org.apache.solr.core.config.<init>(config.java:117) @ org.apache.solr.core.config.<init>(config.java:87) @ org.apache.solr.core.solrconfig.<init>(solrconfig.java:167) @ org.apache.solr.core.solrconfig.readfromresourceloader(solrconfig.java:145) ... 9 more
look @ catalina.properties file in $tomcat_home/conf. make sure have shared class loader defined:
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
once do, make sure alfresco-global.properties file located in $tomcat_home/shared/classes directory.
that file holds dir.root property points alfresco content store. suspect isn't being found why seeing error message.
Comments
Post a Comment