Issue #108 resolved

Issues with webapp deploy on Ubuntu with Tomcat 7

Anonymous created an issue

I deployed the webapp using the tomcat webapp manager (tomcat7-admin) using a default install of tomcat 7 on Ubuntu 11.10 server edition. I received the following errors until I changed the tomcat init script config to run tomcat as root (a very not good idea).

{{{ 19:35:11,606 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy] 19:35:11,606 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] 19:35:11,607 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/var/lib/tomcat7/webapps/scm-webapp-1.13/WEB-INF/classes/logback.xml] 19:35:11,675 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set 19:35:11,676 |-INFO in ch.qos.logback.classic.joran.action.JMXConfiguratorAction - begin 19:35:11,681 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [sonia.scm.ScmLogFilePropertyDefiner] 19:35:11,692 |-ERROR in ch.qos.logback.core.joran.action.DefinePropertyAction - Could not create an PropertyDefiner of type [sonia.scm.ScmLogFilePropertyDefiner]. ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type sonia.scm.ScmLogFilePropertyDefiner at ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type sonia.scm.ScmLogFilePropertyDefiner at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:54) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:32) at at ch.qos.logback.core.joran.action.DefinePropertyAction.begin(DefinePropertyAction.java:64) at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130) at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:55) at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75) at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148) at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84) at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:54) at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128) at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108) at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:279) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:252) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:265) at at sonia.scm.boot.BootstrapListener.<clinit>(BootstrapListener.java:76) at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at at java.lang.Class.newInstance0(Class.java:372) at at java.lang.Class.newInstance(Class.java:325) at at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:119) at at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4660) at at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226) at at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221) at at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at at java.util.concurrent.FutureTask.run(FutureTask.java:166) at at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.IllegalStateException: could not create directory at at sonia.scm.BasicContextProvider.findBaseDirectory(BasicContextProvider.java:185) at at sonia.scm.BasicContextProvider.<init>(BasicContextProvider.java:92) at at sonia.scm.SCMContext.getContext(SCMContext.java:78) at at sonia.scm.ScmLogFilePropertyDefiner.<init>(ScmLogFilePropertyDefiner.java:62) at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at at java.lang.Class.newInstance0(Class.java:372) at at java.lang.Class.newInstance(Class.java:325) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:50) at ... 35 common frames omitted 19:35:11,693 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@47:71 - ActionException in Action for tag [define] ch.qos.logback.core.joran.spi.ActionException: ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type sonia.scm.ScmLogFilePropertyDefiner at ch.qos.logback.core.joran.spi.ActionException: ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type sonia.scm.ScmLogFilePropertyDefiner at at ch.qos.logback.core.joran.action.DefinePropertyAction.begin(DefinePropertyAction.java:72) at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130) at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:55) at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75) at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148) at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84) at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:54) at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128) at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108) at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:279) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:252) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:265) at at sonia.scm.boot.BootstrapListener.<clinit>(BootstrapListener.java:76) at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at at java.lang.Class.newInstance0(Class.java:372) at at java.lang.Class.newInstance(Class.java:325) at at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:119) at at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4660) at at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226) at at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221) at at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at at java.util.concurrent.FutureTask.run(FutureTask.java:166) at at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at at java.lang.Thread.run(Thread.java:722) Caused by: ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type sonia.scm.ScmLogFilePropertyDefiner at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:54) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:32) at at ch.qos.logback.core.joran.action.DefinePropertyAction.begin(DefinePropertyAction.java:64) at ... 33 common frames omitted Caused by: java.lang.IllegalStateException: could not create directory at at sonia.scm.BasicContextProvider.findBaseDirectory(BasicContextProvider.java:185) at at sonia.scm.BasicContextProvider.<init>(BasicContextProvider.java:92) at at sonia.scm.SCMContext.getContext(SCMContext.java:78) at at sonia.scm.ScmLogFilePropertyDefiner.<init>(ScmLogFilePropertyDefiner.java:62) at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at at java.lang.Class.newInstance0(Class.java:372) at at java.lang.Class.newInstance(Class.java:325) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:50) at ... 35 common frames omitted 19:35:11,693 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender] 19:35:11,699 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE] 19:35:11,784 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@38e993ad - No compression will be used 19:35:11,797 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 19:35:11,840 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: LOGDIR_IS_UNDEFINED/scm-manager.log 19:35:11,840 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [LOGDIR_IS_UNDEFINED/scm-manager.log] 19:35:11,841 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Failed to create parent directories for [/var/lib/tomcat7/LOGDIR_IS_UNDEFINED/scm-manager.log] 19:35:11,842 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - openFile(LOGDIR_IS_UNDEFINED/scm-manager.log,true) call failed. java.io.FileNotFoundException: LOGDIR_IS_UNDEFINED/scm-manager.log (No such file or directory) at java.io.FileNotFoundException: LOGDIR_IS_UNDEFINED/scm-manager.log (No such file or directory) at at java.io.FileOutputStream.open(Native Method) at at java.io.FileOutputStream.<init>(FileOutputStream.java:212) at at ch.qos.logback.core.recovery.ResilientFileOutputStream.<init>(ResilientFileOutputStream.java:30) at at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:163) at at ch.qos.logback.core.FileAppender.start(FileAppender.java:115) at at ch.qos.logback.core.rolling.RollingFileAppender.start(RollingFileAppender.java:79) at at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:96) at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:318) at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:197) at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:183) at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:55) at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75) at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148) at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84) at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:54) at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128) at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108) at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:279) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:252) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:265) at at sonia.scm.boot.BootstrapListener.<clinit>(BootstrapListener.java:76) at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at at java.lang.Class.newInstance0(Class.java:372) at at java.lang.Class.newInstance(Class.java:325) at at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:119) at at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4660) at at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226) at at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221) at at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at at java.util.concurrent.FutureTask.run(FutureTask.java:166) at at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at at java.lang.Thread.run(Thread.java:722) 19:35:11,842 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] 19:35:11,845 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT] 19:35:11,849 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 19:35:11,849 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [sonia.scm] to INFO 19:35:11,849 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [sonia.scm.util.ServiceUtil] to WARN 19:35:11,849 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN 19:35:11,850 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT] 19:35:11,850 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT] 19:35:11,853 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@6ede600b - Registering current configuration as safe fallback point }}}

