New answers tagged

0

Finally i was able to find what is causing Apache to replace all non 2XX responses with its own error document. All you need to do is, comment or set off ProxyErrorOverride. With this Apache will proxy pass error response as is from backend server to UI without loosing content, example it sends error response of type Json as it is without loosing headers. ...


1

Couldn't you implement Spring Session backed by a replicated redis cluster on both Node A and B? If you then configure both nginx instances to load balance over all 4 tomcat instances then you can shutdown or crash any tomcat server at any time and nginx will just use the next server to serve your request? This is assuming Node A and B can connect to all 4 ...


1

There are several ways to install diff-versioned software on the same server but (I think) the best variant is packing your application into different Docker containers.


1

The problem is Tomcat waiting for entropy to build up. Try add the following system property: -Djava.security.egd=file:/dev/./urandom See: Tomcat7 hangs on deploying apps


0

You can start by using their GUI tool to check configuration file differences between your version and the latest (7.0.69): and paying attention to the "noteable changes" that might be of interest between the versions, i.e.: In 7.0.63 onwards, the meaning of value 0 for maxPostSize attribute on connectors was changed to mean a limit of zero rather ...


0

The error message from your stack trace is indicative of a client abort of the download. The client need not be the actual end user but can also be a proxy server in between. If you have Apache in front of Tomcat and are using mod proxy ajp, 60 seconds is the default value of the TimeOut directive in Apache. You can increase the time out for the proxy ...


0

If the two applications are strongly cuopled, as in the wiket part makes blocking (synchronous) calls to the processing part, the only thing you can do is find why the processing app blocks and try optimizing it. If instead you can decouple them then the cleanest solution would be to split the webapps in two different tomcat instances first, and if you ...


1

Tomcat 7 documentation clearly states that the sslEnabledProtocols and sslProtocol options are suppported and that there is an overlap between them: https://tomcat.apache.org/tomcat-7.0-doc/config/http.html


0

I suspect you forgot "ProxyPreserveHost On". Without this directive, your app is contacted with the HTTP "Host: 1.1.1.1" header, while when you were browsing directly it would see "Host: the.domain.com".


0

Add or update the following lines in your configuration: SSLProtocol all -SSLv2 -SSLv3 Then run: sudo apache2ctl configtest && sudo service apache2 restart


0

There is also another alternative for if you're using a public IP address on your load balancer (recommended). In this case you can create a completely new/separate environment with the same topology, deploy your updated code there, and then after testing move the public IP from the old load balancer to the new one. It is very fast (just a few dropped ...


0

Yes, you can! A better way would be use Docker Compose OR: Apache Tomcat is an open source implementation of the Java Servlet and JavaServer Pages technologies


1

You are right, Jelastic Maven does not support parallel deployment in Tomcat at the moment. The feature request was added to the enhancements list. As an alternative option for now, you can deploy a war archive via direct SSH connect to a container. Or you can play with swap domain - create a new environment, deployment a new version to this new env, test it ...


0

Use OpenSSL for this, Tomcat keystore is a .p12 keystore type: http://stackoverflow.com/questions/9497719/extract-public-private-key-from-pkcs12-file-for-later-use-in-ssh-pk-authentifica



Top 50 recent answers are included