by Arshia Aghaei » 02. July 2016 12:17
Sorry , I didn't find any edit button. Did I miss it ?
Things are getting more strange :
After I posted the thread , I tried running catalina_start.baat more times and finally tomcat service started.
But the problem was that the service was only getting started with running the bat file and clicking start button wasn't working.
Also catalina_start.bat was showing that the JRE_HOME was set.
But today , When I started catalina_start.bat , Tomcat almost immidetly stopped after starting with this log :
3:13:17 PM [Tomcat] Status change detected: running
3:13:19 PM [Tomcat] Status change detected: stopped
3:13:19 PM [Tomcat] Error: Tomcat shutdown unexpectedly.
3:13:19 PM [Tomcat] This may be due to a blocked port, missing dependencies,
3:13:19 PM [Tomcat] improper privileges, a crash, or a shutdown by another method.
3:13:19 PM [Tomcat] Press the Logs button to view error logs and check
3:13:19 PM [Tomcat] the Windows Event Viewer for more clues
3:13:19 PM [Tomcat] If you need more help, copy and post this
3:13:19 PM [Tomcat] entire log window on the forums
Also , got some logs :
http://s000.tinyupload.com/index.php?file_id=16110268199052489579
And even more strange : a few minutes ago , I was able to successfully run catalina_start.bat
And right now , I started tomcat with the button.
You guys might say that the problem is solved , but presumably it will return...
Also catalina_start.bat log is :
[XAMPP]: Searching for JDK or JRE HOME with reg query ...
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit
CurrentVersion REG_SZ 1.8
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.8
JavaHome REG_SZ C:\Program Files\Java\JDK
MicroVersion REG_SZ 0
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.8.0
JavaHome REG_SZ C:\Program Files\Java\jdk1.8.0
MicroVersion REG_SZ 0
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.8.0\MSI
INSTALLDIR REG_SZ C:\Program Files\Java\jdk1.8.0\
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.8.0_74
JavaHome REG_SZ C:\Program Files\Java\JDK
MicroVersion REG_SZ 0
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.8.0_74\MSI
INSTALLDIR REG_SZ C:\Program Files\Java\JDK\
NOSTARTMENU REG_SZ 0
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.9.0
JavaHome REG_SZ C:\Program Files\Java\Java Development Kit
MicroVersion REG_SZ 0
BuildNumber REG_SZ 52
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.9.0\MSI
NOSTARTMENU REG_SZ 0
[XAMPP]: Using JDK
[XAMPP]: Seems fine!
[XAMPP]: Set JAVA_HOME : C:\Program Files\Java\Java Development Kit
[XAMPP]: Set CATALINA_HOME : c:\XAMPP\tomcat
Using CATALINA_BASE: "c:\XAMPP\tomcat"
Using CATALINA_HOME: "c:\XAMPP\tomcat"
Using CATALINA_TMPDIR: "c:\XAMPP\tomcat\temp"
Using JRE_HOME: "C:\Program Files\Java\JRE"
Using CLASSPATH: "c:\XAMPP\tomcat\bin\bootstrap.jar;c:\XAMPP\tomcat\bin\tomcat-juli.jar"
Jul 02, 2016 3:46:27 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: C:\Program Files\Java\JRE\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;c:\MinGW\bin;c:\MinGW\libexec\gcc\i686-pc-mingw32\5.3.0;C:\ProgramData\Oracle\Java\javapath;C:\Watcom\binnt;C:\Watcom\binw;c:\MinGW\libexec\gcc\i686-pc-mingw32\4.8.2;c:\MinGW\libexec\gcc\i686-pc-mingw32\4.9.1;C:\MinGW\libexec\gcc\i686-pc-mingw32\4.7.0;C:\GCC 4.7\bin;C:\GCC 4.7\libexec\gcc\i686-pc-mingw32\4.7.0;C:\Program Files\Python3.4.2\;C:\Program Files\Python3.4.2\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\TDM-GCC-32\bin;C:\Program Files\Code Blocks(ctalk)\MinGW;C:\MinGW;C:\Program Files\GtkSharp 2.12\bin;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Fil
es\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files\Brackets\command;C:\Program Files\Node.JS\;C:\Program Files\Xuggle\bin;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\CMake\bin;C:\Program Files\Java\JDK;C:\Program Files\Microsoft Visual Studio 6\Visual C++ 6\bin;C:\Program Files\Microsoft Visual Studio 6\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio 6\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio 6\Common\Tools;C:\Program Files\Microsoft Visual Studio 6.0\VC98\bin;C:\Users\Chizari\AppData\Roaming\npm;C:\Program Files\Java\JDK;.
Jul 02, 2016 3:46:29 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jul 02, 2016 3:46:29 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jul 02, 2016 3:46:29 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3472 ms
Jul 02, 2016 3:46:29 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jul 02, 2016 3:46:29 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.56
Jul 02, 2016 3:46:29 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\XAMPP\tomcat\webapps\docs
Jul 02, 2016 3:46:30 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [401] milliseconds.
Jul 02, 2016 3:46:30 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory C:\XAMPP\tomcat\webapps\docs has finished in 1,196 ms
Jul 02, 2016 3:46:30 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\XAMPP\tomcat\webapps\examples
Jul 02, 2016 3:46:32 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory C:\XAMPP\tomcat\webapps\examples has finished in 1,576 ms
Jul 02, 2016 3:46:32 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\XAMPP\tomcat\webapps\host-manager
Jul 02, 2016 3:46:32 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory C:\XAMPP\tomcat\webapps\host-manager has finished in 211 ms
Jul 02, 2016 3:46:32 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\XAMPP\tomcat\webapps\manager
Jul 02, 2016 3:46:32 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory C:\XAMPP\tomcat\webapps\manager has finished in 155 ms
Jul 02, 2016 3:46:32 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\XAMPP\tomcat\webapps\ROOT
Jul 02, 2016 3:46:32 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory C:\XAMPP\tomcat\webapps\ROOT has finished in 122 ms
Jul 02, 2016 3:46:32 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jul 02, 2016 3:46:32 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jul 02, 2016 3:46:32 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3517 ms
So , what is just going on ?