Problem migrate extension from Alfresco3 to Alfresco 4

cancel
Showing results for 
Search instead for 
Did you mean: 
magarcia_sm
Active Member II

Problem migrate extension from Alfresco3 to Alfresco 4

Hi there
I have the following problem when I try to expand in "Alfresco 4" a custom code we created for  a version for "Alfresco 3". The AMP generation and AMP installation works fine. The Dev enviroment seems to be set correctly for Alfresco 4 as we also use the SDK for 4.2.f.

When I deploy Alfresco in tomcat I get the following problems which I need to make the changes necessary and  fix them.
Any idea where to get started or where the problem may come?

Thank you very much!


2015-06-11 16:51:09 Commons Daemon procrun stderr initialized
jun 11, 2015 4:51:11 PM org.apache.catalina.core.AprLifecycleListener init
INFORMACIÓN: Cargada la biblioteca nativa APR de Apache Tomcat 1.1.29 con la versión APR 1.4.8.
jun 11, 2015 4:51:11 PM org.apache.catalina.core.AprLifecycleListener init
INFORMACIÓN: Capacidades APR: IPv6 [true], enviar fichero [true], aceptar filtros [false], aleatorio [true].
jun 11, 2015 4:51:12 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFORMACIÓN: OpenSSL inicializado correctamente (OpenSSL 1.0.1e 11 Feb 2013)
jun 11, 2015 4:51:12 PM org.apache.coyote.AbstractProtocol init
INFORMACIÓN: Initializing ProtocolHandler ["http-apr-8081"]
jun 11, 2015 4:51:12 PM org.apache.coyote.AbstractProtocol init
INFORMACIÓN: Initializing ProtocolHandler ["ajp-apr-8010"]
jun 11, 2015 4:51:12 PM org.apache.coyote.AbstractProtocol init
INFORMACIÓN: Initializing ProtocolHandler ["http-bio-8444"]
jun 11, 2015 4:51:12 PM org.apache.catalina.startup.Catalina load
INFORMACIÓN: Initialization processed in 2205 ms
jun 11, 2015 4:51:12 PM org.apache.catalina.core.StandardService startInternal
INFORMACIÓN: Arrancando servicio Catalina
jun 11, 2015 4:51:12 PM org.apache.catalina.core.StandardEngine startInternal
INFORMACIÓN: Starting Servlet Engine: Apache Tomcat/7.0.52
jun 11, 2015 4:51:12 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFORMACIÓN: Desplieque del descriptor de configuración D:\Alfresco4\tomcat\conf\Catalina\localhost\solr.xml
jun 11, 2015 4:51:12 PM org.apache.catalina.startup.SetContextPropertiesRule begin
ADVERTENCIA: [SetContextPropertiesRule]{Context} Setting property 'debug' to '0' did not find a matching property.
jun 11, 2015 4:51:23 PM org.apache.catalina.startup.HostConfig deployWAR
INFORMACIÓN: Despliegue del archivo D:\Alfresco4\tomcat\webapps\alfresco.war de la aplicación web
jun 11, 2015 4:53:30 PM org.apache.catalina.core.StandardContext startInternal
GRAVE: Error listenerStart
jun 11, 2015 4:53:31 PM org.apache.catalina.core.StandardContext startInternal
GRAVE: Falló en arranque del Contexto [/alfresco] debido a errores previos
jun 11, 2015 4:53:31 PM org.apache.catalina.startup.HostConfig deployWAR
INFORMACIÓN: Despliegue del archivo D:\Alfresco4\tomcat\webapps\share.war de la aplicación web
jun 11, 2015 4:53:58 PM org.apache.catalina.startup.HostConfig deployDirectory
INFORMACIÓN: Despliegue del directorio D:\Alfresco4\tomcat\webapps\host-manager de la aplicación web
jun 11, 2015 4:53:58 PM org.apache.catalina.startup.HostConfig deployDirectory
INFORMACIÓN: Despliegue del directorio D:\Alfresco4\tomcat\webapps\manager de la aplicación web
jun 11, 2015 4:53:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFORMACIÓN: Despliegue del directorio D:\Alfresco4\tomcat\webapps\ROOT de la aplicación web
jun 11, 2015 4:53:59 PM org.apache.coyote.AbstractProtocol start
INFORMACIÓN: Starting ProtocolHandler ["http-apr-8081"]
jun 11, 2015 4:53:59 PM org.apache.coyote.AbstractProtocol start
INFORMACIÓN: Starting ProtocolHandler ["ajp-apr-8010"]
jun 11, 2015 4:53:59 PM org.apache.coyote.AbstractProtocol start
INFORMACIÓN: Starting ProtocolHandler ["http-bio-8444"]
jun 11, 2015 4:53:59 PM org.apache.catalina.startup.Catalina start
INFORMACIÓN: Server startup in 166421 ms
n(FacesConfigurator.java:774)
   at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:296)
   at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:82)
   at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:65)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.alfresco.web.ui.common.component.SelfRenderingComponent
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
   … 29 more

