Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 81026 invoked from network); 11 Feb 2003 15:03:41 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 11 Feb 2003 15:03:41 -0000 Received: (qmail 3101 invoked by uid 97); 11 Feb 2003 15:05:12 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 3094 invoked from network); 11 Feb 2003 15:05:12 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 11 Feb 2003 15:05:12 -0000 Received: (qmail 79172 invoked by uid 500); 11 Feb 2003 15:03:14 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 79104 invoked from network); 11 Feb 2003 15:03:13 -0000 Received: from web13301.mail.yahoo.com (216.136.175.37) by daedalus.apache.org with SMTP; 11 Feb 2003 15:03:13 -0000 Message-ID: <20030211150310.1679.qmail@web13301.mail.yahoo.com> Received: from [63.226.32.16] by web13301.mail.yahoo.com via HTTP; Tue, 11 Feb 2003 09:03:10 CST Date: Tue, 11 Feb 2003 09:03:10 -0600 (CST) From: =?iso-8859-1?q?Francesa=20Lacreativa?= Subject: Re: Tomcat/Apache2/JNI on Solaris To: Tomcat Users List In-Reply-To: <3E48521E.2060607@EDS.COM> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1664685532-1044975790=:1177" Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --0-1664685532-1044975790=:1177 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Thanks for your reply, Paul. I did post my entire problem last week but maybe it was too much at once. My config is Solaris 8, Apache 2.0.43, TC 4.1.18, and JDK 1.4. I have used the default config that is specified on the jakarta JK2 website (not very helpful, unfortunately), but I just get more errors in apache's error log about the shm file in additional to the factory errors. I don't get any errors in catalina.out, but I get this error in apache once i start it: [error] env.createBean2(): Factory error creating channel.jni:jni ( channel.jni, jni) [error] config.update(): Can't create channel.jni:jni [error] env.createBean2(): Factory error creating vm: ( vm, ) [error] config.update(): Can't create vm: [error] env.createBean2(): Factory error creating worker.jni:onStartup ( worker.jni, onStartup) [error] config.update(): Can't create worker.jni:onStartup [error] env.createBean2(): Factory error creating worker.jni:onShutdown ( worker.jni, onShutdown) [error] config.update(): Can't create worker.jni:onShutdown [error] mod_jk child init 1 0 [notice] Apache/2.0.43 (Unix) mod_jk2/2.0.2 configured -- resuming normal operations [info] Server built: Feb 4 2003 11:38:17 [debug] prefork.c(1039): AcceptMutex: pthread (default: pthread) It seems to me like apache isn't able to start tomcat at all. I noticed that I get the same error even if I completely remove the jkjni.so file from the modules directory. Should I send more info? thanks again, -francesa "Brzezinski, Paul J" wrote:Francesa Lacreativa wrote: >Has anyone been able to get Apache2 to start tomcat 4 via JNI and the >JK2 connector? on Solaris by chance? If so, could you please post or >privately email me your configuration files (httpd.conf, >workers2.properties, jk2.properties)? > >gracias, > > have you tried any of the latest builds? Are you getting errors in catalina.out? Please post your errors or give a little more detail about your config -- which flavor of J2SDK, what version of Apache, TomCat and the connectors you're using... I did get this work on TC 4.1.15 but ended up combining all the jars into $CATALINA_HOME/common/lib because of a classloader issue...don't know if that's been resolved yet...my config: Solaris 8, J2SE v1.4, Tomcat was the 4.1.15-JDK-1.4. --------------------------------- Do You Yahoo!? Todo lo que quieres saber de Estados Unidos, Am�rica Latina y el resto del Mundo. Vis�ta Yahoo! Noticias. --0-1664685532-1044975790=:1177--