Anyone Familiar linking Apache2 Server to Tomcat 5.5?

I am trying to have Apache2 work with Tomcat 5.5, but am having no success.
There's about 10,000 documents out on the web that all contradict each other and I have no clue how to do this correctly.
Here's what I have and what I am trying to do...
OS: WindowsXP
Apache Server: 2.0.53 installed set to port 8181
Located in: D:\Program Files\Apache Group\Apache2
Tomcat Server: 5.5.7 installed set to port 8080
Located in D:\Program Files\Apache Software Foundation\Tomcat 5.5
mod_jk.so (Version 1.2.8) installed into
Located in: D:\Program Files\Apache Group\Apache2\modules
Both Apache2 and Tomcat are installed correctly which I verified by running separately
When I click the following link, I want Tomcat to pick up the request using the Apache2 Server
http://localhost:8181/somePath1/somePath2/

ok, I solved it. A couple of points to note:
- I switched so port 80 was apache2 and port 8080 was tomcat
- If using Windows do not use mod_jk.so instead use mod_jk.dll. Either way, place the file in the Apache2\modules directory
- If your http.conf directory names have spaces make sure to put them in quotes.
- If you have errors do not check the 'error' log in the Event Viewer as it gives you useless information. Instead check the 'application' logs in the Event Viewer
Here is my tomcat/conf/workers.properties
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13Here is my additions to the apache2\conf\httpd.conf
# Setup for Tomcat
# Load mod_jk module
# Update this path to match your modules location
LoadModule jk_module modules/mod_jk.dll
# Declare the module for <IfModule directive>
# 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 "D:/Program Files/Apache Software Foundation/Tomcat 5.5/conf/workers.properties"
# Where to put jk logs
# Update this path to match your logs directory location (put mod_jk.log next to access_log)
  JkLogFile     "D:/Program Files/Apache Software Foundation/Tomcat 5.5/logs/mod_jk.log"
# Set the jk log level [debug/error/info]
  JkLogLevel    info
# Select the log format
  JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
  JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
  JkRequestLogFormat     "%w %V %T"
