Running Klaros Testmanagement doesn't work

Mark Dietz, geändert vor 12 Jahren.

Running Klaros Testmanagement doesn't work

Youngling Beiträge: 5 Beitrittsdatum: 23.01.12 Neueste Beiträge
Hello,

I've installed Klaros Testmanagement (Linux Installer) on our Debian OS.

When I try to run it

http://ourdomain:18080/klaros-web/

the browser tries loading the page but nothing is displayed.

Here is the code of the catalina.out log file:



Jan 23, 2012 8:25:37 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jre1.6.0_30/lib/i386/client:/usr/java/jre1.6.0_30/lib/i386:/usr/java/jre1.6.0_30/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Jan 23, 2012 8:25:37 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-18080
Jan 23, 2012 8:25:37 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 699 ms
Jan 23, 2012 8:25:37 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 23, 2012 8:25:37 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.33
Jan 23, 2012 8:25:37 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive klaros-web.war
Jan 23, 2012 8:25:39 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
Jan 23, 2012 8:25:39 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
08:25:39,749 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
08:25:39,749 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
08:25:39,750 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/usr/klaros/webapps/klaros-web/WEB-INF/classes/logback.xml]
08:25:39,752 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
08:25:39,752 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/usr/klaros/webapps/klaros-web/WEB-INF/classes/logback.xml]
08:25:39,752 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/klaros/webapps/klaros-web/WEB-INF/lib/jackrabbit-webapp-2.2.7.jar!/logback.xml]
08:25:39,752 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/klaros/webapps/klaros-web/WEB-INF/lib/mylyn-common-0.1.1.jar!/logback.xml]
08:25:40,014 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
08:25:40,017 |-ERROR in ch.qos.logback.core.util.ContextUtil@2db19d - Failed to get local hostname java.net.UnknownHostException: ourdomain: ourdomain
    at java.net.UnknownHostException: ourdomain: ourdomain
    at     at java.net.InetAddress.getLocalHost(Unknown Source)
    at     at ch.qos.logback.core.util.ContextUtil.getLocalHostName(ContextUtil.java:30)
    at     at ch.qos.logback.core.util.ContextUtil.addHostNameAsProperty(ContextUtil.java:39)
    at     at ch.qos.logback.classic.joran.action.ConfigurationAction.begin(ConfigurationAction.java:47)
    at     at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:273)
    at     at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:145)
    at     at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:127)
    at     at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:40)
    at     at ch.qos.logback.core.joran.spi.Interpreter.play(Interpreter.java:332)
    at     at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:132)
    at     at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:93)
    at     at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:52)
    at     at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:77)
    at     at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
    at     at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)
    at     at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
    at     at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
    at     at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
    at     at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
    at     at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
    at     at org.apache.log4j.Category.<init>(Category.java:52)
    at     at org.apache.log4j.Logger.<init>(Logger.java:35)
    at     at org.apache.log4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:59)
    at     at org.apache.log4j.Logger.getLogger(Logger.java:39)
    at     at org.jboss.seam.log.Log4JProvider.<init>(Log4JProvider.java:31)
    at     at org.jboss.seam.log.Logging.getLogProvider(Logging.java:43)
    at     at org.jboss.seam.log.Logging.getLogProvider(Logging.java:50)
    at     at org.jboss.seam.servlet.SeamListener.<clinit>(SeamListener.java:29)
    at     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at     at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at     at java.lang.Class.newInstance0(Unknown Source)
    at     at java.lang.Class.newInstance(Unknown Source)
    at     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java)
    at     at org.apache.catalina.core.StandardContext.start(StandardContext.java)
    at     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java)
    at     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java)
    at     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java)
    at     at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java)
    at     at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java)
    at     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java)
    at     at org.apache.catalina.startup.HostConfig.start(HostConfig.java)
    at     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java)
    at     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java)
    at     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java)
    at     at org.apache.catalina.core.StandardHost.start(StandardHost.java)
    at     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java)
    at     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java)
    at     at org.apache.catalina.core.StandardService.start(StandardService.java)
    at     at org.apache.catalina.core.StandardServer.start(StandardServer.java)
    at     at org.apache.catalina.startup.Catalina.start(Catalina.java)
    at     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at     at java.lang.reflect.Method.invoke(Unknown Source)
    at     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java)
    at     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java)
