01-30-2020 07:31 AM
Hi All,
I have problem with my alfresco.
When i try to login i get this error :
2020-01-30 12:16:00,102 INFO [org.alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbc:postgresql://localhost:5432/alfresco' with user 'alfresco'. 2020-01-30 12:16:00,117 INFO [org.alfresco.repo.admin] [localhost-startStop-1] Connected to database PostgreSQL version 9.4.12 2020-01-30 12:16:06,051 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V4.2-metadata-query-indexes 2020-01-30 12:16:06,051 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.1-metadata-query-indexes 2020-01-30 12:16:06,051 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.2-remove-jbpm-tables-from-db 2020-01-30 12:16:14,811 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] 2020-01-30 12:16:15,107 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete 2020-01-30 12:16:19,277 WARN [org.springframework.web.context.support.XmlWebApplicationContext] [localhost-startStop-1] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vtiServer' defined in file [C:\Users\Administrator.BOX\Desktop\AlfrescoNEW\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org.alfresco.module.vti\context\vti-context.xml]: Cannot resolve reference to bean 'vtiRequestDispatcher' while setting bean property 'servlet'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vtiRequestDispatcher' defined in file [C:\Users\Administrator.BOX\Desktop\AlfrescoNEW\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org.alfresco.module.vti\context\vti-context.xml]: Cannot create inner bean 'org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping#5c95314e' of type [org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping] while setting constructor argument with key [7]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping#5c95314e' defined in file [C:\Users\Administrator.BOX\Desktop\AlfrescoNEW\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org.alfresco.module.vti\context\vti-context.xml]: Initialization of bean failed; nested exception is java.lang.VerifyError: class org.alfresco.module.vti.web.fp.LockMethod overrides final method createXMLWriter.()Lorg/dom4j/io/XMLWriter; 2020-01-30 12:16:19,776 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Stopping 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] 2020-01-30 12:16:19,792 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Stopped 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] 2020-01-30 12:16:19,792 ERROR [org.springframework.web.context.ContextLoader] [localhost-startStop-1] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vtiServer' defined in file [C:\Users\Administrator.BOX\Desktop\AlfrescoNEW\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org.alfresco.module.vti\context\vti-context.xml]: Cannot resolve reference to bean 'vtiRequestDispatcher' while setting bean property 'servlet'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vtiRequestDispatcher' defined in file [C:\Users\Administrator.BOX\Desktop\AlfrescoNEW\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org.alfresco.module.vti\context\vti-context.xml]: Cannot create inner bean 'org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping#5c95314e' of type [org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping] while setting constructor argument with key [7]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping#5c95314e' defined in file [C:\Users\Administrator.BOX\Desktop\AlfrescoNEW\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org.alfresco.module.vti\context\vti-context.xml]: Initialization of bean failed; nested exception is java.lang.VerifyError: class org.alfresco.module.vti.web.fp.LockMethod overrides final method createXMLWriter.()Lorg/dom4j/io/XMLWriter; 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.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:191) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:938) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1966) 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.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vtiRequestDispatcher' defined in file [C:\Users\Administrator.BOX\Desktop\AlfrescoNEW\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org.alfresco.module.vti\context\vti-context.xml]: Cannot create inner bean 'org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping#5c95314e' of type [org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping] while setting constructor argument with key [7]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping#5c95314e' defined in file [C:\Users\Administrator.BOX\Desktop\AlfrescoNEW\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org.alfresco.module.vti\context\vti-context.xml]: Initialization of bean failed; nested exception is java.lang.VerifyError: class org.alfresco.module.vti.web.fp.LockMethod overrides final method createXMLWriter.()Lorg/dom4j/io/XMLWriter; at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:287) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122) 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.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:651) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1077) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:981) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) 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:191) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) ... 29 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping#5c95314e' defined in file [C:\Users\Administrator.BOX\Desktop\AlfrescoNEW\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org.alfresco.module.vti\context\vti-context.xml]: Initialization of bean failed; nested exception is java.lang.VerifyError: class org.alfresco.module.vti.web.fp.LockMethod overrides final method createXMLWriter.()Lorg/dom4j/io/XMLWriter; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:276) ... 43 more Caused by: java.lang.VerifyError: class org.alfresco.module.vti.web.fp.LockMethod overrides final method createXMLWriter.()Lorg/dom4j/io/XMLWriter; 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.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:3205) at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:1373) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1861) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735) at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getDeclaredConstructors(Unknown Source) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:231) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1004) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:977) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) 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:191) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) 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) ... 45 more
01-30-2020 08:18 AM
Hi @jgoce91,
In the logs there is
2020-01-30 12:16:19,792 ERROR [org.springframework.web.context.ContextLoader] [localhost-startStop-1] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vtiServer' defined in file
[C:\Users\Administrator.BOX\Desktop\AlfrescoNEW\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org.alfresco.module.vti\context\vti-context.xml]: Cannot resolve reference to bean 'vtiRequestDispatcher' while setting bean property 'servlet'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vtiRequestDispatcher' defined in file [C:\Users\Administrator.BOX\Desktop\AlfrescoNEW\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org.alfresco.module.vti\context\vti-context.xml]: Cannot create inner bean 'org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping#5c95314e' of type [org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping] while setting constructor argument with key [7]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.alfresco.module.vti.web.VtiRequestDispatcher$ActionMapping#5c95314e' defined in file [C:\Users\Administrator.BOX\Desktop\AlfrescoNEW\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\org.alfresco.module.vti\context\vti-context.xml]: Initialization of bean failed; nested exception is java.lang.VerifyError: class org.alfresco.module.vti.web.fp.LockMethod overrides final method createXMLWriter.()Lorg/dom4j/io/XMLWriter;
There are several (old) posts on the forum with similar errors - perhaps these might give you some insight:
https://hub.alfresco.com/t5/forum-archive/connexion-mysql/td-p/250705 - failed to connect to the database.
https://hub.alfresco.com/t5/ecm-archive/error-page-after-install/m-p/246107 - database related
Good luck
01-30-2020 08:49 AM
I guess you're upgrading your Alfresco server.
VTI module was replaced by AOS from Alfresco 5.
So you need to uninstall the VTI Module and to install the AOS one for your upgrade:
https://docs.alfresco.com/aos/concepts/aos-intro.html
01-30-2020 09:35 AM
I did not upgrade my alfresco i just instaled aos module and since then the i cannot login 😕
01-30-2020 09:44 AM
What version of Alfresco and what version of AOS are you using?
Explore our Alfresco products with the links below. Use labels to filter content by product module.