From users-return-263856-archive-asf-public=cust-asf.ponee.io@tomcat.apache.org Tue Feb 20 09:10:29 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 638CB180654 for ; Tue, 20 Feb 2018 09:10:29 +0100 (CET) Received: (qmail 3878 invoked by uid 500); 20 Feb 2018 08:10:27 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 3867 invoked by uid 99); 20 Feb 2018 08:10:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Feb 2018 08:10:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 8A785180033 for ; Tue, 20 Feb 2018 08:10:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.121 X-Spam-Level: X-Spam-Status: No, score=-0.121 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id sX2gA1JsMg9Q for ; Tue, 20 Feb 2018 08:10:25 +0000 (UTC) Received: from mail-it0-f43.google.com (mail-it0-f43.google.com [209.85.214.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 4DD0B5F1F3 for ; Tue, 20 Feb 2018 08:10:25 +0000 (UTC) Received: by mail-it0-f43.google.com with SMTP id l129so7778758ita.3 for ; Tue, 20 Feb 2018 00:10:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=qCWD8Bo1mTt9cVlknA0bnTmJs1GTmeHLYhxybTatrfg=; b=M2PHGvUBEgcDRqJqv7Z+/My+P64sg+polAM00UTybN1Nz6BXp4jQ7URa7lpMAzBCdQ J8xAayWPlvjKi4gJeyLaO4Q1UgYFbGrU4Kx2dmxb/RYVQiGUckXhHD9YmZYVAeZarbPd wiSCYItxPK7spDqO361tBtOsl2u4AreldIBNJ1qs5OJ9JZvqeA8QL3BzvxW33PRWPBkm uHt4KdnZnTWLu5kr2y1lmGIN6Gi3d6j+502y5CL4bNyXFsaIkxEHrqPBOESSmrMr9cry FxmsezaniRAJvlXzwUx726BT7U7EAWMQ7u72qIWiVlezV5XxJz3mJktX13MJtjWba21H dWDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=qCWD8Bo1mTt9cVlknA0bnTmJs1GTmeHLYhxybTatrfg=; b=B2uuXCUbuGKg97Rg78bxts8fvqKtfEss86LlpGaqYVnukOirjefDUuNh4pL02eHYRX N0jNx4z3RI7PE4mjHE4OSPUL8h8I75sYF4m+bzPWZWL1rS0lQV7rjcaNA/PyC6IaH6WV m5zC4TfSEhJVB/wQO0NbNgosmDt9pdBaMeZlIcRgrHrWO2C4QhBsqJhsmw6qzrRBFBM0 +h1PZBvXuyRlqOBVBC3kxlCSmhUPWee5oiYZJBNGWdq2ftuz9RqdyNUWT+K69ccgZaei iqjF04OHAWaD6LH6iLiCgRBVVaLHI5NenRpJ+mjYXkmM+1kd9d/Pz4oj78HjeKbMzcrc r4Og== X-Gm-Message-State: APf1xPDEaiMYWOzc3HLuHPyoNPqB8H5JekTb2S+q1+aAhORYAW9bJN7C S88KKciB/mBL4nS0CuKfd8NvNbQ9rec5AZhoq46GWpxL X-Google-Smtp-Source: AH8x227/TPC5h5avIDlZiEDA6bM6ecR1OCtOGsDiWSv4k2GcR5AKQy1xr76PE3TnBlZSl/ig7mSAR7dLXubyR03VlSQ= X-Received: by 10.36.95.78 with SMTP id r75mr24175225itb.48.1519114219283; Tue, 20 Feb 2018 00:10:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.205.14 with HTTP; Tue, 20 Feb 2018 00:10:18 -0800 (PST) In-Reply-To: <1201519599.1702009.1519092252546@mail.yahoo.com> References: <1201519599.1702009.1519092252546.ref@mail.yahoo.com> <1201519599.1702009.1519092252546@mail.yahoo.com> From: Konstantin Kolinko Date: Tue, 20 Feb 2018 11:10:18 +0300 Message-ID: Subject: Re: Tomcat stopped and Debug can't be done in Eclipse To: Tomcat Users List Content-Type: text/plain; charset="UTF-8" 2018-02-20 5:04 GMT+03:00 Karen Goh : > Hi, > > I am writing to this mailing group again because I finally know that Tomcat is the cause of the problem(after writing to an expert) > and thus I hope to sort help for this problem. > > The tomcat version is Apache Tomcat 9.0.4 windows 64. > > Eclipse Oxygen. > Project : Maven dynamic MVC web app with Hibernate, JPA and JSP. > MySQL server 5.7. > > Whenever, I run debug on jsp, after submitting the form, tomcat will just stop and Eclipse does not take over the debugging. > > All the breakpoints are there and perspective is showing debug mode, except the debug buttons are all grey out though. > > I do not know how to make Tomcat not stopping. > > Kindly advise if there is a setting I have missed out such that the above scenario is happening. 1. How exactly do you start Tomcat in debug mode? What instructions and documentation are you following? 2. From log output in your previous thread, http://markmail.org/message/tgymk3r43ox5ggps your command line options are > 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 I think that "suspend=y" option is the cause of the behaviour that you are seeing. IIRC, with that option Java stops and waits for a debugger just after JVM launch. I think that in Eclipse you can look into "threads" view, find a running (stopped) "main" thread there and hit a green button to resume it. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org