help deploy to JEE container (Failed to create directory: /dev/null/teamsysdata)

disclaimer: I'm a total tomcat/java web app newbie

I'm attempting installing youtrack on a gentoo box, I got tomcat running (display homepage when I browse localhost:8080) and according to http://www.gentoo.org/proj/en/java/tomcat-guide.xml I'm supposed to deploy the war package in /var/lib/tomcat-x.y/webapps

I downloaded youtrack-3.0.2a.war which I copied as /var/lib/tomcat-7/webapps/youtrack.war

when I try to browse http://localhost:8080/youtrack I get the following exception, which I guess is related to improper rights or something similar.

Any idea what I should check, what is missing?

Thanks for your help

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transientEntityStore' defined in file [/var/lib/tomcat-7/webapps/youtrack/WEB-INF/classes/jetbrains/charisma/persistent/storeConfigurationDatabase.xml]: Cannot resolve reference to bean 'persistentEntityStore' while setting bean property 'persistentStore'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistentEntityStore' defined in file [/var/lib/tomcat-7/webapps/youtrack/WEB-INF/classes/jetbrains/charisma/persistent/storeConfigurationDatabase.xml]: Cannot resolve reference to bean 'persistentDataEnvironment' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistentDataEnvironment' defined in file [/var/lib/tomcat-7/webapps/youtrack/WEB-INF/classes/jetbrains/charisma/persistent/exodusDataEnvironmentConfiguration.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [jetbrains.exodus.env.Environment]: Constructor threw exception; nested exception is jetbrains.exodus.exceptions.ExodusException: Exodus 1.0.0: Failed to create directory: /dev/null/teamsysdata.
     org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
     org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
     org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
     org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
     org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
     org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
     java.security.AccessController.doPrivileged(Native Method)
     org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
     org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:302)
     webr.framework.controller.WebLocalScope.get(WebLocalScope.java:32)
     org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
     org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
     org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
     org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:880)
     webr.framework.controller.WebClasspathXmlServiceLocator.getBean(WebClasspathXmlServiceLocator.java:104)
     jetbrains.springframework.configuration.runtime.ServiceLocator.getBean(ServiceLocator.java:55)
     jetbrains.charisma.persistent.AddDNQSessionListenerServiceLocatorListener.onAfterInit(AddDNQSessionListenerServiceLocatorListener.java:15)
     jetbrains.springframework.configuration.runtime.ServiceLocator.fireLocalAfterInit(ServiceLocator.java:101)
     jetbrains.charisma.main.ServletImpl.init(ServletImpl.java:67)
     javax.servlet.GenericServlet.init(Unknown Source)
     org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown Source)
     org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
     org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
     org.apache.catalina.connector.CoyoteAdapter.service(Unknown Source)
     org.apache.coyote.http11.Http11Processor.process(Unknown Source)
     org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Unknown Source)
     org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Unknown Source)
     org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(Unknown Source)
     java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
     java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
     java.lang.Thread.run(Thread.java:679)

1 comment
Comment actions Permalink

You should tell your TomCat installation that it should pass an environment variable "user.home" to deployed YouTrack war not as "/dev/null", but as some other filesystem location with r/w access to deployment user.

0

Please sign in to leave a comment.