jun 11, 2015 4:52:46 PM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: Initializing Spring root WebApplicationContext
jun 11, 2015 4:53:19 PM org.apache.catalina.core.StandardContext listenerStart
GRAVE: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.alfresco.web.app.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'siteService_permissionBootstrap' defined in class path resource [alfresco/site-services-context.xml]: Invocation of init method failed; nested exception is org.alfresco.repo.security.permissions.impl.model.PermissionModelException: 05110000 Couldn't obtain DTD schema to validate permission model.
   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.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: org.alfresco.repo.security.permissions.impl.model.PermissionModelException: 05110000 Couldn't obtain DTD schema to validate permission model.
   at org.alfresco.repo.security.permissions.impl.model.PermissionModel.createDocument(PermissionModel.java:1313)
   at org.alfresco.repo.security.permissions.impl.model.PermissionModel.addPermissionModel(PermissionModel.java:1212)
   at org.alfresco.repo.security.permissions.impl.model.PermissionModelBootstrap.init(PermissionModelBootstrap.java:60)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   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)
   … 26 more

jun 11, 2015 4:53:19 PM org.apache.catalina.core.StandardContext listenerStart
GRAVE: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.alfresco.web.app.ContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'siteService_permissionBootstrap' defined in class path resource [alfresco/site-services-context.xml]: Invocation of init method failed; nested exception is org.alfresco.repo.security.permissions.impl.model.PermissionModelException: 05110000 Couldn't obtain DTD schema to validate permission model.
   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.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: org.alfresco.repo.security.permissions.impl.model.PermissionModelException: 05110000 Couldn't obtain DTD schema to validate permission model.
   at org.alfresco.repo.security.permissions.impl.model.PermissionModel.createDocument(PermissionModel.java:1313)
   at org.alfresco.repo.security.permissions.impl.model.PermissionModel.addPermissionModel(PermissionModel.java:1212)
   at org.alfresco.repo.security.permissions.impl.model.PermissionModelBootstrap.init(PermissionModelBootstrap.java:60)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   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)
   … 26 more

jun 11, 2015 4:53:19 PM org.apache.catalina.core.StandardContext listenerStart
GRAVE: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.alfresco.repo.webdav.WebDAVSessionListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'siteService_permissionBootstrap' defined in class path resource [alfresco/site-services-context.xml]: Invocation of init method failed; nested exception is org.alfresco.repo.security.permissions.impl.model.PermissionModelException: 05110000 Couldn't obtain DTD schema to validate permission model.
   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.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: org.alfresco.repo.security.permissions.impl.model.PermissionModelException: 05110000 Couldn't obtain DTD schema to validate permission model.
   at org.alfresco.repo.security.permissions.impl.model.PermissionModel.createDocument(PermissionModel.java:1313)
   at org.alfresco.repo.security.permissions.impl.model.PermissionModel.addPermissionModel(PermissionModel.java:1212)
   at org.alfresco.repo.security.permissions.impl.model.PermissionModelBootstrap.init(PermissionModelBootstrap.java:60)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   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)
   … 26 more

