cancel
Showing results for 
Search instead for 
Did you mean: 

Can't seem to get Alfresco to start...

nshenry03
Champ in-the-making
Champ in-the-making
New, fresh install of Alfresco (alfresco-community-war-3.3g.tar.gz) on JBoss 4 (jboss-4.2.3.GA)

nsh_1234@test:~$ lsb_release -d
Description:    Ubuntu 10.04.4 LTS

nsh_1234@test:~$ uname -m
i686

I think either this:

19:03:47,577 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'fileServers' subsystem, ID: [fileServers, default]
19:04:17,636 ERROR [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ChildApplicationContext] Exception thrown from ApplicationListener handling ContextClosedEvent
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'shutdownBackstop': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)

or this:

19:04:17,684 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]
19:04:17,704 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.remoting.rmi.RmiServiceExporter#0' defined in file [/opt/jboss-4.2.3.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/subsystems/email/InboundS...]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: internal error: ObjID already in use

is the issue. Google searches turn up a couple of results of users with similar issues; however, none seem to have any kind of resolution that I can find…  Any help or suggestions would be appreciated for what to try next…

Full[er] log below (I can paste the full log or turn up debugging or whatever anyone thinks will help):

nsh_1234@test:~$ fgrep -C15 ERROR log/alfresco.log
19:03:05,819 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
19:03:05,821 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
19:03:05,821 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/opt/jboss-4.2.3.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/module/tests/alfresco-glo...]
19:03:05,822 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/opt/jboss-4.2.3.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/module/test/alfresco-glob...]
19:03:05,822 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/opt/jboss-4.2.3.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco-global.properties]
19:03:05,914 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
19:03:21,707 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
19:03:21,711 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
19:03:28,573 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
19:03:30,152 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
19:03:31,139 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
19:03:31,180 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
19:03:31,203 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
19:03:33,556 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
19:03:33,568 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
19:03:33,681 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformerWorker] ImageMagickContentTransformerWorker not available: 01290000 Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    [./ImageMagick/bin/convert, /tmp/Alfresco/ImageMagickContentTransformerWorker_init_source_6711616723833157448.gif[0], /tmp/Alfresco/ImageMagickContentTransformerWorker_init_target_7415098816755816884.png]
   succeeded:  false
   exit code:  1
   out:
   err:        Cannot run program "./ImageMagick/bin/convert": java.io.IOException: error=2, No such file or directory
19:03:33,717 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker] Failed to start a runtime executable content transformer:
Execution result:
   os:         Linux
   command:    [./bin/pdf2swf, -V]
   succeeded:  false
   exit code:  1
   out:
   err:        Cannot run program "./bin/pdf2swf": java.io.IOException: error=2, No such file or directory