08:25:40,017 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
08:25:40,022 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [RootConsoleAppender]
08:25:40,120 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to WARN
08:25:40,120 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [RootConsoleAppender] to Logger[ROOT]
08:25:40,121 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.jboss.seam.jsf.SeamPhaseListener] to ERROR
08:25:40,121 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.commons.httpclient.HttpMethodBase] to ERROR
08:25:40,121 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.cache.ReadWriteCache] to ERROR
08:25:40,121 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.sf.ehcache.hibernate] to ERROR

2012-01-23 08:25:43: WARN, org.jboss.seam.security.permission.PersistentPermissionResolver, main no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
2012-01-23 08:25:44: WARN, org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, main Could not load properties from URL [file:/root/.klaros/hibernate.properties]: /root/.klaros/hibernate.properties (No such file or directory)
2012-01-23 08:25:46: ERROR, net.sf.ehcache.Cache, main Unable to set localhost. This prevents creation of a GUID. Cause was: ourdomain: ourdomain
java.net.UnknownHostException: ourdomain: ourdomain
    at java.net.InetAddress.getLocalHost(Unknown Source) ~[na:1.6.0_30]
    at net.sf.ehcache.Cache.<clinit>(Cache.java:199) ~[ehcache-core-2.4.2.jar:na]
    at net.sf.ehcache.config.ConfigurationHelper.createCache(ConfigurationHelper.java:302) [ehcache-core-2.4.2.jar:na]
    at net.sf.ehcache.config.ConfigurationHelper.createDefaultCache(ConfigurationHelper.java:218) [ehcache-core-2.4.2.jar:na]
    at net.sf.ehcache.CacheManager.configure(CacheManager.java:592) [ehcache-core-2.4.2.jar:na]
    at net.sf.ehcache.CacheManager.init(CacheManager.java:351) [ehcache-core-2.4.2.jar:na]
    at net.sf.ehcache.CacheManager.<init>(CacheManager.java:292) [ehcache-core-2.4.2.jar:na]
    at net.sf.ehcache.CacheManager.create(CacheManager.java:690) [ehcache-core-2.4.2.jar:na]
    at net.sf.ehcache.hibernate.SingletonEhCacheRegionFactory.start(SingletonEhCacheRegionFactory.java:62) [ehcache-core-2.4.2.jar:na]
    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:250) [hibernate-core-3.5.6-1-Final.jar:3.5.7-SNAPSHOT]
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1385) [hibernate-core-3.5.6-1-Final.jar:3.5.7-SNAPSHOT]
    at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_30]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_30]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_30]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) [spring-2.5.6.SEC01.jar:2.5.6.SEC01]
    at org.jboss.seam.ioc.spring.ContextLoader.startupContextLoader(ContextLoader.java:64) [jboss-seam-ioc-2.2.2.Final.jar:2.2.2.Final]
    at org.jboss.seam.ioc.spring.ContextLoader.create(ContextLoader.java:43) [jboss-seam-ioc-2.2.2.Final.jar:2.2.2.Final]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_30]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_30]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_30]
    at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]
    at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]
    at org.jboss.seam.Component.callComponentMethod(Component.java:2275) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]
    at org.jboss.seam.Component.callCreateMethod(Component.java:2198) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]
    at org.jboss.seam.Component.newInstance(Component.java:2158) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]
    at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]
    at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]
    at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:143) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]
    at org.jboss.seam.init.Initialization.init(Initialization.java:744) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]
    at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) [jboss-seam-2.2.2.Final.jar:2.2.2.Final]
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java) [catalina.jar:6.0.33]
    at org.apache.catalina.core.StandardContext.start(StandardContext.java) [catalina.jar:6.0.33]
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java) [catalina.jar:6.0.33]
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java) [catalina.jar:6.0.33]
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java) [catalina.jar:6.0.33]
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java) [catalina.jar:6.0.33]
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java) [catalina.jar:6.0.33]
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java) [catalina.jar:6.0.33]
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java) [catalina.jar:6.0.33]
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java) [catalina.jar:6.0.33]
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java) [catalina.jar:6.0.33]
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java) [catalina.jar:6.0.33]
    at org.apache.catalina.core.StandardHost.start(StandardHost.java) [catalina.jar:6.0.33]
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java) [catalina.jar:6.0.33]
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java) [catalina.jar:6.0.33]
    at org.apache.catalina.core.StandardService.start(StandardService.java) [catalina.jar:6.0.33]
    at org.apache.catalina.core.StandardServer.start(StandardServer.java) [catalina.jar:6.0.33]
    at org.apache.catalina.startup.Catalina.start(Catalina.java) [catalina.jar:6.0.33]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_30]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_30]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_30]
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java) [bootstrap.jar:6.0.33]
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java) [bootstrap.jar:6.0.33]
2012-01-23 08:25:53: WARN, org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, main Could not load properties from URL [file:/root/.klaros/hibernate.properties]: /root/.klaros/hibernate.properties (No such file or directory)


