I'm trying to build and get working the tomcat-connector on OpenSolaris
using SunOne webserver 7.


I've built it with GCC and/or CC but when I try to start and instance of the
web server I get the line


[Thu Feb 04 21:05:05.989 2010] [29901:1] [debug] jk_init::jk_nsapi_plugin.c
(301): jk_init, a second passed

[Thu Feb 04 21:05:06.999 2010] [29901:1] [debug] jk_init::jk_nsapi_plugin.c
(301): jk_init, a second passed

[Thu Feb 04 21:05:08.009 2010] [29901:1] [debug] jk_init::jk_nsapi_plugin.c
(301): jk_init, a second passed

[Thu Feb 04 21:05:09.019 2010] [29901:1] [debug] jk_init::jk_nsapi_plugin.c
(301): jk_init, a second passed


over and over in the jk log.



Here's some info on what I'm using and tried;


OS - OpenSolaris 2009.06

SunOne Webserver 7p8 (the latest release)

Java - JDK 1.6.0u18

Tomcat Connector 1.2.28



When compiling with GCC the setting in Makefile.solaris are

CC=gcc

EXTRA_CFLAGS=-fPIC -pthreads

LDFLAGS=-shared



GCC compiler throws errors using -pthread and works OK with -pthreads




When using CC - SunStudio 12

CC=cc

LDFLAGS=-G


CC throws errors when using the extra flags below so I commented it out.

EXTRA_CFLAGS=-xcode=pic32 -mt



No matter which compiler I try it seems to hang on the "jk_init, a second
passed"



Any ideas anyone?

Reply via email to