cancel
Showing results for 
Search instead for 
Did you mean: 

trouble getting Alfresco to start

bennerg
Champ in-the-making
Champ in-the-making
HI all,

I've installed Alfresco 3c on centos 5.2, with JDK v6, and no issues during the install. Started Alfresco using the  alf-start.sh script … no issues.

When to the browser, put in http://localhost:8080/alfresco and all I got was a 404 report from Tomcat, "The requested resource (/alfresco/) is not available".

Entering http://localhost:8080/alfresco brings up a login screen, but the default username and password do not work. The message titled "Failed to Login" has the message "The remote server may be unavailable or your identification details have not been recognized".

Entering http://localhost:8080 brings up a blank screen. I would have expected a tomcat default page?

Any ideas?

I found the Tomcat log file catalina.out that had a number of errors which are beyond me: eg.

08:58:52,431  ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.remoting.rmi.RmiServiceExporter' defined in class path resource [alfresco/emailserver/email-service-context.xml]: Invocation of init method failed; nested exception is java.rmi.UnmarshalException: Error unmarshaling return;


08:58:52,434  ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.remoting.rmi.RmiServiceExporter' defined in class path resource [alfresco/emailserver/email-service-context.xml]: Invocation of init method failed; nested exception is java.rmi.UnmarshalException: Error unmarshaling return;


08:58:52,435  ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.remoting.rmi.RmiServiceExporter' defined in class path resource [alfresco/emailserver/email-service-context.xml]: Invocation of init method failed; nested exception is java.rmi.UnmarshalException: Error unmarshaling return;


SEVERE: Error listenerStart
Jan 28, 2009 8:58:52 AM 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.
Jan 28, 2009 8:58:53 AM org.apache.catalina.startup.HostConfig deployWAR


… and then ends ..

INFO: Server startup in 70400 ms




regards

Gary
7 REPLIES 7

pmonks
Star Contributor
Star Contributor
The contents of the alfresco.log file would likely tell us more.  Are you able to post it here (or at least a snippet that captures all of the errors)?

Cheers,
Peter

bennerg
Champ in-the-making
Champ in-the-making
08:58:22,568 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
08:58:49,285 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
08:58:52,431 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.remoting.rmi.RmiServiceExporter' defined in class path resource [alfresco/emailserver/email-service-context.xml]: Invocation of init method failed; nested exception is java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
        java.io.EOFException
Caused by: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
        java.io.EOFException





08:58:52,434 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.remoting.rmi.RmiServiceExporter' defined in class path resource [alfresco/emailserver/email-service-context.xml]: Invocation of init method failed; nested exception is java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
        java.io.EOFException
Caused by: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
        java.io.EOFException
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:227)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)





08:58:52,435 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.remoting.rmi.RmiServiceExporter' defined in class path resource [alfresco/emailserver/email-service-context.xml]: Invocation of init method failed; nested exception is java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
        java.io.EOFException
Caused by: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
        java.io.EOFException
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:227)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)
        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)




thanks in advance,

Gary

atsjzh
Champ in-the-making
Champ in-the-making
Good day
I have exactly the same problem - were you able to resolve it?

andreasg
Champ in-the-making
Champ in-the-making
Hello,

check your "/etc/hosts" file.  After i changed it to this:

project:/opt/Alfresco# cat /etc/hosts

127.0.0.1 localhost
111.11.11.1    project    project.xxxxxx.xxx
 
ist works!

hth
Andreas

sukumarpant
Champ in-the-making
Champ in-the-making
hello all,

hoping for a bounce on this thread. Im facing the Exact same problem.

Im running Alfresco 3.2.0 E on SLES11(virtualized)
The error that I get every time that I start alfresco is
error creating bean with name org.springframework.remoting.rmi.RmiServiceExporter

I have tried everything that I could find as a solution to this problem on the internet but nothing seems to be taking the problem away.

Help!!

mrogers
Star Contributor
Star Contributor
Please post enough of the stack trace to enable us to help.  

And what's SLES11(virtualised)?

Have you changed your hosts file?

sukumarpant
Champ in-the-making
Champ in-the-making
hey mrogers,

sorry for the late reply. I got the issue resolved. It was a problem with the hosts file.

I had changed it before I was getting the error too but I guess I didn't do it properly. Is a problem with running alfresco on virtualized SLES(suse linux enterprise server)?? because I was indeed using the virtualized instance(XEN kernel)