You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Semyon <se...@gmail.com> on 2009/12/17 17:42:14 UTC

running tomcat problem JNI native lib 1.1.18 + tomcat 6.0.20 + Solaris 5.10

Hello, all

I'm building native library for:
Tomcat 6.0.20
JNI 1.1.18
APR 1.4.1
OS: Solaris 5.10 sparcv9
compiler: gcc -m64

Library was built ok. When I begin starting tomcat I have such logs:

INFO: Loaded APR based Apache Tomcat Native library 1.1.18.
Dec 17, 2009 7:08:19 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters
[false], random [true].
Dec 17, 2009 7:08:20 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
ld.so.1: java: fatal: relocation error: file
...../native/lib/libtcnative-1.so.0.1.18: symbol SSL_CTX_set_info_callback:
referenced symbol not found


And server does not start up.

Tomcat starts well if I use JNI 1.1.17, but with another issue: I can't
connect to server via HTTPS from Mozilla browser and HTTP works well. Also
if I use Internet Explorer 6 it works well.

Does anybody know about such problem?

Thank you,
-- Semyon
-- 
View this message in context: http://old.nabble.com/running-tomcat-problem-JNI-native-lib-1.1.18-%2B-tomcat-6.0.20-%2B-Solaris-5.10-tp26831038p26831038.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: running tomcat problem JNI native lib 1.1.18 + tomcat 6.0.20 + Solaris 5.10

Posted by Philip Wigg <ph...@philipwigg.co.uk>.
> I don't know a lot about Tomcat native, but have you got openssl
> installed? If not that's probably the issue.

PS. Don't forget to recompile Tomcat native after you've installed it.

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


Re: running tomcat problem JNI native lib 1.1.18 + tomcat 6.0.20 + Solaris 5.10

Posted by Semyon <se...@gmail.com>.
Yes, I've installed OpenSSL 0.9.8l (the latest stable) and built native
library with it.


Philip Wigg wrote:
> 
>> I'm building native library for:
>> Tomcat 6.0.20
>> JNI 1.1.18
>> APR 1.4.1
>> OS: Solaris 5.10 sparcv9
>> compiler: gcc -m64
>>
>> Library was built ok. When I begin starting tomcat I have such logs:
>>
>> INFO: Loaded APR based Apache Tomcat Native library 1.1.18.
>> Dec 17, 2009 7:08:19 PM org.apache.catalina.core.AprLifecycleListener
>> init
>> INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters
>> [false], random [true].
>> Dec 17, 2009 7:08:20 PM org.apache.coyote.http11.Http11AprProtocol init
>> INFO: Initializing Coyote HTTP/1.1 on http-8081
>> ld.so.1: java: fatal: relocation error: file
>> ...../native/lib/libtcnative-1.so.0.1.18: symbol
>> SSL_CTX_set_info_callback:
>> referenced symbol not found
>>
>>
>> And server does not start up.
>>
>> Tomcat starts well if I use JNI 1.1.17, but with another issue: I can't
>> connect to server via HTTPS from Mozilla browser and HTTP works well.
>> Also
>> if I use Internet Explorer 6 it works well.
>>
>> Does anybody know about such problem?
> 
> I don't know a lot about Tomcat native, but have you got openssl
> installed? If not that's probably the issue.
> 
> Cheers,
> Phil.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/running-tomcat-problem-JNI-native-lib-1.1.18-%2B-tomcat-6.0.20-%2B-Solaris-5.10-tp26831038p26831253.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: running tomcat problem JNI native lib 1.1.18 + tomcat 6.0.20 + Solaris 5.10

Posted by Philip Wigg <ph...@philipwigg.co.uk>.
> I'm building native library for:
> Tomcat 6.0.20
> JNI 1.1.18
> APR 1.4.1
> OS: Solaris 5.10 sparcv9
> compiler: gcc -m64
>
> Library was built ok. When I begin starting tomcat I have such logs:
>
> INFO: Loaded APR based Apache Tomcat Native library 1.1.18.
> Dec 17, 2009 7:08:19 PM org.apache.catalina.core.AprLifecycleListener init
> INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters
> [false], random [true].
> Dec 17, 2009 7:08:20 PM org.apache.coyote.http11.Http11AprProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8081
> ld.so.1: java: fatal: relocation error: file
> ...../native/lib/libtcnative-1.so.0.1.18: symbol SSL_CTX_set_info_callback:
> referenced symbol not found
>
>
> And server does not start up.
>
> Tomcat starts well if I use JNI 1.1.17, but with another issue: I can't
> connect to server via HTTPS from Mozilla browser and HTTP works well. Also
> if I use Internet Explorer 6 it works well.
>
> Does anybody know about such problem?

I don't know a lot about Tomcat native, but have you got openssl
installed? If not that's probably the issue.

Cheers,
Phil.

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