Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 57907 invoked from network); 30 Sep 2010 04:37:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Sep 2010 04:37:58 -0000 Received: (qmail 38616 invoked by uid 500); 30 Sep 2010 04:37:58 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 37889 invoked by uid 500); 30 Sep 2010 04:37:53 -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 37876 invoked by uid 99); 30 Sep 2010 04:37:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 04:37:51 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbritton31@gmail.com designates 74.125.83.43 as permitted sender) Received: from [74.125.83.43] (HELO mail-gw0-f43.google.com) (74.125.83.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 04:37:43 +0000 Received: by gwj18 with SMTP id 18so599699gwj.30 for ; Wed, 29 Sep 2010 21:37:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=LjbykL0jqcmVssuQ3/j415ap5DnP2iLkJTSB84jtFUM=; b=J92lLE9j6JzmbsAl81YMRM7kNC4szPIK2ywc5qBYA2xLAH5SjuSwd9zAhigRAcDdMr IBLY1jshqscSi1RA6G1O/zMJvI+8lbDR8gqMWe4BGTPP66aW0mNyIvvVsRi7k1oxKb+o ObRqdo2y6foPU1Hxzbg9ge65aMNkwDkUOW+ZM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Enyp+kSpjlsqVOiaNWHXXp9jkY0mP1h08b1E/4rpcsZSwKHHUzxbihvxsYuZ1qLScB J93m+1mIXQJ8Q43vU0eaftsj9mtPC3zNFnMTd+zeo2qFi7EBiJwW/8vf14Ixsur+HGaV m6K0e9266O0LiNafVpzZgKEM/rBpd1h9lioEc= MIME-Version: 1.0 Received: by 10.42.1.20 with SMTP id 20mr2473992ice.26.1285821442166; Wed, 29 Sep 2010 21:37:22 -0700 (PDT) Received: by 10.42.1.133 with HTTP; Wed, 29 Sep 2010 21:37:22 -0700 (PDT) Date: Wed, 29 Sep 2010 21:37:22 -0700 Message-ID: Subject: jsvc - Cannot register native methods error From: Jason Britton To: user@commons.apache.org Content-Type: multipart/alternative; boundary=90e6ba1818124e10d9049172a224 X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba1818124e10d9049172a224 Content-Type: text/plain; charset=ISO-8859-1 Would greatly appreciate insights into "Cannot register native methods" error below encountered while trying to start tomcat 6.0.29 using jsvc on 64 bit RHEL 5.5. Suggestions to fix this problem in the past have involved making sure commons-daemon.jar was in class path, this does not appear to be my issue in this particular case. Downloaded and built jsvc from src. I've included debug output below from jsvc. Thanks so much for any suggestions -- Jason 29/09/2010 21:27:29 5278 jsvc.exec debug: increased capability set. 29/09/2010 21:27:29 5278 jsvc.exec debug: user changed to 'apache' 29/09/2010 21:27:29 5278 jsvc.exec debug: decreased capability set to min required. 29/09/2010 21:27:29 5278 jsvc.exec debug: Using default JVM in /usr/java/jdk1.6.0_21/jre/lib/amd64/server/libjvm.so 29/09/2010 21:27:29 5278 jsvc.exec debug: Attemtping to load library /usr/java/jdk1.6.0_21/jre/lib/amd64/server/libjvm.so 29/09/2010 21:27:29 5278 jsvc.exec debug: JVM library /usr/java/jdk1.6.0_21/jre/lib/amd64/server/libjvm.so loaded 29/09/2010 21:27:29 5278 jsvc.exec debug: JVM library entry point found (0x4EEA4F50) 29/09/2010 21:27:29 5278 jsvc.exec debug: +-- DUMPING JAVA VM CREATION ARGUMENTS ----------------- 29/09/2010 21:27:29 5278 jsvc.exec debug: | Version: 0x010004 29/09/2010 21:27:29 5278 jsvc.exec debug: | Ignore Unrecognized Arguments: False 29/09/2010 21:27:29 5278 jsvc.exec debug: | Extra options: 7 29/09/2010 21:27:29 5278 jsvc.exec debug: | "-Dcatalina.home=/apps/web/apache-tomcat-6.0.29" (0x00000000) 29/09/2010 21:27:29 5278 jsvc.exec debug: | "-Dcatalina.base=/apps/web/apache-tomcat-6.0.29" (0x00000000) 29/09/2010 21:27:29 5278 jsvc.exec debug: | "-Djava.io.tmpdir=/var/tmp/tomcat" (0x00000000) 29/09/2010 21:27:29 5278 jsvc.exec debug: | "-XX:MaxPermSize=512M" (0x00000000) 29/09/2010 21:27:29 5278 jsvc.exec debug: | "-Xmx2048M" (0x00000000) 29/09/2010 21:27:29 5278 jsvc.exec debug: | "-Djava.class.path=/usr/java/jdk1.6.0_21/lib/tools.jar:/apps/web/apache-tomcat-6.0.29/bin/commons-daemon.jar:/apps/web/apache-tomcat-6.0.29/bin/bootstrap.jar" (0x00000000) 29/09/2010 21:27:29 5278 jsvc.exec debug: +------------------------------------------------------- 29/09/2010 21:27:29 5278 jsvc.exec debug: Java VM created successfully 29/09/2010 21:27:29 5278 jsvc.exec debug: Class org/apache/commons/daemon/support/DaemonLoader found 29/09/2010 21:27:29 5278 jsvc.exec error: Cannot register native methods 29/09/2010 21:27:29 5278 jsvc.exec debug: java_init failed 29/09/2010 21:27:29 5277 jsvc.exec error: Service exit with a return value of 1 --90e6ba1818124e10d9049172a224--