Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 83981 invoked from network); 21 Dec 2010 09:28:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Dec 2010 09:28:49 -0000 Received: (qmail 39971 invoked by uid 500); 21 Dec 2010 09:28:48 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 39689 invoked by uid 500); 21 Dec 2010 09:28:48 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 39678 invoked by uid 99); 21 Dec 2010 09:28:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Dec 2010 09:28:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chris.m.wilk@gmail.com designates 74.125.83.48 as permitted sender) Received: from [74.125.83.48] (HELO mail-gw0-f48.google.com) (74.125.83.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Dec 2010 09:28:38 +0000 Received: by gwaa20 with SMTP id a20so2130884gwa.7 for ; Tue, 21 Dec 2010 01:28:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=TCunEd2wlKZOwU5E+2VZHlweQkinjo90Ca/ht9PoYcg=; b=nkaOqm0hWz1WSzF2IdRZuYjz/sBq+VXu4p8Rgfnd9QXIGygOx1PxJuc2QI0ri6NrLq Dnc6TeaNcvnVPRZgXrEDuRA67IY9n3YxLnESPKQO/wqE5jN4Uz47/Gu1qijEjgGRHsdq OkX9YJZhtxFFSDeVPP3I59K2oGwB40ki4nri0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=TvWW9+n/whgV8SOfFeVWJ/dFyGZsuY4/0F+YDic0JIXXkrYQ37QM9Jko8oyy8yXlBw vzJZwW60148bMy0Ds8sN3O4+FZiitieiUzRIC6uo917K8s6/GgaUmRrecKPI5UgMro1I el4gRgf7cnrASdClzH/WpWW/rySCpOYGDUnEg= Received: by 10.90.72.20 with SMTP id u20mr6714416aga.145.1292923697584; Tue, 21 Dec 2010 01:28:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.90.54.11 with HTTP; Tue, 21 Dec 2010 01:27:57 -0800 (PST) From: Chris Wilk Date: Tue, 21 Dec 2010 10:27:57 +0100 Message-ID: Subject: [daemon] fails start with Java debugging enabled To: user@commons.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hello, I have a problem with Commons Daemon 1.0.4 and JDK 6u21 / 6u23 (both 32-bit and 64-bit). I have observed it both on Microsoft Windows 7 and Windows Server 2008 R2. It did not exist with Commons Daemon 1.0.2 on Windows Server 2008 R2. I cannot use Java Debug Wire Protocol (JDWP) for the purpose of remote service debugging. As soon as I am starting newly installed service it stops executing. The relevant service log part looks as follows: [2010-12-21 10:08:40] [info] ( :0 ) Starting service... [2010-12-21 10:08:40] [debug] ( javajni.c:191 ) loading jvm 'c:/Program Files/Java/jdk1.6.0_23/jre/bin/server/jvm.dll' [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[0] -Djob_service.name=DVJBSJobServiceJBS6DBG [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[1] -Djob_service.display_name=XXX_JBSJobServiceJBS6DBG [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[2] -Djob_service.logging.directory=d:/Logs/JBSJobServiceJBS6DBG [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[3] -Djava.security.manager=default [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[4] -Djava.security.policy=./server/etc/java.policy [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[5] -Dconfig.sys=./server/etc/system.conf [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[6] -Dnet.jini.discovery.debug=1 [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[7] -Djava.rmi.server.hostname=10.48.7.55 [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[8] -Djava.rmi.server.logCalls=true [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[9] -Dlog4j.configuration=file:///d:/XXX/JBSJobServiceJBS6DBG/log4j.properties [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[10] -Xdebug [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[11] -agentpath:c:/Program Files/Java/jdk1.6.0_23/jre/bin/jdwp.dll=transport=dt_socket,address=8084,server=y,suspend=y [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[12] -Duser.language=en [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[13] -Duser.country=US [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[14] -Duser.timezone=CET [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[15] -Dfile.encoding=cp1252 [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[16] -Djava.class.path=d:/XXX\JBSJobServiceJBS6DBG\common\root_class_loader\lib\RootClassLoaderBundle.jar;d:/XXX\JBSJobServiceJBS6DBG\server\lib\JobServiceBundle.jar;d:/XXX\JBSJobServiceJBS6DBG\jobs\_default\lib\JobBundle.jar [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[17] -Xms128m [2010-12-21 10:08:40] [debug] ( javajni.c:643 ) Jvm Option[18] -Xmx512m [2010-12-21 10:08:41] [debug] ( prunsrv.c:1054) Java started appl/dhs/common/runner/ServicePrunRunner [2010-12-21 10:08:41] [info] ( :0 ) Service started in 1032 ms. [2010-12-21 10:08:41] [debug] ( prunsrv.c:1364) Waiting for worker to finish... [2010-12-21 10:08:41] [debug] ( prunsrv.c:1369) Worker finished. [2010-12-21 10:08:41] [debug] ( prunsrv.c:1392) Waiting for all threads to exit [2010-12-21 10:08:41] [debug] ( prunsrv.c:1396) JVM destroyed. In service specific logs I have no errors/warnings. It looks to me as if the actual service did not even start executing. Could you give me some hints why JDWP stopped working with new Commons Daemon release? I cannot go back to previous (1.0.2) release because it does not work on Windows 7. Thanks for any hints or help. Best regards, Chris M. Wilk --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org