Fw: Re: Fw: No movement at Debug mode
Hi chris, The database problem has been resolved cos apparently, there is a old version of J-connector that is not removed inside Eclipse. But, now I am facing the No movement at Debug mode again. I used to be able to received logger infor when when run debug that shows me the stack when the 'compiler' steps thru the programme but I am not seeing this now. All I get is Daemon thread running... Furthermore, I am getting the below log : 127.0.0.1 - - [26/Jan/2018:11:04:44 +0800] "GET / HTTP/1.1" 404 1073 0:0:0:0:0:0:0:1 - - [26/Jan/2018:11:04:53 +0800] "GET /Hi5S/tutorRegister.jsp HTTP/1.1" 200 13656 0:0:0:0:0:0:0:1 - - [26/Jan/2018:11:04:53 +0800] "GET /Hi5S/BootStrap/css/modern-business.css HTTP/1.1" 200 1413 0:0:0:0:0:0:0:1 - - [26/Jan/2018:11:04:53 +0800] "GET /Hi5S/BootStrap/css/bootstrap.min.css HTTP/1.1" 200 132281 0:0:0:0:0:0:0:1 - - [26/Jan/2018:11:04:53 +0800] "GET /Hi5S/BootStrap/css/checkbox.css HTTP/1.1" 200 434 0:0:0:0:0:0:0:1 - - [26/Jan/2018:11:04:53 +0800] "GET /Hi5S/BootStrap/css/bootstrap-multiselect.css HTTP/1.1" 200 1454 0:0:0:0:0:0:0:1 - - [26/Jan/2018:11:04:53 +0800] "GET /Hi5S/BootStrap/font-awesome/css/font-awesome.min.css HTTP/1.1" 200 21984 0:0:0:0:0:0:0:1 - - [26/Jan/2018:11:04:53 +0800] "GET /Hi5S/BootStrap/Checkbox.js HTTP/1.1" 404 1107 0:0:0:0:0:0:0:1 - - [26/Jan/2018:11:04:53 +0800] "GET /Hi5S/BootStrap/bootstrap-multiselect.js HTTP/1.1" 404 1120 0:0:0:0:0:0:0:1 - - [26/Jan/2018:11:04:53 +0800] "GET /Hi5S/js/bootstrap.min.js HTTP/1.1" 404 1105 0:0:0:0:0:0:0:1 - - [26/Jan/2018:11:04:53 +0800] "GET /Hi5S/js/jquery.js HTTP/1.1" 404 1098 0:0:0:0:0:0:0:1 - - [26/Jan/2018:11:04:53 +0800] "GET /Hi5S/js/jqBootstrapValidation.js HTTP/1.1" 404 1113 0:0:0:0:0:0:0:1 - - [26/Jan/2018:11:04:53 +0800] "GET /Hi5S/js/contact_me.js HTTP/1.1" 404 1102 0:0:0:0:0:0:0:1 - - [26/Jan/2018:11:04:53 +0800] "GET /Hi5S/Image/aa1.png HTTP/1.1" 404 1099 0:0:0:0:0:0:0:1 - - [26/Jan/2018:11:14:25 +0800] "POST /Hi5S/addTutor HTTP/1.1" 200 - Could you kindly explain why I am getting 404 even though I am able to get the tutorRegister.jsp and then there is a 404 at Checkbox.js... which I do not understand the error. The addTutor which is my controller servlet I got a 200 but I am not seeing data being inserted into my database. Hope you could advise me. Tks. --- On Thu, 1/25/18, Karen Goh <karenwo...@yahoo.com> wrote: > From: Karen Goh <karenwo...@yahoo.com> > Subject: Re: Fw: No movement at Debug mode > To: "Tomcat Users List" <users@tomcat.apache.org> > Date: Thursday, January 25, 2018, 1:23 PM > > > On Tue, 1/23/18, Christopher Schultz > <ch...@christopherschultz.net> > wrote: > > Subject: Re: Fw: No movement at Debug > mode > To: users@tomcat.apache.org > Date: Tuesday, January 23, 2018, 11:58 > PM > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Karen, > > On 1/21/18 10:49 AM, Karen Goh wrote: > > I want to add in additional > infor > : > > > > After I stopped the server, the > console has the following error > > message which beats me. > > > > WARNING: The web application > [Hi5S] appears to have started a > > thread named [Abandoned > connection > cleanup thread] but has failed > > to stop it. This is very likely > to > create a memory leak. Stack > > trace of thread: > > java.io.WinNTFileSystem.canonicalize0(Native > > Method) > > > > java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:428) > > > > > java.io.File.getCanonicalPath(File.java:618) > > > > org.apache.catalina.webresources.AbstractFileResourceSet.file(Abstract > FileResourceSet.java:90) > > > > > > org.apache.catalina.webresources.DirResourceSet.getResource(DirResourceS > et.java:101) > > > > org.apache.catalina.webresources.StandardRoot.getResourceInternal(Stan > dardRoot.java:281) > > > > > > org.apache.catalina.webresources.CachedResource.validateResource(CachedR > esource.java:97) > > > > org.apache.catalina.webresources.Cache.getResource(Cache.java:69) > > > > > org.apache.catalina.webresources.StandardRoot.getResource(StandardRoot > .java:216) > > > > > > org.apache.catalina.webresources.StandardRoot.getClassLoaderResource(Sta > ndardRoot.java:225) > > > > org.apache.catalina.loader.WebappClassLoaderBase.findResource(WebappCl > assLoaderBase.java:884) > > > > > > org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClass > LoaderBase.java:1
Re: Fw: No movement at Debug mode
On Tue, 1/23/18, Christopher Schultz <ch...@christopherschultz.net> wrote: Subject: Re: Fw: No movement at Debug mode To: users@tomcat.apache.org Date: Tuesday, January 23, 2018, 11:58 PM -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Karen, On 1/21/18 10:49 AM, Karen Goh wrote: > I want to add in additional infor : > > After I stopped the server, the console has the following error > message which beats me. > > WARNING: The web application [Hi5S] appears to have started a > thread named [Abandoned connection cleanup thread] but has failed > to stop it. This is very likely to create a memory leak. Stack > trace of thread: java.io.WinNTFileSystem.canonicalize0(Native > Method) > java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:428) > java.io.File.getCanonicalPath(File.java:618) > org.apache.catalina.webresources.AbstractFileResourceSet.file(Abstract FileResourceSet.java:90) > > org.apache.catalina.webresources.DirResourceSet.getResource(DirResourceS et.java:101) > org.apache.catalina.webresources.StandardRoot.getResourceInternal(Stan dardRoot.java:281) > > org.apache.catalina.webresources.CachedResource.validateResource(CachedR esource.java:97) > org.apache.catalina.webresources.Cache.getResource(Cache.java:69) > org.apache.catalina.webresources.StandardRoot.getResource(StandardRoot .java:216) > > org.apache.catalina.webresources.StandardRoot.getClassLoaderResource(Sta ndardRoot.java:225) > org.apache.catalina.loader.WebappClassLoaderBase.findResource(WebappCl assLoaderBase.java:884) > > org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClass LoaderBase.java:1005) > com.mysql.jdbc.AbandonedConnectionCleanupThread.checkContextClassLoade rs(AbandonedConnectionCleanupThread.java:90) > > com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionC leanupThread.java:63) > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j ava:1149) > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja va:624) > java.lang.Thread.run(Thread.java:748) > > I hope with the new infor, this group will be able to help me > resolve the error. The MySQL Connector/J simply has a bug. Upgrade to the latest version to see if they have fixed it. I gave up trying to convince them that it was a problem and that they needed to fix it, because I guess they fundamentally don't understand what it means to want to be able to "completely deregister the driver and shutdown all threads". - -chris Hi Chris, I added the MYSQL J connector 5.1.45.bin.jar to the build path but the thing is that it seems not able to work with Tomcat 9.0.4. There is a copy of 5.1.45.bin.jar that pasted in my Tomcat server location. The Mysql connection in my workbench MYSQL 6.3 is tested ok. I did a test connection in Eclipse and it gives me the following error : java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.createConnection(JDBCConnection.java:327) at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.internalCreateConnection(JDBCConnection.java:229) at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:120) at org.eclipse.datatools.enablement.internal.mysql.connection.JDBCMySQLConnectionFactory.createConnection(JDBCMySQLConnectionFactory.java:28) at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83) at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359) at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76) at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Here's what in my pom.xml which I hope will help to give further insight into my problem : 4.0.0 Hi5S Hi5S 0.0.1-SNAPSHOT war UTF-8 1.8 1.8 org.apache.maven.plugins maven-war-plugin 3.1.0 provided org.apache.tomcat tomcat-jdbc 9.0.2 compile org.apache.logging.log4j log4j-api 2.10.0 compile org.apache.logging.log4j log4j-core 2.10.0 compile javax.servlet jstl
Re: Fw: No movement at Debug mode
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Karen, On 1/21/18 10:49 AM, Karen Goh wrote: > I want to add in additional infor : > > After I stopped the server, the console has the following error > message which beats me. > > WARNING: The web application [Hi5S] appears to have started a > thread named [Abandoned connection cleanup thread] but has failed > to stop it. This is very likely to create a memory leak. Stack > trace of thread: java.io.WinNTFileSystem.canonicalize0(Native > Method) > java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:428) > java.io.File.getCanonicalPath(File.java:618) > org.apache.catalina.webresources.AbstractFileResourceSet.file(Abstract FileResourceSet.java:90) > > org.apache.catalina.webresources.DirResourceSet.getResource(DirResourceS et.java:101) > org.apache.catalina.webresources.StandardRoot.getResourceInternal(Stan dardRoot.java:281) > > org.apache.catalina.webresources.CachedResource.validateResource(CachedR esource.java:97) > org.apache.catalina.webresources.Cache.getResource(Cache.java:69) > org.apache.catalina.webresources.StandardRoot.getResource(StandardRoot .java:216) > > org.apache.catalina.webresources.StandardRoot.getClassLoaderResource(Sta ndardRoot.java:225) > org.apache.catalina.loader.WebappClassLoaderBase.findResource(WebappCl assLoaderBase.java:884) > > org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClass LoaderBase.java:1005) > com.mysql.jdbc.AbandonedConnectionCleanupThread.checkContextClassLoade rs(AbandonedConnectionCleanupThread.java:90) > > com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionC leanupThread.java:63) > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j ava:1149) > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja va:624) > java.lang.Thread.run(Thread.java:748) > > I hope with the new infor, this group will be able to help me > resolve the error. The MySQL Connector/J simply has a bug. Upgrade to the latest version to see if they have fixed it. I gave up trying to convince them that it was a problem and that they needed to fix it, because I guess they fundamentally don't understand what it means to want to be able to "completely deregister the driver and shutdown all threads". - -chris -BEGIN PGP SIGNATURE- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJRBAEBCAA7FiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlpnW44dHGNocmlzQGNo cmlzdG9waGVyc2NodWx0ei5uZXQACgkQHPApP6U8pFh/hhAAnU0DsarH7K7NzsnG AQxptKGl9bBtw/es2D8OdvO73XzOUD4MDO1HB3rRKNaMA6Ld/Ea1SNJb+6V2DqRH aG4ppx82OWfasoK7ywlQB/k7eOERbwjIQHLOx5+N0JHwotqN83dVDeCSdd0TWHzu 7o/NWRQLRgAmoNYPe8civV3Kur5Ci+v7QlA3PeHtzOlfjYwwvNU8ZTX4XAiUA9zG HxL2jlz6cDfVd/rFw8O3q7r4fS4Im70OS4M6midSStGR+VyVDRExY8yqrh/q4sC8 e1rTFs12amf7yqnN8KbVHgpDF4RBIg8zGbqOdtXng4oXcpjsYCtfaWvVr4xFLdhn tS6vzAFIoHhRwOzsjadcluPrwxG7PLxcIbXbKPpgel21WWeg8imXE3QGa5eGoy91 BLuoLsLBLDO002uw+OPKIZzTZ5yM0EyXuqlr46C7Oc46iNg7Ub39DYC5eXHYmLc+ fh+oazznZJoTaSlZmGPJxosuBYfs70iQx+WIlzI9ggzg8Q1QdhUcFrwJImwe5S3V YuydGr5VUFhIJQ4rVxyvX1r160K695oT7Y6RIEdPcRInodSmqaGVcm0jWZVKuPMw 1NvgUmUBnD0xElvOIRxWs7p5hjSVvMlxhmWFdamDwr4TPYvBIGRIl0Z7fikV/i2q vlgjFKJpMXfCppBXuyxPOsS/MA4= =0gps -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Fw: No movement at Debug mode
I want to add in additional infor : After I stopped the server, the console has the following error message which beats me. WARNING: The web application [Hi5S] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.io.WinNTFileSystem.canonicalize0(Native Method) java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:428) java.io.File.getCanonicalPath(File.java:618) org.apache.catalina.webresources.AbstractFileResourceSet.file(AbstractFileResourceSet.java:90) org.apache.catalina.webresources.DirResourceSet.getResource(DirResourceSet.java:101) org.apache.catalina.webresources.StandardRoot.getResourceInternal(StandardRoot.java:281) org.apache.catalina.webresources.CachedResource.validateResource(CachedResource.java:97) org.apache.catalina.webresources.Cache.getResource(Cache.java:69) org.apache.catalina.webresources.StandardRoot.getResource(StandardRoot.java:216) org.apache.catalina.webresources.StandardRoot.getClassLoaderResource(StandardRoot.java:225) org.apache.catalina.loader.WebappClassLoaderBase.findResource(WebappClassLoaderBase.java:884) org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClassLoaderBase.java:1005) com.mysql.jdbc.AbandonedConnectionCleanupThread.checkContextClassLoaders(AbandonedConnectionCleanupThread.java:90) com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:63) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) java.lang.Thread.run(Thread.java:748) I hope with the new infor, this group will be able to help me resolve the error. Tks. --- On Sun, 1/21/18, Karen Gohwrote: > From: Karen Goh > Subject: No movement at Debug mode > To: users@tomcat.apache.org > Date: Sunday, January 21, 2018, 11:37 PM > Hi expert, > > I have been stuck at this problem - No > debug movement , for quite some time and am seeking help > from this user group. > > After submitting my form using JSP, > > So, here's what appeared at the console > : > > an 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: Server version: > Apache Tomcat/8.5.24 > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: Server built: > Nov 27 2017 13:05:30 UTC > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: Server number: > 8.5.24.0 > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: OS Name: > Windows 10 > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: OS Version: > 10.0 > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: Architecture: > amd64 > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: Java Home: > C:\Program > Files\Java\jdk1.8.0_151\jre > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: JVM Version: > 1.8.0_151-b12 > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: JVM Vendor: > Oracle Corporation > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: CATALINA_BASE: > C:\Users\Karen.Goh\workspace5\Servers2\Tomcat > v8.5 Server at localhost-config\Hi5SProject > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: CATALINA_HOME: > C:\Program Files\Apache\apache-tomcat-8.5.24 > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: Command line argument: > -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:51917 > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: Command line argument: > -Dcatalina.base=C:\Users\Karen.Goh\workspace5\Servers2\Tomcat > v8.5 Server at localhost-config\Hi5SProject > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: Command line argument: > -Dcatalina.home=C:\Program > Files\Apache\apache-tomcat-8.5.24 > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: Command line argument: > -Dwtp.deploy=C:\Users\Karen.Goh\workspace5\Servers2\Tomcat > v8.5 Server at localhost-config\Hi5SProject\wtpwebapps > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: Command line argument: > -Djava.endorsed.dirs=C:\Program > Files\Apache\apache-tomcat-8.5.24\endorsed > Jan 21, 2018 11:25:58 PM > org.apache.catalina.startup.VersionLoggerListener log > INFO: Command line argument: > -Dfile.encoding=Cp1252 > Jan 21, 2018 11:25:58 PM >