What I did is:
chown tomcat6 /var/lib/tomcat6 and it is ok now...
So the velocity log goes by default in tomcat home?
Another problem when first deployed was the following:
2011-01-26 08:59:04,420 [main] INFO
[gr.abiss.calipso.config.CalipsoConfigurer] - directory already
exists: '/home/calypso/calypso'
2011-01-26 08:59:04,420 [main] INFO
[gr.abiss.calipso.config.CalipsoConfigurer] - directory does not
exist, created '/home/calypso/calypso/attachments'
2011-01-26 08:59:04,420 [main] INFO
[gr.abiss.calipso.config.CalipsoConfigurer] - directory does not
exist, created '/home/calypso/calypso/indexes'
It said "created", however the dir was NOT created and I got the
following message:
2011-01-26 08:59:07,527 [main] ERROR
[org.springframework.web.context.ContextLoader] - Context
initialization failed
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'calipsoService' defined in ServletContext
resource [/WEB-INF/applicationContext.xml]: Cannot create inner bean
'gr.abiss.calipso.CalipsoServiceImpl#2a63b2e6' of type
[gr.abiss.calipso.CalipsoServiceImpl] while setting bean property
'target'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'gr.abiss.calipso.CalipsoServiceImpl#2a63b2e6'
defined in ServletContext resource [/WEB-INF/applicationContext.xml]:
Cannot resolve reference to bean 'indexer' while setting bean property
'indexer'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'indexer' defined in ServletContext resource [/
WEB-INF/applicationContext-lucene.xml]: Cannot resolve reference to
bean 'indexFactory' while setting bean property 'indexFactory'; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'indexFactory'defined in ServletContext
resource [/WEB-INF/applicationContext-lucene.xml]: Cannot resolve
reference to bean 'indexDirectory' while setting bean property
'directory'; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'indexDirectory' defined in
ServletContext resource [/WEB-INF/applicationContext-lucene.xml]:
Invocation of init method failed; nested exception is
org.springframework.beans.factory.BeanInitializationException:
location does not exist
I guess this again is another permissions problem, probably the tomcat
user does not have permission to create those dirs...
I think that the install manual should be more clear about users,
permissions, etc...in order to have a more trouble-free installation.
since many calypso users/admins are not java/tomcat experts.