Comments (10)

  1. DRayX

    Sorry I didn't have an account. It looks like the issue was probably that the default user to run tomcat didn't have an existing home directory, and of course didn't have permission to create a directory in /home. This would appear to be less so an issue with SCM Manager, and more so an issue with the strange way the Ubuntu tomcat package is configured by default. It might be useful to catch permissions exceptions and log them, or to run the webapp and just have it display an error dialog with more detailed info. The simple solution to the problem I had though would be to simply ensure that the user running tomcat has a home directory.

    Edit: On second thought, creating a home directory for the tomcat user might not be the best idea as it would essentially expose the contents of the skeleton directory to the user running the webapp. It just stinks that the only way to set the SCM_PATH is with an environment variable or java option that I would have to inject into the init script (or the default script which wouldn't be so bad), or modify the JAR.

  2. Sebastian Sdorra repo owner

    It is not so easy, because the error occurs during the log configuration. I could print a detailed error message to System.err. I will try to display an error on the page, but this could be difficult.

  3. DRayX

    Printing a more detailed message to System.err sounds like a good solution to me as in this case it would redirect to catalina.out which I think most people would know to check. Thanks for your timely assistance, it is greatly appreciated.

  4. DRayX

    Just tried it, got a page with the following content. Looks good to me, and seems like it would be easier to debug than just failing to start. Thanks again.

          java.lang.IllegalStateException: could not create home directory at /usr/share/tomcat7/.scm
    	at sonia.scm.BasicContextProvider.findBaseDirectory(BasicContextProvider.java:216)
    	at sonia.scm.BasicContextProvider.(BasicContextProvider.java:94)
    	at sonia.scm.SCMContext.getContext(SCMContext.java:78)
    	at sonia.scm.ScmLogFilePropertyDefiner.(ScmLogFilePropertyDefiner.java:62)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    	at java.lang.Class.newInstance0(Class.java:372)
    	at java.lang.Class.newInstance(Class.java:325)
    	at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:50)
    	at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:32)
    	at ch.qos.logback.core.joran.action.DefinePropertyAction.begin(DefinePropertyAction.java:64)
    	at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276)
    	at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148)
    	at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130)
    	at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50)
    	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147)
    	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133)
    	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96)
    	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:55)
    	at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
    	at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
    	at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
    	at org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:54)
    	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
    	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108)
    	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:279)
    	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:252)
    	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:265)
    	at sonia.scm.boot.BootstrapListener.(BootstrapListener.java:76)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    	at java.lang.Class.newInstance0(Class.java:372)
    	at java.lang.Class.newInstance(Class.java:325)
    	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:119)
    	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4660)
    	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
    	at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
    	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    	at java.lang.Thread.run(Thread.java:722)
    
  5. Hosein Yeganloo

    i have same problem with opensuse 12.3 and scm-webapp-1.33.war error is:

    java.lang.IllegalStateException: could not create home directory at /usr/share/tomcat/.scm
        at sonia.scm.BasicContextProvider.findBaseDirectory(BasicContextProvider.java:205)
        at sonia.scm.BasicContextProvider.<init>(BasicContextProvider.java:95)
        at sonia.scm.SCMContext.getContext(SCMContext.java:95)
        at sonia.scm.ScmLogFilePropertyDefiner.<init>(ScmLogFilePropertyDefiner.java:62)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at java.lang.Class.newInstance(Class.java:374)
        at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:65)
        at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:48)
        at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:35)
        at ch.qos.logback.core.joran.action.DefinePropertyAction.begin(DefinePropertyAction.java:73)
        at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:275)
        at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:147)
        at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:129)
        at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50)
        at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:149)
        at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:135)
        at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99)
        at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:49)
        at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
        at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
        at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)
        at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
        at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
        at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
        at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
        at sonia.scm.boot.BootstrapListener.<clinit>(BootstrapListener.java:76)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at java.lang.Class.newInstance(Class.java:374)
        at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:138)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4733)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)
    
  6. Log in to comment