19:03:33,721 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
19:03:33,722 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
19:03:33,745 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
19:03:34,108 ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
   os:         Linux
   command:    [soffice, -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager, -env:UserInstallation=file:///var/www/nsh_1234/data/oouser, -nologo, -headless, -nofirststartwizard, -nocrashrep, -norestore]
   succeeded:  false
   exit code:  2
   out:
   err:        Cannot run program "soffice": java.io.IOException: error=2, No such file or directory
19:03:34,242 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
19:03:34,277 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
19:03:38,820 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /var/www/nsh_1234/data
19:03:40,246 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
19:03:41,065 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
19:03:41,143 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
19:03:41,171 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [fileServers, default]
19:03:41,187 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
19:03:41,659 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
19:03:41,689 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
19:03:41,820 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
19:03:46,846 ERROR [org.alfresco.fileserver] Failed to get local domain/workgroup name, using default of WORKGROUP
19:03:46,847 ERROR [org.alfresco.fileserver] (This may be due to firewall settings or incorrect <broadcast> setting)
19:03:46,931 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
19:03:46,931 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [imap, default]
19:03:46,933 ERROR [org.alfresco.fileserver] [FTP] FTP Socket error : java.net.BindException: Permission denied
19:03:47,014 ERROR [org.alfresco.fileserver] java.net.BindException: Permission denied
19:03:47,015 ERROR [org.alfresco.fileserver]    at java.net.PlainSocketImpl.socketBind(Native Method)
19:03:47,015 ERROR [org.alfresco.fileserver]    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
19:03:47,015 ERROR [org.alfresco.fileserver]    at java.net.ServerSocket.bind(ServerSocket.java:319)
19:03:47,015 ERROR [org.alfresco.fileserver]    at java.net.ServerSocket.<init>(ServerSocket.java:185)
19:03:47,016 ERROR [org.alfresco.fileserver]    at java.net.ServerSocket.<init>(ServerSocket.java:141)
19:03:47,016 ERROR [org.alfresco.fileserver]    at org.alfresco.jlan.ftp.FTPServer.run(FTPServer.java:555)
19:03:47,016 ERROR [org.alfresco.fileserver]    at java.lang.Thread.run(Thread.java:619)
19:03:47,016 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
19:03:47,080 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [imap, default] complete
19:03:47,080 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, outbound]
19:03:47,089 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
19:03:47,159 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, outbound] complete
19:03:47,159 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, inbound]
19:03:47,169 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
19:03:47,224 WARN  [org.springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'blockedSenders' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.email.server.EmailServer.setBlockedSenders(java.util.List)]: [public void org.alfresco.email.server.EmailServer.setBlockedSenders(java.lang.String)]
19:03:47,225 WARN  [org.springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'allowedSenders' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.email.server.EmailServer.setAllowedSenders(java.util.List)]: [public void org.alfresco.email.server.EmailServer.setAllowedSenders(java.lang.String)]
19:03:47,577 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'fileServers' subsystem, ID: [fileServers, default]
19:04:17,636 ERROR [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ChildApplicationContext] Exception thrown from ApplicationListener handling ContextClosedEvent
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'shutdownBackstop': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:209)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(AbstractApplicationEventMulticaster.java:132)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:86)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:296)
        at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:943)
        at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:917)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.stop(ChildApplicationContextFactory.java:642)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.stop(AbstractPropertyBackedBean.java:485)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.destroy(AbstractPropertyBackedBean.java:357)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory.destroy(ChildApplicationContextFactory.java:327)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.destroy(AbstractPropertyBackedBean.java:342)

        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:619)
19:04:17,649 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'fileServers' subsystem, ID: [fileServers, default]
19:04:17,652 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'OOoDirect' subsystem, ID: [OOoDirect, default]
19:04:17,654 ERROR [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ChildApplicationContext] Exception thrown from ApplicationListener handling ContextClosedEvent
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'shutdownBackstop': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:209)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(AbstractApplicationEventMulticaster.java:132)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:86)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:296)
        at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:943)
        at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:917)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.stop(ChildApplicationContextFactory.java:642)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.stop(AbstractPropertyBackedBean.java:485)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.destroy(AbstractPropertyBackedBean.java:357)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory.destroy(ChildApplicationContextFactory.java:327)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.destroy(AbstractPropertyBackedBean.java:342)

        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:619)
19:04:17,658 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'OOoDirect' subsystem, ID: [OOoDirect, default]
19:04:17,659 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'email' subsystem, ID: [email, outbound]
19:04:17,659 ERROR [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ChildApplicationContext] Exception thrown from ApplicationListener handling ContextClosedEvent
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'shutdownBackstop': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:209)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(AbstractApplicationEventMulticaster.java:132)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:86)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:296)
        at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:943)
        at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:917)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.stop(ChildApplicationContextFactory.java:642)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.stop(AbstractPropertyBackedBean.java:485)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.destroy(AbstractPropertyBackedBean.java:357)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory.destroy(ChildApplicationContextFactory.java:327)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.destroy(AbstractPropertyBackedBean.java:342)

        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:619)
19:04:17,661 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'email' subsystem, ID: [email, outbound]
19:04:17,661 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'imap' subsystem, ID: [imap, default]
19:04:17,661 ERROR [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ChildApplicationContext] Exception thrown from ApplicationListener handling ContextClosedEvent
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'shutdownBackstop': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:209)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(AbstractApplicationEventMulticaster.java:132)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:86)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:296)
        at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:943)
        at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:917)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.stop(ChildApplicationContextFactory.java:642)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.stop(AbstractPropertyBackedBean.java:485)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.destroy(AbstractPropertyBackedBean.java:357)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory.destroy(ChildApplicationContextFactory.java:327)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.destroy(AbstractPropertyBackedBean.java:342)

        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:619)
19:04:17,664 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'imap' subsystem, ID: [imap, default]
19:04:17,671 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'thirdparty' subsystem, ID: [thirdparty, default]
19:04:17,671 ERROR [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ChildApplicationContext] Exception thrown from ApplicationListener handling ContextClosedEvent
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'permissionServiceImpl': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:209)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(AbstractApplicationEventMulticaster.java:132)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:86)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:296)
        at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:943)
        at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:917)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.stop(ChildApplicationContextFactory.java:642)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.stop(AbstractPropertyBackedBean.java:485)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.destroy(AbstractPropertyBackedBean.java:357)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory.destroy(ChildApplicationContextFactory.java:327)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.destroy(AbstractPropertyBackedBean.java:342)

        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:619)
