cancel
Showing results for 
Search instead for 
Did you mean: 

installation issue alfresco labs 3C

mattiasm
Champ in-the-making
Champ in-the-making
Hi,

I just installed Alfresco labs 3c Full setup. Followed the instructions (http://wiki.alfresco.com/wiki/Installing_Labs_3 ) and the installations was without errors. I clicked in the start menu on "Start Alfresco Server" and waited until the tomcat said:  INFO: server startup in 273734 ms. Then I select alfresco web client in the start menu, my IE browser opens with the message :

HTTP Status 404 - /alfresco/

——————————————————————————–

type Status report

message /alfresco/

description The requested resource (/alfresco/) is not available.


——————————————————————————–

Apache Tomcat/5.5.23

When I start the Alfresco Share, I get the login page but I cannot login with the username: admin and password : admin. The message here is :

Failed to login the Remote server may be unavailable or your authentication details have not been recognized.

How could this be resolved ? If you need anymore information please ask.

Awaiting your help,

kr,

Mattias
5 REPLIES 5

norgan
Champ in-the-making
Champ in-the-making
Hi matthias,
1) Labs 3c is not the most current version. 3.2 is preferable
2) the share Login page is always there, when the applicationserver could start and deploy the share.war. Logging in is the first interaction test, showing you, if alfresco.war is "here"
3) Do a proper research please! Check the logfiles for error messages.
a) <alfresco_home>\alfresco.log
b) tomcat\logs\catalina.out
c) jboss … dont know … bueller ?

Probable causes,
* prior java process did not quit correctly
* database settings are incorrect
* database was not set up

Norgan

mikeh
Star Contributor
Star Contributor
Awaiting your help
Awaiting your alfreosco.log file  :wink:

Mike

mattiasm
Champ in-the-making
Champ in-the-making
Hi,

Just installed the 3.2 version.

the logfiles of the last session:

a) Alfresco

13:32:48,383 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
13:32:48,389 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
13:32:48,389 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco-global.properties]
13:32:48,642 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:33:27,476 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource [META-INF/cxf/cxf.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw exception; nested exception is java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Alfresco/tomcat/webapps/alfresco/WEB-INF/lib/jaxb-impl-2.1.7.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw exception; nested exception is java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Alfresco/tomcat/webapps/alfresco/WEB-INF/lib/jaxb-impl-2.1.7.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
Caused by: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Alfresco/tomcat/webapps/alfresco/WEB-INF/lib/jaxb-impl-2.1.7.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
   at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:173)
   at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422)
   at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
   at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
   at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)
   at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:188)
   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:597)
   at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:132)
   at javax.xml.bind.ContextFinder.find(ContextFinder.java:286)
   at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
   at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)
   at org.apache.cxf.wsdl.JAXBExtensionHelper.createJAXBContext(JAXBExtensionHelper.java:183)
   at org.apache.cxf.wsdl.JAXBExtensionHelper.getJAXBContext(JAXBExtensionHelper.java:170)
   at org.apache.cxf.wsdl.JAXBExtensionHelper.addExtensions(JAXBExtensionHelper.java:155)
   at org.apache.cxf.wsdl.JAXBExtensionHelper.addExtensions(JAXBExtensionHelper.java:86)
   at org.apache.cxf.wsdl11.WSDLManagerImpl.registerInitialExtensions(WSDLManagerImpl.java:241)
   at org.apache.cxf.wsdl11.WSDLManagerImpl.registerInitialExtensions(WSDLManagerImpl.java:221)
   at org.apache.cxf.wsdl11.WSDLManagerImpl.<init>(WSDLManagerImpl.java:110)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
   at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
   at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:757)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:722)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
   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:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
13:33:36,483 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Refreshing org.alfresco.config.JBossEnabledWebApplicationContext@1f12af8: display name [Root WebApplicationContext]; startup date [Thu Jul 30 13:33:36 CEST 2009]; root of context hierarchy
13:33:37,438 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Bean factory for application context [org.alfresco.config.JBossEnabledWebApplicationContext@1f12af8]: org.springframework.beans.factory.support.DefaultListableBeanFactory@974631
13:33:40,927 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 24 Web Scripts (+0 failed), 26 URLs
13:33:40,972 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 699.7113ms)
13:33:41,341 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 42 Web Scripts (+0 failed), 44 URLs
13:33:41,387 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 389.2947ms)
13:33:41,676 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
13:33:52,110 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
13:37:06,641 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework[

b) Tomcat :

30-jul-2009 13:31:19 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
30-jul-2009 13:31:19 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1665 ms
30-jul-2009 13:31:19 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
30-jul-2009 13:31:19 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
30-jul-2009 13:32:32 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
30-jul-2009 13:33:27 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
30-jul-2009 13:33:27 org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
30-jul-2009 13:33:33 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive mobile.war
30-jul-2009 13:33:41 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
30-jul-2009 13:33:52 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive studio.war
30-jul-2009 13:37:10 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
30-jul-2009 13:37:10 org.apache.catalina.startup.Catalina start
INFO: Server startup in 350967 ms

c) didn't find the log file. Where to find ?

thanks for helping,

Mattias

mrogers
Star Contributor
Star Contributor
Your error is already well covered in these forums. 

Either use a more up to date JVM or add the jaxb library as the message says.

mattiasm
Champ in-the-making
Champ in-the-making
Ok,

I just added the jaxb-api-2.1.jar file from the alfresco.war \WEB-INF\lib directory to the tomcat\endorsed directory and it works !!!

Now I can start playing …