Details
-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
local development m/c
Description
I have installed the lated jahia community edition [ jahia_v6_CommunityEdition_r25203 ].
After configuring the server on mysql database - i am getting the following exception.
2009-02-04 15:47:49,912: INFO [org.jahia.services.mail.MailServiceImpl] - Mail Service successfully stopped
2009-02-04 15:47:49,928: ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'captchaService' define
d in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot create inner bean '
imageEngine' of type [com.octo.captcha.engine.GenericCaptchaEngine] while setting constructor argument; nested
exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'imageEng
ine' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot create i
nner bean 'CaptchaFactory' of type [com.octo.captcha.image.gimpy.GimpyFactory] while setting constructor argum
ent with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'CaptchaFactory' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-ser
vices.xml]: Cannot create inner bean 'wordtoimage' of type [com.octo.captcha.component.image.wordtoimage.Compo
sedWordToImage] while setting constructor argument; nested exception is org.springframework.beans.factory.Bean
CreationException: Error creating bean with name 'wordtoimage' defined in ServletContext resource [/WEB-INF/et
c/spring/applicationcontext-services.xml]: Cannot create inner bean 'fontGenRandom' of type [com.octo.captcha.
component.image.fontgenerator.RandomFontGenerator] while setting constructor argument; nested exception is org
.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fontGenRandom' defined in
ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Instantiation of bean failed;
nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [co
m.octo.captcha.component.image.fontgenerator.RandomFontGenerator]: Constructor threw exception; nested excepti
on is java.lang.IllegalArgumentException: fonts list cannot be null or empty, some of your font are removed fr
om the list by this class, Courrier and TimesRoman
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:230)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanD
efinitionValueResolver.java:117)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(Construct
orResolver.java:479)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolv
er.java:162)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(Ab
stractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(Abs
tractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractA
utowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowire
CapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAut
owireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:
264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingleto
nBeanRegistry.java:221)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:26
1)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(Defau
ltListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(Abst
ractApplicationContext.java:729)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.j
ava:381)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java
:45)
at org.jahia.bin.listeners.JahiaContextLoaderListener.contextInitialized(JahiaContextLoaderListener.ja
va:66)
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.deployDirectory(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
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)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'imageEngine
' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot create inne
r bean 'CaptchaFactory' of type [com.octo.captcha.image.gimpy.GimpyFactory] while setting constructor argument
with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bea
n with name 'CaptchaFactory' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-servic
es.xml]: Cannot create inner bean 'wordtoimage' of type [com.octo.captcha.component.image.wordtoimage.Composed
WordToImage] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCre
ationException: Error creating bean with name 'wordtoimage' defined in ServletContext resource [/WEB-INF/etc/s
pring/applicationcontext-services.xml]: Cannot create inner bean 'fontGenRandom' of type [com.octo.captcha.com
ponent.image.fontgenerator.RandomFontGenerator] while setting constructor argument; nested exception is org.sp
ringframework.beans.factory.BeanCreationException: Error creating bean with name 'fontGenRandom' defined in Se
rvletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Instantiation of bean failed; nes
ted exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.o
cto.captcha.component.image.fontgenerator.RandomFontGenerator]: Constructor threw exception; nested exception
is java.lang.IllegalArgumentException: fonts list cannot be null or empty, some of your font are removed from
the list by this class, Courrier and TimesRoman
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:230)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanD
efinitionValueResolver.java:117)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefini
tionValueResolver.java:287)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanD
efinitionValueResolver.java:126)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(Construct
orResolver.java:479)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolv
er.java:162)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(Ab
stractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(Abs
tractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractA
utowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowire
CapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAut
owireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:219)
... 45 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'CaptchaFact
ory' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot create i
nner bean 'wordtoimage' of type [com.octo.captcha.component.image.wordtoimage.ComposedWordToImage] while setti
ng constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error cr
eating bean with name 'wordtoimage' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext
-services.xml]: Cannot create inner bean 'fontGenRandom' of type [com.octo.captcha.component.image.fontgenerat
or.RandomFontGenerator] while setting constructor argument; nested exception is org.springframework.beans.fact
ory.BeanCreationException: Error creating bean with name 'fontGenRandom' defined in ServletContext resource [/
WEB-INF/etc/spring/applicationcontext-services.xml]: Instantiation of bean failed; nested exception is org.spr
ingframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.component.im
age.fontgenerator.RandomFontGenerator]: Constructor threw exception; nested exception is java.lang.IllegalArgu
mentException: fonts list cannot be null or empty, some of your font are removed from the list by this class,
Courrier and TimesRoman
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:230)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanD
efinitionValueResolver.java:117)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(Construct
orResolver.java:495)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolv
er.java:162)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(Ab
stractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(Abs
tractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractA
utowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowire
CapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAut
owireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:219)
... 57 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wordtoimage
' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot create inne
r bean 'fontGenRandom' of type [com.octo.captcha.component.image.fontgenerator.RandomFontGenerator] while sett
ing constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error c
reating bean with name 'fontGenRandom' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcont
ext-services.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiati
onException: Could not instantiate bean class [com.octo.captcha.component.image.fontgenerator.RandomFontGenera
tor]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: fonts list cannot b
e null or empty, some of your font are removed from the list by this class, Courrier and TimesRoman
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:230)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanD
efinitionValueResolver.java:117)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(Construct
orResolver.java:479)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolv
er.java:162)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(Ab
stractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(Abs
tractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractA
utowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowire
CapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAut
owireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:219)
... 67 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fontGenRand
om' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Instantiation of
bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [com.octo.captcha.component.image.fontgenerator.RandomFontGenerator]: Constructor threw exception;
nested exception is java.lang.IllegalArgumentException: fonts list cannot be null or empty, some of your font
are removed from the list by this class, Courrier and TimesRoman
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolv
er.java:254)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(Ab
stractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(Abs
tractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractA
utowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowire
CapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAut
owireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:219)
... 77 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.ca
ptcha.component.image.fontgenerator.RandomFontGenerator]: Constructor threw exception; nested exception is jav
a.lang.IllegalArgumentException: fonts list cannot be null or empty, some of your font are removed from the li
st by this class, Courrier and TimesRoman
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiati
onStrategy.java:87)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolv
er.java:248)
... 84 more
Caused by: java.lang.IllegalArgumentException: fonts list cannot be null or empty, some of your font are remov
ed from the list by this class, Courrier and TimesRoman
at com.octo.captcha.component.image.fontgenerator.RandomFontGenerator.checkInitializedFontListSize(Ran
domFontGenerator.java:86)
at com.octo.captcha.component.image.fontgenerator.RandomFontGenerator.initializeFonts(RandomFontGenera
tor.java:80)
at com.octo.captcha.component.image.fontgenerator.RandomFontGenerator.<init>(RandomFontGenerator.java:
69)
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:100)
... 86 more
2009-02-04 15:47:49,990: ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'captchaService' define
d in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot create inner bean '
imageEngine' of type [com.octo.captcha.engine.GenericCaptchaEngine] while setting constructor argument; nested
exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'imageEng
ine' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot create i
nner bean 'CaptchaFactory' of type [com.octo.captcha.image.gimpy.GimpyFactory] while setting constructor argum
ent with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'CaptchaFactory' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-ser
vices.xml]: Cannot create inner bean 'wordtoimage' of type [com.octo.captcha.component.image.wordtoimage.Compo
sedWordToImage] while setting constructor argument; nested exception is org.springframework.beans.factory.Bean
CreationException: Error creating bean with name 'wordtoimage' defined in ServletContext resource [/WEB-INF/et
c/spring/applicationcontext-services.xml]: Cannot create inner bean 'fontGenRandom' of type [com.octo.captcha.
component.image.fontgenerator.RandomFontGenerator] while setting constructor argument; nested exception is org
.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fontGenRandom' defined in
ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Instantiation of bean failed;
nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [co
m.octo.captcha.component.image.fontgenerator.RandomFontGenerator]: Constructor threw exception; nested excepti
on is java.lang.IllegalArgumentException: fonts list cannot be null or empty, some of your font are removed fr
om the list by this class, Courrier and TimesRoman
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:230)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanD
efinitionValueResolver.java:117)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(Construct
orResolver.java:479)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolv
er.java:162)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(Ab
stractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(Abs
tractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractA
utowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowire
CapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAut
owireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:
264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingleto
nBeanRegistry.java:221)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:26
1)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(Defau
ltListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(Abst
ractApplicationContext.java:729)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.j
ava:381)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java
:45)
at org.jahia.bin.listeners.JahiaContextLoaderListener.contextInitialized(JahiaContextLoaderListener.ja
va:66)
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.deployDirectory(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
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)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'imageEngine
' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot create inne
r bean 'CaptchaFactory' of type [com.octo.captcha.image.gimpy.GimpyFactory] while setting constructor argument
with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bea
n with name 'CaptchaFactory' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-servic
es.xml]: Cannot create inner bean 'wordtoimage' of type [com.octo.captcha.component.image.wordtoimage.Composed
WordToImage] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCre
ationException: Error creating bean with name 'wordtoimage' defined in ServletContext resource [/WEB-INF/etc/s
pring/applicationcontext-services.xml]: Cannot create inner bean 'fontGenRandom' of type [com.octo.captcha.com
ponent.image.fontgenerator.RandomFontGenerator] while setting constructor argument; nested exception is org.sp
ringframework.beans.factory.BeanCreationException: Error creating bean with name 'fontGenRandom' defined in Se
rvletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Instantiation of bean failed; nes
ted exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.o
cto.captcha.component.image.fontgenerator.RandomFontGenerator]: Constructor threw exception; nested exception
is java.lang.IllegalArgumentException: fonts list cannot be null or empty, some of your font are removed from
the list by this class, Courrier and TimesRoman
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:230)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanD
efinitionValueResolver.java:117)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefini
tionValueResolver.java:287)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanD
efinitionValueResolver.java:126)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(Construct
orResolver.java:479)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolv
er.java:162)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(Ab
stractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(Abs
tractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractA
utowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowire
CapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAut
owireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:219)
... 45 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'CaptchaFact
ory' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot create i
nner bean 'wordtoimage' of type [com.octo.captcha.component.image.wordtoimage.ComposedWordToImage] while setti
ng constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error cr
eating bean with name 'wordtoimage' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext
-services.xml]: Cannot create inner bean 'fontGenRandom' of type [com.octo.captcha.component.image.fontgenerat
or.RandomFontGenerator] while setting constructor argument; nested exception is org.springframework.beans.fact
ory.BeanCreationException: Error creating bean with name 'fontGenRandom' defined in ServletContext resource [/
WEB-INF/etc/spring/applicationcontext-services.xml]: Instantiation of bean failed; nested exception is org.spr
ingframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.component.im
age.fontgenerator.RandomFontGenerator]: Constructor threw exception; nested exception is java.lang.IllegalArgu
mentException: fonts list cannot be null or empty, some of your font are removed from the list by this class,
Courrier and TimesRoman
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:230)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanD
efinitionValueResolver.java:117)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(Construct
orResolver.java:495)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolv
er.java:162)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(Ab
stractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(Abs
tractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractA
utowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowire
CapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAut
owireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:219)
... 57 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wordtoimage
' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Cannot create inne
r bean 'fontGenRandom' of type [com.octo.captcha.component.image.fontgenerator.RandomFontGenerator] while sett
ing constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error c
reating bean with name 'fontGenRandom' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcont
ext-services.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiati
onException: Could not instantiate bean class [com.octo.captcha.component.image.fontgenerator.RandomFontGenera
tor]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: fonts list cannot b
e null or empty, some of your font are removed from the list by this class, Courrier and TimesRoman
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:230)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanD
efinitionValueResolver.java:117)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(Construct
orResolver.java:479)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolv
er.java:162)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(Ab
stractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(Abs
tractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractA
utowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowire
CapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAut
owireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:219)
... 67 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fontGenRand
om' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Instantiation of
bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [com.octo.captcha.component.image.fontgenerator.RandomFontGenerator]: Constructor threw exception;
nested exception is java.lang.IllegalArgumentException: fonts list cannot be null or empty, some of your font
are removed from the list by this class, Courrier and TimesRoman
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolv
er.java:254)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(Ab
stractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(Abs
tractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractA
utowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowire
CapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAut
owireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefiniti
onValueResolver.java:219)
... 77 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.ca
ptcha.component.image.fontgenerator.RandomFontGenerator]: Constructor threw exception; nested exception is jav
a.lang.IllegalArgumentException: fonts list cannot be null or empty, some of your font are removed from the li
st by this class, Courrier and TimesRoman
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiati
onStrategy.java:87)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolv
er.java:248)
... 84 more
Caused by: java.lang.IllegalArgumentException: fonts list cannot be null or empty, some of your font are remov
ed from the list by this class, Courrier and TimesRoman
at com.octo.captcha.component.image.fontgenerator.RandomFontGenerator.checkInitializedFontListSize(Ran
domFontGenerator.java:86)
at com.octo.captcha.component.image.fontgenerator.RandomFontGenerator.initializeFonts(RandomFontGenera
tor.java:80)
at com.octo.captcha.component.image.fontgenerator.RandomFontGenerator.<init>(RandomFontGenerator.java:
69)
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:100)
... 86 more
2009-02-04 15:47:50,006: INFO [org.apache.pluto.driver.PortalStartupListener] - Starting up Pluto Portal Driv
er. . .
Feb 4, 2009 3:47:50 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Feb 4, 2009 3:47:50 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
2009-02-04 15:47:50,021: INFO [org.apache.pluto.driver.PortalStartupListener] - Shutting down Pluto Portal Dr
iver...
2009-02-04 15:47:50,021: INFO [org.apache.pluto.driver.PortalStartupListener] - Shutting down Pluto Portal Dr
iver...
2009-02-04 15:47:50,021: INFO [org.apache.pluto.driver.PortalStartupListener] - ********** Pluto Portal Drive
r Shut Down **********
log4j:WARN No appenders could be found for logger (org.jahia.services.content.JCRStoreProvider).
log4j:WARN Please initialize the log4j system properly.
[Full GC 99824K->45820K(1036928K), 0.5406964 secs]
Feb 4, 2009 3:47:59 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Feb 4, 2009 3:48:00 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Feb 4, 2009 3:48:00 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47 config=null
Feb 4, 2009 3:48:00 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 214103 ms
Regards
Om