Community
Participate
Working Groups
Created attachment 272572 [details] Debug buttons grey out immediately after right click on tutorRegister.jsp but it was totally normal on startup Whenver I start Eclipse IDE with my project inside, the debug buttons like step into, step out, resume etc appeared normal as in it is coloured. However, if I pressed any key or right click on my jsp page which I need to run it in debug mode to see if it is working then all the debug buttons will be greyed out. I have tried many ways to make the buttons come back but it is not very successful and this problem has been bugging me for at least 2 weeks. There is little information regarding this kind of problem at the stackoverflow. I hope someone can tell me how to make Eclipse Normal again. My project is just a basic dynamic web app using Maven war plug in with JPA, Hibernate 5, Java EE 3 with JSP. Tomcat 9 on Windows 10.
Moving to WTP.
What are you actually prevented from doing? I ask because I'm not sure this is a bug, other than the buttons in that action set not being disabled from the start. The buttons you're showing as disabled are for stopping, resuming, and stepping into/over method calls and frames when selected in the Debug View, which is not open and active. The buttons for launching the JSP on a server are still enabled.
Well, I can't do any debugging if the debugging buttons are greyed out. Furthermore, I have attempted various ways to make the buttons enabled via customize the perspective but to no avail. Basically, I need someone tells me how to make the debug buttons appear when I click run debug. If this is not a bug, how come no matter what I tried I still can't make the debug buttons come on ?
(In reply to Karen Goh from comment #3) > Well, I can't do any debugging if the debugging buttons are greyed out. > > Furthermore, I have attempted various ways to make the buttons enabled via > customize the perspective but to no avail. > > Basically, I need someone tells me how to make the debug buttons appear when > I click run debug. > > If this is not a bug, how come no matter what I tried I still can't make the > debug buttons come on ? They should only be enabled when actively debugging. Are they not? These are a _different_ set of buttons from the ones that launch a debugging process (in attachment 272572 [details], the buttons for launching are to the right of the disabled buttons and popup menu, and appear to still be enabled).
Karen, do you have more information?
I deleted this problematic Eclipse IDE and re-install a new one and there is no problem. After confirming that my method is correct, I decided to just deleted it. It is obviously that this Eclipse Oxygen is corrupted. Hope the relevant committee can look into this.
I am coming back to here again cos the new installed IDE is going back to the old problem. :( Please let me know what sort of infor you need in order to make things right. It has been 2 months already and I can't proceed with the project with this debugger not working :( Here's the log : 127.0.0.1 - - [06/Mar/2018:11:09:08 +0800] "GET / HTTP/1.1" 404 1073 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:09:14 +0800] "GET /Hi5S/tutorRegister.jsp HTTP/1.1" 200 13656 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:09:14 +0800] "GET /Hi5S/BootStrap/css/bootstrap.min.css HTTP/1.1" 404 1121 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:09:14 +0800] "GET /Hi5S/BootStrap/css/modern-business.css HTTP/1.1" 404 1123 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:09:14 +0800] "GET /Hi5S/BootStrap/css/checkbox.css HTTP/1.1" 404 1116 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:09:14 +0800] "GET /Hi5S/BootStrap/font-awesome/css/font-awesome.min.css HTTP/1.1" 404 1141 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:09:14 +0800] "GET /Hi5S/BootStrap/Checkbox.js HTTP/1.1" 404 1107 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:09:14 +0800] "GET /Hi5S/BootStrap/css/bootstrap-multiselect.css HTTP/1.1" 404 1129 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:09:14 +0800] "GET /Hi5S/BootStrap/bootstrap-multiselect.js HTTP/1.1" 404 1120 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:09:15 +0800] "GET /Hi5S/Image/aa1.png HTTP/1.1" 404 1099 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:09:15 +0800] "GET /Hi5S/js/bootstrap.min.js HTTP/1.1" 404 1105 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:09:15 +0800] "GET /Hi5S/js/jquery.js HTTP/1.1" 404 1098 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:09:15 +0800] "GET /Hi5S/js/jqBootstrapValidation.js HTTP/1.1" 404 1113 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:09:15 +0800] "GET /Hi5S/js/contact_me.js HTTP/1.1" 404 1102 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:12:51 +0800] "POST /Hi5S/addTutor HTTP/1.1" 500 - 127.0.0.1 - - [06/Mar/2018:11:41:37 +0800] "GET / HTTP/1.1" 404 1073 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:41:39 +0800] "GET /Hi5S/tutorRegister.jsp HTTP/1.1" 200 13656 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:41:39 +0800] "GET /Hi5S/BootStrap/css/bootstrap.min.css HTTP/1.1" 404 1121 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:41:39 +0800] "GET /Hi5S/BootStrap/css/modern-business.css HTTP/1.1" 404 1123 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:41:39 +0800] "GET /Hi5S/BootStrap/css/bootstrap-multiselect.css HTTP/1.1" 404 1129 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:41:39 +0800] "GET /Hi5S/BootStrap/css/checkbox.css HTTP/1.1" 404 1116 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:41:39 +0800] "GET /Hi5S/BootStrap/font-awesome/css/font-awesome.min.css HTTP/1.1" 404 1141 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:41:39 +0800] "GET /Hi5S/BootStrap/Checkbox.js HTTP/1.1" 404 1107 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:41:39 +0800] "GET /Hi5S/BootStrap/bootstrap-multiselect.js HTTP/1.1" 404 1120 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:41:39 +0800] "GET /Hi5S/js/jquery.js HTTP/1.1" 404 1098 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:41:39 +0800] "GET /Hi5S/js/bootstrap.min.js HTTP/1.1" 404 1105 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:41:39 +0800] "GET /Hi5S/js/contact_me.js HTTP/1.1" 404 1102 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:41:39 +0800] "GET /Hi5S/js/jqBootstrapValidation.js HTTP/1.1" 404 1113 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:41:39 +0800] "GET /Hi5S/Image/aa1.png HTTP/1.1" 404 1099 0:0:0:0:0:0:0:1 - - [06/Mar/2018:11:43:08 +0800] "POST /Hi5S/addTutor HTTP/1.1" 200 - 127.0.0.1 - - [06/Mar/2018:12:12:52 +0800] "GET / HTTP/1.1" 404 1073 0:0:0:0:0:0:0:1 - - [06/Mar/2018:12:12:57 +0800] "GET /Hi5S/tutorRegister.jsp HTTP/1.1" 200 13656 0:0:0:0:0:0:0:1 - - [06/Mar/2018:12:12:57 +0800] "GET /Hi5S/BootStrap/css/bootstrap.min.css HTTP/1.1" 404 1121 0:0:0:0:0:0:0:1 - - [06/Mar/2018:12:12:57 +0800] "GET /Hi5S/BootStrap/css/modern-business.css HTTP/1.1" 404 1123 0:0:0:0:0:0:0:1 - - [06/Mar/2018:12:12:57 +0800] "GET /Hi5S/BootStrap/css/checkbox.css HTTP/1.1" 404 1116 0:0:0:0:0:0:0:1 - - [06/Mar/2018:12:12:57 +0800] "GET /Hi5S/BootStrap/font-awesome/css/font-awesome.min.css HTTP/1.1" 404 1141 0:0:0:0:0:0:0:1 - - [06/Mar/2018:12:12:57 +0800] "GET /Hi5S/BootStrap/css/bootstrap-multiselect.css HTTP/1.1" 404 1129 0:0:0:0:0:0:0:1 - - [06/Mar/2018:12:12:57 +0800] "GET /Hi5S/BootStrap/bootstrap-multiselect.js HTTP/1.1" 404 1120 0:0:0:0:0:0:0:1 - - [06/Mar/2018:12:12:57 +0800] "GET /Hi5S/BootStrap/Checkbox.js HTTP/1.1" 404 1107 0:0:0:0:0:0:0:1 - - [06/Mar/2018:12:12:57 +0800] "GET /Hi5S/js/jquery.js HTTP/1.1" 404 1098 0:0:0:0:0:0:0:1 - - [06/Mar/2018:12:12:57 +0800] "GET /Hi5S/js/jqBootstrapValidation.js HTTP/1.1" 404 1113 0:0:0:0:0:0:0:1 - - [06/Mar/2018:12:12:57 +0800] "GET /Hi5S/js/bootstrap.min.js HTTP/1.1" 404 1105 0:0:0:0:0:0:0:1 - - [06/Mar/2018:12:12:57 +0800] "GET /Hi5S/js/contact_me.js HTTP/1.1" 404 1102 0:0:0:0:0:0:0:1 - - [06/Mar/2018:12:12:57 +0800] "GET /Hi5S/Image/aa1.png HTTP/1.1" 404 1099 0:0:0:0:0:0:0:1 - - [06/Mar/2018:12:14:07 +0800] "POST /Hi5S/addTutor HTTP/1.1" 200 -
Below are the screen shots which show how I did the debugging 1) https://ibb.co/mvivkx >> > >> > 2) https://ibb.co/mrGy5x >> > >> > 3) https://ibb.co/mtR6Qx >> > >> > 4) https://ibb.co/dkBjCc
I hope the below infor is helping to determine what went wrong. Hope to have the solution soon. Tks. Mar 06, 2018 2:01:04 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Hi5S' did not find a matching property. Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Server version: Apache Tomcat/9.0.4 Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Server built: Jan 18 2018 19:42:17 UTC Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Server number: 9.0.4.0 Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: OS Name: Windows 10 Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: OS Version: 10.0 Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Architecture: amd64 Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Java Home: C:\Program Files\Java\jre1.8.0_161 Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: JVM Version: 1.8.0_161-b12 Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: JVM Vendor: Oracle Corporation Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: CATALINA_BASE: C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1 Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: CATALINA_HOME: C:\Program Files\Apache\apache-tomcat-9.0.4-windows-x64\apache-tomcat-9.0.4 Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:52635 Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Dcatalina.base=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1 Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Dcatalina.home=C:\Program Files\Apache\apache-tomcat-9.0.4-windows-x64\apache-tomcat-9.0.4 Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Dwtp.deploy=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache\apache-tomcat-9.0.4-windows-x64\apache-tomcat-9.0.4\endorsed Mar 06, 2018 2:01:04 PM org.apache.catalina.startup.VersionLoggerListener log INFO: Command line argument: -Dfile.encoding=UTF-8 Mar 06, 2018 2:01:04 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent 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\jre1.8.0_161\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre1.8.0_161/bin/server;C:/Program Files/Java/jre1.8.0_161/bin;C:/Program Files/Java/jre1.8.0_161/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\MySQL\mysql-5.7.20-win32\bin;C:\Program Files\Java\jdk1.8.0_151\bin;C:\Program Files (x86)\Eclipse JEE IDE\eclipse;;.] Mar 06, 2018 2:01:05 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-nio-8080"] Mar 06, 2018 2:01:06 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector INFO: Using a shared selector for servlet write/read Mar 06, 2018 2:01:06 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-nio-8009"] Mar 06, 2018 2:01:06 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector INFO: Using a shared selector for servlet write/read Mar 06, 2018 2:01:06 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 4691 ms Mar 06, 2018 2:01:06 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Catalina] Mar 06, 2018 2:01:06 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/9.0.4 Mar 06, 2018 2:01:09 PM org.apache.jasper.servlet.TldScanner scanJars INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. Mar 06, 2018 2:01:19 PM org.apache.jasper.servlet.TldScanner scanJars INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 2018-03-06 14:01:21,697 main DEBUG Starting LoggerContext[name=/Hi5S] from configuration at file:/C:/Users/Karen.Goh/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/Hi5S/WEB-INF/log4j2.xml 2018-03-06 14:01:21,705 main DEBUG Starting LoggerContext[name=/Hi5S, org.apache.logging.log4j.core.LoggerContext@486dd616] with configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml]... 2018-03-06 14:01:21,709 main DEBUG Shutdown hook enabled. Registering a new one. 2018-03-06 14:01:21,714 main DEBUG Initializing configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml] 2018-03-06 14:01:21,729 main DEBUG Installed 1 script engine 2018-03-06 14:01:22,905 main DEBUG Oracle Nashorn version: 1.8.0_161, language: ECMAScript, threading: Not Thread Safe, compile: true, names: [nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, ecmascript], factory class: jdk.nashorn.api.scripting.NashornScriptEngineFactory 2018-03-06 14:01:22,907 main DEBUG PluginManager 'Core' found 117 plugins 2018-03-06 14:01:22,908 main DEBUG PluginManager 'Level' found 0 plugins 2018-03-06 14:01:22,936 main DEBUG PluginManager 'Lookup' found 14 plugins 2018-03-06 14:01:22,947 main DEBUG Building Plugin[name=layout, class=org.apache.logging.log4j.core.layout.PatternLayout]. 2018-03-06 14:01:23,034 main DEBUG PluginManager 'TypeConverter' found 26 plugins 2018-03-06 14:01:23,163 main DEBUG PatternLayout$Builder(pattern="%-5p [%t]: %m%n", PatternSelector=null, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Replace=null, charset="null", alwaysWriteExceptions="null", disableAnsi="null", noConsoleNoAnsi="null", header="null", footer="null") 2018-03-06 14:01:23,167 main DEBUG PluginManager 'Converter' found 42 plugins 2018-03-06 14:01:23,170 main DEBUG Building Plugin[name=appender, class=org.apache.logging.log4j.core.appender.ConsoleAppender]. 2018-03-06 14:01:23,249 main DEBUG ConsoleAppender$Builder(target="SYSTEM_OUT", follow="null", direct="null", bufferedIo="null", bufferSize="null", immediateFlush="null", ignoreExceptions="null", PatternLayout(%-5p [%t]: %m%n), name="STDOUT", Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null) 2018-03-06 14:01:23,263 main DEBUG Starting OutputStreamManager SYSTEM_OUT.false.false 2018-03-06 14:01:23,264 main DEBUG Building Plugin[name=appenders, class=org.apache.logging.log4j.core.config.AppendersPlugin]. 2018-03-06 14:01:23,281 main DEBUG createAppenders(={STDOUT}) 2018-03-06 14:01:23,283 main DEBUG Building Plugin[name=appender-ref, class=org.apache.logging.log4j.core.config.AppenderRef]. 2018-03-06 14:01:23,313 main DEBUG createAppenderRef(ref="STDOUT", level="INFO", Filter=null) 2018-03-06 14:01:23,318 main DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig]. 2018-03-06 14:01:23,351 main DEBUG createLogger(additivity="false", level="INFO", name="Business.RegisterService", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null) 2018-03-06 14:01:23,381 main DEBUG Building Plugin[name=appender-ref, class=org.apache.logging.log4j.core.config.AppenderRef]. 2018-03-06 14:01:23,383 main DEBUG createAppenderRef(ref="STDOUT", level="INFO", Filter=null) 2018-03-06 14:01:23,385 main DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig]. 2018-03-06 14:01:23,400 main DEBUG createLogger(additivity="false", level="INFO", name="DQOSql.tutorDAOImpl.java", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null) 2018-03-06 14:01:23,402 main DEBUG Building Plugin[name=appender-ref, class=org.apache.logging.log4j.core.config.AppenderRef]. 2018-03-06 14:01:23,404 main DEBUG createAppenderRef(ref="STDOUT", level="INFO", Filter=null) 2018-03-06 14:01:23,405 main DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig]. 2018-03-06 14:01:23,413 main DEBUG createLogger(additivity="false", level="INFO", name="controller.tutorController", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null) 2018-03-06 14:01:23,415 main DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef]. 2018-03-06 14:01:23,419 main DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null) 2018-03-06 14:01:23,421 main DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig]. 2018-03-06 14:01:23,433 main DEBUG createLogger(additivity="false", level="INFO", name="org.hibernate", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null) 2018-03-06 14:01:23,440 main DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef]. 2018-03-06 14:01:23,450 main DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null) 2018-03-06 14:01:23,517 main DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig]. 2018-03-06 14:01:23,529 main DEBUG createLogger(additivity="true", level="DEBUG", name="org.hibernate.SQL", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null) 2018-03-06 14:01:23,548 main DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef]. 2018-03-06 14:01:23,551 main DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null) 2018-03-06 14:01:23,553 main DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig]. 2018-03-06 14:01:23,559 main DEBUG createLogger(additivity="false", level="TRACE", name="org.hibernate.type.descriptor.sql", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null) 2018-03-06 14:01:23,561 main DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef]. 2018-03-06 14:01:23,563 main DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null) 2018-03-06 14:01:23,564 main DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig]. 2018-03-06 14:01:23,568 main DEBUG createLogger(additivity="false", level="DEBUG", name="util", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null) 2018-03-06 14:01:23,569 main DEBUG Building Plugin[name=loggers, class=org.apache.logging.log4j.core.config.LoggersPlugin]. 2018-03-06 14:01:23,577 main DEBUG createLoggers(={Business.RegisterService, DQOSql.tutorDAOImpl.java, controller.tutorController, org.hibernate, org.hibernate.SQL, org.hibernate.type.descriptor.sql, util}) 2018-03-06 14:01:23,578 main DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef]. 2018-03-06 14:01:23,580 main DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null) 2018-03-06 14:01:23,581 main DEBUG Building Plugin[name=root, class=org.apache.logging.log4j.core.config.LoggerConfig$RootLogger]. 2018-03-06 14:01:23,585 main DEBUG createLogger(additivity="null", level="INFO", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null) 2018-03-06 14:01:23,591 main DEBUG Building Plugin[name=loggers, class=org.apache.logging.log4j.core.config.LoggersPlugin]. 2018-03-06 14:01:23,592 main DEBUG createLoggers(={root}) 2018-03-06 14:01:23,596 main DEBUG Configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml] initialized 2018-03-06 14:01:23,597 main DEBUG Starting configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml] 2018-03-06 14:01:23,599 main DEBUG Started configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml] OK. 2018-03-06 14:01:23,600 main DEBUG Shutting down OutputStreamManager SYSTEM_OUT.false.false-1 2018-03-06 14:01:23,602 main DEBUG Shut down OutputStreamManager SYSTEM_OUT.false.false-1, all resources released: true 2018-03-06 14:01:23,602 main DEBUG Appender DefaultConsole-1 stopped with status true 2018-03-06 14:01:23,603 main DEBUG Stopped org.apache.logging.log4j.core.config.DefaultConfiguration@5e3405a1 OK 2018-03-06 14:01:23,627 main DEBUG Registering MBean org.apache.logging.log4j2:type=/Hi5S 2018-03-06 14:01:23,643 main DEBUG Registering MBean org.apache.logging.log4j2:type=/Hi5S,component=StatusLogger 2018-03-06 14:01:23,659 main DEBUG Registering MBean org.apache.logging.log4j2:type=/Hi5S,component=ContextSelector 2018-03-06 14:01:23,678 main DEBUG Registering MBean org.apache.logging.log4j2:type=/Hi5S,component=Loggers,name= 2018-03-06 14:01:23,695 main DEBUG Registering MBean org.apache.logging.log4j2:type=/Hi5S,component=Appenders,name=STDOUT 2018-03-06 14:01:23,724 main DEBUG LoggerContext[name=/Hi5S, org.apache.logging.log4j.core.LoggerContext@486dd616] started OK with configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\Hi5S\WEB-INF\log4j2.xml]. 2018-03-06 14:01:23,732 main DEBUG Log4jServletContextListener ensuring that Log4j starts up properly. 2018-03-06 14:01:23,738 main DEBUG Log4jServletFilter initialized. Mar 06, 2018 2:01:23 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-nio-8080"] Mar 06, 2018 2:01:23 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-nio-8009"] Mar 06, 2018 2:01:23 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 17871 ms
Is this the same problem? Where is this breakpoint that didn't trigger? Which Java Runtime are you using wth the server?
It never go into any of the breakpoints I have set. Java runtime is 1.8.
None of the screenshots show breakpoints that are set, though.
Please see breakpoint per screen shots. https://ibb.co/fXYtJS
(In reply to Karen Goh from comment #13) > Please see breakpoint per screen shots. > > https://ibb.co/fXYtJS The screenshot shows the main run/debug/profile(?) buttons enabled, but the stepping buttons disabled as expected since Tomcat is Stopped.
No further information. Still confused about what's going wrong and what's not happening that's supposed to happen.