Re: Trying to configure apache, tomcat and mod_jk
Thanks to Paul Constantine and Alan Chandler for their responses. I've managed to get it all working (eventually!). I think there were two stumbling blocks: 1. I had rebuild Apache but was accidentally running the old version, so the httpd.conf was not being picked up. 2. Paul's blog clarified which settings I should be using in server.xml. I've tried to record exactly what I did here: http://philoxenic.blogspot.com/2005/07/setting-up-tomcat.html. This might be particularly useful for anyone else trying to set up Tomcat on a Go Daddy virtual dedicated server. I set things up considerably different, though. For example, I was just trying to serve jsp's from the $CATALINA_HOME\webapps directory. I'm not entirely sure, but I think the JkMount directive only points to that directory. I think the JkMounts are just telling JK to try to pass on the request to Tomcat if the URL fits a particular pattern. I've JkMounted all of the directories I need, and Tomcat is happy to look for the files in a different directory from Apache. It looks like you're defining more workers in your workers.properties than you're actually using in httpd.conf. I don't think you need the ajp12 worker. Yes, you're right. Thanks. Another thing is that you have not defined a JkShmFile (a shared memory file). This is required for connectors 1.2.10 and later (although 1.2.13 might set one up on its own). I didn't need this with 1.2.13. Just a quick look at your server.xml file seems to be missing the engine jvmroute= ... that I have. I still don't have an engine jvmroute= However, my workers.properties sets up the paths for Java and Tomcat. I don't know whether this is the same thing. Computers -- don't you just love em! ;-) Thanks again Matthew -- Matthew Strawbridge http://www.philoxenic.com Bespoke software development and freelance technical copy editing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache + Tomcat with Mod_jk
Hi Justin, Thanks for the reply ... I have already downloaded all the files from the location you suggested ( i.e. the Linux Version ). But its giving me the following error ... Syntax error on line 235 of /etc/httpd/conf/httpd.conf: Cannot load /usr/local/apache2/lib/mod_jk.so into server: /usr/local/apache2/lib/mod_jk.so: ELF file data encoding not little-endian. Steve has suggested not to use the PPC module. I'm gng to try with i386 and will get back to you. Thanks a lot again ... Shailendra -Original Message- From: Justin Crabtree [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 7:37 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Apache + Tomcat with Mod_jk Shailendra Gatade wrote: Hi All, I am trying to connect Apache 2 ( Linux ) with Tomcat 5.0 ( Win2K ) using mod_jk. I'm facing several problems regarding this ... Initially i was using mod_jk2.so which is deprecated and also not recomended for Production Environment. I am not able to find the proper mod_jk.so for Apache. I downloaded ... jakarta-tomcat-connectors-jk-1.2.10-linux-sles8-ppc-apache-2.0.53-prefork.so and jakarta-tomcat-connectors-jk-1.2.10-linux-sles8-ppc-apache-2.0.53-worker.so Which file should i rename to mod_jk.so ? When i rename the first one and use it, i am getting the following error ... Cannot load /usr/local/apache2/lib/mod_jk.so into server: /usr/local/apache2/lib/mod_jk.so: ELF file data encoding not little-endian. Can somebody point me to a location where i can find the proper mod_jk.so for my setup ? Also there is no extensive tutorial available on the same issue ... Is anyone aware of a tutorial which guides you step by step in configuring Apache 2 + Tomcat 5.0 using mod_jk.so ? Thanks in advance ... Shailendra Try here. http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32/ And here for docs. http://jakarta.apache.org/tomcat/connectors-doc/ -- Justin Crabtree Java Programmer Ozarks Technical Community College 447-7533 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache + Tomcat with Mod_jk
Hi Steve, Thanks for your reply ... I WAS using the PPC Module. I'll change it to I386, check once again and get back ... Thanks a lot again ... Regards, Shailendra -Original Message- From: Steve Ochani [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 10:10 PM To: Tomcat Users List; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Apache + Tomcat with Mod_jk Shailendra Gatade wrote: Hi All, I am trying to connect Apache 2 ( Linux ) with Tomcat 5.0 ( Win2K ) using mod_jk. I'm facing several problems regarding this ... Initially i was using mod_jk2.so which is deprecated and also not recomended for Production Environment. I am not able to find the proper mod_jk.so for Apache. I downloaded ... jakarta-tomcat-connectors-jk-1.2.10-linux-sles8-ppc-apache-2.0.53-pr efork.so and jakarta-tomcat-connectors-jk-1.2.10-linux-sles8-ppc-apache-2.0.53-wo rker.so Which file should i rename to mod_jk.so ? When i rename the first one and use it, i am getting the following error ... Cannot load /usr/local/apache2/lib/mod_jk.so into server: /usr/local/apache2/lib/mod_jk.so: ELF file data encoding not little-endian. Can somebody point me to a location where i can find the proper mod_jk.so for my setup ? Also there is no extensive tutorial available on the same issue ... Is anyone aware of a tutorial which guides you step by step in configuring Apache 2 + Tomcat 5.0 using mod_jk.so ? Thanks in advance ... Shailendra Try here. http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32 / Those are for windows, he is running linux (for the webserver at least). http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/linux/ If you are not running a ppc (power pc) architecture based machine don't use the ppc module. -Steve O. «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤» Education is what remains after one has forgotten everything he learned in school. -Albert Einstein Steve O. http://www.steveo.us - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Trying to configure apache, tomcat and mod_jk
Hi After spending several days trying to set this up from the documentation, I've finally decided I need some expert help. I have a server set up with several domains sharing an IP address. I want to be able to have JSP files in amongst my static files, and have apache serve the static ones and to forward the requests for *.jsp to tomcat using mod_jk. At present: http://www.philoxenic.com:8080/test.jsp correctly serves up /home/httpd/vhosts/philoxenic.com/jsp/test.jsp through tomcat. (I would rather have these files in ../httpdocs/, but thought it might be easier if apache couldn't find the files itself). http://www.philoxenic.com/test.jsp comes up with a 'Not Found' error. This is what I want to get working. If I copy test.jsp from 'jsp' to 'httpdocs' then http://www.philoxenic.com/test.jsp serves it up as plain HTML (i.e. bypassing Tomcat). Please can someone point me in the right direction. To get this far I've had to recompile apache, compile tomcat and mod_jk, and think I have been going round in circles following out-of-date documents on the Web. I feel I'm close, but perhaps can't see the wood for the trees. Thanks Matthew VERSIONS: Red Hat Linux 9 Apache 2.0.40 Tomcat 5.5.9 jakarta-tomcat-connectors-1.2.13 FILES: /usr/local/jakarta-tomcat-5/conf/server.xml: Server port=8005 shutdown=SHUTDOWN Listener className=org.apache.catalina.mbeans.ServerLifecycleListener / Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener / Listener className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/ GlobalNamingResources !-- Test entry for demonstration purposes -- Environment name=simpleValue type=java.lang.Integer value=30/ !-- Editable user database that can also be used by UserDatabaseRealm to authenticate users -- Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved factory=org.apache.catalina.users.MemoryUserDatabaseFactory pathname=conf/tomcat-users.xml / /GlobalNamingResources Service name=Catalina Connector className=org.apache.coyote.tomcat5.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ !-- Define a non-SSL HTTP/1.1 Connector on port 8080 -- Connector port=8080 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 connectionTimeout=2 disableUploadTimeout=true / Engine name=Catalina defaultHost=localhost Realm className=org.apache.catalina.realm.UserDatabaseRealm resourceName=UserDatabase/ Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false /Host Host name=www.philoxenic.com Context path= docBase=/home/httpd/vhosts/philoxenic.com/jsp debug=1 reloadable=true/ /Host /Engine /Service /Server /usr/local/apache2/conf/httpd.conf: [SNIP] LoadModulejk_module /usr/local/apache2/modules/mod_jk.so JkWorkersFile /usr/local/apache2/conf/workers.properties JkLogFile /var/log/httpd/mod_jk.log JkLogLeveldebug JkLogStampFormat [%a %b %d %H:%M:%S %Y] JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkRequestLogFormat %w %V %T JkMount /*.jsp ajp13 JkMount /examples/* ajp13 /usr/local/apache2/conf/workers.properties: workers.tomcat_home=/usr/local/jakarta-tomcat-5 workers.java_home=/usr/java/jdk1.5.0_04 ps=/ worker.list=ajp12, ajp13 worker.ajp12.port=8007 worker.ajp12.host=localhost worker.ajp12.type=ajp12 worker.ajp12.lbfactor=1 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp12, ajp13 worker.inprocess.type=jni worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar worker.inprocess.cmd_line=start worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)server$(ps)libjvm.so worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr LOGS: /var/log/httpd/mod_jk.log: [Mon Jul 11 06:26:32 2005] [10660:16384] [debug] map_uri_to_worker::jk_uri_worker_map.c (442): Attempting to map URI '/test.jsp' from 1 maps [Mon Jul 11 06:26:32 2005] [10660:16384] [debug] map_uri_to_worker::jk_uri_worker_map.c (454): Attempting to map context URI '/home/httpd/vhosts/philoxenic.com/httpdocs/*.jsp' [Mon Jul 11 06:26:32 2005] [10660:16384] [debug] map_uri_to_worker::jk_uri_worker_map.c (442): Attempting to map
Re: Trying to configure apache, tomcat and mod_jk
Hey Matthew, I'm no expert, but I can tell you what I did to get it running. I'm running Apache 2.0 on Fedora Core 4. I basically ended up just rolling back my versions to get things to work. I rolled back to Tomcat 5.0.28 with mod_jk 1.2.10. It's true. The documentation on the web is out of date and very confusing. I set things up considerably different, though. For example, I was just trying to serve jsp's from the $CATALINA_HOME\webapps directory. I'm not entirely sure, but I think the JkMount directive only points to that directory. It looks like you're defining more workers in your workers.properties than you're actually using in httpd.conf. I don't think you need the ajp12 worker. Another thing is that you have not defined a JkShmFile (a shared memory file). This is required for connectors 1.2.10 and later (although 1.2.13 might set one up on its own). Here's a link to the relevant lines in my config files. I got this working this weekend, so you can be sure they're fresh. http://ill-conditioned.stanford.edu/JSPWiki/Wiki.jsp?page=Fedora If the wiki link doesn't work, then you know I'm still having problems. :) Hope this helps, Paul Quoting Matthew Strawbridge [EMAIL PROTECTED]: Hi After spending several days trying to set this up from the documentation, I've finally decided I need some expert help. I have a server set up with several domains sharing an IP address. I want to be able to have JSP files in amongst my static files, and have apache serve the static ones and to forward the requests for *.jsp to tomcat using mod_jk. At present: http://www.philoxenic.com:8080/test.jsp correctly serves up /home/httpd/vhosts/philoxenic.com/jsp/test.jsp through tomcat. (I would rather have these files in ../httpdocs/, but thought it might be easier if apache couldn't find the files itself). http://www.philoxenic.com/test.jsp comes up with a 'Not Found' error. This is what I want to get working. If I copy test.jsp from 'jsp' to 'httpdocs' then http://www.philoxenic.com/test.jsp serves it up as plain HTML (i.e. bypassing Tomcat). Please can someone point me in the right direction. To get this far I've had to recompile apache, compile tomcat and mod_jk, and think I have been going round in circles following out-of-date documents on the Web. I feel I'm close, but perhaps can't see the wood for the trees. Thanks Matthew VERSIONS: Red Hat Linux 9 Apache 2.0.40 Tomcat 5.5.9 jakarta-tomcat-connectors-1.2.13 FILES: /usr/local/jakarta-tomcat-5/conf/server.xml: Server port=8005 shutdown=SHUTDOWN Listener className=org.apache.catalina.mbeans.ServerLifecycleListener / Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener / Listener className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/ GlobalNamingResources !-- Test entry for demonstration purposes -- Environment name=simpleValue type=java.lang.Integer value=30/ !-- Editable user database that can also be used by UserDatabaseRealm to authenticate users -- Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved factory=org.apache.catalina.users.MemoryUserDatabaseFactory pathname=conf/tomcat-users.xml / /GlobalNamingResources Service name=Catalina Connector className=org.apache.coyote.tomcat5.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ !-- Define a non-SSL HTTP/1.1 Connector on port 8080 -- Connector port=8080 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 connectionTimeout=2 disableUploadTimeout=true / Engine name=Catalina defaultHost=localhost Realm className=org.apache.catalina.realm.UserDatabaseRealm resourceName=UserDatabase/ Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false /Host Host name=www.philoxenic.com Context path= docBase=/home/httpd/vhosts/philoxenic.com/jsp debug=1 reloadable=true/ /Host /Engine /Service /Server /usr/local/apache2/conf/httpd.conf: [SNIP] LoadModulejk_module /usr/local/apache2/modules/mod_jk.so JkWorkersFile /usr/local/apache2/conf/workers.properties JkLogFile /var/log/httpd/mod_jk.log JkLogLeveldebug JkLogStampFormat [%a %b %d %H:%M:%S %Y] JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkRequestLogFormat %w %V %T JkMount /*.jsp ajp13 JkMount /examples/* ajp13 /usr/local/apache2
Re: Trying to configure apache, tomcat and mod_jk
On Monday 11 July 2005 14:54, Matthew Strawbridge wrote: Hi After spending several days trying to set this up from the documentation, I've finally decided I need some expert help. I am no expert, but I got it to work See my blog on http://home.chandlerfamily.org.uk/archive/21/taking-the-java-plunge---setting-up-apache-and-tomcat Just a quick look at your server.xml file seems to be missing the engine jvmroute= ... that I have. -- Alan Chandler http://www.chandlerfamily.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache + Tomcat with Mod_jk
Shailendra Gatade wrote: Hi All, I am trying to connect Apache 2 ( Linux ) with Tomcat 5.0 ( Win2K ) using mod_jk. I'm facing several problems regarding this ... Initially i was using mod_jk2.so which is deprecated and also not recomended for Production Environment. I am not able to find the proper mod_jk.so for Apache. I downloaded ... jakarta-tomcat-connectors-jk-1.2.10-linux-sles8-ppc-apache-2.0.53-prefork.so and jakarta-tomcat-connectors-jk-1.2.10-linux-sles8-ppc-apache-2.0.53-worker.so Which file should i rename to mod_jk.so ? When i rename the first one and use it, i am getting the following error ... Cannot load /usr/local/apache2/lib/mod_jk.so into server: /usr/local/apache2/lib/mod_jk.so: ELF file data encoding not little-endian. Can somebody point me to a location where i can find the proper mod_jk.so for my setup ? Also there is no extensive tutorial available on the same issue ... Is anyone aware of a tutorial which guides you step by step in configuring Apache 2 + Tomcat 5.0 using mod_jk.so ? Thanks in advance ... Shailendra Try here. http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32/ And here for docs. http://jakarta.apache.org/tomcat/connectors-doc/ -- Justin Crabtree Java Programmer Ozarks Technical Community College 447-7533 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache + Tomcat with Mod_jk
Shailendra Gatade wrote: Hi All, I am trying to connect Apache 2 ( Linux ) with Tomcat 5.0 ( Win2K ) using mod_jk. I'm facing several problems regarding this ... Initially i was using mod_jk2.so which is deprecated and also not recomended for Production Environment. I am not able to find the proper mod_jk.so for Apache. I downloaded ... jakarta-tomcat-connectors-jk-1.2.10-linux-sles8-ppc-apache-2.0.53-pr efork.so and jakarta-tomcat-connectors-jk-1.2.10-linux-sles8-ppc-apache-2.0.53-wo rker.so Which file should i rename to mod_jk.so ? When i rename the first one and use it, i am getting the following error ... Cannot load /usr/local/apache2/lib/mod_jk.so into server: /usr/local/apache2/lib/mod_jk.so: ELF file data encoding not little-endian. Can somebody point me to a location where i can find the proper mod_jk.so for my setup ? Also there is no extensive tutorial available on the same issue ... Is anyone aware of a tutorial which guides you step by step in configuring Apache 2 + Tomcat 5.0 using mod_jk.so ? Thanks in advance ... Shailendra Try here. http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32 / Those are for windows, he is running linux (for the webserver at least). http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/linux/ If you are not running a ppc (power pc) architecture based machine don't use the ppc module. -Steve O. «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤» Education is what remains after one has forgotten everything he learned in school. -Albert Einstein Steve O. http://www.steveo.us - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache + Tomcat with Mod_jk
Hi All, I am trying to connect Apache 2 ( Linux ) with Tomcat 5.0 ( Win2K ) using mod_jk. I'm facing several problems regarding this ... Initially i was using mod_jk2.so which is deprecated and also not recomended for Production Environment. I am not able to find the proper mod_jk.so for Apache. I downloaded ... jakarta-tomcat-connectors-jk-1.2.10-linux-sles8-ppc-apache-2.0.53-prefork.so and jakarta-tomcat-connectors-jk-1.2.10-linux-sles8-ppc-apache-2.0.53-worker.so Which file should i rename to mod_jk.so ? When i rename the first one and use it, i am getting the following error ... Cannot load /usr/local/apache2/lib/mod_jk.so into server: /usr/local/apache2/lib/mod_jk.so: ELF file data encoding not little-endian. Can somebody point me to a location where i can find the proper mod_jk.so for my setup ? Also there is no extensive tutorial available on the same issue ... Is anyone aware of a tutorial which guides you step by step in configuring Apache 2 + Tomcat 5.0 using mod_jk.so ? Thanks in advance ... Shailendra
RE: Apache + Tomcat with Mod_jk
Hi Shailendra, What your Apache MPM are you using? I think you should use JK_module that accord with Apcahe MPM. Thanks, -Toshio -Original Message- From: Shailendra Gatade [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 2005 11:25 PM To: tomcat-user@jakarta.apache.org Subject: Apache + Tomcat with Mod_jk Hi All, I am trying to connect Apache 2 ( Linux ) with Tomcat 5.0 ( Win2K ) using mod_jk. I'm facing several problems regarding this ... Initially i was using mod_jk2.so which is deprecated and also not recomended for Production Environment. I am not able to find the proper mod_jk.so for Apache. I downloaded ... jakarta-tomcat-connectors-jk-1.2.10-linux-sles8-ppc-apache-2.0.53- prefork.so and jakarta-tomcat-connectors-jk-1.2.10-linux-sles8-ppc-apache-2.0.53- worker.so Which file should i rename to mod_jk.so ? When i rename the first one and use it, i am getting the following error ... Cannot load /usr/local/apache2/lib/mod_jk.so into server: /usr/local/apache2/lib/mod_jk.so: ELF file data encoding not little-endian. Can somebody point me to a location where i can find the proper mod_jk.so for my setup ? Also there is no extensive tutorial available on the same issue ... Is anyone aware of a tutorial which guides you step by step in configuring Apache 2 + Tomcat 5.0 using mod_jk.so ? Thanks in advance ... Shailendra __ Save the earth http://pr.mail.yahoo.co.jp/ondanka/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache-tomcat via mod_jk configuration
Are you sure you meant httpd1? The daemon script on my site is httpd. The website explains a setup for Tomcat 4, not Tomcat 5. I don't know if there's any difference, but there may be. I'm also confused as you apparently didn't copy your configuration into this post, you just copied most of the contents of my web page into it. Oscar http://daydream.stanford.edu/tomcat/install_web_services.html On Wed, 17 Dec 2003 [EMAIL PROTECTED] wrote: Hi all, I've read a configuration of tomcat and apache (http://daydream.stanford.edu/tomcat/install_web_services.html ) over the last 4 days, and I've found much of what I need to be lacking After reading full documentation on the jakarta website about how the server.xml is organized for tomcat 4, I still have some questions... I will first explain the desired setup, then I will show what I have. If you gracious folks can help me set this up, I will GLADLY set up a complete HOW-TO replicating the solution on my website for all the world to see. you knows you probably get a lot of questions about this. My hope is to guide the user by the hand step by step for this complex process. I have been using Tomcat 3 for a long time with mod_jk and have been very happy, but I now need the newer features of Tomcat 4. Here's the setup (everywhere hereafter, I've replaced the actual domain names with domainname for privacy...just know that everytime you see that, its actually a domain name, and ignore the brackets Redhat Linux 9 httpd-2.0.48 / usr/loca/apache2 Java JDK 1.4.2_03 ---/usr/lcoal/java Tomcat 5.0.16 Light Edition (since I have jdk 1.4.2_03) .--/usr/local/tomcat mod_jk /usr/lcoal/src/mod_jk my question is there is httpd in linux 9 and postgresql and i installed apache and tomcat and psotgresql i added the httpd1 and tomcat in sbin/chkconfig --add httpd1 amd tomcatd by using the configuration given in http://daydream.stanford.edu/tomcat/install_web_services.html site fullythen i started the catalina_home /bin/startup.sh which was started in command line but i am not able to get test page in Browser it tells that connection refused i start by using httpd1 and tomcatd it shows that unreconized service please help to solve the problem as soon as possible Thakning You Dhayalan.G # Configure Environment Variables Edit and add the lines below to /etc/profile Make sure you logout and login for this to take effect. If you're in XWindow you might need to quit out of XWindow and exit primary shell. Then login again and start XWindow again (startx). It's really good to get this straight from the beginning. JAVA_HOME=/usr/local/java/java CATALINA_HOME=/usr/local/tomcat PATH=$JAVA_HOME/bin:$PATH:$HOME/bin:/sbin:/usr/sbin CLASSPATH=$CATALINA_HOME/bin/bootstrap.jar:$JAVA_HOME/lib/tools.jar:$CATALINA_HOME/common/lib/servlet.jar:/usr/local/pgsql/share/java/postgresql.jar:../lib/struts.jar:. Now add the PATH JAVA_HOME CATALINA_HOME CLASSPATH if any aren't in the export line export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC JAVA_HOME CATALINA_HOME CLASSPATH This will output your environment variables env Install JAVA mkdir /usr/local/java cd /usr/local/java sh j2sdk-1_4_2-linux-i586.bin The jdk directory is then extracted mv j2sdk-1.4.2 /usr/local/java ln -s j2sdk1.4.2 java Now the java directory will be in /usr/local/java/java. I do it like this so I can keep all my different JDKs/JREs in one directory and then just change the symbolic link to point to the current one. Install Jakarta TOMCAT tar xvfz jakarta-tomcat-4.1.27.tar.gz mv jakarta-tomcat-4.1.27 /usr/local/ cd /usr/local ln -s jakarta-tomcat-4.1.27 tomcat Install Jakarta ANT tar xvfz jakarta-ant-1.5.4 mv jakarta-ant-1.5.4 /usr/local cd /usr/local ln -s jakarta-ant-1.5.4 ant ln -s /usr/local/ant/bin/ant /usr/local/bin/ant Install OPENSSL tar xvfz openssl-0.9.7c.tar.gz mv openssl-0.9.7c /usr/local/src/ cd /usr/local/src/ ln -s /usr/local/openssl-0.9.7c openssl cd openssl-0.9.7c ./config make make test make install #This will install in /usr/local/ssl Install APACHE tar xvfz httpd-2.0.47.tar.Z cd httpd-2.0.47 ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite \ --enable-ssl --with-ssl=/usr/local/ssl --enable-proxy make make install #(places in /usr/local/apache2) Build/Install MOD_JK Connector Build mod_jk cd /usr/local/src/jakarta-tomcat-connectors-jk-1.2.4-src/jk/native ./buildconf.sh ./configure --with-apxs=/usr/local/apache2/bin/apxs make cp apache-2.0/mod_jk.so /usr/local/apache2/modules Installs mod_jk in correct
RE: [SPAM] Re: Apache-tomcat via mod_jk configuration
Thats fine Rethat hava its own httpd that why i added in services httpd1 in /sbib/chkconfig and tomcatd but it tells that unregaconized service . what can i do that for Can i delete httpd i can start in terminal $CATALINA/bin/startup.sh but i am not able to do service httpd1 start and service tomcatd start which gives unregconzied services pls help me resolve the problem Thaking You Dhayalan Original Message Subject: [SPAM] Re: Apache-tomcat via mod_jk configuration From: Oscar Carrillo [EMAIL PROTECTED] Date: Wed, December 17, 2003 11:42 pm To: Tomcat Users List [EMAIL PROTECTED] Are you sure you meant httpd1? The daemon script on my site is httpd. The website explains a setup for Tomcat 4, not Tomcat 5. I don't know if there's any difference, but there may be. I'm also confused as you apparently didn't copy your configuration into this post, you just copied most of the contents of my web page into it. Oscar http://daydream.stanford.edu/tomcat/install_web_services.html On Wed, 17 Dec 2003 [EMAIL PROTECTED] wrote: Hi all, I've read a configuration of tomcat and apache (http://daydream.stanford.edu/tomcat/install_web_services.html ) over the last 4 days, and I've found much of what I need to be lacking After reading full documentation on the jakarta website about how the server.xml is organized for tomcat 4, I still have some questions... I will first explain the desired setup, then I will show what I have. If you gracious folks can help me set this up, I will GLADLY set up a complete HOW-TO replicating the solution on my website for all the world to see. you knows you probably get a lot of questions about this. My hope is to guide the user by the hand step by step for this complex process. I have been using Tomcat 3 for a long time with mod_jk and have been very happy, but I now need the newer features of Tomcat 4. Here's the setup (everywhere hereafter, I've replaced the actual domain names with domainname for privacy...just know that everytime you see that, its actually a domain name, and ignore the brackets Redhat Linux 9 httpd-2.0.48 / usr/loca/apache2 Java JDK 1.4.2_03 ---/usr/lcoal/java Tomcat 5.0.16 Light Edition (since I have jdk 1.4.2_03) .--/usr/local/tomcat mod_jk /usr/lcoal/src/mod_jk my question is there is httpd in linux 9 and postgresql and i installed apache and tomcat and psotgresql i added the httpd1 and tomcat in sbin/chkconfig --add httpd1 amd tomcatd by using the configuration given in http://daydream.stanford.edu/tomcat/install_web_services.html site fullythen i started the catalina_home /bin/startup.sh which was started in command line but i am not able to get test page in Browser it tells that connection refused i start by using httpd1 and tomcatd it shows that unreconized service please help to solve the problem as soon as possible Thakning You Dhayalan.G # Configure Environment Variables Edit and add the lines below to /etc/profile Make sure you logout and login for this to take effect. If you're in XWindow you might need to quit out of XWindow and exit primary shell. Then login again and start XWindow again (startx). It's really good to get this straight from the beginning. JAVA_HOME=/usr/local/java/java CATALINA_HOME=/usr/local/tomcat PATH=$JAVA_HOME/bin:$PATH:$HOME/bin:/sbin:/usr/sbin CLASSPATH=$CATALINA_HOME/bin/bootstrap.jar:$JAVA_HOME/lib/tools.jar:$CATALINA_HOME/common/lib/servlet.jar:/usr/local/pgsql/share/java/postgresql.jar:../lib/struts.jar:. Now add the PATH JAVA_HOME CATALINA_HOME CLASSPATH if any aren't in the export line export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC JAVA_HOME CATALINA_HOME CLASSPATH This will output your environment variables env Install JAVA mkdir /usr/local/java cd /usr/local/java sh j2sdk-1_4_2-linux-i586.bin The jdk directory is then extracted mv j2sdk-1.4.2 /usr/local/java ln -s j2sdk1.4.2 java Now the java directory will be in /usr/local/java/java. I do it like this so I can keep all my different JDKs/JREs in one directory and then just change the symbolic link to point to the current one. Install Jakarta TOMCAT tar xvfz jakarta-tomcat-4.1.27.tar.gz mv jakarta-tomcat-4.1.27 /usr/local/ cd /usr/local ln -s jakarta-tomcat-4.1.27 tomcat Install Jakarta ANT tar xvfz jakarta-ant-1.5.4 mv jakarta-ant-1.5.4 /usr/local cd /usr/local ln -s jakarta-ant-1.5.4 ant ln -s /usr/local/ant/bin/ant /usr/local/bin/ant Install OPENSSL tar xvfz openssl
Apache-tomcat via mod_jk configuration
Hi all, I've read a configuration of tomcat and apache (http://daydream.stanford.edu/tomcat/install_web_services.html ) over the last 4 days, and I've found much of what I need to be lacking After reading full documentation on the jakarta website about how the server.xml is organized for tomcat 4, I still have some questions... I will first explain the desired setup, then I will show what I have. If you gracious folks can help me set this up, I will GLADLY set up a complete HOW-TO replicating the solution on my website for all the world to see. you knows you probably get a lot of questions about this. My hope is to guide the user by the hand step by step for this complex process. I have been using Tomcat 3 for a long time with mod_jk and have been very happy, but I now need the newer features of Tomcat 4. Here's the setup (everywhere hereafter, I've replaced the actual domain names with domainname for privacy...just know that everytime you see that, its actually a domain name, and ignore the brackets Redhat Linux 9 httpd-2.0.48 / usr/loca/apache2 Java JDK 1.4.2_03 ---/usr/lcoal/java Tomcat 5.0.16 Light Edition (since I have jdk 1.4.2_03) .--/usr/local/tomcat mod_jk /usr/lcoal/src/mod_jk my question is there is httpd in linux 9 and postgresql and i installed apache and tomcat and psotgresql i added the httpd1 and tomcat in sbin/chkconfig --add httpd1 amd tomcatd by using the configuration given in http://daydream.stanford.edu/tomcat/install_web_services.html site fullythen i started the catalina_home /bin/startup.sh which was started in command line but i am not able to get test page in Browser it tells that connection refused i start by using httpd1 and tomcatd it shows that unreconized service please help to solve the problem as soon as possible Thakning You Dhayalan.G # Configure Environment Variables Edit and add the lines below to /etc/profile Make sure you logout and login for this to take effect. If you're in XWindow you might need to quit out of XWindow and exit primary shell. Then login again and start XWindow again (startx). It's really good to get this straight from the beginning. JAVA_HOME=/usr/local/java/java CATALINA_HOME=/usr/local/tomcat PATH=$JAVA_HOME/bin:$PATH:$HOME/bin:/sbin:/usr/sbin CLASSPATH=$CATALINA_HOME/bin/bootstrap.jar:$JAVA_HOME/lib/tools.jar:$CATALINA_HOME/common/lib/servlet.jar:/usr/local/pgsql/share/java/postgresql.jar:../lib/struts.jar:. Now add the PATH JAVA_HOME CATALINA_HOME CLASSPATH if any aren't in the export line export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC JAVA_HOME CATALINA_HOME CLASSPATH This will output your environment variables env Install JAVA mkdir /usr/local/java cd /usr/local/java sh j2sdk-1_4_2-linux-i586.bin The jdk directory is then extracted mv j2sdk-1.4.2 /usr/local/java ln -s j2sdk1.4.2 java Now the java directory will be in /usr/local/java/java. I do it like this so I can keep all my different JDKs/JREs in one directory and then just change the symbolic link to point to the current one. Install Jakarta TOMCAT tar xvfz jakarta-tomcat-4.1.27.tar.gz mv jakarta-tomcat-4.1.27 /usr/local/ cd /usr/local ln -s jakarta-tomcat-4.1.27 tomcat Install Jakarta ANT tar xvfz jakarta-ant-1.5.4 mv jakarta-ant-1.5.4 /usr/local cd /usr/local ln -s jakarta-ant-1.5.4 ant ln -s /usr/local/ant/bin/ant /usr/local/bin/ant Install OPENSSL tar xvfz openssl-0.9.7c.tar.gz mv openssl-0.9.7c /usr/local/src/ cd /usr/local/src/ ln -s /usr/local/openssl-0.9.7c openssl cd openssl-0.9.7c ./config make make test make install #This will install in /usr/local/ssl Install APACHE tar xvfz httpd-2.0.47.tar.Z cd httpd-2.0.47 ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite \ --enable-ssl --with-ssl=/usr/local/ssl --enable-proxy make make install #(places in /usr/local/apache2) Build/Install MOD_JK Connector Build mod_jk cd /usr/local/src/jakarta-tomcat-connectors-jk-1.2.4-src/jk/native ./buildconf.sh ./configure --with-apxs=/usr/local/apache2/bin/apxs make cp apache-2.0/mod_jk.so /usr/local/apache2/modules Installs mod_jk in correct location Configure Apache for mod_jk I put these lines in http.conf just before NameVirtualHost IfModule !mod_jk.c LoadModule jk_module modules/mod_jk.so /IfModule Configure APACHE/NON-SSL 1. mkdir /usr/local/http_nonsecure * #Look for similar lines. * #Make sure you have lines that say this in conf/http.conf: * Listen myhost.mydomain:80 * #Same with this line: * #Make sure you do this line because it will listen * #and try to do http on the https port as well. * ServerName myhost.mydomain:80
Preconfigured Apache + Tomcat 4.1.27 + mod_jk
Hi, I have linux with Apache running -preconfigured with applications running in /var/www... also i have tomcat 4.1.27 running on 8080 port with jsp application. I went through http://www.johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html but dont no how to do this in case of preconfigured apache ? where should install the mod_jk ? please help me. _ Contact brides grooms FREE! Only on www.shaadi.com. http://www.shaadi.com/ptnr.php?ptnr=hmltag Register now! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache+Tomcat with mod_jk on OS X
I'm trying to get Apache (1.3.27) integrated with Tomcat (4.1.27) on OS X. I've read the following article (http://tinyurl.com/qkgp), which didn't help much, as well as my own (http://raibledesigns.com/tomcat), but I've found no success. I downloaded mod_jk.so (for 1.3.27) from http://tinyurl.com/qkh6. Currently, the issue I'm having is with Apache, hopefully someone can help. When I restart Apache, I get: Invalid command 'JkWorkersFile' I've heard that folks are using 'webapp' for Apache+Tomcat integration on OS X, but I'd rather use mod_jk b/c I'm familiar with it (or jk2). Has anyone got either of these working? Please share your experiences. Thanks, Matt
Re: Apache+Tomcat with mod_jk on OS X
At 10:52 -0600 2003/10/11, Matt Raible wrote: I'm trying to get Apache (1.3.27) integrated with Tomcat (4.1.27) on OS X. [...] I downloaded mod_jk.so (for 1.3.27) from http://tinyurl.com/qkh6. Currently, the issue I'm having is with Apache, hopefully someone can help. When I restart Apache, I get: Invalid command 'JkWorkersFile' have you LoadModule jk_module modules/mod_jk.so haven't you? (clearly with the correct location for your mod_jk.so) Giuliano - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache+Tomcat with mod_jk on OS X
Yep, and that appears to work just fine. On Saturday, October 11, 2003, at 02:54 PM, Giuliano Gavazzi wrote: At 10:52 -0600 2003/10/11, Matt Raible wrote: I'm trying to get Apache (1.3.27) integrated with Tomcat (4.1.27) on OS X. [...] I downloaded mod_jk.so (for 1.3.27) from http://tinyurl.com/qkh6. Currently, the issue I'm having is with Apache, hopefully someone can help. When I restart Apache, I get: Invalid command 'JkWorkersFile' have you LoadModule jk_module modules/mod_jk.so haven't you? (clearly with the correct location for your mod_jk.so) Giuliano - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache+Tomcat with mod_jk on OS X
HELP ever since the big virus ive been plagued with emails from thei comapny or whatever it is.. i get at least 800 a day and i can t make them stop.. i dont know what you are all are talkingabout and i really dont care.. i cant seem to unsubscribe successfully HELP!! i want my email inbox back! Trinity Jacobs. __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Configuring apache/tomcat with mod_jk on different hosts
This probably is a BUG with tomcat. It should not return 404, coz' the servlet is there. You will get the same message even if u call the servlet from normal java code and not applet. URL url = new URL(http://whatever.com/servlet/SomeServlet;) URLConnection huc = url.openConnection(); huc.setUseCaches(false); huc.setDoInput(true); // huc.setDoOutput(true); //OutputStream os = huc.getOutputStream(); InputStream is = huc.getInputStream(); This will work but if u uncomment the 2 lines above , it returns 404 Error. Perhaps it has something to do with the post method in the servlet, do u have a doPost method in the servlet ? Shuklix -Original Message- From: Deniz Demir [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 2:26 PM To: [EMAIL PROTECTED] Subject: URL socket connection to servlet Hi, I have replaced my apache-jserv server with apache-tomcat. In this case my applet cannot open URL socket connection to my servlet that loads the applet. The code in the applet is as follows: // Get the server URL String urlString = http://; + getDocumentBase().getHost() + /servlet/LoginServlet; java.net.URL url = new java.net.URL(urlString); System.out.println(- url: + url.toString()); // Attempt to connect to the host java.net.URLConnection con = url.openConnection(); System.out.println(connection opened...); And the error message from Java Console of Internet Explorer is as follows: ( www.yfas.com.tr:80//servlet/LoginServlet this address is shown in netscape as it is in the address bar, that is: www.yfas.com.tr/servlet/LoginServlet ) - url: http://www.yfas.com.tr/servlet/LoginServlet connection opened... java.io.FileNotFoundException: www.yfas.com.tr:80//servlet/LoginServlet at com/ms/net/wininet/http/HttpInputStream.connect at com/ms/net/wininet/http/HttpInputStream.init at com/ms/net/wininet/http/HttpURLConnection.createInputStream at com/ms/net/wininet/WininetURLConnection.getInputStream at com/ms/net/wininet/http/HttpPostBufferStream.close at java/io/FilterOutputStream.close at LoginApplet.validateUser at LoginApplet.handleEvent at java/awt/Component.postEvent at java/awt/Component.postEvent at java/awt/Component.dispatchEventImpl at java/awt/Component.dispatchEvent at java/awt/EventDispatchThread.run is there any solution for this problem? Deniz...
Configuring apache/tomcat with mod_jk on different hosts
Hello If apache and tomcat are running on 2 different hosts, how do I perform the configuration if I'm using mod_jk ? For e.g. should I place the workers.properties file on apache side or tomcat side ? For mod_jserv I know that I can use ApJServDefaultHost and ApJServDefaultPort directives. Thanks Regards Raymond
Apache + Tomcat with mod_jk and Virtual Hosts
Please i need help with this can anyone anwser me about this issue ?? With Apache and tomcat working with mod_jk: Its possible to map every virtual host (On Apache) to a different webapp on tomcat ??? I.E. Apache Virtual Host: 123.myhost.com ip: 10.0.0.2 Tomcat Webbapp : tomcat33\webapps\123 Apache Virtual Host: 789.myhost.com ip: 10.0.0.2 Tomcat Webbapp : tomcat33\webapps\789 thanks in advance !!!
Re: Apache + Tomcat with mod_jk and Virtual Hosts
Yes. See the mail archive for a generic version of my setup: http://mikal.org/interests/java/tomcat/archive/view?mesg=24718 http://mikal.org/interests/java/tomcat/archive/view?mesg=24420 http://mikal.org/interests/java/tomcat/archive/view?mesg=24256 Thanks, --jeff - Original Message - From: Adrian Almenar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 31, 2001 7:03 AM Subject: Apache + Tomcat with mod_jk and Virtual Hosts Please i need help with this can anyone anwser me about this issue ?? With Apache and tomcat working with mod_jk: Its possible to map every virtual host (On Apache) to a different webapp on tomcat ??? I.E. Apache Virtual Host: 123.myhost.com ip: 10.0.0.2 Tomcat Webbapp : tomcat33\webapps\123 Apache Virtual Host: 789.myhost.com ip: 10.0.0.2 Tomcat Webbapp : tomcat33\webapps\789 thanks in advance !!!
Apache + Tomcat with mod_jk and Virtual Hosts
does anybody have a configuration in this way: With Apache and tomcat working with mod_jk: Its possible to map every virtual host (On Apache) a a different webapp on tomcat ??? I.E. Apache Virtual Host: 123.myhost.com Tomcat Webbapp : tomcat33\webapps\123 Apache Virtual Host: 789.myhost.com Tomcat Webbapp : tomcat33\webapps\789 thanks in advance !!! -- W98: a 32-bit graphical front end to a 16-bit patch on a 8-bit Operating System written for a 4-bit processor by a 2-bit corporation without ONE bit of decency -- Unix Is Like A Tipi, No Gates, No Windows, And an Apache Inside
config Pb with Apache/Tomcat using mod_jk
Hi all, I'm building a testing environment on Windows NT4. Here is my current configuration : Apache 1.3.14 Sun JDK 1.3.0.02 Tomcat 3.2.1 The system worked fine using mod_jserv as the communication handler between Apache and Tomcat, and ajp12 as the communication protocol (mainly the default config). But since I have updated Tomcat (following the "Working with mod_jk" guideline from jakarta.apache.org) to use mod_jk instead of mod_jserv and ajp13 instead of ajp12, my system does not work properly anymore. I still can run HelloWorldExample servlet using the Tomcat internal HTTP server (http://localhost:8080/examples/servlet/HelloWorldExample). But trying to run it through Apache (http://localhost/examples/servlet/HelloWorldExample), I got a 404 Not Found error. Could someone help me ? What's missing in my configuration ? Thomas I added the following bloc in server.xml : Connector className="org.apache.tomcat.service.PoolTcpConnector" Parameter name="handler" value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/ Parameter name="port" value="8009"/ /Connector Here is my custom tomcat-apache.conf : LoadModule jk_module modules/mod_jk.dll JkWorkersFile "C:/Apache Group/Tomcat 3.2.1/conf/workers.properties" JkLogFile logs/jk.log JkLogLevel warn JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 IfModule mod_jk.c # # Mounting a single smart context # # Make Apache know about the context location. Alias /examples "C:/Apache Group/Tomcat 3.2.1/webapps/examples" # Customize Apache context service (optional) Directory "C:/Apache Group/Tomcat 3.2.1/webapps/examples" Options Indexes FollowSymLinks /Directory # Protect the WEB-INF directory from tampering. Location /examples/WEB-INF/ AllowOverride None deny from all /Location # Mount specific servlet URLS to Tomcat JkMount /examples/servlet/* ajpv13 /IfModule Finally, I updated workers.properties as follow : workers.tomcat_home="C:\Apache Group\Tomcat 3.2.1\" workers.java_home=c:\jdk1.3.0_02 begin:vcard n:KLEIN;Thomas tel;cell:06 62 05 49 46 tel;home:[EMAIL PROTECTED] x-mozilla-html:TRUE org:APSIDE adr:;;;Toulouse;;;FRANCE version:2.1 email;internet:[EMAIL PROTECTED] fn:Thomas KLEIN end:vcard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Apache, tomcat and mod_jk
Hello, I'm attempting to install a 3.2 version of tomcat with Apache 1.3.14. When I try to start apache I get this: "Starting httpd: Syntax error on line 1 of /usr/local/apache/conf/httpd.conf:API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so is garbled - perhaps this is not an Apache module DSO?" Any ideas ? Olivier Tourdes E-mail: [EMAIL PROTECTED] Site: http://www.i-tipi.fr
Re: Apache, tomcat and mod_jk
I think that you can resolve the problem by compiling mod_jk.so from source. See mod_jk-howto.html in $TOMCAT_HOME/docs. -- john Olivier Tourdes wrote: Hello, I'm attempting to install a 3.2 version of tomcat with Apache 1.3.14. When I try to start apache I get this: "Starting httpd: Syntax error on line 1 of /usr/local/apache/conf/httpd.conf:API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so is garbled - perhaps this is not an Apache module DSO?" Any ideas ? Olivier Tourdes E-mail: [EMAIL PROTECTED] Site: http://www.i-tipi.fr -- === John Cartwright Professional Research Assistant / Associate Scientist CIRES, SEG/NGDC/NOAA (303) 497-6284 [EMAIL PROTECTED] ===
AW: Apache, tomcat and mod_jk
are you sure the mod_jk.so is build with apache 1.3.14 on your system? perhaps try to remove it and rebuild it with apache apsx command Christoph Leser SP Computersysteme GmbH E-Mail:[EMAIL PROTECTED] Tel. +49 711 7264112 Fax: +49 711 7289860 -Ursprüngliche Nachricht- Von:Olivier Tourdes [SMTP:[EMAIL PROTECTED]] Gesendet am:Dienstag, 5. Dezember 2000 18:42 An: Olivier Tourdes Cc: [EMAIL PROTECTED] Betreff:Apache, tomcat and mod_jk Hello, I'm attempting to install a 3.2 version of tomcat with Apache 1.3.14. When I try to start apache I get this: "Starting httpd: Syntax error on line 1 of /usr/local/apache/conf/httpd.conf:API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so is garbled - perhaps this is not an Apache module DSO?" Any ideas ? Olivier Tourdes E-mail: [EMAIL PROTECTED] Site: http://www.i-tipi.fr
Re: AW: Apache, tomcat and mod_jk
are you sure the mod_jk.so is build with apache 1.3.14 on your system? perhaps try to remove it and rebuild it with apache apsx command A known issue. The mod_jk was compiled under an EAPI apache (mod_ssl) and you use that on a standard apache distrib Regards. Ps: Linux users could take a look at : ftp://ftp.falsehope.com/home/gomez/ where they could find apache-mod_ssl, tomcat and tomcat-mod RPMs ready to use for Redhat 6.x or Redhat 7.x via rebuild of source RPM