Integrating Tomcat and Apache - typo in the instructions??

I'm a total newbie at this, but one line in the "Flashguide" instructions I found on Galatea http://galatea.com/flashguides/home looked wierd to me:
In the instructions for integrating Tomcat 4.0.x to Apache 2.0.x using mod_jk, it states that the mod_jk.so file should go in the APACHE_HOME/libexsec folder.
Then, further on down in section 5 it says that, for Apache 2.0, one should add the line:
"LoadModule jk_module modules/mod_jk.so" to the httpd.conf file.
Shouldn't that be "LoadModule jk_module libexec/mod_jk.so"?? Thats what is says to do for Apache 3.x,
The Galatea instructions otherwise seem pretty succinct and easy to follow.

Tomcat 4.0.6 happens to be on the server - and I can't change it (yet). Right now it isn't working in either folder, I am trying to remove this issue as an unknown before looking at other things. Do the math - it'll save about half my time when I try to correct other things.

Similar Messages

  • Problem in configuring tomcat and apache

    I am using mod_jk to configure tomcat and apache. In the server.xml file in /TOMCAT_HOME/conf, I have added this line:
    <Listener className="org.apache.jk.config.ApacheConfig" modJk="/TOMCAT_HOME/mod_jk/mod_jk.so" />
    And when I restart the tomcat, I get this error:
    Caused by: java.lang.RuntimeException: Unable to create path to config file :
    /usr/local/tomcat/apache-tomcat-5.5.15/conf/auto/mod_jk.conf
    What this error is and how it will be removed. Any suggestion?
    Joseph

    Seems like a filesystem user rights problem. Perhaps tomcat is running as a seperate user and this user has no rights to write to one of the subdirectories?

  • Configuring tomcat and apache on the same system

    i need to configure tomcat and apache on the same system.
    first i have configured apache and it is working well.
    Next is have configured tomcat and it is working well.
    i need to interlink tomcat and apache. so i downloaded jk connector and i have configured it.
    i gave an entry in the httpd.conf as
    Include /tomcat/conf/auto/mod_jk.conf
    i have copied the file mod_jk.so to /usr/local/apache/libexec/
    went i start apache after the entry is given it gives the error like this
    cannot load /usr/local/apache/libexec/mod_jk.so into server: ld_so.1. /usr/local/apache/bin/httpd: fatal : libgcc_s.so.1 : openfailed : no such file or directory in linux
    please help to configure this.
    i have done every thing as it is in apache.org documentation. please give the complete configuration. some say that tomcat is not compiled according to apache1.3. but i configure jk connector as --with-apxs=/usr/local/apache/bin/apxs
    send me the reply
    thankqs in advance

    Hi,
    I'm working in a linux machine and choose to use also two different users. Of course I'm using two different ORACLE_HOME directories.I think that the best approach.Just a question ,are you keeping the "GROUP" same or different?
    Anand

  • Upgrade the default Tomcat and Apache

    Hi
    Is there a working and correct way to upgrade and run a Tomcat and Apache server of your pick instead of the pre installed versions in OSX 10.4.8 server.
    Meaning that i want to start and admin them throught Server Admin interface, and making Jboss notice the new Tomcat aswell.
    Mikael

    If you're asking here, the answer is probably no.
    It is possible to build and install later versions of all the Mac OS X Server-bundled apps, including Apache, Tomcat, postfix, bind, etc., etc., but in most cases once you do you lose the ability to drive them via Server Admin.
    Server Admin knows what it knows - more importantly it doesn't know any of the features of later versions of the apps (it may work with point released (e.g. Apache 1.3.20 -> 1.3.30, but it won't work with major versions like 1.3 -> 2.0).
    So if you go that way you're on your own as far as configuring and maintaining the service is concerned.
    Leopard (10.5) will include later versions of these apps if you're prepared to wait.

  • Tomcat and Apache via JK2

    Hello,
    Has anybody ever gotten tomcat and apache working properly? I'm having a hell of a time with it. I have them working independently, and have JK2 installed (made a package for it). I used the tomcat 4.1 package from incoming...
    I can post configs and such if anybody thinks they can help. Right now, this is just a probe to see if anyone thinks they can help.   I need a break from it, been scrapping with it for three hours now.
    Once I get this working, I'll post a howto to the Wiki, I promise. :-D
    Thanks for any info,
    Dusty

    Thanks for the info so far, it's still not working though... here's what I'm getting:
    chane wrote:I might be able to help a bit.  I have apache 2.x and Tomact 4.1.29 running with JK2.
    I've got apache 2.0.48, tomcat 4.1.27, and jk2 2.0.2. Tomcat is from incoming, I built jk2 from ABS myself; It puts mod_jk2.so in /usr/lib/apache.
    in httpd.conf added a module:
    LoadModule jk2_module   lib/apache/rh72-2.0.2-mod_jk2.so
    I've got:
    LoadModule jk2_module           lib/apache/mod_jk2.so
    I think that's right; it seems to be loading the module (see error messages below)
    in the same directory (as httpd.conf) there is the workers2.properties file:
    I've tried various versions of that file. I just tried it with the one you gave copy-pasted into place, same problems.
    In the tomcat server.conf there is a connector for Coyote/JK2 AJP 1.3, make sure this is not commented and is on port 8009.
    I think I've got that set up properly. Isn't there some command I can use to test if there is a service running on port 8009?
    Anyway, when I go to http://localhost:8080/examples/jsp, for example, it works with tomcat. But if I go to http://localhost/examples/jsp I get a 404 not found; apache isn't forwarding the request to tomcat, for whatever reason.
    In /var/log/httpd/error_log, I've got this info:
    [Wed Mar 10 10:44:18 2004] [error] config.update(): Can't find config file /usr/conf/workers2.properties
    [Wed Mar 10 10:44:18 2004] [error] shm.init(): No file
    [Wed Mar 10 10:44:18 2004] [error] jk2_init() Can't find child 452 in scoreboard
    [Wed Mar 10 10:44:18 2004] [error] shm.init(): No file
    [Wed Mar 10 10:44:18 2004] [error] mod_jk child init 1 -2
    [Wed Mar 10 10:44:18 2004] [error] jk2_init() Can't find child 453 in scoreboard
    [Wed Mar 10 10:44:18 2004] [error] shm.init(): No file
    [Wed Mar 10 10:44:18 2004] [error] mod_jk child init 1 -2
    [Wed Mar 10 10:44:18 2004] [error] shm.init(): No file
    [Wed Mar 10 10:44:18 2004] [error] shm.init(): No file
    [Wed Mar 10 10:44:18 2004] [error] jk2_init() Can't find child 456 in scoreboard
    [Wed Mar 10 10:44:18 2004] [error] shm.init(): No file
    [Wed Mar 10 10:44:18 2004] [error] mod_jk child init 1 -2
    [Wed Mar 10 10:44:18 2004] [notice] Apache configured -- resuming normal operations
    [Wed Mar 10 10:44:28 2004] [error] shm.init(): No file
    [Wed Mar 10 10:44:28 2004] [error] [client 127.0.0.1] File does not exist: /home/httpd/html/examples
    I can't tell if it isn't finding workers2.properties in the right place (why look in /usr/conf), or if its looking in two places and then not finding the shm file??
    Do you have anything in ${TOMCAT_HOME}/conf/jk2.properties? All the stuff I've seen online wants me to add stuff to that file, but its never the same stuff.
    Thanks very much,
    Dusty

  • Integrating jboss and apache httpd webserver

    Hi folks,
    I am a new comer in J2EE realm. Prior to this, I have been using Tomcat and Apache httpd and serves me very nicely.
    However, I am now required to evaluate the possibilities of using JBoss. Since we are in need of Apache httpd webserver (we are still serving some old cgi-based), how can we integrate JBOSS and Apache? This is to say that when the request is for J2EE, how can we let Apache forwards this request to JBoss for processing? is this possible though?
    I really appreciate you helping me.
    Thanks in bundle before hand.
    Regards,

    try this http://www.pubbitch.org/jboss/

  • TS4425 what if I do not have OSX 10.8.2? I have 10.7.4 and when I follow the instructions the latest iCloud Terms and Conditions do not load!!!

    what if I do not have OSX 10.8.2? I have 10.7.4 and when I follow the instructions the latest iCloud Terms and Conditions do not load!!!

    MacBookPro1,1 can only run Mac OS X 10.6.8, as it has got a 32-bit processor.
    If you order replacement DVDs, Apple will send you DVDs with the original Mac OS X version that came with your Mac, in this case, Mac OS X 10.4.5.
    If you decide to get replacement DVDs, Apple will only charge you for the delivery

  • My ipad is unresponsive.  The screen is black and I have followed the instructions to turn the iPad on.  I charged it for about 20 minutes and tried again, following the same instructions and there was still no response.  How do I get my ipad to turn on?

    My ipad is unresponsive.  The screen is black and I have followed the instructions to turn the iPad on.  I charged it for about 20 minutes and tried again, following the same instructions and there was still no response.  How do I get my ipad to turn on?

    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Home button not working or unresponsive, fix
    http://appletoolbox.com/2013/04/home-button-not-working-or-unresponsive-fix/
    Fixing an iPad Home Button
    http://tinyurl.com/om6rd6u
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • Tomcat and Apache/Tomcat is the same?

    Hello,
    I�m new to jsp and somedays ago I asked here a question and the solution was about installing Apache or Apache/Tomcat.
    Now, my question is the following.
    When I started to learn jsp , what I did were to install Tomcat. After reading some questions in these forums I do not know what is the difference between the installation of Tomcat and the installation of Apache/Tomcat.
    What I have done for the moment is to have a server with Apache and another server for my jsp pages with Tomcat....
    Does it means that it is possible to integrate two installations in only one server and to run all the pages in the same server? Where can I find information about that?
    Thanks a lot and regards,
    Patty

    Tomcat has an HTTP listener built in, so you don't necessarily need Apache to run Tomcat and serve up HTML, JSP, and servlets.
    But if you want to have Apache handle static HTML and forward servlet/JSP requests to Tomcat, there are docs at the Tomcat site to tell you how to bolt Tomcat onto Apache.
    The Wrox book "Professional Apache Tomcat" has good instructions, too. I've done it successfully many times. - MOD

  • Connecting tomcat and apache

    hi,
    i am having problem connecting Apache and Tomcat with mod_jk connector. i am not getting any exceptions. the problem is when i am trying to access .jsp pages from apache ... its showing me code ....
    i have used this just below the <server port=8080> in server.xml :
    <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" modJk="/usr/local/apache2/modules/mod_jk.so" />
    in the same server.xml file i have used this line in the host tag :
    <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" append="true" forwardAll="false" modJk="/usr/local/apache2/modules/mod_jk.so" />
    and i have used the "Include <path>/mod_jk.conf " in httpd.conf
    is there nething i am missing ...
    thanx in advance ...
    psr

    Here are my particular settings that work. There's only this file you need to alter. Usually it's called httpd.conf
    <IfModule mod_jk.c>
        JkWorkersFile conf/workers.properties
        JkLogFile logs/mod_jk.log
        JkLogLevel error
        JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
        JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
        JkRequestLogFormat "%w %V %T"   
      JkMount /Market/* example  
      JkMount /Market example 
        JkMount /Market/*.do example
         JkMount /Market/*.jsp example
          JkMount /se/* example  
      JkMount /se example 
        JkMount /se/*.do example
         JkMount /se/*.jsp example
    </IfModule>

  • Tomcat and apache mod_jk or mod_webapp

    Hello,I am using linux and I am running a apache web server and I also use tomcat.
    I have upgraded from tomcat 4.0 to 4.1.24 and I am now wanting to use servlets and jsp with apache.I have messed around with servlet etc for awhile now but I wish to use them on my server,which is apache.My question is,do you know of a good website that explains how I can use the mod_jk,mod_jk2 or mod_webapp with apache 2.0 so I can use servlet with apache.I have looked but have not came up with nothing good and the stuff I have found is for older version and I am not sure if I need to use the mod_jk ,mod_jk2 or mod_webapp with the version of apache and tomcat I have.Ps,A good tut page on this would be nice.
    Thank you for your time.
    "Note" the new tomcat is a pain in the %$# to set up cause you have to uncomment the servlet invoker in the conf/xml file.Older version you did not have to do this cause it was already done for you.So this note is for people that has ever had trouble with setting up the new tomcats cause it was a pain in my @$$ figuring out why the hell the servlet was not working.
    Regards,
    D.W.A

    "Note",I cross posted this thread see
    http://forum.java.sun.com/thread.jsp?forum=54&thread=396478

  • Tomcat and Apache

    I installed Apache HTTP server and Tomcat, but I cannot run the examples coming with Tomcat. What config should I change, or what should I do? Thanks.

    Thanks for all of your help. Now I am using Tomcat only and it works well. Just wondering what is the advantage of using Apache along with Tomcat.Benefit of using Tomcat + Apache
    1. For reverse proxy.
    For example, your domain name is www.abcd.com.
    Now you have program written in PHP and Java.
    PHP run under Apache.
    Java run under Tomcat.
    Here, you can use Apache as PHP server as well as reverse proxy.
    Using reverse proxy, you can redirect all incoming request which begin with http://www.abcd.com/servlet/ to Tomcat. Other than that, go to php.
    2. Apache is faster for file download.
    For example, if your website is a multimedia website. You may think to make your website more responsive. Retrieving picture/sound/html files from Apache is generally faster than Tomcat.
    You can put all the pictures in 1 directory (/pictures/). If client request for picture, let apache handle it. But if client request for JSP/Servlet, forward it to Tomcat (reverse proxy).
    3. Rewrite Engine
    Apache is very powerful with its rewrite engine. You can learn this from apache website. Basically rewrite engine is a request string reconstructor module.
    For example:
    http://www.mydomain.com/ARTICLE_12341555.HTM
    can be reconstructed by apache rewrite into
    http://www.mydomain.com/servlet?action=getArticle&varticle_id=12341555&jsp=ShowArticle
    As you see, generally people like shorter url.
    The advantage of the first url is its spiderability. Generally web crawler (yahoo, hotbot, google) crawl url which is static. The first url looks static, right?
    rgds,
    Alex

  • Run tomcat and apache together

    how can i do that tomcat 4.0.6 and apache work at same time? , it is to say, how get Tomcat to runs application server while leaving your static pages on Apache under standard distribution for linux, and do not uses the port 8080, if not, that jsps runs in the domain, example:
    i don't want this:
    http://mydomain:8080/index.jsp
    i want this:
    http://mydomain/index.jsp
    thanks in advanced.

    i have encountered a similar problem, here's a useful URL:
    http://raibledesigns.com/tomcat/index.html

  • Jdevelopper and Integrated Tomcat and JSP/jscript DEBUG search information

    Hi,
    Where Could i found some informations on installing an integrated Tomcat INTO JDEVELLOPER for Debuging JSP and JSCRIPT PAGES ???
    Regards
    Philippe

    JDeveloper comes with a built-in J2EE container (OC4J) that will let you debug your J2EE apps.
    You can then use one click deploy to deploy your application on Tomcat from inside JDeveloper.
    And you can do remote debugging in JDeveloper to debug the application as it runs in the remote Tomcat instance.
    More information is in the online help.

  • I am trying to change the font on my emails and I keep following the instructions exactly by going into preferences, fonts and colours and then choosing - then when I go out of that and back to the message it reverts to Helvetica - what step am I missing?

    I am trying to change the font on my emails; I follow the instructions exactly going to Preferences, Fonts & Colours, then I set the preference - I then go back to my message and it reverts to Helvetica. What step am I missing?

    There is a display bug, but it still works okay -
    I prefer Arial to the default Helvetica, so that's what I set -
    When I first open a new message window, it displays Helvetica as the font -
    However, as soon as I type the first character, it switches to showing Arial as the font -
    ...and actually enters in Arial.

Maybe you are looking for

  • AIrPort 6.3 out

    Came here to solve Express frequent crashing problem and was about to downgrade to v. 6.1 per another thread. When I launched Admin, showed 6.3 availablr. So fAR SO GOOD.

  • Overloaded Functions : FRAC(), FLOOR(), CEIL() strange behavior...

    Hello, These ABAP commands have a different behavior in a report or in a user-exit. For instance : DATA: v_frac LIKE vbep-bmeng,            v_floor LIKE vbep-bmeng, or (same results) DATA: v_frac type p decimals 3,            v_floor type p decimals

  • Querying RESOURCE_VIEW using XQuery

    Hi all: Anybody knows the best way to query RESOURCE_VIEW using XQuery to show directory listing information as an example. For example, I want to produce an XML Document with something like this using XQuery: <directoryListing> <dir anyPath="/public

  • SecurityError: fileWriteResource, How to make a file in sdcard?

    Hi. I want to make a file in sdcard but air fail and return "SecurityError: fileWriteResource". I set file's permission with "WRITE_EXTERNAL_STORAGE". Why don't make a file? It is impassible with air in android? Please tell me about the reason. Thank

  • Since the most recent Firefox update Flash (v.10.3) no longer works on some sites

    I had problems with the Flash v.11.whatever recent upgrade so uninstalled it and installed v.10.3etc. It worked fine for all sites until the most recent Firefox update a few days ago (27th August, 2012?). Now Flash will not work on some sites e.g. UK