From owner-freebsd-java@FreeBSD.ORG Mon Oct 20 03:03:28 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1F7616A4B3 for ; Mon, 20 Oct 2003 03:03:28 -0700 (PDT) Received: from dec1.czu.cz (dec1.czu.cz [193.84.32.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8824D43FB1 for ; Mon, 20 Oct 2003 03:03:27 -0700 (PDT) (envelope-from pepe@pef.czu.cz) Received: from pef.czu.cz (pef.czu.cz [193.84.34.3]) by dec1.czu.cz (8.11.6/8.11.6) with ESMTP id h9KA32d09515 for ; Mon, 20 Oct 2003 12:03:02 +0200 Received: from PEF/SpoolDir by pef.czu.cz (Mercury 1.48); 20 Oct 03 12:03:02 +1100 Received: from SpoolDir by PEF (Mercury 1.48); 20 Oct 03 12:02:46 +1100 Received: from pef.czu.cz (193.84.34.230) by pef.czu.cz (Mercury 1.48) with ESMTP; 20 Oct 03 12:02:39 +1100 Message-ID: <3F93B29D.6000905@pef.czu.cz> Date: Mon, 20 Oct 2003 12:02:05 +0200 From: Josef Pospisil User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5b) Gecko/20030910 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.8, required 5, AWL, BAYES_30, USER_AGENT_MOZILLA_UA) Subject: Tomcat remote debug X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 10:03:29 -0000 Hi, I wanna use Tomcat41 (or even Tomcat5) remote debugging with IntelliJ Idea, but I didn't find any posibility to pass any parameter (-Xdebug Xagent and so) to JavaVM through the tomcat41ctl command, which is usually used to start and stop Tomcat on freebsd. I've tried some other process to achieve this (setting JAVA_OPTS enviroment var. which leads to strange errors, when stoping Tomcat. Editing starting scripts in rc.d), but noone looks clean enough. Can anybody help me, or just direct me to some beautiful and functional solution :-). -- With best regards Pepe Josef Pospisil Provozne ekonomicka fakulta CZU