Como quito los sig errores en Alfresco 5.2.x Comunity

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
yeudiel
Member II

Como quito los sig errores en Alfresco 5.2.x Comunity

Tengo instalado alfresco comunity la ver 5.2.x,las caracteristicas son las sig:

los errores que me marca son los sig: 10.10.203.73:8080  (localhost) in the browser

*Cannot find Alfresco Repository on this server. (Does this application have access to alfresco-global.properties? Does this application have cross-context permissions?)

*10.10.203.73:8080/share

no puedo iniciar secion por nada del mundo y coloco el usuario y contraseña de la instalacion y no medeja accesar me arroga el sig error:

No se han reconocido sus datos de autenticación o puede que Alfresco Content Services no esté disponible en este momento.

(Y mis datos son correctos).

Mi archivo:wqsapi-custom.properties ubicado en (opt/alfresco-community/tomcat/share/classes/alfresco/extension

wcmqs.api.alfresco=http://10.10.203.73:8080/alfresco
wcmqs.api.user=admin
wcmqs.api.password=xxxxx.

SO: RHEL7.3

Java 1.8.0_65u

Tomcat 7.0.x

jdbc driver sqljdbc4-3.0.jar

conexión hacia un servidor Windows server 2016 con SQLSERVER 2016.

Supuestamente el archivo catalina.out del la dir sig : opt/alfresco-community/tomcat/logs, me muestra lo sig: en donde indica que realiza la conexion sin problemas, pero despues marca errores: springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference

jun 11, 2019 4:32:41 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFORMACIÓN: Se encuentra instalada una versión muy vieja 1.2.2 de la biblioteca nativa APR de Apache Tomcat, mientras que Tomcat recomienda una versión mayor de 1.2.8
jun 11, 2019 4:32:41 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFORMACIÓN: Cargada la biblioteca nativa APR de Apache Tomcat 1.2.2 con la versión APR 1.5.2.
jun 11, 2019 4:32:41 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFORMACIÓN: Capacidades APR: IPv6 [true], enviar fichero [true], aceptar filtros [false], aleatorio [true].
jun 11, 2019 4:32:41 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFORMACIÓN: OpenSSL inicializado correctamente (OpenSSL 1.0.1s  1 Mar 2016)
jun 11, 2019 4:32:41 PM org.apache.coyote.AbstractProtocol init
INFORMACIÓN: Initializing ProtocolHandler ["http-apr-8080"]
jun 11, 2019 4:32:41 PM org.apache.coyote.AbstractProtocol init
INFORMACIÓN: Initializing ProtocolHandler ["ajp-apr-8009"]
jun 11, 2019 4:32:41 PM org.apache.coyote.AbstractProtocol init
INFORMACIÓN: Initializing ProtocolHandler ["http-bio-8443"]
jun 11, 2019 4:32:41 PM org.apache.catalina.startup.Catalina load
INFORMACIÓN: Initialization processed in 1047 ms
jun 11, 2019 4:32:41 PM org.apache.catalina.core.StandardService startInternal
INFORMACIÓN: Arrancando servicio Catalina
jun 11, 2019 4:32:41 PM org.apache.catalina.core.StandardEngine startInternal
INFORMACIÓN: Starting Servlet Engine: Apache Tomcat/7.0.x
jun 11, 2019 4:32:41 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFORMACIÓN: Desplieque del descriptor de configuración /opt/alfresco-community/tomcat/conf/Catalina/localhost/alfresco.xml
jun 11, 2019 4:32:51 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
jun 11, 2019 4:32:51 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
jun 11, 2019 4:32:51 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
jun 11, 2019 4:32:51 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
jun 11, 2019 4:32:51 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
jun 11, 2019 4:32:51 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
jun 11, 2019 4:32:51 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
jun 11, 2019 4:32:51 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
jun 11, 2019 4:32:51 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
jun 11, 2019 4:32:51 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
jun 11, 2019 4:32:51 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
jun 11, 2019 4:32:51 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
jun 11, 2019 4:32:51 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
jun 11, 2019 4:32:51 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
jun 11, 2019 4:32:51 PM org.apache.catalina.startup.TldConfig execute
INFORMACIÓN: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLD$
jun 11, 2019 4:32:51 PM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: No Spring WebApplicationInitializer types detected on classpath
jun 11, 2019 4:32:51 PM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: Initializing Spring root WebApplicationContext
2019-06-11 16:32:57,177  INFO  [alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbc:sqlserver://10.10.203.69:1433;DatabaseName=alfresco' with user 'sa
 2019-06-11 16:32:57,192  INFO  [alfresco.repo.admin] [localhost-startStop-1] Connected to database Microsoft SQL Server version 14.00.1000
 2019-06-11 16:32:57,801  WARN  [context.support.XmlWebApplicationContext] [localhost-startStop-1] Exception encountered during context initialization - cancelling ref$
 2019-06-11 16:32:57,805  ERROR [web.context.ContextLoader] [localhost-startStop-1] Context initialization failed
 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.CustomEditorConfigurer#0' defined in $
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:334)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:358)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:157)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1419)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1160)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
        at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1127)
        at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:679)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461).