19:04:17,673 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'thirdparty' subsystem, ID: [thirdparty, default]
19:04:17,679 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
19:04:17,679 ERROR [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ChildApplicationContext] Exception thrown from ApplicationListener handling ContextClosedEvent
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'indexerComponent': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:209)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(AbstractApplicationEventMulticaster.java:132)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:86)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:296)
        at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:943)
        at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:917)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.stop(ChildApplicationContextFactory.java:642)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.stop(AbstractPropertyBackedBean.java:485)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.destroy(AbstractPropertyBackedBean.java:357)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory.destroy(ChildApplicationContextFactory.java:327)
        at org.alfresco.repo.management.subsystems.DefaultChildApplicationContextManager.destroy(DefaultChildApplicationContextManager.java:123)

        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:619)
19:04:17,681 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
19:04:17,681 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'sysAdmin' subsystem, ID: [sysAdmin, default]
19:04:17,681 ERROR [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ChildApplicationContext] Exception thrown from ApplicationListener handling ContextClosedEvent
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'indexerComponent': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:209)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(AbstractApplicationEventMulticaster.java:132)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:86)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:296)
        at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:943)
        at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:917)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.stop(ChildApplicationContextFactory.java:642)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.stop(AbstractPropertyBackedBean.java:485)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.destroy(AbstractPropertyBackedBean.java:357)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory.destroy(ChildApplicationContextFactory.java:327)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.destroy(AbstractPropertyBackedBean.java:342)

        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:619)
19:04:17,684 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]
19:04:17,704 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.remoting.rmi.RmiServiceExporter#0' defined in file [/opt/jboss-4.2.3.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/subsystems/email/InboundS...]: 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:1401)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
        at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.start(ChildApplicationContextFactory.java:624)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.start(AbstractPropertyBackedBean.java:458)
        at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.onApplicationEvent(AbstractPropertyBackedBean.java:386)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Check your network settings.  In particular that the machine's name resolves properly.  Or you may have another server on the same port.

nshenry03
Champ in-the-making
Champ in-the-making
Thanks mrogers, I appreciate the suggestions…

I think the hostname is configured correctly:

root@test:~# hostname
test
root@test:~# hostname -f
test.technickal.net
root@test:~# ping -c5 $(hostname)
PING test.technickal.net (63.228.74.67) 56(84) bytes of data.
64 bytes from test.technickal.net (63.228.74.67): icmp_seq=1 ttl=64 time=2.72 ms
64 bytes from test.technickal.net (63.228.74.67): icmp_seq=2 ttl=64 time=2.42 ms
64 bytes from test.technickal.net (63.228.74.67): icmp_seq=3 ttl=64 time=1.51 ms
64 bytes from test.technickal.net (63.228.74.67): icmp_seq=4 ttl=64 time=4.19 ms
64 bytes from test.technickal.net (63.228.74.67): icmp_seq=5 ttl=64 time=1.50 ms

— test.technickal.net ping statistics —
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 1.501/2.473/4.197/0.989 ms
root@test:~# ping -c5 $(hostname -f)
PING test.technickal.net (63.228.74.67) 56(84) bytes of data.
64 bytes from test.technickal.net (63.228.74.67): icmp_seq=1 ttl=64 time=24.1 ms
64 bytes from test.technickal.net (63.228.74.67): icmp_seq=2 ttl=64 time=2.09 ms
64 bytes from test.technickal.net (63.228.74.67): icmp_seq=3 ttl=64 time=2.22 ms
64 bytes from test.technickal.net (63.228.74.67): icmp_seq=4 ttl=64 time=6.07 ms
64 bytes from test.technickal.net (63.228.74.67): icmp_seq=5 ttl=64 time=3.81 ms

— test.technickal.net ping statistics —
5 packets transmitted, 5 received, 0% packet loss, time 4007ms
rtt min/avg/max/mdev = 2.095/7.663/24.116/8.351 ms


Also, I don't think anything's running on the RMI port already:

root@test:~# egrep -v "^#|^\s*$" /opt/jboss/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/alfresco-shared.properties
alfresco.rmi.services.port=50500
alfresco.rmi.services.host=localhost
root@test:~# netstat -lptun | fgrep -c 50500
0