tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thekat <l...@kewlcat.com>
Subject RE: Solaris 10 mod_jk problems...
Date Wed, 08 Jul 2009 13:24:55 GMT

Thanks for all the replies.. 
My build environment seems to be hosed.. so fixing that at the moment..

It seems that Solaris is the odd Duck out on a lot of stuff I do.. :-)

I will post back my findings.. 
and I will probably post a guide on 
http://www.daemonforums.org/forumdisplay.php?f=31
once I get this figured out..

again thank you for all the suggestions.. 
tk


mgainty wrote:
> 
> 
> check if you have a residual mod_jk.so Listener in server.xml e.g. 
> 
> <Engine ...>
>     <Listener className="org.apache.jk.config.ApacheConfig"
> modJk="/path/to/mod_jk.so" />
> </Engine>
> also check to see of mod_jk auto-configure in $APACHE_HOME/conf/httpd.conf
>     #To be added at the end of your httpd.conf
>     Include $TOMCAT_HOME/conf/jk/mod_jk.conf-auto
> http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html
> 
> Martin 
> ______________________________________________ 
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>  
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la
> copie de ceci est interdite. Ce message sert à l'information seulement et
> n'aura pas n'importe quel effet légalement obligatoire. Étant donné que
> les email peuvent facilement être sujets à la manipulation, nous ne
> pouvons accepter aucune responsabilité pour le contenu fourni.
> 
> 
> 
> 
>> Date: Tue, 7 Jul 2009 17:39:55 +0200
>> From: aw@ice-sa.com
>> To: users@tomcat.apache.org
>> Subject: Re: Solaris 10 mod_jk problems...
>> 
>> thekat wrote:
>> > We have a Windows box running IIS with a tomcat connector.. 
>> > I have been tasked to move this to Solaris 10 platform..
>> 
>> Is this a Sparc CPU, or X86 ?
>> Maybe try :
>> file /path_to_apache_httpd
>> file /path_to_mod_jk.so
>> 
>> Segmentation fault usually happens when trying to use a binary that does 
>> not match the platform.
>> 
>> 
>> > 
>> > My attempts
>> > - found the binaries for mod_jk for Solaris apache2 (version 2.0.61)
>> >
>> http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/solaris/jk-1.2.28/sparc/
>> > --- native apache2 on Solaris U7 (05/09) is Server version:
>> Apache/2.0.63
>> > Using the binary from above give errors when running apache
>> > *****
>> > [Mon Jun 29 15:51:16 2009] [notice] Apache/2.0.63 (Unix) DAV/2
>> mod_jk/1.2.28
>> > configured -- resuming normal operations
>> > [Mon Jun 29 15:51:17 2009] [notice] child pid 8080 exit signal
>> Segmentation
>> > fault (11)
>> > *****
>> > (apache2) (additions)
>> > httpd.conf 
>> > -------------------------------------------
>> > # Load mod_jk module
>> >   # Update this path to match your modules location
>> > LoadModule    jk_module  libexec/mod_jk.so
>> >   # Declare the module for <IfModule directive> (remove this line on
>> Apache
>> > 2.x)
>> > ###  AddModule     mod_jk.c
>> >   # Where to find workers.properties
>> >   # Update this path to match your conf directory location (put
>> > workers.properties next to httpd.conf)
>> > JkWorkersFile /etc/apache2/workers.properties
>> >   # Where to put jk shared memory
>> >   # Update this path to match your local state directory or logs
>> directory
>> > JkShmFile     /var/apache2/logs/mod_jk.shm
>> >   # Where to put jk logs
>> >   # Update this path to match your logs directory location (put
>> mod_jk.log
>> > next to access_log)
>> > JkLogFile    /var/apache2/logs/mod_jk.log
>> >   # Set the jk log level [debug/error/info]
>> > JkLogLevel    info
>> >   # Send everything for context /examples to worker named worker1
>> (ajp13)
>> > JkMount  /Example/* worker1
>> > -------------------------------------------
>> > **
>> > worker.properties from Windows box
>> > -------------------------------------------
>> > # Begins worker.properties here
>> > # Define path of .properties files and jdk
>> > # workers.tomcat_home=E:\IISSettings
>> > # ps=\
>> > # Define workers using ajp13
>> > worker.list=worker1
>> > # Set properties for worker1 (ajp13)
>> > worker.worker1.type=ajp13
>> > worker.worker1.host=<server name here>
>> > worker.worker1.port=8309
>> > -------------------------------------------
>> > 
>> > Tried compiling from source but to no avail..
>> > **** 
>> > running ./configure --with-apxs=/usr/apache2/bin/apxs
>> > Error
>> > - gives error regarding /opt/SUNWspro/bin/cc missing
>> > Symbolic link to /usr/sfw/bin/gcc does not work 
>> > 
>> > ******
>> > 
>> > thx for any help
>> > ct
>> > 
>> > 
>> > 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>> 
> 
> _________________________________________________________________
> Lauren found her dream laptop. Find the PC that’s right for you.
> http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
> 

-- 
View this message in context: http://www.nabble.com/Solaris-10-mod_jk-problems...-tp24375362p24391505.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


Mime
View raw message