I think I fixed this in rev 582428, but I'm not sure why what I
changed should make any difference.
Is workingDirectory really supposed to be a dn rather than a file
system location?
thanks
david jencks
On Oct 5, 2007, at 3:43 PM, Emmanuel Lecharny wrote:
Hi guys,
I tried to launch the server on bigbang branch (mvn clean install went
fine, no error, no nothing), and I get these errors :
_ _ ____ ____
/ \ _ __ __ _ ___| |__ ___| _ \/ ___|
/ _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \
/ ___ \| |_) | (_| | (__| | | | __/ |_| |___) |
/_/ \_\ .__/ \__,_|\___|_| |_|\___|____/|____/
|_|
Exception in thread "main"
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'configuration' defined in URL
[file:/home/elecharny/apacheds/bigbang/installers/apacheds-noarch/
server.xml]:
Initialization of bean failed; nested exception is
org.springframework.beans.TypeMismatchException: Failed to convert
property value of type [java.lang.String] to required type
[java.io.File] for property 'workingDirectory'; nested exception is
java.lang.IllegalArgumentException: Could not retrieve File for class
path resource [example.com]: class path resource [example.com] cannot
be resolved to URL because it does not exist
Caused by: org.springframework.beans.TypeMismatchException: Failed to
convert property value of type [java.lang.String] to required type
[java.io.File] for property 'workingDirectory'; nested exception is
java.lang.IllegalArgumentException: Could not retrieve File for class
path resource [example.com]: class path resource [example.com] cannot
be resolved to URL because it does not exist
Caused by: java.lang.IllegalArgumentException: Could not retrieve File
for class path resource [example.com]: class path resource
[example.com] cannot be resolved to URL because it does not exist
at org.springframework.beans.propertyeditors.FileEditor.setAsText
(FileEditor.java:91)
at
org.springframework.beans.TypeConverterDelegate.doConvertTextValue
(TypeConverterDelegate.java:326)
at org.springframework.beans.TypeConverterDelegate.doConvertValue
(TypeConverterDelegate.java:310)
at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary
(TypeConverterDelegate.java:192)
at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary
(TypeConverterDelegate.java:138)
at org.springframework.beans.BeanWrapperImpl.convertForProperty
(BeanWrapperImpl.java:380)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
actory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:
1105)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
actory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
actory.createBean(AbstractAutowireCapableBeanFactory.java:421)
at org.springframework.beans.factory.support.AbstractBeanFactory
$1.getObject(AbstractBeanFactory.java:251)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
.getSingleton(DefaultSingletonBeanRegistry.java:156)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
AbstractBeanFactory.java:248)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
AbstractBeanFactory.java:160)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.p
reInstantiateSingletons(DefaultListableBeanFactory.java:287)
at
org.springframework.context.support.AbstractApplicationContext.refresh
(AbstractApplicationContext.java:352)
at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(
ClassPathXmlApplicationContext.java:161)
at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(
ClassPathXmlApplicationContext.java:51)
at org.apache.directory.server.Service.init(Service.java:74)
at org.apache.directory.server.UberjarMain.main(UberjarMain.java:54)
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com