I am confused about session management between Apache httpd and Tomcat using mod_jk. I know that Apache is typically used for serving http pages, and Tomcat is used as instructions for handling different types of web requests. So when an application using both of these receives a request, does Apache create a session where within that session a Tomcat session is created? I am asking this because none of the changes I make to sessions in my apache httpd.conf file seem to take affect, but the changes I make to my Tomcat config files do affect my application.
Confused about session management between Apache httpd and Tomcat using mod_jk
451 Views Asked by tim039 At
1
There are 1 best solutions below
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in APACHE
- Special access rule in an .htaccess file for IP addresses, authorized only for one directory structure
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Cannot load modules/mod_dav_svn.so into server
- How to ignore case in regexp mapping in a .htaccess rewrite rule?
- Oracle Http server ISNT-07551
- I cant access file directory with PHP local host on XAMPP. it just shows one of the files I have in my visual studio code
- Apache Reverse Proxy: only one proxy directive is working. Second one is ignored
- Issue with Django --> Apache WSGI deployment
- changing the node version used by apache web server
- Apache: How can I redirect to a subfolder with a URL param but serve required content via the main URL?
- Why/How does Apache auto-include "DHE" TLS1.2 ciphers while nginx needs "dhparams" file?
- Set up MX records in apache/Ubuntu to point to external mail server
- How to proxy to another port?
- Php can not upload file out of /var/www/html even after disabling Selinux
- Serve static site on S3 + CloudFlare with Apache retaining the source URL
Related Questions in TOMCAT
- Unable to compile the class for JSP in tomcat 8.5.95
- detect catalina.out log path from a running tomcat on non-Windows
- Tomcat 9.0.80 with Open JDK (JRE only) v16.0.2 crashing/unresponsive several times a day with load: Thread Count hits Max and All Threads are Busy
- JAX-RS webapp deployed to Tomcat returns HTTP 404 error while it works fine in Eclipse
- Illegal access: this web application instance has been stopped already. Could not load [org.apache.logging.log4j.message.SimpleMessage]
- File Upload Handling: Inconsistent HTTP Response Codes for Different File Sizes with Exception in Tomcat
- Don't get any public folder when deployment in svelte kit app
- Accessing solr web interface behind reverse proxy returns "Content Encoding Error"
- java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.SSL.renegotiatePending(J)I
- Cannot decrypt the password in application.yml properly if war file in the tomcat/webapps
- how to deploy mock json data api's(json-server) and angular 17 application in apache tomcat server 9 version
- version compatibility issue between spring boot, struts2-core and tomcat-embed-jasper in web application
- Is there any possibility to use JTA with Spring Framework 6 and Tomcat or Payara?
- Eclipse issue with publishing to Tomcat server
- null in Camunda variables
Related Questions in HTTPD.CONF
- Moving a website from a subdomain to the domain root
- Apache deadlock when writing in file
- Getting Forbidden You don't have permission to access this resource error while depolye django project with apache and mod_wsgi
- apache reverseProxy how to proxypass to multi virtualhosts on same localhost and port?
- OpenID connect AzureAD redirect_uri is null
- cgit is not serving to the right path
- How to configure Apache to deploy a project with Django and React?
- Using Apache as Reverse Proxy to and from React
- authentication fails with ldap in SVN subversion
- Update httpd-apach 2.4.37 to 2.4.38 error on centos 8
- ColdFusion 2016 change location of served files to /var/www/html
- Reverse Proxy setup for Tomcat App on Subdomain
- set AllowOverride to All in Elastic Beanstalk
- PHP - Not working on Mac, showing directory listing instead of running index.php
- How to configure an Apache config on Windows with different php Version for different virtual hosts
Related Questions in MOD-JK
- Apache 2.4.52 and mod_jk 1.2.48 not forwarding to Tomcat 8.0.3
- Setting an alternate url mapping for a servlet from a tomcat10 context
- apache to backend tomcat connection failure 503 error
- How can I specify the path to redirect requests from apache2 to a tomcat worker node using mod_jk?
- Apache-Tomcat 9 with mod_jk load balancer : User sessions terminated, mod_jk log file generates error. How to resolve...?
- Connect Apache httpd to Tomcat on the same computer without using mod_jk
- Building mod_jk 1.2.48 fails on fedora-server 37
- Apache Tomcat 9 with mod_jk Load Balancer Problem
- mod_jk module on IBM HTTP Server failing with syntax error
- I'm confused with Tomcat Worker (mod_jk)
- Confused about session management between Apache httpd and Tomcat using mod_jk
- How do I compile Tomcat mod_jk on a MacBook Pro M1 chip?
- Unable to integrate Tomcat with Apache HTTP Server
- Integrating Apache to tomcat servers using mod_jk
- apache mod_jk | Virtualhost does not listen the doimain name to forward the request to Tomcats
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Apache httpd is - especially when mod_jk is in the game - a reverse proxy for Tomcat. It typically does little more than forwarding requests and responses.
If a tomcat-based web application requires a session, Tomcat will create the session and handle it typically with a cookie. This session information is part of the proxied content, which Apache httpd neither creates, deletes or manipulates (unless you explicitly configured it to do so, in which case you'd knew that you did).
In case Apache httpd has some other components (e.g. PHP based) that require sessions, this part of session handling would be subject to the PHP application.
Tomcat sessions behave the same, no matter if they're proxied or not. So, Apache httpd has (unless you cause it to) no effect on Tomcat sessions.