y  no logro entrar por nada al share: 10.10.203.73:8080/share.

2019-06-11 16:33:07,496 INFO  [org.alfresco.web.config.packaging.ModulePackageManager] [localhost-startStop-1] Found 2 module package(s)
2019-06-11 16:33:07,497 INFO  [org.alfresco.web.config.packaging.ModulePackageManager] [localhost-startStop-1] Alfresco / Google Docs Share Module, 3.0.4, The Share si$
Web Quick Start Share, 5.2.f, Web Quick Start Share Module

2019-06-11 16:33:08,001 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker fo$
2019-06-11 16:33:08,004 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for ex$
2019-06-11 16:33:08,005 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker fo$
2019-06-11 16:33:08,006 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for ex$
2019-06-11 16:33:09,948 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 395 Web Scripts (+0 failed), 413 URLs
2019-06-11 16:33:09,948 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 8 Package Description Documents (+0 fa$
2019-06-11 16:33:09,948 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 fai$
2019-06-11 16:33:10,091 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Surf Container Web Script Contai$
2019-06-11 16:33:10,093 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker fo$
2019-06-11 16:33:10,094 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for ex$

No veo ningun error.

Mi configuracion del archivo alfresco-global.properties:

###############################
## Common Alfresco Properties #
###############################

dir.root=/opt/alfresco-community/alf_data

alfresco.context=alfresco
alfresco.host=10.10.203.73
alfresco.port=8080
alfresco.protocol=http

share.context=share
share.host=10.10.203.73
share.port=8080
share.protocol=http

### database connection properties ###
db.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
db.username=sa
db.password=***********.
db.name=alfresco
db.url=jdbc:sqlserver://10.10.203.69:1433;DatabaseName=alfresco
# Note: your database must also be able to accept at least this many connections.  Please see your database documentation for instructions on how to configure this.
db.txn.isolation=4096
db.pool.max=70
db.pool.validate.query=SELECT 1

# The server mode. Set value here
# UNKNOWN | TEST | BACKUP | PRODUCTION
system.serverMode=UNKNOWN


# The server mode. Set value here
# UNKNOWN | TEST | BACKUP | PRODUCTION
system.serverMode=UNKNOWN

### FTP Server Configuration ###
### FTP Server Configuration ###
ftp.port=21

### RMI registry port for JMX ###
alfresco.rmi.services.port=50500

### External executable locations ###
ooo.exe=/opt/alfresco-community/libreoffice/program/soffice.bin
ooo.enabled=true
ooo.port=8100
img.root=/opt/alfresco-community/common
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert
alfresco-pdf-renderer.root=/opt/alfresco-community/common/alfresco-pdf-renderer
alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer

jodconverter.enabled=false
jodconverter.officeHome=/opt/alfresco-community/libreoffice
jodconverter.portNumbers=8100

### Initial admin password ###
alfresco_user_store.adminpassword=0fb33214765016fd80ebd0ec5ef94380

### E-mail site invitation setting ###
notification.email.siteinvite=false

### License location ###
dir.license.external=/opt/alfresco-community

### Solr indexing ###
index.subsystem.name=solr4
dir.keystore=${dir.root}/keystore
solr.host=localhost
solr.port.ssl=8443

### Allow extended ResultSet processing
security.anyDenyDenies=false

### Smart Folders Config Properties ###
smart.folders.enabled=false

alfresco.jmx.connector.enabled=false

Ya borre los archivos del la carpeta solr4 para que pueda reindexar y nada no puedo acceder al dashboard de alfresco.

4 Replies
angelborroy
Expert

Re: Como quito los sig errores en Alfresco 5.2.x Comunity

Esto suena a error:

ERROR [web.context.ContextLoader] [localhost-startStop-1] Context initialization failed
 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.CustomEditorConfigurer#0' defined in

Probablemente tengas instalado un módulo AMP/JAR que no es compatible con Alfresco 5.2

Software Engineer in Alfresco Search Team.
psantis
Active Member II

Re: Como quito los sig errores en Alfresco 5.2.x Comunity

Hola si veo bien dice que no encuentra el repositorio "*Cannot find Alfresco Repository on this server. (Does this application have access to alfresco-global.properties? Does this application have cross-context permissions?)" 

validaste en el global properties que las rutas esten bien definidas ????

yeudiel
Member II

Re: Como quito los sig errores en Alfresco 5.2.x Comunity

Hola muy buen dia, gracias por la pronta respuesta, efectivamente en global properties, tengo definida la ruta dir.root=/opt/alfresco-community/alf_data, desconozco si se tiene que definir alguna ruta mas, o que archivos son configura-bles para realizar la conexión entre ellos.

yeudiel
Member II

Re: Como quito los sig errores en Alfresco 5.2.x Comunity

Muchas gracias por el apoyo, tendras alguna tabla referente referente a los modulos AMP Y JAR compatibles con alfresco 5.2? de igual manera ese JAR es el driver conector el que va colocado en /opt/alfresco.../tomcat/lib?

Saludos.