AnsweredAssumed Answered

Instalação Alfresco - Novato

Question asked by nelsinho on Nov 10, 2009
Latest reply on Jan 20, 2010 by ivo.costa
Boa noite,

sou novato no Alfresco. Hoje ao tentar instalar a versão completa para Windows obtive o erro que coloco abaixo. Não sei como resolver uma vez que me aparece a mensagem que o server está a correr mas quando tento aceder ao "share" ou mesmo ao "alfresco" dá-me que o recurso não está disponivel.

10/Nov/2009 20:16:42 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
10/Nov/2009 20:16:42 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 606 ms
10/Nov/2009 20:16:43 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
10/Nov/2009 20:16:43 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
10/Nov/2009 20:16:44 org.apache.catalina.core.StandardContext addApplicationList
ener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is
already configured for this context. The duplicate definition has been ignored.
20:16:49,218  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properti
es file from class path resource [alfresco/repository.properties]
20:16:49,218  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properti
es file from class path resource [alfresco/domain/transaction.properties]
20:16:49,218  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properti
es file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco-global.proper
ties]
20:16:49,296  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading
properties file from class path resource [alfresco/alfresco-shared.properties]
20:17:04,953  ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name 'org.apache.cxf.jaxws.EndpointImpl–471921894': Invocation of init method
failed; nested exception is javax.xml.ws.WebServiceException: java.lang.NullPoi
nterException
Caused by: javax.xml.ws.WebServiceException: java.lang.NullPointerException
        at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:267)
        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(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:589)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1242)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1208)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:427)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:249)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.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.refres
h(AbstractApplicationContext.java:352)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:189)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:49)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(Context
LoaderListener.java:69)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
342)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
va:627)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
ava: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(Lifecycl
eSupport.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:5
16)
        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(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:589)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.NullPointerException
        at com.sun.xml.bind.v2.model.impl.PropertyInfoImpl.calcXmlName(PropertyI
nfoImpl.java:287)
        at com.sun.xml.bind.v2.model.impl.PropertyInfoImpl.calcXmlName(PropertyI
nfoImpl.java:260)
        at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl.getTypes(Eleme
ntPropertyInfoImpl.java:100)
        at com.sun.xml.bind.v2.model.impl.RuntimeElementPropertyInfoImpl.getType
s(RuntimeElementPropertyInfoImpl.java:50)
        at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.size(Element
PropertyInfoImpl.java:42)
        at java.util.AbstractList$Itr.hasNext(AbstractList.java:341)
        at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder
.java:139)
        at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Runti
meModelBuilder.java:49)
        at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Runti
meModelBuilder.java:41)
        at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.
java:189)
        at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.
java:204)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl$1.run(JAXBContextImpl.jav
a:343)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl$1.run(JAXBContextImpl.jav
a:340)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContex
tImpl.java:340)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.ja
va:204)
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:
76)
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:
55)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:589)
        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:368)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
        at org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContextAndSchemas(JAXBD
ataBinding.java:526)
        at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:2
77)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServ
iceFromClass(ReflectionServiceFactoryBean.java:354)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFrom
Class(JaxWsServiceFactoryBean.java:514)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializ
eServiceModel(ReflectionServiceFactoryBean.java:405)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Re
flectionServiceFactoryBean.java:188)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServ
iceFactoryBean.java:164)
        at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoi
nt(AbstractWSDLBasedEndpointFactory.java:100)
        at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.ja
va:116)
        at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactory
Bean.java:168)
        at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:336)
        at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:251)
        … 44 more
10/Nov/2009 20:17:04 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
10/Nov/2009 20:17:04 org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class
reloading, using NOPLoggerRepository.
10/Nov/2009 20:17:06 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive mobile.war
20:17:08,250  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Fram
ework
10/Nov/2009 20:17:08 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
20:17:10,921  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Fram
ework
10/Nov/2009 20:17:11 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
10/Nov/2009 20:17:11 org.apache.catalina.startup.Catalina start
INFO: Server startup in 28371 ms

No log detecto logo o seguinte problema:
10/Nov/2009 20:16:44 org.apache.catalina.core.StandardContext addApplicationList
ener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is
already configured for this context. The duplicate definition has been ignored.

e depois aparecem os seguintes:
20:17:04,953  ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name 'org.apache.cxf.jaxws.EndpointImpl–471921894': Invocation of init method
failed; nested exception is javax.xml.ws.WebServiceException: java.lang.NullPoi
nterException

SEVERE: Error listenerStart
10/Nov/2009 20:17:04 org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class
reloading, using NOPLoggerRepository.

Peço desculpa pelo longo texto mas já esgotei todas as minhas possibilidades para tentar resolver o problema.

Fico a aguardar as vossas respostas

NG

Outcomes