Posted on 11-20-2015 07:37 AM
So, apache Tomcat service starts , then stops...
This is getting on my preverbials!!!
Here's the log:
[2015-11-20 15:33:41] [debug] ( prunsrv.c:1186) [ 3516] Java started org/apache/catalina/startup/Bootstrap
[2015-11-20 15:33:41] [info] ( prunsrv.c:1284) [ 3516] Service started in 3026 ms.
[2015-11-20 15:33:41] [debug] ( prunsrv.c:844 ) [ 3516] reportServiceStatusE: 4, 0, 0, 0
[2015-11-20 15:33:41] [debug] ( prunsrv.c:1528) [ 3516] Waiting for worker to finish...
[2015-11-20 15:33:41] [debug] ( prunsrv.c:1533) [ 3516] Worker finished.
[2015-11-20 15:33:41] [debug] ( prunsrv.c:1559) [ 3516] Waiting for all threads to exit
[2015-11-20 15:33:41] [debug] ( prunsrv.c:844 ) [ 3516] reportServiceStatusE: 3, 0, 0, 0
[2015-11-20 15:33:41] [debug] ( prunsrv.c:1563) [ 3516] JVM destroyed.
[2015-11-20 15:33:41] [debug] ( prunsrv.c:844 ) [ 3516] reportServiceStatusE: 1, 0, 0, 0
[2015-11-20 15:33:41] [info] ( prunsrv.c:1598) [ 1068] Run service finished.
[2015-11-20 15:33:42] [info] ( prunsrv.c:1764) [ 1068] Commons Daemon procrun finished
[2015-11-20 15:35:16] [debug] ( prunsrv.c:1679) [ 1636] Commons Daemon procrun log initialized
[2015-11-20 15:35:17] [info] ( prunsrv.c:1683) [ 1636] Commons Daemon procrun (1.0.15.0 64-bit) started
[2015-11-20 15:35:17] [info] ( prunsrv.c:1596) [ 1636] Running 'Tomcat7' Service...
[2015-11-20 15:35:17] [debug] ( prunsrv.c:1374) [ 760] Inside ServiceMain...
[2015-11-20 15:35:17] [debug] ( prunsrv.c:844 ) [ 760] reportServiceStatusE: 2, 0, 3000, 0
[2015-11-20 15:35:17] [info] ( prunsrv.c:1127) [ 760] Starting service...
[2015-11-20 15:35:18] [debug] ( javajni.c:233 ) [ 760] loading jvm 'C:Program FilesJavajre7inserverjvm.dll'
[2015-11-20 15:35:19] [debug] ( javajni.c:278 ) [ 760] Setting DLL search path to 'C:Program FilesJavajre7inserver'
[2015-11-20 15:35:20] [debug] ( javajni.c:278 ) [ 760] Setting DLL search path to 'C:Program FilesJavajre7in'
[2015-11-20 15:35:20] [debug] ( javajni.c:704 ) [ 3412] Jvm Option[0] -Dcatalina.home=C:Program FilesJSSTomcat
[2015-11-20 15:35:20] [debug] ( javajni.c:704 ) [ 3412] Jvm Option[1] -Dcatalina.base=C:Program FilesJSSTomcat
[2015-11-20 15:35:20] [debug] ( javajni.c:704 ) [ 3412] Jvm Option[2] -Djava.endorsed.dirs=C:Program FilesJSSTomcatendorsed
[2015-11-20 15:35:20] [debug] ( javajni.c:704 ) [ 3412] Jvm Option[3] -Djava.io.tmpdir=C:Program FilesJSSTomcat emp
[2015-11-20 15:35:21] [debug] ( javajni.c:704 ) [ 3412] Jvm Option[4] -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
[2015-11-20 15:35:21] [debug] ( javajni.c:704 ) [ 3412] Jvm Option[5] -Djava.util.logging.config.file=C:Program FilesJSSTomcatconflogging.properties
[2015-11-20 15:35:21] [debug] ( javajni.c:704 ) [ 3412] Jvm Option[6] -Djava.class.path=C:Program FilesJSSTomcatinootstrap.jar;C:Program FilesJSSTomcatin omcat-juli.jar
[2015-11-20 15:35:21] [debug] ( javajni.c:704 ) [ 3412] Jvm Option[7] exit
[2015-11-20 15:35:21] [debug] ( javajni.c:704 ) [ 3412] Jvm Option[8] -Xms512m
[2015-11-20 15:35:21] [debug] ( javajni.c:704 ) [ 3412] Jvm Option[9] -Xmx6016m
[2015-11-20 15:35:21] [debug] ( javajni.c:888 ) [ 3412] argv[0] = start
[2015-11-20 15:35:22] [debug] ( javajni.c:941 ) [ 3412] Java Worker thread started org/apache/catalina/startup/Bootstrap:main
[2015-11-20 15:35:22] [debug] ( javajni.c:964 ) [ 3412] Java Worker thread finished org/apache/catalina/startup/Bootstrap:main with status=0
[2015-11-20 15:35:23] [debug] ( prunsrv.c:1186) [ 760] Java started org/apache/catalina/startup/Bootstrap
[2015-11-20 15:35:24] [info] ( prunsrv.c:1284) [ 760] Service started in 5257 ms.
[2015-11-20 15:35:24] [debug] ( prunsrv.c:844 ) [ 760] reportServiceStatusE: 4, 0, 0, 0
[2015-11-20 15:35:25] [debug] ( prunsrv.c:1528) [ 760] Waiting for worker to finish...
[2015-11-20 15:35:25] [debug] ( prunsrv.c:1533) [ 760] Worker finished.
[2015-11-20 15:35:25] [debug] ( prunsrv.c:1559) [ 760] Waiting for all threads to exit
[2015-11-20 15:35:25] [debug] ( prunsrv.c:844 ) [ 760] reportServiceStatusE: 3, 0, 0, 0
[2015-11-20 15:35:25] [debug] ( prunsrv.c:1563) [ 760] JVM destroyed.
[2015-11-20 15:35:26] [debug] ( prunsrv.c:844 ) [ 760] reportServiceStatusE: 1, 0, 0, 0
[2015-11-20 15:35:26] [info] ( prunsrv.c:1598) [ 1636] Run service finished.
[2015-11-20 15:35:26] [info] ( prunsrv.c:1764) [ 1636] Commons Daemon procrun finished.
Does ANYONE have any ideas on this???
cheers!!!
Posted on 11-20-2015 08:10 AM
On Windows Server 2008 R2
Posted on 11-20-2015 01:33 PM
What happens if you uninstall the Tomcat service and reinstall? I had some major Tomcat issues from a JSS upgrade on a Windows 2008 R2 server, and finally had to uninstall the Tomcat service and reinstall. Make sure you back up your JSS folder before doing so.
Also, in looking at your log file, you may have a Java issue (but I'm no authority on that). I also took the opportunity to update my Java as well when my JSS had issues. Check this KB: https://jamfnation.jamfsoftware.com/article.html?id=348
Posted on 11-23-2015 03:12 AM
I've resolved it, Seems it didn't install properly and there were some files missing from 'lib' folder.
All sorted, Thanks!