jun 11, 2015 4:53:19 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFORMACIÓN: WSSERVLET12: JAX-WS context listener initializing
jun 11, 2015 4:53:30 PM com.sun.xml.ws.transport.http.servlet.WSServletDelegate <init>
INFORMACIÓN: WSSERVLET14: JAX-WS servlet initializing
jun 11, 2015 4:53:30 PM org.apache.catalina.core.StandardContext listenerStart
GRAVE: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.apache.myfaces.webapp.StartupServletContextListener
java.lang.NoClassDefFoundError: org/alfresco/web/ui/common/component/SelfRenderingComponent
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2944)
   at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1208)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1688)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Unknown Source)
   at org.apache.myfaces.shared_impl.util.ClassUtils.classForName(ClassUtils.java:132)
   at org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(ClassUtils.java:158)
   at org.apache.myfaces.application.ApplicationImpl.addComponent(ApplicationImpl.java:272)
   at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:774)
   at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:296)
   at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:82)
   at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:65)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4971)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.alfresco.web.ui.common.component.SelfRenderingComponent
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
   … 29 more

jun 11, 2015 4:53:31 PM com.sun.xml.ws.transport.http.servlet.WSServletDelegate destroy
INFORMACIÓN: WSSERVLET15: JAX-WS servlet destroyed
jun 11, 2015 4:53:31 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextDestroyed
INFORMACIÓN: WSSERVLET13: JAX-WS context listener destroyed
jun 11, 2015 4:53:31 PM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: Closing Spring root WebApplicationContext
jun 11, 2015 4:53:31 PM org.apache.catalina.core.ApplicationContext log
INFORMACIÓN: Shutting down log4j

6 Replies
cristinamr
Advanced

Re: Problem migrate extension from Alfresco3 to Alfresco 4

Could you please attach the alfresco.log?


PermissionModelException: 05110000 Couldn't obtain DTD schema to validate permission model.

I would suggest that you have a problem with the permissionDefinition.xml but I need to check the alfresco.log in order to get more details.

Thanks in advance!

Cristina.
--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc
magarcia_sm
Active Member II

Re: Problem migrate extension from Alfresco3 to Alfresco 4

Hi Cristina

thanks a lot for your answer. Let me pass you our log file.

Cheers
cristinamr
Advanced

Re: Problem migrate extension from Alfresco3 to Alfresco 4

margarcia_sm: Paso al español que veo que lo hablas y a veces es más sencillo comunicarse en el idioma nativo Smiley Happy 
En esa migración que estas haciendo: Tienes extendido el permissionDefinition.xml con roles personalizados? Definitivamente van por ahí los tiros. Respondeme y te digo qué haría yo.
--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc
cristinamr
Advanced

Re: Problem migrate extension from Alfresco3 to Alfresco 4

Puedes probar esto el último comentario que hay en este hilo, pinta también que pueda ser ese tu problema.

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc
magarcia_sm
Active Member II

Re: Problem migrate extension from Alfresco3 to Alfresco 4

Hola Cristina

si tengo los permisos extendidos en el  archivo vPermissionDefinitions.xml que he metido en el proyecto Eclipse en source/alfresco.extension.

Básicamente he añadido dos tipos de permisos.
En el archivo service-context.xml también tengo


<bean id='permissionsModelDAO' class="org.alfresco.repo.security.permissions.impl.model.PermissionModel">
        <property name="model">
            <value>alfresco/extension/vPermissionDefinitions.xml</value>
        </property>
        <property name="nodeService">
            <ref bean="nodeService" />
        </property>
        <property name="dictionaryService">
            <ref bean="dictionaryService" />
        </property>
    </bean> 


Pero al pasar nuestro código de 3.0 a 4.0 nos da este error. También hemos intentado solucionarlo con este post
https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/installation-upgra...
pero sigue saliendo el error.

¿Que sugerirías tu?

Gracias


magarcia_sm
Active Member II

Re: Problem migrate extension from Alfresco3 to Alfresco 4

Hola Cristina

Perdona que haya tardado tanto tiempo en responder a este hilo. Lo habíamos dejado aparcado, pero ahora lo hemos vuelto a retomar. Lo que estamos intentando es pasar una extensión que teníamos en alfresco 3.0 a 4.2.e. Estamos migrando el modelo de permisos, y con el cambio que nos has sugerido, el problema que nos daba se ha solucionado, pero nos sale uno nuevo que no tenemos ni idea de por donde mirar

Te paso los ficheros de definición del nuevo modelo de permisos, donde estamos añadiendo dos nuevos modelos "Veritas" y "VeritasRemove", y el fichero service-context.xml. Además te incluyo el error que nos da, por si te puede valer de algo.

Ya nos comentas, te lo agradezco un montón.