gianlhs
(usa Fedora)
Enviado em 07/01/2014 - 17:46h
Boa tarde galera.
Estou tentando utilizar o Alfresco, fiz a instalação da ferramenta de N formas diferentes, seguindo N fóruns e sites e nenhum deu certo. A instalação simples ou a instalação personalizada sempre dão o mesmo erro. Atualmente tenho a ferramenta instalada num servidor CentOS 6.5 usando como base de dados o Mysql.
Sempre que tento acessar o endereço http://localhost:8080/alfresco ou http://localhost:8080/share encontro a mensagem
HTTP Status 404 - /alfresco type Status report message /alfresco description The requested resource is not available. Apache Tomcat/7.0.42
Imagino q pra ajudar vão me pedir os logs, segue abaixo:
catalina.out (Peguei o final do arquivo pra não estender muito o tópico)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.service.modelobject' defined in URL [jar:file:/opt/alfresco/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.0-SNAPSHOT.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Cannot resolve reference to bean 'webframework.service.objectpersistence' while setting bean property 'objectPersistenceService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.service.objectpersistence' defined in URL [jar:file:/opt/alfresco/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.0-SNAPSHOT.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Cannot resolve reference to bean 'webframework.service.persister' while setting bean property 'persisterService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.service.persister' defined in URL [jar:file:/opt/alfresco/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.0-SNAPSHOT.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
... 49 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.service.objectpersistence' defined in URL [jar:file:/opt/alfresco/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.0-SNAPSHOT.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Cannot resolve reference to bean 'webframework.service.persister' while setting bean property 'persisterService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.service.persister' defined in URL [jar:file:/opt/alfresco/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.0-SNAPSHOT.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
... 59 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webframework.service.persister' defined in URL [jar:file:/opt/alfresco/tomcat/webapps/share/WEB-INF/lib/spring-surf-1.2.0-SNAPSHOT.jar!/org/springframework/extensions/surf/spring-surf-services-context.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
... 69 more
Caused by: java.lang.ExceptionInInitializerError
at org.springframework.extensions.surf.ModelHelper.newGUID(ModelHelper.java:166)
at org.springframework.extensions.surf.persister.ReadOnlyStoreObjectPersister.loadObjectAndDependants(ReadOnlyStoreObjectPersister.java:677)
at org.springframework.extensions.surf.persister.ReadOnlyStoreObjectPersister.getObjectByPath(ReadOnlyStoreObjectPersister.java:610)
at org.springframework.extensions.surf.persister.ReadOnlyStoreObjectPersister.init(ReadOnlyStoreObjectPersister.java:405)
at org.springframework.extensions.surf.persister.MultiObjectPersister.init(MultiObjectPersister.java:460)
at org.springframework.extensions.surf.persister.PersisterService.init(PersisterService.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
... 76 more
Caused by: java.lang.IllegalStateException: java.net.UnknownHostException: centOSGed2: centOSGed2: Nome ou serviço desconhecido
at org.springframework.extensions.webscripts.GUID.<clinit>(GUID.java:57)
... 89 more
Caused by: java.net.UnknownHostException: centOSGed2: centOSGed2: Nome ou serviço desconhecido
at java.net.InetAddress.getLocalHost(InetAddress.java:1466)
at org.springframework.extensions.webscripts.GUID.<clinit>(GUID.java:53)
... 89 more
Caused by: java.net.UnknownHostException: centOSGed2: Nome ou serviço desconhecido
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:894)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286)
at java.net.InetAddress.getLocalHost(InetAddress.java:1462)
... 90 more
alfresco.log está vazio (literalmente vazio).
alfresco-global.properties
dir.root=/opt/alfresco/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.gjt.mm.mysql.Driver
db.username=alfresco
db.password=password
db.name=alfresco
#db.host=127.0.0.1
db.url=jdbc:mysql://localhost/alfresco?useUnicode=yes&characterEncoding=UTF-8
### FTP Server Configuration ###
ftp.enabled=true
ftp.port=21
### RMI service ports ###
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0
### External executable locations ###
ooo.exe=/opt/alfresco/libreoffice/program/soffice.bin
ooo.enabled=true
ooo.port=8100
img.root=/opt/alfresco/common
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert
swf.exe=/opt/alfresco/common/bin/pdf2swf
swf.languagedir=/opt/alfresco/common/japanese
jodconverter.enabled=false
jodconverter.officeHome=/opt/alfresco/libreoffice
jodconverter.portNumbers=8100
### Initial admin password ###
alfresco_user_store.adminpassword=8846f7eaee8fb117ad06bdd830b7586c
### E-mail site invitation setting ###
notification.email.siteinvite=false
### License location ###
dir.license.external=/opt/alfresco
### Solr indexing ###
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
solr.port.ssl=8443
### BPM Engine ###
system.workflow.engine.jbpm.enabled=false
Eu me certifiquei de colocar o conector do mysql no diretório tomcat/lib.
Qualquer ajuda é bem vinda!
Vlw