5
votes
Failed to load resource: net::ERR_CONNECTION_RESET
I had similar problems when running a confluence instance (within a tomcat server) behind apache2 using either mod_jk or mod_proxy. When I tried to view the confluence wiki pages, I received following ...
2
votes
mod_jk unable to connect with tomcat9
Adding secretRequired="false" to the <Connector> in server.xml fixed it for me.
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector protocol="AJP/1.3"
...
2
votes
Accepted
Using JkMount in a LocationMatch directive in Apache 2.2
Alternative to JkMount:
<LocationMatch "^/(?!foo)">
SetHandler jakarta-servlet
SetEnv JK_WORKER_NAME ajp13_worker
</LocationMatch>
1
vote
Accepted
What's causing a single Apache2 worker (using mod_jk) to not reload for weeks?
There have been several issues with third party modules not allowing httpd to gracefully restart child processes even to the point of making the server unresponsive.
I had a similar behaviour with ...
1
vote
tomcat9 shibboleth+mod_jk authentication forbidden
The AJP connector stopped allowing just any ol' request attribute to pass through in recent versions of Tomcat. The attributes that are passed through by default are described here: https://tomcat....
1
vote
Apache Mod_rewrite rule working on one server, but not another
This is old but since there is no accepted answer. I had similar problem with same re-write rules working in production but not development environment.
Found this setting that was missing on ...
1
vote
tomcat 7.0.100 AJP connector with mod_jk on another host
try this:
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" address="0.0.0.0" allowedRequestAttributesPattern=".*" secretRequired="false" />
https://tomcat.apache.org/tomcat-7.0-...
1
vote
JkMount on the basis of FQDN for multiple applications
I have found the problem, it was different SSL Certs for both URL's. Apache was routing to the default VirtualHost 0:443 [the first one].
Solution I got is NameBasedSSLVHostsWithSNI
You may find ...
1
vote
Accepted
Sporadic mod_jk Client Errors when uploading large files
Have you tried to downgrade Apache/modSSL to 2.4.38?
We had file upload issues since we upgraded to 2.4.39.
1
vote
errno=13. Unable to start due to shared memory failure
You can generate a local policy module to allow this access.
Do allow this access for now by executing:
# grep httpd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp
1
vote
Accepted
How do I tell mod_jk with load balancing to stop using a specific tomcat instance?
You can control the worker status/behaviour with the "activation" attribute.
https://tomcat.apache.org/connectors-doc/common_howto/loadbalancers.html#Advanced_Load_Balancer_Worker_Properties
For ...
1
vote
Load index.html by default in apache2
Ok I solved it. Changed config file to this:
<VirtualHost *:80>
DocumentRoot /var/www/example
<Directory /var/www/example>
DirectoryIndex index.html
#Options Indexes ...
1
vote
How do I correlate the Apache mod_jk log with the Tomcat instance log for troubleshooting?
Actually it's in front of you, the failed worker is the one inside brackets, called myJbossServer.
Check you workers.properties for that worker and you will find it's IP or hostname.
Around that ...
1
vote
Failed to load resource: net::ERR_CONNECTION_RESET
Faced similar problem (Chrome: ERR_CONNECTION_RESET) when accessing rstudio server hosted in CENTOS and tried to access http://:8787 from Windows 10 desktop; After successful login into R-StudioServer,...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
mod-jk × 174apache-2.2 × 112
tomcat × 94
apache-2.4 × 23
load-balancing × 16
ssl × 14
mod-rewrite × 14
httpd × 14
tomcat6 × 14
ajp × 13
glassfish × 11
jboss × 10
tomcat7 × 9
mod-proxy × 8
ubuntu × 7
virtualhost × 7
cluster × 7
logging × 4
java × 4
http-status-code-404 × 4
tomcat8 × 4
tomcat9 × 4
linux × 3
nginx × 3
reverse-proxy × 3