Any help would be appreciated.
thumbnail
Patrick Reilly, geändert vor 12 Jahren.

RE: Running Klaros Testmanagement doesn't work

Padawan Beiträge: 71 Beitrittsdatum: 23.02.11 Neueste Beiträge
Hi Mark,

welcome to the community!

This looks like an error in your Debian configuration. Your log file shows that Java attempted to find your localhost, and received either no address or an invalid address. If the entry for localhost in your /etc/hosts file is missing or invalid, this error would be caused.

It also looks like you are running Klaros as root. This will not lead to errors, but we don't recommend it. Klaros doesn't need root privileges to install or run on a linux system.

Regards,
Patrick
thumbnail
Heiner Westphal, geändert vor 12 Jahren.

RE: Running Klaros Testmanagement doesn't work

Youngling Beiträge: 13 Beitrittsdatum: 02.03.09 Neueste Beiträge
Hello Mark,

as Patrick already stated, something about your hostname configuration seems to be strange.

The common mechanism java apps use to resolve hostnames, does not work with your local hostname configuration.

Java first gets the local hostname - ourdomain in your case - and then tries to find the corresponding
IP-Address. It fails to do this for ourdomain.

See the article on StackOverflow for details.

Is it correct, that the HOSTname of your klaros-box is ourdomain?

Best regards,

Heiner
Mark Dietz, geändert vor 12 Jahren.

RE: Running Klaros Testmanagement doesn't work

Youngling Beiträge: 5 Beitrittsdatum: 23.01.12 Neueste Beiträge
Hello,

thanks for the useful advices!

I'll keep you updated as soon as I've looked into the hosts settings.

"Ourdomain" was just a dummy-name for the domain name we use. I've just replaced the name when I posted the log file into the forum.

Regards,
Mark
Mark Dietz, geändert vor 12 Jahren.

RE: Running Klaros Testmanagement doesn't work

Youngling Beiträge: 5 Beitrittsdatum: 23.01.12 Neueste Beiträge
Hello,

I've just checked my /etc/hosts file and added the last line (192.68.10.85 ourdomain) manually:


127.0.0.1         linux
127.0.0.1            localhost
192.68.10.85   ourdomain


After starting the Tomcat-Server again, I tried to run the URL

http://ourdomain:18080/klaros-web/

again, but there is still no change:


Feb 3, 2012 9:55:04 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jre1.6.0_30/lib/i386/client:/usr/java/jre1.6.0_30/lib/i386:/usr/java/jre1.6.0_30/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Feb 3, 2012 9:55:04 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-18080
Feb 3, 2012 9:55:04 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 857 ms
Feb 3, 2012 9:55:05 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 3, 2012 9:55:05 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.33
Feb 3, 2012 9:55:05 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive klaros-web.war
Feb 3, 2012 9:55:07 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
Feb 3, 2012 9:55:07 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
09:55:07,386 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
09:55:07,387 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
09:55:07,389 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/usr/klaros/webapps/klaros-web/WEB-INF/classes/logback.xml]
09:55:07,391 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
09:55:07,391 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/usr/klaros/webapps/klaros-web/WEB-INF/classes/logback.xml]
09:55:07,391 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/klaros/webapps/klaros-web/WEB-INF/lib/jackrabbit-webapp-2.2.7.jar!/logback.xml]
09:55:07,391 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/klaros/webapps/klaros-web/WEB-INF/lib/mylyn-common-0.1.1.jar!/logback.xml]
09:55:07,650 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
09:55:07,653 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
09:55:07,657 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [RootConsoleAppender]
09:55:07,759 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to WARN
09:55:07,759 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [RootConsoleAppender] to Logger[ROOT]
09:55:07,760 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.jboss.seam.jsf.SeamPhaseListener] to ERROR
09:55:07,761 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.commons.httpclient.HttpMethodBase] to ERROR
09:55:07,761 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.cache.ReadWriteCache] to ERROR
09:55:07,761 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.sf.ehcache.hibernate] to ERROR

