AnsweredAssumed Answered

Install errors

Question asked by rootcd on Nov 27, 2009
Latest reply on Nov 27, 2009 by mrogers
When installing Alfresco 3.1 on Red hat with JBoss and using an Oracle DB. I'm getting the below error.

09:57:27,084 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webscripts.container' defined in class path resource [alfresco/webscript-framework-application-context.xml]: Cannot create inner bean 'org.alfresco.web.scripts.atom.AtomService#6cb2cfd2' of type [org.alfresco.web.scripts.atom.AtomService] while setting bean property 'scriptObjects' with key [TypedStringValue: value [atom], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.alfresco.web.scripts.atom.AtomService#6cb2cfd2' defined in class path resource [alfresco/webscript-framework-application-context.xml]: Cannot resolve reference to bean 'webscripts.abdera' while setting bean property 'abderaService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webscripts.abdera' defined in class path resource [alfresco/webscript-framework-application-context.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen space
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.alfresco.web.scripts.atom.AtomService#6cb2cfd2' defined in class path resource [alfresco/webscript-framework-application-context.xml]: Cannot resolve reference to bean 'webscripts.abdera' while setting bean property 'abderaService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webscripts.abdera' defined in class path resource [alfresco/webscript-framework-application-context.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen space
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webscripts.abdera' defined in class path resource [alfresco/webscript-framework-application-context.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen space
Caused by: java.lang.OutOfMemoryError: PermGen space
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1817)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
        at org.jboss.web.tomcat.service.WebAppClassLoader.findClass(WebAppClassLoader.java:139)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        at org.apache.abdera.i18n.iri.IRI.preinit(IRI.java:659)
        at org.apache.abdera.Abdera.<init>(Abdera.java:96)
        at org.apache.abdera.Abdera.<init>(Abdera.java:81)
        at org.alfresco.web.scripts.atom.AbderaServiceImpl.afterPropertiesSet(AbderaServiceImpl.java:84)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1203)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
        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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)

Outcomes