Error al arrancar el servidor alfresco 3.2 RESUELTO

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

Error al arrancar el servidor alfresco 3.2 RESUELTO

Buenos días a todos

Me he descargado alfresco de la web, más concretamente alfresco-community-tomcat-3.2.zip, mi máquina funciona bajo XP, he seguido los pasos indicados en los tutoriales pero me da un error al intentar arrancar el servidor, me dice que no encuentra una clase.

El servidor ataca a una base de datos MySql.

Os dejo aquí el log

[org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/C:/alfresco/tomcat/shared/classes/alfresco-global.properties]
12:53:08,442 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
12:53:36,014 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.jaxws.EndpointImpl–236744988': Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getInputEncoding()Ljava/lang/String;
Caused by: java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getInputEncoding()Ljava/lang/String;
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.ws.commons.schema.utils.DOMUtil.getInputEncoding(DOMUtil.java:602)
   at org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:84)
   at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:424)
   at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:418)
   at org.apache.cxf.common.xmlschema.SchemaCollection.read(SchemaCollection.java:142)
   at org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(AbstractDataBinding.java:93)
   at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:336)
   at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:354)
   at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:514)
   at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:405)
   at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:188)
   at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:164)
   at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:100)
   at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:116)
   at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:168)
   at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:336)
   at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:251)
   at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:201)
   at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:394)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1242)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1208)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:69)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
12:53:39,817 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Refreshing org.alfresco.config.JBossEnabledWebApplicationContext@1316e85: display name [Root WebApplicationContext]; startup date [Wed Jul 08 12:53:39 CEST 2009]; root of context hierarchy
12:53:40,082 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Bean factory for application context [org.alfresco.config.JBossEnabledWebApplicationContext@1316e85]: org.springframework.beans.factory.support.DefaultListableBeanFactory@d39353
12:53:41,780 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 24 Web Scripts (+0 failed), 26 URLs
12:53:41,812 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 426.10614ms)
12:53:42,092 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 42 Web Scripts (+0 failed), 44 URLs
12:53:42,186 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 331.74954ms)
12:53:42,404 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
12:53:46,939 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework

Muchas gracias de antemano
5 Replies
pjcaracuel_2349
Active Member II

Re: Error al arrancar el servidor alfresco 3.2 RESUELTO

Buenas,

Has mirado si puede ser esta la causa? La verdad es que en temas de 3.2 en este foro no hay mucha informacion por ahora.
http://wiki.alfresco.com/wiki/Alfresco_Community_Edition_3.2_Release_Notes
Issue using JDK 1.6.0_0

There is a JAR conflict when using JDK 1.6.0_0 with Alfresco. To work around this issue, add the jaxb-api-2.1.jar file from the alfresco.war \WEB-INF\lib directory to the tomcat\endorsed directory.

This issue is not present in later versions of JDK 1.6.

Saludos
khuzudum
Member II

Re: Error al arrancar el servidor alfresco 3.2 RESUELTO

Muchas gracias por responder tan rápido, voy a probarlo y os comento como me ha ido.
khuzudum
Member II

Re: Error al arrancar el servidor alfresco 3.2 RESUELTO

Ha funcionado perfectamente, muchas gracias por todo   Smiley Very Happy  Smiley Very Happy  Smiley Very Happy  Smiley Very Happy  Smiley Very Happy  :mrgreen:
pjcaracuel_2349
Active Member II

Re: Error al arrancar el servidor alfresco 3.2 RESUELTO

De nada hombre para eso estamos. Por cierto, podias editar el post y añadirle RESUELTO para que los demas sepan que esta ok…

Gracias
rosa_martin
Member II

Re: Error al arrancar el servidor alfresco 3.2 RESUELTO

Hola

Sin dudar de que la solución del fichero jaxb-api-2.1.jar sea buena, una cosa está bastante clara: la versión 3.2 de Alfresco no arranca si se instala en un directorio que tenga blancos en la ruta (en la típica ruta de "C:\Program Files\" por ejemplo, no va a arrancar).

Un saludo