2012-02-03 09:55:10: WARN, org.jboss.seam.security.permission.PersistentPermissionResolver, main no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
2012-02-03 09:55:11: WARN, org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, main Could not load properties from URL [file:/root/.klaros/hibernate.properties]: /root/.klaros/hibernate.properties (No such file or directory)
2012-02-03 09:55:24: WARN, org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, main Could not load properties from URL [file:/root/.klaros/hibernate.properties]: /root/.klaros/hibernate.properties (No such file or directory)
Feb 3, 2012 10:07:27 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jre1.6.0_30/lib/i386/client:/usr/java/jre1.6.0_30/lib/i386:/usr/java/jre1.6.0_30/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Feb 3, 2012 10:07:28 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-18080
Feb 3, 2012 10:07:28 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 633 ms
Feb 3, 2012 10:07:28 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 3, 2012 10:07:28 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.33
Feb 3, 2012 10:07:28 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive klaros-web.war
Feb 3, 2012 10:07:29 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
Feb 3, 2012 10:07:29 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
10:07:29,281 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
10:07:29,281 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
10:07:29,282 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/usr/klaros/webapps/klaros-web/WEB-INF/classes/logback.xml]
10:07:29,284 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
10:07:29,284 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/usr/klaros/webapps/klaros-web/WEB-INF/classes/logback.xml]
10:07:29,284 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/klaros/webapps/klaros-web/WEB-INF/lib/jackrabbit-webapp-2.2.7.jar!/logback.xml]
10:07:29,284 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/klaros/webapps/klaros-web/WEB-INF/lib/mylyn-common-0.1.1.jar!/logback.xml]
10:07:29,519 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
10:07:29,522 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
10:07:29,527 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [RootConsoleAppender]
10:07:29,585 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to WARN
10:07:29,585 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [RootConsoleAppender] to Logger[ROOT]
10:07:29,586 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.jboss.seam.jsf.SeamPhaseListener] to ERROR
10:07:29,586 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.commons.httpclient.HttpMethodBase] to ERROR
10:07:29,586 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.cache.ReadWriteCache] to ERROR
10:07:29,586 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.sf.ehcache.hibernate] to ERROR

2012-02-03 10:07:32: WARN, org.jboss.seam.security.permission.PersistentPermissionResolver, main no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
2012-02-03 10:07:33: WARN, org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, main Could not load properties from URL [file:/root/.klaros/hibernate.properties]: /root/.klaros/hibernate.properties (No such file or directory)
2012-02-03 10:07:45: WARN, org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, main Could not load properties from URL [file:/root/.klaros/hibernate.properties]: /root/.klaros/hibernate.properties (No such file or directory)


I also happened to find out while checking the log file that the hibernate.properties file wasn't installed:


WARN, org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, main Could not load properties from URL [file:/root/.klaros/hibernate.properties]: /root/.klaros/hibernate.properties (No such file or directory)


Is this file necessary to start the application?

Regards,
Mark
thumbnail
Heiner Westphal, geändert vor 12 Jahren.

RE: Running Klaros Testmanagement doesn't work

Youngling Beiträge: 13 Beitrittsdatum: 02.03.09 Neueste Beiträge
Hello Mark,

thank you for the update!

The java.net.UnknownHostException seems to be gone now,
but it seems the installer did not complete, thus leaving half
an installation of klaros.

Could you just delete your klaros installation and reinstall?

After changing /etc/hosts, installation should be fine this time.

Best regards and sorry for the inconvenience,

Heiner
Mark Dietz, geändert vor 12 Jahren.

RE: Running Klaros Testmanagement doesn't work

Youngling Beiträge: 5 Beitrittsdatum: 23.01.12 Neueste Beiträge
Hello,

I've deleted my klaros installation and tried to reinstall it.

Here is the the output of the installation process:


Select target path [/home]
/usr/klaros
press 1 to continue, 2 to quit, 3 to redisplay
1
Tomcat Server Settings:
Server-Port: [18005]
18005
HTTP-Port: [18080]
18080
HTTPS-Port: [18443]
18443
AJP/1.3-Port: [18009]
18009
Minimum (MB): [256]
256
Maximum (MB): [512]
512
Username: [admin]
admin
Password: [admin]
test
------------------------------------------
  [x] Launch Application Server
input 1 to select, 0 to deselect:
1
  [x] Launch Browser
input 1 to select, 0 to deselect:
0
press 1 to continue, 2 to quit, 3 to redisplay
1
[ Starting to unpack ]
[ Processing package: Tomcat 6 Application Server (1/3) ]
[ Processing package: Klaros-Testmanagement (2/3) ]
[ Processing package: PDF-Documentation (3/3) ]
[ Unpacking finished ]
[ Starting processing ]
Starting process Clearing target directory (1/3)
Starting process Clearing work directory (2/3)
Starting process Starting Tomcat (3/3)
Install was successful
application installed on /usr/klaros
[ Console installation done ]


