deployment - sonar/deploy is empty and got "FAIL - Application for the context path /sonar could not be started" on Tomcat -


i installing sonar3.6.2 on apache tomcat/7.0.42 server encounter issue in webapp startup processing. following explains steps...

i have configured sonar.properties file such :

sonar.jdbc.username: admin sonar.jdbc.password: admin sonar.jdbc.url: jdbc:oracle:thin:@192.168.1.125:1521/devorcl sonar.jdbc.driverclassname: oracle.jdbc.oracledriver 

and copied ojdbc6.jar file ./extensions/jdbc-driver/oracle/

well, execute ./build-war.sh , sonar.war file , build/ folder.

so, when deploy sonar.war apache-tomcat-7.0.42/webapps/ folder, sonar/ folder create in , contains same files , directories build/.

but in tomcat server, when start sonar webapps following message appears me :

echec - l'application pour le chemin de contexte /sonar n'a pas pu être démarrée

in english:

fail - application context path /sonar not started

here log find in apache-tomcat-7.0.42/logs/catalina.out :

jul 31, 2013 2:41:22 pm org.apache.catalina.startup.expandwar copy severe: error copying /opt/apache-tomcat-7.0.42/temp/0-sonar /opt/apache-tomcat-7.0.42/temp/4-sonar java.io.filenotfoundexception: /opt/apache-tomcat-7.0.42/temp/0-sonar (no such file or directory)     @ java.io.fileinputstream.open(native method)     @ java.io.fileinputstream.<init>(fileinputstream.java:138)     @ org.apache.catalina.startup.expandwar.copy(expandwar.java:283)     @ org.apache.catalina.startup.contextconfig.antilocking(contextconfig.java:816)     @ org.apache.catalina.startup.contextconfig.beforestart(contextconfig.java:857)     @ org.apache.catalina.startup.contextconfig.lifecycleevent(contextconfig.java:378)     @ org.apache.catalina.util.lifecyclesupport.firelifecycleevent(lifecyclesupport.java:119)     @ org.apache.catalina.util.lifecyclebase.firelifecycleevent(lifecyclebase.java:90)     @ org.apache.catalina.util.lifecyclebase.setstateinternal(lifecyclebase.java:402)     @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:147)     @ org.apache.catalina.manager.managerservlet.start(managerservlet.java:1256)     @ org.apache.catalina.manager.htmlmanagerservlet.start(htmlmanagerservlet.java:714)     @ org.apache.catalina.manager.htmlmanagerservlet.dopost(htmlmanagerservlet.java:219)     @ javax.servlet.http.httpservlet.service(httpservlet.java:647)     @ javax.servlet.http.httpservlet.service(httpservlet.java:728)     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:305)     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210)     @ org.apache.catalina.filters.csrfpreventionfilter.dofilter(csrfpreventionfilter.java:212)     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243)     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210)     @ org.apache.catalina.filters.setcharacterencodingfilter.dofilter(setcharacterencodingfilter.java:108)     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243)     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210)     @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:222)     @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:123)     @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:611)     @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:171)     @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:99)     @ org.apache.catalina.valves.accesslogvalve.invoke(accesslogvalve.java:953)     @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:118)     @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:408)     @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1023)     @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:589)     @ org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:310)     @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615)     @ java.lang.thread.run(thread.java:724)  jul 31, 2013 2:41:22 pm org.apache.catalina.core.standardcontext resourcesstart severe: error starting static resources java.lang.illegalargumentexception: document base /opt/apache-tomcat-7.0.42/temp/0-sonar not exist or not readable directory     @ org.apache.naming.resources.filedircontext.setdocbase(filedircontext.java:138)     @ org.apache.catalina.core.standardcontext.resourcesstart(standardcontext.java:5055)     @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5235)     @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)     @ org.apache.catalina.manager.managerservlet.start(managerservlet.java:1256)     @ org.apache.catalina.manager.htmlmanagerservlet.start(htmlmanagerservlet.java:714)     @ org.apache.catalina.manager.htmlmanagerservlet.dopost(htmlmanagerservlet.java:219)     @ javax.servlet.http.httpservlet.service(httpservlet.java:647)     @ javax.servlet.http.httpservlet.service(httpservlet.java:728)     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:305)     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210)     @ org.apache.catalina.filters.csrfpreventionfilter.dofilter(csrfpreventionfilter.java:212)     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243)     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210)     @ org.apache.catalina.filters.setcharacterencodingfilter.dofilter(setcharacterencodingfilter.java:108)     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243)     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210)     @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:222)     @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:123)     @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:611)     @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:171)     @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:99)     @ org.apache.catalina.valves.accesslogvalve.invoke(accesslogvalve.java:953)     @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:118)     @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:408)     @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1023)     @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:589)     @ org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:310)     @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615)     @ java.lang.thread.run(thread.java:724)  jul 31, 2013 2:41:22 pm org.apache.catalina.core.standardcontext startinternal severe: error in resourcestart() jul 31, 2013 2:41:22 pm org.apache.catalina.core.standardcontext startinternal severe: error getconfigured jul 31, 2013 2:41:22 pm org.apache.catalina.core.standardcontext startinternal severe: context [/sonar] startup failed due previous errors jul 31, 2013 2:41:22 pm org.apache.catalina.util.lifecyclebase stop info: stop() method called on component [webapploader[/sonar]] after stop() had been called. second call ignored. 

sonar can not start , run , not know why.

but find abnormal empty folder in webapps/sonar/ directory : deploy/ folder empty whereas in install of sonar (v.3.5.1) on server directory contains files , folders. configuration files same.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -