Muy buenos dias !!!!! desde ya agradezco la ayuda que me puedan brindar. En esta ocasión, estoy necesitando definir un aspecto personalizado y no lo estoy logrando, paso a dar detalles.
Tengo tres modelos personalizados definidos (funcionando correctamente), cada uno en su archivo xml correspondiente:
XML | Espacio de nombre | TypeName |
---|---|---|
boletinModel.xml | <namespace uri="boletin.model" prefix="boletin" /> | boletin:documento |
revistaModel.xml | <namespace uri="revista.model" prefix="revista" /> | revista:documento |
soinModel.xml | <namespace uri="soin.model" prefix="soin" /> | soin:documento |
Estos modelos corresponden a distintos tipos de documentos que usamos en nuestra organizacion. Ahora la idea seria definir un aspecto para marcar los que son publicados dentro de un portal.
Para esto quería definir un aspecto, llamo publicable y que tenga dos propiedades:
1) Fecha de Publicación
2) Publico (para definir si es accesible sin login dentro del portal)
Ahora si, les cuento lo que hice (lo cual no funciona):
1) cree un nuevo archivo xml, llamado publicableModel.XML, cuyo contenido es el siguiente:
<?xml version="1.0" encoding="UTF-8"?>
<model name="soin:model" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!-- ABM DE METADATOS -->
<description>Ascpecto Publicable</description>
<author>DSIC</author>
<version>1.0</version>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" />
</imports>
<namespaces>
<namespace uri="publicable.model" prefix="publicable" />
</namespaces>
<aspects>
<aspect name="colescba::publicable">
<title>Colescba Publicable</title>
<properties>
<property name="Fecha">
<type>d:date</type>
</property>
<property name="Publico">
<type>d:boolean</type>
<default>false</default>
</property>
</properties>
</aspect>
</aspects>
</model>
Luego modifique el archivo share-custom-config.xml , para poder manejar dentro de share dicho aspecto:
1) Agregue el aspecto para que sea visible:
<aspects>
<!-- Aspects that a user can see -->
<visible>
<aspect name="cm:generalclassifiable" />
<aspect name="cm:complianceable" />
<aspect name="cm:dublincore" />
<aspect name="cm:effectivity" />
<aspect name="cm:summarizable" />
<aspect name="cm:versionable" />
<aspect name="cm:templatable" />
<aspect name="cm:emailed" />
<aspect name="emailserver:aliasable" />
<aspect name="cm:taggable" />
<aspect name="app:inlineeditable" />
<aspect name="cm:geographic" />
<aspect name="exif:exif" />
<aspect name="audio:audio" />
<aspect name="cm:indexControl" />
<aspect name="dp:restrictable" />
<aspect name="smf:customConfigSmartFolder" />
<aspect name="smf:systemConfigSmartFolder" />
<aspect name="colescba:publicable" />
</visible>
Lo agregue dentro de la definicion como el resto de los modelos:
<!-- DEFINICION DE MODELOS PROPIOS -->
<types>
<type name="cm:content">
<subtype name="boletin:documento" />
</type>
<type name="cm:content">
<subtype name="revista:documento" />
</type>
<type name="cm:content">
<subtype name="soin:documento" />
</type>
<type name="cm:content">
<subtype name="publicable:documento" />
</type>
<!-- FIN DEFINICION DE MODELOS PROPIOS -->
Lo agregue como opción para crear contenido con el:
<create-content>
<content id="boletin" mimetype="text/xml" label="Boletin Informativo" itemid="boletin:documento"/>
<content id="revista" mimetype="text/xml" label="Revista Notarial" itemid="revista:documento"/>
<content id="soin" mimetype="text/xml" label="SOIN" itemid="soin:documento"/>
<content id="soin" mimetype="text/xml" label="SOIN" itemid="publicable:documento"/>
</create-content>
Por ultimo cree el formulario para busqueda:
<config evaluator="node-type" condition="publicable:documento">
<forms>
<form id="search">
<field-visibility>
<show id="publicable:Fecha" />
<show id="publicable:publico" />
</field-visibility>
</form>
</forms>
</config>
Al reiniciar Alfresco, logre que en Share me aparezca el aspecto, pero el error surge a la hora de querer hacer que un documento cuente con dicho aspecto, dejo la captura del error:
En esta imagen podemos visualizar que el aspecto existe:
Y en esta imagen, podemos visualizar el error que me devuelve (luego del error no queda asignado el aspecto):
Espero que esta información sea útil para que puedan ayudarme, desde ya muchas gracias, saludos.
Nelson
Solved! Go to Solution.
Si no te ha dado error, es porque no está cargando el XML de modelo. Quizá olvidaste incluirlo en el bean de Spring "dictionaryBootstrap".
Son bastante más útiles las trazas de log que los pantallazos...
Has definido mal el modelo, seguramente en el catalina.out está saliendo un mensaje para indicártelo.
Según lo que indicas, sería algo así:
<?xml version="1.0" encoding="UTF-8"?>
<model name="publicable:model" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!-- ABM DE METADATOS -->
<description>Ascpecto Publicable</description>
<author>DSIC</author>
<version>1.0</version>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" />
</imports>
<namespaces>
<namespace uri="publicable.model" prefix="publicable" />
</namespaces>
<aspects>
<aspect name="publicable:publicable">
<title>Colescba Publicable</title>
<properties>
<property name="publicable:Fecha">
<type>d:date</type>
</property>
<property name="publicable:Publico">
<type>d:boolean</type>
<default>false</default>
</property>
</properties>
</aspect>
</aspects>
</model>
Quizá quieres utilizar el Gestor de Modelos si no tienes soltura definiendo modelos, al menos para crear el XML inicial sobre el que trabajar.
Angel: Muy buenos dias / Tardes. Desde ya agradezco tu respuesta. Te cuento que verifique el log antes de generar la pregunta en el foro, y en el mismo no vi nada quye me pueda ayudar (por lo menos desde mi conocimiento, ya que en cuando defini los modelos tiempo atras esos errores si los podia ver en catalina.out, en este caso no es asi), de todos modos te ajunto el log completo del ultimo booteo, y luego de realizar una prueba:
ene 21, 2019 12:14:21 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
ene 21, 2019 12:14:21 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.
ene 21, 2019 12:14:21 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFORMACIÓN: Capacidades APR: IPv6 [true], enviar fichero [true], aceptar filtros [false], aleatorio [true].
ene 21, 2019 12:14:21 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFORMACIÓN: OpenSSL inicializado correctamente (OpenSSL 1.0.1s 1 Mar 2016)
ene 21, 2019 12:14:21 PM org.apache.coyote.AbstractProtocol init
INFORMACIÓN: Initializing ProtocolHandler ["http-apr-8080"]
ene 21, 2019 12:14:21 PM org.apache.coyote.AbstractProtocol init
INFORMACIÓN: Initializing ProtocolHandler ["ajp-apr-8009"]
ene 21, 2019 12:14:21 PM org.apache.coyote.AbstractProtocol init
INFORMACIÓN: Initializing ProtocolHandler ["http-bio-8443"]
ene 21, 2019 12:14:21 PM org.apache.catalina.startup.Catalina load
INFORMACIÓN: Initialization processed in 444 ms
ene 21, 2019 12:14:21 PM org.apache.catalina.core.StandardService startInternal
INFORMACIÓN: Arrancando servicio Catalina
ene 21, 2019 12:14:21 PM org.apache.catalina.core.StandardEngine startInternal
INFORMACIÓN: Starting Servlet Engine: Apache Tomcat/7.0.x
ene 21, 2019 12:14:21 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFORMACIÓN: Desplieque del descriptor de configuración /opt/alfresco-community/tomcat/conf/Catalina/localhost/alfresco.xml
ene 21, 2019 12:14:27 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
ene 21, 2019 12:14:27 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
ene 21, 2019 12:14:27 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
ene 21, 2019 12:14:27 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
ene 21, 2019 12:14:27 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
ene 21, 2019 12:14:27 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
ene 21, 2019 12:14:27 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
ene 21, 2019 12:14:27 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
ene 21, 2019 12:14:27 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
ene 21, 2019 12:14:27 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
ene 21, 2019 12:14:27 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
ene 21, 2019 12:14:27 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
ene 21, 2019 12:14:27 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
ene 21, 2019 12:14:27 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
ene 21, 2019 12:14:27 PM org.apache.catalina.startup.TaglibUriRule body
INFORMACIÓN: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
ene 21, 2019 12:14:27 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 TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
ene 21, 2019 12:14:27 PM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: No Spring WebApplicationInitializer types detected on classpath
ene 21, 2019 12:14:28 PM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: Initializing Spring root WebApplicationContext
2019-01-21 12:14:30,959 INFO [alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbcostgresql://localhost/alfresco' with user 'alfresco'.
2019-01-21 12:14:30,960 INFO [alfresco.repo.admin] [localhost-startStop-1] Connected to database PostgreSQL version 10.6 (Ubuntu 10.6-0ubuntu0.18.04.1)
2019-01-21 12:14:34,211 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V4.2-metadata-query-indexes
2019-01-21 12:14:34,211 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.1-metadata-query-indexes
2019-01-21 12:14:34,211 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.2-remove-jbpm-tables-from-db
2019-01-21 12:14:38,586 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2019-01-21 12:14:38,741 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
2019-01-21 12:14:40,584 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor Repository Template Processor for extension ftl
2019-01-21 12:14:40,585 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor Repository Script Processor for extension js
2019-01-21 12:14:42,377 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted]
2019-01-21 12:14:42,416 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted] complete
2019-01-21 12:14:42,450 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Connecting to database: jdbcostgresql://localhost/alfresco, UserName=alfresco, PostgreSQL Native Driver
2019-01-21 12:14:42,450 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema managed by database dialect org.hibernate.dialect.PostgreSQLDialect.
2019-01-21 12:14:42,571 INFO [domain.schema.SchemaBootstrap] [localhost-startStop-1] No changes were made to the schema.
2019-01-21 12:14:43,329 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
2019-01-21 12:14:43,435 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
2019-01-21 12:14:43,435 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
2019-01-21 12:14:43,719 WARN [alfresco.util.OpenOfficeConnectionTester] [localhost-startStop-1] An initial OpenOffice connection could not be established.
2019-01-21 12:14:43,721 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
2019-01-21 12:14:43,725 INFO [repo.admin.ConfigurationChecker] [localhost-startStop-1] The root data directory ('dir.root') is: /opt/alfresco-community/alf_data
2019-01-21 12:14:43,729 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Search' subsystem, ID: [Search, managed, solr4]
2019-01-21 12:14:43,980 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Search' subsystem, ID: [Search, managed, solr4] complete
2019-01-21 12:14:43,998 INFO [admin.patch.PatchExecuter] [localhost-startStop-1] Checking for patches to apply ...
2019-01-21 12:14:44,339 INFO [admin.patch.PatchExecuter] [localhost-startStop-1] No patches were required.
2019-01-21 12:14:44,359 INFO [repo.module.ModuleServiceImpl] [localhost-startStop-1] Found 6 module package(s).
2019-01-21 12:14:44,413 INFO [repo.module.ModuleServiceImpl] [localhost-startStop-1] Starting module 'alfresco-aos-module' version 1.1.6.
2019-01-21 12:14:44,425 INFO [repo.module.ModuleServiceImpl] [localhost-startStop-1] Starting module 'org.alfresco.integrations.google.docs' version 3.0.4.
2019-01-21 12:14:44,437 INFO [repo.module.ModuleServiceImpl] [localhost-startStop-1] Starting module 'uploader-plus-surf' version 1.6.1801311724.
2019-01-21 12:14:44,449 INFO [repo.module.ModuleServiceImpl] [localhost-startStop-1] Starting module 'uploader-plus-repo' version 1.6.1801311724.
2019-01-21 12:14:44,461 INFO [repo.module.ModuleServiceImpl] [localhost-startStop-1] Starting module 'alfresco-share-services' version 5.2.0.
2019-01-21 12:14:44,474 INFO [repo.module.ModuleServiceImpl] [localhost-startStop-1] Starting module 'alfresco-trashcan-cleaner' version 2.2.
2019-01-21 12:14:44,479 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'fileServers' subsystem, ID: [fileServers, default]
2019-01-21 12:14:44,779 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
2019-01-21 12:14:44,797 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
2019-01-21 12:14:44,836 WARN [org.alfresco.fileserver] [localhost-startStop-1] CIFS, Unable to get local domain/workgroup name, using default of WORKGROUP. This may be due to firewall settings or incorrect <broadcast> setting)
2019-01-21 12:14:44,844 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
2019-01-21 12:14:44,844 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'imap' subsystem, ID: [imap, default]
2019-01-21 12:14:44,949 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'imap' subsystem, ID: [imap, default] complete
2019-01-21 12:14:44,949 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'email' subsystem, ID: [email, outbound]
2019-01-21 12:14:45,150 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'email' subsystem, ID: [email, outbound] complete
2019-01-21 12:14:45,150 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'email' subsystem, ID: [email, inbound]
2019-01-21 12:14:45,193 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'email' subsystem, ID: [email, inbound] complete
2019-01-21 12:14:45,193 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Subscriptions' subsystem, ID: [Subscriptions, default]
2019-01-21 12:14:45,210 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Subscriptions' subsystem, ID: [Subscriptions, default] complete
2019-01-21 12:14:45,228 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
2019-01-21 12:14:45,318 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
2019-01-21 12:14:45,334 INFO [service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco JVM - v1.8.0_131-b11; maximum heap size 990,750MB
2019-01-21 12:14:45,334 INFO [service.descriptor.DescriptorService] [localhost-startStop-1] Server Mode :UNKNOWN
2019-01-21 12:14:45,336 INFO [service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco Content Services started (Community). Current version: 5.2.0 (re21f2be5-b22) schema 10.057. Originally installed version: 5.2.0 (re21f2be5-b22) schema 10.057.
2019-01-21 12:14:45,350 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2019-01-21 12:14:45,564 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
2019-01-21 12:14:45,564 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Replication' subsystem, ID: [Replication, default]
2019-01-21 12:14:45,591 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Replication' subsystem, ID: [Replication, default] complete
2019-01-21 12:14:46,855 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'googledocs' subsystem, ID: [googledocs, drive]
2019-01-21 12:14:46,941 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'googledocs' subsystem, ID: [googledocs, drive] complete
2019-01-21 12:14:48,988 INFO [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 413 Web Scripts (+0 failed), 561 URLs
2019-01-21 12:14:48,989 INFO [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 1 Package Description Documents (+0 failed)
2019-01-21 12:14:48,989 INFO [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed)
2019-01-21 12:14:50,070 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 413 Web Scripts (+0 failed), 561 URLs
2019-01-21 12:14:50,071 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 1 Package Description Documents (+0 failed)
2019-01-21 12:14:50,071 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed)
2019-01-21 12:14:50,074 INFO [extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Repository Web Script Container (in 3100.3054ms)
2019-01-21 12:14:50,085 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2019-01-21 12:14:50,087 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2019-01-21 12:14:51,143 INFO [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 413 Web Scripts (+0 failed), 561 URLs
2019-01-21 12:14:51,143 INFO [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 1 Package Description Documents (+0 failed)
2019-01-21 12:14:51,143 INFO [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed)
2019-01-21 12:14:51,181 INFO [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 13 Web Scripts (+0 failed), 102 URLs
2019-01-21 12:14:51,182 INFO [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Package Description Documents (+0 failed)
2019-01-21 12:14:51,182 INFO [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed)
2019-01-21 12:14:51,262 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 13 Web Scripts (+0 failed), 102 URLs
2019-01-21 12:14:51,262 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Package Description Documents (+0 failed)
2019-01-21 12:14:51,262 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed)
2019-01-21 12:14:51,266 INFO [extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Public Api Web Script Container (in 1140.9614ms)
2019-01-21 12:14:51,307 INFO [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 13 Web Scripts (+0 failed), 102 URLs
2019-01-21 12:14:51,307 INFO [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Package Description Documents (+0 failed)
2019-01-21 12:14:51,307 INFO [extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed)
ene 21, 2019 12:14:54 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFORMACIÓN: Deployment of configuration descriptor /opt/alfresco-community/tomcat/conf/Catalina/localhost/alfresco.xml has finished in 32.430 ms
ene 21, 2019 12:14:54 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFORMACIÓN: Desplieque del descriptor de configuración /opt/alfresco-community/tomcat/conf/Catalina/localhost/solr4.xml
ene 21, 2019 12:14:54 PM org.apache.catalina.startup.SetContextPropertiesRule begin
ADVERTENCIA: [SetContextPropertiesRule]{Context} Setting property 'debug' to '0' did not find a matching property.
ene 21, 2019 12:14:56 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 TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
ene 21, 2019 12:14:56 PM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: No Spring WebApplicationInitializer types detected on classpath
2019-01-21 12:14:58,991 INFO [solr.component.AsyncBuildSuggestComponent] [coreLoadExecutor-5-thread-1] Initializing SuggestComponent
2019-01-21 12:14:58,991 INFO [solr.component.AsyncBuildSuggestComponent] [coreLoadExecutor-5-thread-2] Initializing SuggestComponent
2019-01-21 12:14:59,105 INFO [solr.component.AsyncBuildSuggestComponent] [Suggestor-alfresco-1] Loading suggester index for: shingleBasedSuggestions
ene 21, 2019 12:14:59 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFORMACIÓN: Deployment of configuration descriptor /opt/alfresco-community/tomcat/conf/Catalina/localhost/solr4.xml has finished in 5.017 ms
ene 21, 2019 12:14:59 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFORMACIÓN: Desplieque del descriptor de configuración /opt/alfresco-community/tomcat/conf/Catalina/localhost/share.xml
2019-01-21 12:15:01,451 INFO [solr.component.AsyncBuildSuggestComponent] [Suggestor-alfresco-1] Loaded suggester shingleBasedSuggestions, took 2345 ms
ene 21, 2019 12:15:01 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 TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
ene 21, 2019 12:15:01 PM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: No Spring WebApplicationInitializer types detected on classpath
ene 21, 2019 12:15:01 PM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: Initializing Spring root WebApplicationContext
2019-01-21 12:15:05,387 INFO [config.packaging.ModulePackageManager] [localhost-startStop-1] Found 1 module package(s)
2019-01-21 12:15:05,388 INFO [config.packaging.ModulePackageManager] [localhost-startStop-1] Alfresco / Google Docs Share Module, 3.0.4, The Share side artifacts of the Alfresco / Google Docs Integration.
2019-01-21 12:15:05,601 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2019-01-21 12:15:05,604 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2019-01-21 12:15:05,604 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2019-01-21 12:15:05,605 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2019-01-21 12:15:06,728 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 393 Web Scripts (+0 failed), 411 URLs
2019-01-21 12:15:06,728 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 8 Package Description Documents (+0 failed)
2019-01-21 12:15:06,728 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed)
2019-01-21 12:15:06,787 INFO [extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Surf Container Web Script Container (in 1173.6858ms)
2019-01-21 12:15:06,789 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2019-01-21 12:15:06,789 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
ene 21, 2019 12:15:06 PM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
ene 21, 2019 12:15:06 PM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: Initializing Spring FrameworkServlet 'Spring Surf Dispatcher Servlet'
ene 21, 2019 12:15:06 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFORMACIÓN: Deployment of configuration descriptor /opt/alfresco-community/tomcat/conf/Catalina/localhost/share.xml has finished in 7.837 ms
ene 21, 2019 12:15:06 PM org.apache.catalina.startup.HostConfig deployWAR
INFORMACIÓN: Despliegue del archivo /opt/alfresco-community/tomcat/webapps/_vti_bin.war de la aplicación web
ene 21, 2019 12:15:07 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 TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
ene 21, 2019 12:15:07 PM org.apache.catalina.startup.HostConfig deployWAR
INFORMACIÓN: Deployment of web application archive /opt/alfresco-community/tomcat/webapps/_vti_bin.war has finished in 80 ms
ene 21, 2019 12:15:07 PM org.apache.catalina.startup.HostConfig deployWAR
INFORMACIÓN: Despliegue del archivo /opt/alfresco-community/tomcat/webapps/ROOT.war de la aplicación web
ene 21, 2019 12:15:07 PM org.apache.catalina.startup.SetContextPropertiesRule begin
ADVERTENCIA: [SetContextPropertiesRule]{Context} Setting property 'debug' to '100' did not find a matching property.
ene 21, 2019 12:15:07 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 TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
ene 21, 2019 12:15:07 PM org.apache.catalina.startup.HostConfig deployWAR
INFORMACIÓN: Deployment of web application archive /opt/alfresco-community/tomcat/webapps/ROOT.war has finished in 49 ms
ene 21, 2019 12:15:07 PM org.apache.catalina.startup.HostConfig deployDirectory
INFORMACIÓN: Despliegue del directorio /opt/alfresco-community/tomcat/webapps/host-manager de la aplicación web
ene 21, 2019 12:15:07 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 TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
ene 21, 2019 12:15:07 PM org.apache.catalina.startup.HostConfig deployDirectory
INFORMACIÓN: Deployment of web application directory /opt/alfresco-community/tomcat/webapps/host-manager has finished in 140 ms
ene 21, 2019 12:15:07 PM org.apache.catalina.startup.HostConfig deployDirectory
INFORMACIÓN: Despliegue del directorio /opt/alfresco-community/tomcat/webapps/manager de la aplicación web
ene 21, 2019 12:15:07 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 TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
ene 21, 2019 12:15:07 PM org.apache.catalina.startup.HostConfig deployDirectory
INFORMACIÓN: Deployment of web application directory /opt/alfresco-community/tomcat/webapps/manager has finished in 49 ms
ene 21, 2019 12:15:07 PM org.apache.coyote.AbstractProtocol start
INFORMACIÓN: Starting ProtocolHandler ["http-apr-8080"]
ene 21, 2019 12:15:07 PM org.apache.coyote.AbstractProtocol start
INFORMACIÓN: Starting ProtocolHandler ["ajp-apr-8009"]
ene 21, 2019 12:15:07 PM org.apache.coyote.AbstractProtocol start
INFORMACIÓN: Starting ProtocolHandler ["http-bio-8443"]
ene 21, 2019 12:15:07 PM org.apache.catalina.startup.Catalina start
INFORMACIÓN: Server startup in 45707 ms
2019-01-21 12:16:00,222 WARN [alfresco.util.OpenOfficeConnectionTester] [DefaultScheduler_Worker-4] Error trying to query Open Office version information. OpenOffice.org's ConfigurationRegistry not implemented in this version of OOo. This should not affect the operation of OOo.
2019-01-21 12:16:00,223 INFO [alfresco.util.OpenOfficeConnectionTester] [DefaultScheduler_Worker-4] The OpenOffice connection was re-established.
2019-01-21 12:16:26,421 INFO [web.site.EditionInterceptor] [http-apr-8080-exec-1] Successfully retrieved license information from Alfresco.
2019-01-21 12:16:46,230 INFO [web.scripts.ImapServerStatus] [http-apr-8080-exec-10] Successfully retrieved IMAP server status from Alfresco: disabled
2019-01-21 12:17:02,281 INFO [web.scripts.DictionaryQuery] [http-apr-8080-exec-3] Successfully retrieved Data Dictionary from Alfresco.
2019-01-21 12:17:13,282 INFO [web.scripts.QuickShareStatus] [http-apr-8080-exec-11] Successfully retrieved quick share information from Alfresco.
2019-01-21 12:17:13,379 INFO [management.subsystems.ChildApplicationContextFactory] [http-apr-8080-exec-8] Starting 'Transformers' subsystem, ID: [Transformers, default]
2019-01-21 12:17:13,592 INFO [management.subsystems.ChildApplicationContextFactory] [http-apr-8080-exec-8] Startup of 'Transformers' subsystem, ID: [Transformers, default] complete
Por otro lado, te cuento que realice la modificación propuesta por vos, y si gue fallando. Y te consulto, generando los aspectos con el generador de modelos, donde almacena los archivos xml ???????
Realizandolo con el gestor de modelos me funciono ok, el problema que me surge de esto es que no se donde se ubican los archivos XML que se forman con esta herramienta, ya que en la ruta:
/opt/alfresco-community/tomcat/shared/classes/alfresco/extension
No los veo (que es donde yo cree los archivos xml de cada uno de mis modelos)......
Cuando utilizas el Gestor de Modelos, los XML se almacenan en "Diccionario de Datos > Modelos", con aspecto oculto.
Lo que te sugería es que creases la base del modelo con el Gestor de Modelos y después lo exportases (puedes descargarlo desde la propia pantalla) para seguir trabajando en él. Así podrás desplegarlo de la misma manera que los demás.
Si no te ha dado error, es porque no está cargando el XML de modelo. Quizá olvidaste incluirlo en el bean de Spring "dictionaryBootstrap".
Angel:
Muchas gracias una vez mas, tal cual supusiste me había olvidado de definirlo en el spring.... Esto me paso por que hacia tiempo que no lo hacia.... Te pido disculpas por las molestias ocasionadas.
En el modelo para "Aspecto Publicable" veo en la linea 21 dos veces doble puntos, pero no en los otros modelos.
<aspect name="colescba::publicable">
Esto funciona?
No, eso no funciona. Es un error tipográfico.
Discussions about Alfresco Content Services and Alfresco Process Services in Spanish
Related:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.