When I checked the catalina.out file there is still the following message:


Mar 22, 2012 3:12:34 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jre1.6.0_30/lib/i386/client:/usr/java/jre1.6.0_30/lib/i386:/usr/java/jre1.6.0_30/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Mar 22, 2012 3:12:35 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-18080
Mar 22, 2012 3:12:35 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 829 ms
Mar 22, 2012 3:12:35 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 22, 2012 3:12:35 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.33
Mar 22, 2012 3:12:35 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive klaros-web.war
Mar 22, 2012 3:12:38 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
Mar 22, 2012 3:12:38 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
15:12:38,822 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
15:12:38,822 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
15:12:38,822 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/usr/klaros/webapps/klaros-web/WEB-INF/classes/logback.xml]
15:12:38,824 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
15:12:38,824 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/usr/klaros/webapps/klaros-web/WEB-INF/classes/logback.xml]
15:12:38,824 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/klaros/webapps/klaros-web/WEB-INF/lib/jackrabbit-webapp-2.2.7.jar!/logback.xml]
15:12:38,824 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/klaros/webapps/klaros-web/WEB-INF/lib/mylyn-common-0.1.1.jar!/logback.xml]
15:12:39,025 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
15:12:39,054 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
15:12:39,063 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [RootConsoleAppender]
15:12:39,177 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to WARN
15:12:39,177 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [RootConsoleAppender] to Logger[ROOT]
15:12:39,178 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.jboss.seam.jsf.SeamPhaseListener] to ERROR
15:12:39,178 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.commons.httpclient.HttpMethodBase] to ERROR
15:12:39,178 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.cache.ReadWriteCache] to ERROR
15:12:39,178 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.sf.ehcache.hibernate] to ERROR

2012-03-22 15:12:41: WARN, org.jboss.seam.security.permission.PersistentPermissionResolver, main no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
2012-03-22 15:12:43: WARN, org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, main Could not load properties from URL [file:/root/.klaros/hibernate.properties]: /root/.klaros/hibernate.properties (No such file or directory)
2012-03-22 15:12:53: WARN, org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, main Could not load properties from URL [file:/root/.klaros/hibernate.properties]: /root/.klaros/hibernate.properties (No such file or directory)


It seems that the installation is still uncomplete since the system can't find /root/.klaros/hibernate.properties file.

Regards,
Mark
thumbnail
Torsten Stolpmann, geändert vor 12 Jahren.

RE: Running Klaros Testmanagement doesn't work

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi Mark,

372012-03-22 15:12:53: WARN, org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, main Could not load properties from URL [file:/root/.klaros/hibernate.properties]: /root/.klaros/hibernate.properties (No such file or directory)


this startup warning only occurs upon first execution, both the file and the directory gets created during the startup process if not already present (generally in case of an update).

Are you experiencing any problems?

Regards,

Torsten


P.S.: As Patrick already pointed out in the first reply:

It is neither necessary nor recommended to install Klaros under the root account. The reason for this is that the application expects the .klaros directory under the home folder of the executing user, and for security reasons root is not an adequate account to run any services.

We strongly encourage users to create a dedicated user account for running and installing Klaros-Testmanagement.
Mark Dietz, geändert vor 12 Jahren.

RE: Running Klaros Testmanagement doesn't work

Youngling Beiträge: 5 Beitrittsdatum: 23.01.12 Neueste Beiträge
Hello Torsten,

ok, I'll install Klaros under another account.

But nevertheless, when I try to run the URL

http://ourdomain:18080/klaros-web/

the application still doesn't appear yet.

After I started the Tomcat-Server I got the following protocol in the catalina.out file:


