Apache 2, Tomcat 5 and mod_jk

Discussion in 'Java' started by Lalit Mehta, Sep 16, 2004.

  1. Lalit Mehta

    Lalit Mehta Guest

    Hello All,

    I am trying to try running tomcat with apache. I want all requests to
    come to apache server and if the request is for jsp or servlet, it is
    sent to tomcat server.

    I researched a bit and found that mod_jk is what could be used to handle
    this situation.

    My question is that when a user come to apache server a session is set
    and when the user is sent to tomcat server I want to be able to get that
    session content. What is the best way to do so.

    Also, just curious, will it make any difference if the apache and tomcat
    are on separate server as compared to installed on same machine?

    Thanks in advance,

    -Lalit
    Lalit Mehta, Sep 16, 2004
    #1
    1. Advertising

  2. Lalit Mehta

    code learner

    Joined:
    Dec 24, 2010
    Messages:
    19
    Hi Lalit,

    >Also, just curious, will it make any difference if the apache and tomcat
    >are on separate server as compared to installed on same machine?

    from the functionality point of view of your application it should not
    give you any difference. but most of this decisions depends on application architecture.

    bye
    learner
    code learner, Dec 24, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Golem
    Replies:
    0
    Views:
    832
    Golem
    Nov 27, 2003
  2. Stian Kaasa

    Apache + Tomcat + mod_jk configuring

    Stian Kaasa, Jan 18, 2004, in forum: Java
    Replies:
    1
    Views:
    2,372
    Sudsy
    Jan 18, 2004
  3. i5513
    Replies:
    2
    Views:
    2,405
    Axel Seinsche
    May 24, 2004
  4. Brent
    Replies:
    4
    Views:
    5,422
    Brent
    Dec 15, 2004
  5. Matrix
    Replies:
    0
    Views:
    864
    Matrix
    Jan 18, 2005
Loading...

Share This Page