tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edoardo Panfili <edoa...@aspix.it>
Subject Re: can't find "jni.h" compiling jsvc on Mac Os X
Date Thu, 16 Dec 2010 15:48:35 GMT
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?)

thank you again
Edoardo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message