Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 56049 invoked from network); 16 Dec 2010 16:26:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Dec 2010 16:26:40 -0000 Received: (qmail 26178 invoked by uid 500); 16 Dec 2010 16:26:36 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 25920 invoked by uid 500); 16 Dec 2010 16:26:36 -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 25911 invoked by uid 99); 16 Dec 2010 16:26:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 16:26:35 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [213.191.128.81] (HELO mxout2.iskon.hr) (213.191.128.81) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 16:26:27 +0000 Received: from mxscanout.iskon.hr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 5B969CA9D8 for ; Thu, 16 Dec 2010 17:26:05 +0100 (CET) Received: from mx.iskon.hr (unknown [213.191.142.123]) by mxscanout.iskon.hr (Postfix) with SMTP id 982202E3454 for ; Thu, 16 Dec 2010 17:26:04 +0100 (CET) Received: (qmail 29532 invoked from network); 16 Dec 2010 17:26:04 +0100 X-Remote-IP: 89.164.126.9 Received: from 89-164-126-9.dsl.iskon.hr (HELO es55x86w0.jboss.hr) (89.164.126.9) by mx.iskon.hr with SMTP; 16 Dec 2010 17:26:04 +0100 Message-ID: <4D0A3D94.6030502@apache.org> Date: Thu, 16 Dec 2010 17:25:56 +0100 From: Mladen Turk User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: users@tomcat.apache.org Subject: Re: can't find "jni.h" compiling jsvc on Mac Os X References: <4D092970.7080505@aspix.it> <3647_1292503925_4D0A0B73_3647_375_1_4D0A0B6B.9020605@apache.org> <4D0A157A.5070300@aspix.it> <31037_1292512834_4D0A2E41_31037_99_1_4D0A2E39.2000901@apache.org> <4D0A34D3.3080302@aspix.it> In-Reply-To: <4D0A34D3.3080302@aspix.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: IskonProtect X-PerlMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1700_1799 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CP_MEDIA_BODY 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_MAILTO 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0' On 12/16/2010 04:48 PM, Edoardo Panfili wrote: > On 16/12/10 16.20, Mladen Turk wrote: >> On 12/16/2010 02:34 PM, Edoardo Panfili wrote: >>> On 16/12/10 13.51, Mladen Turk wrote: >>>> On 12/15/2010 09:47 PM, Edoardo Panfili wrote: >>>>> I am trying to install tomcat 7.0.5 on Mac os X 10.6.5 >>>>> >>>> >>>> There is a binary available at: >>>> http://commons.apache.org/daemon/download_daemon.cgi >>>> >>>> Click on the "Browse download area..." >>>> And navigate to binaries/1.0.4/darwin >>>> >>> thank you for you answerf, I put the file in $CATALINA_BASE/bin but >>> there is always some problem in catalina.err >>> -------------------------------- >>> Cannot dynamically link to >>> /System/Library/Frameworks/JavaVM.framework/Home/../Libraries/libclient.dylib >>> >>> dlopen(/System/Library/Frameworks/JavaVM.framework/Home/../Libraries/libclient.dylib, >>> 10): no suitable image found. Did find: >>> /System/Library/Frameworks/JavaVM.framework/Home/../Libraries/libclient.dylib: >>> mach-o, but wrong architecture >>> Service exit with a return value of 1 >>> -------------------------------- >>> >> >> Right, it fails on mac cause default (client) jvm is 32-bit only. >> Add '-jvm server' to the jsvc command lines and it should work. >> > thank you! now it works, > the only change that I have made is on the class path: > > ----------------- > -cp ./bin/bootstrap.jar > ----------------- > must become > ----------------- > -cp ./bin/bootstrap.jar:./bin/tomcat-juli.jar > ----------------- > when I launch jsvc. > > Is it useful if I fill a bug report (for http://tomcat.apache.org/tomcat-7.0-doc/setup.html page, of jsvc compilation on mac?) > Please do that, so we can track the progress. Regards -- ^TM --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org