cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Issue

ankurgoel30
Champ in-the-making
Champ in-the-making
Hi I have installed Alfresco Enterprise 4.x (alfresco-enterprise-4.0.1-installer-linux-x64.bin) on Centos-5.6 64 bit using bundle installer.

The installation went fine . However when I open share in my browser  " http://<ip>:8080/share then I get the login screen but it is not accepting the password that I entered in setup wizard.

Also  alfresco.log show following errors:
08:41:39,218 WARN  [org.alfresco.util.AbstractTriggerBean] Job ehCacheTracerJob is not active/enabled
08:41:39,773 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'sysAdmin' subsystem, ID: [sysAdmin, default]
08:41:39,773 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]
08:41:39,785 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'avmRemoteService' defined in class path resource [alfresco/remote-services-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: internal error: ObjID already in use
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        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:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.rmi.server.ExportException: internal error: ObjID already in use
        at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:169)
        at sun.rmi.transport.Transport.exportObject(Transport.java:74)
        at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:229)
        at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
        at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
        at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
        at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92)
        at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:68)
        at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:222)
        at org.springframework.remoting.rmi.RmiServiceExporter.getRegistry(RmiServiceExporter.java:371)
        at org.springframework.remoting.rmi.RmiServiceExporter.getRegistry(RmiServiceExporter.java:336)
        at org.springframework.remoting.rmi.RmiServiceExporter.prepare(RmiServiceExporter.java:268)
        at org.springframework.remoting.rmi.RmiServiceExporter.afterPropertiesSet(RmiServiceExporter.java:229)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
        … 37 more
08:42:46,037 INFO  [org.alfresco.web.site.EditionInterceptor] Unable to retrieve License information from Alfresco: 404

Please let me know what is the problem, and how i can resolve it.
12 REPLIES 12

bisana
Champ on-the-rise
Champ on-the-rise
8:41:39,785 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'avmRemoteService' defined in class path resource [alfresco/remote-services-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: internal error: ObjID already in use
You have another application server or service running, please check on it , if not sure restart the machine and check.
Thanks
Joseph John
Note:- Please use code tag to display the messages, it will be easy to read

ankurgoel30
Champ in-the-making
Champ in-the-making
hi Joseph,

I have done the steps recommended by you. But still I am getting the same error message. I did not found any other application server/service running.

However I noticed following error when I stopped alfresco :
./alfresco.sh stop
Using CATALINA_BASE:   /opt/alfresco-4.0.1/tomcat
Using CATALINA_HOME:   /opt/alfresco-4.0.1/tomcat
Using CATALINA_TMPDIR: /opt/alfresco-4.0.1/tomcat/temp
Using JRE_HOME:        /opt/alfresco-4.0.1/java
Using CLASSPATH:       /opt/alfresco-4.0.1/tomcat/bin/bootstrap.jar
Using CATALINA_PID:    /opt/alfresco-4.0.1/tomcat/temp/catalina.pid
Jun 13, 2012 9:06:11 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/opt/alfresco-4.0.1/tomcat/shared/lib], exists: [false], isDirectory: [false], canRead: [false]

Is the error I am getting is related to this.?

ankurgoel30
Champ in-the-making
Champ in-the-making
Is there anyone to help me ?

mrogers
Star Contributor
Star Contributor
R.E. the object in use     this can also be caused if linux is not configured to resolve its own name - check the contents of your "hosts" file.

myururdurmaz
Champ in-the-making
Champ in-the-making
it's worked for me
thanks

ankurgoel30
Champ in-the-making
Champ in-the-making
Hi mrogers,

Thanks a lot.  The issue was due to wrong entry in my hosts file. I rectified the hosts file and everything went fine.
I was able t reproduce this error by reverting the hosts file entry.

I request you to document the validity of /etc/hosts file in the documentation at
Alfresco 4.0.1 Documentation > Installing > Installing Alfresco Enterprise > Production environment checklist>Validating the environment

Thanks,
Ankur

Can u please post your hosts file or tell us what did u change on it ?

I have the same issue and would be nice to share the solution if somebody fix a problem.

Thanks

Enrico

mrogers
Star Contributor
Star Contributor
Please raise requests to change documentation in JIRA.

iljas
Champ in-the-making
Champ in-the-making
Btw. create an empty directory at ./tomcat/shared/lib to get rid of the error during shutdown.