Mar 22, 2012 3:12:34 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jre1.6.0_30/lib/i386/client:/usr/java/jre1.6.0_30/lib/i386:/usr/java/jre1.6.0_30/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Mar 22, 2012 3:12:35 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-18080
Mar 22, 2012 3:12:35 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 829 ms
Mar 22, 2012 3:12:35 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 22, 2012 3:12:35 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.33
Mar 22, 2012 3:12:35 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive klaros-web.war
Mar 22, 2012 3:12:38 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
Mar 22, 2012 3:12:38 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
15:12:38,822 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
15:12:38,822 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
15:12:38,822 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/usr/klaros/webapps/klaros-web/WEB-INF/classes/logback.xml]
15:12:38,824 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
15:12:38,824 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/usr/klaros/webapps/klaros-web/WEB-INF/classes/logback.xml]
15:12:38,824 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/klaros/webapps/klaros-web/WEB-INF/lib/jackrabbit-webapp-2.2.7.jar!/logback.xml]
15:12:38,824 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/klaros/webapps/klaros-web/WEB-INF/lib/mylyn-common-0.1.1.jar!/logback.xml]
15:12:39,025 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
15:12:39,054 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
15:12:39,063 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [RootConsoleAppender]
15:12:39,177 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to WARN
15:12:39,177 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [RootConsoleAppender] to Logger[ROOT]
15:12:39,178 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.jboss.seam.jsf.SeamPhaseListener] to ERROR
15:12:39,178 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.commons.httpclient.HttpMethodBase] to ERROR
15:12:39,178 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.cache.ReadWriteCache] to ERROR
15:12:39,178 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.sf.ehcache.hibernate] to ERROR

2012-03-22 15:12:41: WARN, org.jboss.seam.security.permission.PersistentPermissionResolver, main no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
2012-03-22 15:12:43: WARN, org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, main Could not load properties from URL [file:/root/.klaros/hibernate.properties]: /root/.klaros/hibernate.properties (No such file or directory)
2012-03-22 15:12:53: WARN, org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, main Could not load properties from URL [file:/root/.klaros/hibernate.properties]: /root/.klaros/hibernate.properties (No such file or directory)
Mar 29, 2012 1:19:51 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jre1.6.0_30/lib/i386/client:/usr/java/jre1.6.0_30/lib/i386:/usr/java/jre1.6.0_30/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Mar 29, 2012 1:19:52 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-18080
Mar 29, 2012 1:19:52 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 954 ms
Mar 29, 2012 1:19:52 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 29, 2012 1:19:52 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.33
Mar 29, 2012 1:19:52 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive klaros-web.war
Mar 29, 2012 1:19:54 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
Mar 29, 2012 1:19:54 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.icesoft.faces.util.event.servlet.ContextEventRepeater" is already configured for this context. The duplicate definition has been ignored.
13:19:54,634 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
13:19:54,634 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
13:19:54,636 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/usr/klaros/webapps/klaros-web/WEB-INF/classes/logback.xml]
13:19:54,637 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
13:19:54,637 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/usr/klaros/webapps/klaros-web/WEB-INF/classes/logback.xml]
13:19:54,638 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/klaros/webapps/klaros-web/WEB-INF/lib/jackrabbit-webapp-2.2.7.jar!/logback.xml]
13:19:54,638 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/usr/klaros/webapps/klaros-web/WEB-INF/lib/mylyn-common-0.1.1.jar!/logback.xml]
13:19:54,877 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
13:19:54,880 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
13:19:54,884 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [RootConsoleAppender]
13:19:54,973 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to WARN
13:19:54,973 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [RootConsoleAppender] to Logger[ROOT]
13:19:54,974 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.jboss.seam.jsf.SeamPhaseListener] to ERROR
13:19:54,974 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.commons.httpclient.HttpMethodBase] to ERROR
13:19:54,974 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.cache.ReadWriteCache] to ERROR
13:19:54,974 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.sf.ehcache.hibernate] to ERROR

2012-03-29 13:19:58: WARN, org.jboss.seam.security.permission.PersistentPermissionResolver, main no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
2012-03-29 13:19:59: WARN, org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, main Could not load properties from URL [file:/root/.klaros/hibernate.properties]: /root/.klaros/hibernate.properties (No such file or directory)
2012-03-29 13:20:13: WARN, org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, main Could not load properties from URL [file:/root/.klaros/hibernate.properties]: /root/.klaros/hibernate.properties (No such file or directory)


Regards,
Mark
thumbnail
Torsten Stolpmann, geändert vor 12 Jahren.

RE: Running Klaros Testmanagement doesn't work

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
2012-03-29 13:19:59: WARN, org.springframework.beans.factory.config.PropertyPlaceholderConfigurer, main Could not load properties from URL [file:/root/.klaros/hibernate.properties]: /root/.klaros/hibernate.properties (No such file or directory)


The home directory of the account you are running tomcat under is clearly /root (as Klaros is resolving $user.home). It really should be located elsewhere. What does /etc/passwd contain for this account?

It seems to me that this account has no write access to the /root/.klaros folder. Something seems to be very strange with your configuration.

Hope this helps,

Torsten