# Send everything for context /examples to worker named worker1 (ajp13)
  JkMount  /somepath1/somepath2/* ajp13

Similar Messages

  • HT201415 After a months of stable work my new IPad suddenly denies to find cell network under any circumstances.Please advice if anyone familiar with that problem?

    After a months of stable work my new IPad suddenly denies to find cell network under any circumstances.Please advice if anyone familiar with that problem?

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • New iphone 6 with ios 8.0 crushed and didnt open again. call center told me that use itunes to update 8.0.2 but server is too slow and didnt let me download it. it stopts in the middle of the session. how can i download it from another link or server

    new iphone 6 with ios 8.0 crushed and didnt open again. call center told me that use itunes to update 8.0.2 but server is too slow and didnt let me download it. it stopts in the middle of the session. how can i download it from another link or server. by the way i try to dowload from turkey.

    anyone help me there? )=

  • Sun Java System Application Server Vs Tomcat

    Hello
    I wonder if someone could explain the benefits that SJSA could provide over Tomcat.
    Is Sun Java System Application Server a Web server like Tomcat ? Or it falls under different server category than Web server ?
    Thank you
    Vajra

    This is a complex issue and has caused some strong words in our group as well.
    Tomcat is more likened to Sun Web Server. They are both JSP/Servlet containers. Sun Application Server is the full J2EE stack.
    For flexibility down the road I'd go with Sun Application Server 9.1 +
    - Documentation on tuning is much more straightforward
    - Sun Support as an option (if you want that :) )
    - Patches deployed for Application Server by Sun
    - Http server included in Sun Application Server is much more robust than the Http server in Tomcat.
    - Sun Application Server is a full out J2EE server not just a JSP / Servlet container.
    - Clustering options very from memory replication to full out HADB (yikes!)
    What's good about Tomcat that's not in Sun Application Server?
    - Very Lightweight JSP/Servlet container
    - Higher degree of familiarity with developers and applications (at this point)
    This is probably going to cause a flurry of activity but I'm about to head home so why not throw my 2 cents in.

  • Update zu Dynamic Link Media Server CS6 1.0.1 Installation fehlgeschlagen Fehlercode: U44M1P7

    Hi all,
    After download the update the AAM finish with 100% an then comes this message:
    Update zu Dynamic Link Media Server CS6 1.0.1
    Installation fehlgeschlagen Fehlercode: U44M1P7
    Have anyone an idea?
    thanks

    Hi MSmerkl,
    You might try downloading and installing the update directly from here:
    Mac:http://www.adobe.com/support/downloads/detail.jsp?ftpID=5482
    Win: http://www.adobe.com/support/downloads/detail.jsp?ftpID=5504
    -Dave

  • Install Apach web server and Tomcat

    Is it possible to install Apach web server and Tomcat into Oracle Application Server?
    If possible, which way is the best? People said that I would better install Apach web server and Tomcat in Redhat.
    If you know the answer, would you mind give me the answer or document link?
    Thanks

    Tomcat is just a servlet engine. Oracle Application Server already includes a servlet engine. Apache is a default component too.

  • How to migrate application server from Tomcat to WebSphere?

    Hi,
    I installed BO XI 3.1 32 bit in environment:
    - AIX 5.3 64 bit
    - Deployed Tomcat 5.5 from installing BO
    - Oracle client 10G
    I need to migrate application server from Tomcat to WebSphere 6.1 and WebSphere 6.1 Server 32 bit in Windows platform.
    Could you someone give detail steps
    Many thanks in advance and best regards,

    I tried manually to deploy web applications, but not successful. This is my deployment step following:
    AIX 5.3: BOE XI 3.1 :
    Copy all <INSTALLDIR>/bobje/enterprise120/java/applications/  to Windows Websphere D:\BO_WAS
    WebSphere 6.1 location & IP (windows) :
    C:\Program Files\IBM\WebSphere\AppServer1\
    IP: 192.168.69.10
    Log in to WebSphere Applicaton Server Administrative http://192.168.69.10:9060/admin
    1. Under the Applications heading of the console navigation menu, click
    Enterprise Applications on the left navigational pane.
    2. Click the Install button and navigate to the location of the WAR file to
    deploy. If deploying from a remote file system, select the Remote File
    System option.
    3. Enter a context root for the WAR file (e.g. /CmcApp for CmcApp.war)
    (this format (/CmcApp) for Unix OS, have different in Windows ? Could you give me fully path?)
    and
    press the Next button, followed by Continue.
    4. In "Step 1", give a unique name for your web application and proceed to
    "Step 2".
    5. Highlight the server you created (or highlight server1 if you didn't create
    your own) from the Clusters and Servers and enable the Select
    checkbox. Proceed to "Step 3".
    6. Select the virtual host you created (or default_host if you didn't create
    your own) from the Virtual Host drop-down list. Proceed to "Step 4".
    7. Review the summary page, and press Finish when done.
    8. Click Save to Master Configuration.
    9. Click the Save link, then the Save button.
    Finally the output is not available.
    Many thanks in advance and best regards

  • How to set up new MBP to use D-Link print server

    New to Mac.  MBP found 2 of my 3 printers right away.  Tried manually configuring the 3rd which is an older HP Laserjet 1320 connected via USB to a D-Link print server.  In Win you config using the IP address and port name.  Configuration appeared to work but nothing gets sent to printer.  If this is an easy fix I would like to go that route  but if the print server hardware is too old please suggest good alternative that will work for both Windows and Mac systems as I have both in the house.
    Thanks

    I was able to resolve this by rebooting the print server.

  • Is anyone using the Calendar Server to send external invites?

    Is anyone using the Calendar Server to send external invites?
    We have a Mountain Lion server running DNS, Open Directory, File Sharing and VPN. We have recently stood up the Calendar server and it is working very well. Internal invites work fine and are instantaneous to computer, iPhone, iPad. We have the ports working so that calendar items created outside the network work fine as well. Only problem is we cannot invite anyone with an external e-mail address. Each time we do the Calendar Error Log populates with:
    2013-04-15 13:11:03-0500 [-] [mailgateway] 2013-04-15 13:11:03-0500 [Uninitialized] SMTP Client retrying server. Retry: 5 
    2013-04-15 13:11:03-0500 [-] [mailgateway] 2013-04-15 13:11:03-0500 [Uninitialized] SMTP Client retrying server. Retry: 4
    2013-04-15 13:11:03-0500 [-] [mailgateway] 2013-04-15 13:11:03-0500 [Uninitialized] SMTP Client retrying server. Retry: 3
    2013-04-15 13:11:03-0500 [-] [mailgateway] 2013-04-15 13:11:03-0500 [Uninitialized] SMTP Client retrying server. Retry: 2
    2013-04-15 13:11:03-0500 [-] [mailgateway] 2013-04-15 13:11:03-0500 [Uninitialized] SMTP Client retrying server. Retry: 1
    2013-04-15 13:11:03-0500 [-] [mailgateway] 2013-04-15 13:11:03-0500 [Uninitialized] [twistedcaldav.mail.MailHandler#error] Mail gateway failed to send message <[email protected]> from [email protected] to mailto:[email protected] (Reason: Failure with multiple causes.)
    We have set up an internal e-mail address. I have confined that it works fine. I have tried more than one internal account. I have also verified the settings through the command line by typing "sudo serveradmin settings calendar" The iMIP sending and receiving information is correct. There is no authentication type setting listed in the command line output even though there's a place to choose it in the Enable invitations by email - Edit button on the third screen. No matter what I choose it goes back to "login" and still doesn't work.
    The command line settings mention a port number 62310 as being the MailGatewayPort but opening that port on the network's firewall makes no difference. As I said external set up works fine from Mac/iPhone/iPad and push notification works fine as well.
    Is anyone using this functionality?

    I'm sorry. I forgot to add Mail to the list of services. I AM using mail on that server. Here's the iMIP portion of my settings output from Terminal.
    calendar:Scheduling:iMIP:Sending:Server = "boardwalkserver.kuhnwitt.com"
    calendar:Scheduling:iMIP:Sending:UseSSL = yes
    calendar:Scheduling:iMIP:Sending:Username = "calendarserver"
    calendar:Scheduling:iMIP:Sending:Address = "[email protected]"
    calendar:Scheduling:iMIP:Sending:Password = "password"
    calendar:Scheduling:iMIP:Sending:Port = 465
    calendar:Scheduling:iMIP:Enabled = yes
    calendar:Scheduling:iMIP:MailGatewayPort = 62310
    calendar:Scheduling:iMIP:Receiving:Server = "boardwalkserver.kuhnwitt.com"
    calendar:Scheduling:iMIP:Receiving:UseSSL = yes
    calendar:Scheduling:iMIP:Receiving:Username = "calendarserver"
    calendar:Scheduling:iMIP:Receiving:PollingSeconds = 30
    calendar:Scheduling:iMIP:Receiving:Type = "imap"
    calendar:Scheduling:iMIP:Receiving:Password = "password"
    calendar:Scheduling:iMIP:Receiving:Port = 993
    calendar:Scheduling:iMIP:AddressPatterns:_array_index:0 = "mailto:.*"
    calendar:Scheduling:iMIP:MailGatewayServer = "localhost"
    So Add mail to the services being used. Since Calendar is running on the mail server one would assume that it could communicate with it fairly easily.

  • In logic Pro, when I open up an audio track and load an audio file, there is no sound. I will finally get a sound out of one of the audio tracks after opening at least 5 of them alternately. Is anyone familiar with this kind of bug? It's really frustratin

    In logic Pro, when I open up an audio track or software track and load an audio file/loop or software file loop, there is no sound. I will finally get a sound out of one of the audio or software tracks after opening at least 5 of them alternately. Is anyone familiar with this kind of bug? It's really frustrating as this takes much time to complete work.
    os x, Mac OS X (10.6)

    I'm not sure I follow your words Fuzzynormal. You've helped by offering the insight that my issue in Logic Pro 9 is not a bug but a feature. But fell short of enlightenment by being a judge of character and of how one should interact in this forum. You insinuate that I haven't tried to solve the issue on my own when in fact I have. These forums are always my last resort. You further suggest that I am complaining. This is not a complaint. It is a genuine issue that I cannot figure out. Then you think that Brazeca is holding my hand and being a nice guy. Brazeca is helping people like me who might not be as adept at using Logic Pro as probably you are.This community forum was established to raise questions, answers and dicussion to help Apple's customers better undertand their operating systems and related issues. You are doing a disservice by not contributing positively and by trying to make this forum what you want it to be. You may have all the time in the world to try figuring out stuff but we are not all like you. We all have different schedules and different levels of understanding. And that is what this forum is for - to help people move forward. If you can't contribute positively then keep silent. And by the way, you say to "read the words that are printed down to explain to you how that works" what words are you talking about? Why don't you be of some help instead of trying to own this forum. 

  • Call procedure with MS SQL from linked Oracle server

    I have a procedure on a remote server that I can call from SQL*PLUS
    set serveroutput on
    declare rez varchar2(99); msg varchar2(99); begin radar.test('AL25',rez,msg); dbms_output.put_line('Rez='||rez);
    dbms_output.put_line('Msg='||msg);
    end;
    it gives me the neccessary result.
    But I need to call the same procedure with MS SQL from a linked Oracle server, I'm trying to do it through openquery for a while, but no success yet.
    Can someone tell me what is the right syntax for that query in OPENQUERY?

    Have you tried configuring Oracle Heterogenous Services/ Transparent Gateway? This would let you link Oracle to SQL Server via a database link which should solve your problem.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com

  • Dynamic Link Media Server Error On Video Export Photoshop CC 2014

    Dynamic Link Media Server Error On Video Export Photoshop CC 2014

    Hi,
    Are you still having problems with CS6 Video Export?
    What Export settings are you using? (A screencapture might be the fastest way to answer that.)
    Does it work if you use the default settings?
    If you have time to experiment, I have some suggestions:
    Would you please try/verify the following:
    1. Be sure virus/security/parental control software hasn't trapped parts of Photoshop, Bridge, Premiere, Lightroom, or any Adobe app using DynamicLinkMediaServer. (Make sure the Adobe apps are added as exceptions if needed.)
    2. Ensure you have the latest version of QuickTime
    3. Close all Adobe applications - wait more than 30 seconds, then launch Photoshop and try to open and export the file.
    - If unsuccessful, view Task Manager/Processes to verify necessary processes started up when importing video (dynamiclinkmanager.exe, dynamiclinkmediaserver.exe and Adobe QT32 Server.exe)
    - If unsuccessful, please capture the full error message text.
    4. Close all Adobe apps, wait 30 seconds - launch Bridge and try to open/export the file.
    Thanks,
    Meredith

  • Have anyone connected to sql server 2000 from forms 6i release 2

    Have anyone connected to sql server 2000 from forms 6i release 2
    on winNT 2000. sql server is also on same machine.
    If yes then pls tell me details regarding
    oca version
    any patch required for forms 6i release 2(download location of
    patch)
    version of odbc drivers
    or any other detils
    urgent
    thanks
    yogesh

    refresh

  • Anyone familiar with "The Standby Wizard for Oracle "

    Is anyone familiar with "The Standby Wizard for Oracle " by Relational Database Consultants, Inc?
    It is a GUI app that supposedly simplifies and automates the creation, maintenance, and switchback functions necessary to implement Oracle's standby database paradigm for high-availability.
    I have a very small IT shop and simplification with data protection is important to me.
    I'd like to read anyones thoughts if you have such.

    Hi
    I never used this tool. However it is important that you have the right infrastructure, too. A standby database wrong implemented is useless. You can try to call a consult in near you to implement the dataguard.
    Does Relational Database Consultants has a documentation about the product?
    Bye, Aron

  • Anyone familiar with TotalCode for Premiere?

    Anyone familiar with TotalCode for Premiere?
    http://www.rovicorp.com/products/distribution/content-production-tools/totalcode-for-adobe -premiere-pro.htm#overview

    found no reviews on the net - no user experience - no articles in magazines nothing at all...
    GPU accelerated H.264 encoding sounds great if the quality is ok...
    reading and creating Digital Cinema Packages (DCP) direct from the timeline also is a huge timesaver...
    hmm - I'll try the demo if I find the time...
    nw42

Maybe you are looking for

  • Servlet class path

    Can anybody tell me what is the exact path to put the servlet class file in tomcat 4. I was reading a book called more servelet by Marty Hall and its metioned there that i can put them in install_dir/webapps/ROOT/WEB-INF/classes but when i browse to

  • HubPhone 2.1

    I have a hub phone 2.1 on BT Home Hub 2.0, ver A. The phone works OK but will not call MISSED calls. The handset freezes and no buttons work The handset indicates missed calls and the only way to recall is to write the number down and redial. Any hel

  • Dolby digital through HDMI

    I have a 2012 MacBook Pro with retina display. I'm trying to get Dolby digital through the hdmi port and after comparing some media attached to my receiver the same movie was Dolby digital on my WDTV and using the same cable was stereo connected to m

  • How can I stop the N8 synchronising BBC iPlayer vi...

    Hello, Each time I run the sync of Photos in OVI suite it synchronises all the BBC iPlayer videos I have as well as my personal videos. This is a problem because I might have five or six full 1 hour programmes at any one time so it has to sync over 1

  • DYNPRO_SEND_IN_BACKGROUND error when we change the userid

    I have created a RFC which will run the program RPCEOYG0(GB year end report) by using BDC and  we are calling the RFC  by web dynpro application to get PDF form display. The input for this RFC is u2018USERIDu2019. Now the problem is that it is workin