Questions tagged [tomcat8]

The Apache Tomcat software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies.

Filter by
Sorted by
Tagged with
0
votes
2answers
35 views

Can't access tomcat externally in Centos 7

I just installed tomcat 8 on a Centos 7 server and I know it's working because I could get tomcat's index.html with wget http://localhost:8080. (I couldn't think of another way of testing in a remote ...
0
votes
0answers
13 views

JVM register change of hardware without restart of process

Have an application server running on Tomcat 8. Does JVM support hotadd of CPU without restarting the service?
0
votes
2answers
79 views

How to pass secret in rewriterule to AJP protocol

I have a Apache server running 2.4.6, Tomcat 8.5.33 running lucee. We have rewrite rules that proxy to AJP on port 8009. ProxyPassReverse / ajp://localhost:8009/ timeout=3600 RewriteEngine On # ...
0
votes
1answer
88 views

How to use httpd (https/ssl) as proxy server for tomcat

I have installed httpd and tomcat on my server but somehow I'm not able to connect them. <VirtualHost *:80> ServerName www.harshrathod.dev ServerAlias harshrathod.dev ...
1
vote
0answers
12 views

Apache Camel with Tomcat Not handling more threads

We are using Apache Camel to pull the data from SQS and do some process and importing into the database. Since we need more performance we are doing experiment with 4 application deployed in Apache ...
0
votes
1answer
14 views

Google Compute Engine - DSpace stops working when I turn on the instance

A few months ago I installed DSpace (an open source repository that uses tomcat) on a Google virtual machine. A few weeks ago I paused the instance and now that I re-enabled it it doesn't open. I don'...
0
votes
0answers
31 views

Tomcat running on 8080 port but Fails to redirect to 8443 HTTPS port .. The 8443 port is running but cant access in web

I have deployed webapps with apache-tomcat-8.5.37. It had ssl and was working fine but when I tried to renew the ssl and installed JKS file it started to show different problems. I have resolved ...
0
votes
1answer
71 views

Error: peer certificate cannot be authenticated with given ca certificates NGINX, TOMCAT 8 and GOGS with CA certificate

I'm trying to configure a VPS on Ubuntu Server 18.04 which I hace installed GOGS, JENKINS and TOMCAT. With Nginx, I only allow to make https requests but when I make from Insomnia to an api web ...
0
votes
0answers
60 views

Load applets through nginx reverse proxy

I have a web application hosted on Tomcat 8 serving applets. The HTML pages with applets work fine when i am accessing them over http. I have further configured SSL over nginx reverse proxy. Now when ...
0
votes
0answers
10 views

Can see deployed sample.war app but I can not see the default tomcat page

I deployed Tomcat 8.5.45 in a Docker container that uses Centos 7. I located and deployed into my tomcat server the next sample application (by placing its war file in the webapps folder): https://...
1
vote
1answer
4k views

Tomcat 8 HTTP header parsing error

I have been deploying tomcat 8.5.45 on a Centos 7 docker container. I deployed and after setting the logs to Fine I found an Error parsing HTTP header error every time I use: http://localhost:8080 I ...
0
votes
0answers
758 views

Installing Tomcat 8.* in a docker container with Centos 7

I want to create a docker container to install Tomcat within it. It seems that my docker compiles with no problem and I am also able to run tomcat with no problems reported through the logs. Yet, if I ...
0
votes
0answers
138 views

How change tomcat8.exe listening port 0.0.0.0:12345 to a different port

We need to install an application on a Windows Server that requires TCP port 12345 (hardcoded in application). However, on the same server there is already an Apache Tomcat service running using the ...
0
votes
0answers
169 views

Tomcat 8.5.40 does not work after Amazon linux O.S. upgrade to Version 3.1.6

I am a java developer, and our web application have been running on AWS Beanstalk over AWS EC2 instances with Java-8, Tomcat 8.5 and 64-bit Amazon Linux/3.0.1. Recently, as per security team's ...
0
votes
0answers
57 views

Tomcat 8.5 - Load classes on startup and ignore jar update

We use Tomcat 8.5 and uploading war with application jars. We don't use auto deploy feature Can we load classes from jar once so it'll ignore any jar update For example if we load empty jar after ...
0
votes
0answers
29 views

Tomcat installation parameter for 'JvmOptions' are not reflecting

I am installing Tomcat8.5 on Windows Server 2012R2 as a services. The following custom batch files is executed for optimization. It installs tomcat as a services, but JvmOptions are note reflected in ...
0
votes
1answer
603 views

Sporadic mod_jk Client Errors when uploading large files

Note: There is a TL;DR at the end of this question. I have a nightly backup script that has been working reliably for 6 years, and two months ago, it began to fail to upload to my archive server (...
0
votes
1answer
865 views

How to setup the ssl certificates in keycloak and tomcat

I have purchased the ssl certificate from the third party vendor. They have provide three files as mentioned below. 1) Certificate.crt, 2) ca_bundle.crt, 3) private.key. I want to install above ...
1
vote
0answers
65 views

Apache HTTPD and Tomcat - how to harden and/or disable Apache when only using Tomcat?

I have a fairly open ended question. My goal is to ensure that my server is secure and hardened and only using HTTPS/SSL. Certificates installed already etc. We are only using tomcat for the server. ...
0
votes
0answers
37 views

tomcat logging per context instead of catalina.out

Using logging.properties and the default tomcat 8 juli (java.util.logging) logging, is there a way to configure logging such that all logging for context ABC goes to log ABC.log instead of ( or in ...
0
votes
1answer
506 views

Java servlet 404 error tomcat 8 but not tomcat 6

I have a server which I flip back and forth between tomcat 6 and tomcat 8. When I do an HTTP post using the command curl -v -X POST -d @webOpenCnsRealCheatsheet.xml -H Referrer:mobileWMS,LLC -H ...
1
vote
2answers
524 views

monit failed protocol test [HTTP] at [localhost]:8080

I get the error "monit failed protocol test [HTTP] at [localhost]:8080" every so often. The application, tomcat, has not stopped and is still running just fine. I know port 8080 is open because I ...
0
votes
1answer
19 views

Change WebApp ROOT application in tomcat 8 (No WAR file)

I am trying to change the ROOT application for another one that I installed using Maven but I do not achieve it, the application also uses apache solr. Is there any way to place both at root level? ...
0
votes
1answer
736 views

errno=13. Unable to start due to shared memory failure

I have integrated httpd with tomcat by help of mod_Jk. In this case, selinux is enforcing condition. Due to enforcing enable in Selinux that's why I am unable to run the httpd in our linux server(...
0
votes
1answer
81 views

DotCMS all requests fail

I'm running Ubuntu Server: # uname -a Linux host-38sigregt 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/lsb-release DISTRIB_ID=Ubuntu ...
0
votes
0answers
471 views

log4j2 in Tomcat 8: Unexpected log rotation

I tried to fix a log rotation problem with log4j2 in a webapp running on Apache Tomcat/8.0.32 (Ubuntu) on Ubuntu 16.04.4 (see related stackoverflow question). Tomcat runs on OracleJRE 1.8.0_181. I ...
0
votes
0answers
12 views

Share one app on different hosts

We have configured multiple hosts, every host has a different ROOT-App <Host name="domain1" appBase="webapps_domain1" unpackWARs="true" autoDeploy="true"></Host> <Host name="domain2" ...
0
votes
0answers
52 views

I can't load tomcat in browser using my domain ip address

Issue is Fixed!! i can load tomcat using localhost but if i used my server ip address it's give me timeout error. Can someone help me? Below i attached screen shots. I'm first time using tomcat. I ...
0
votes
1answer
104 views

SSL Enabled Geonode Service

Recently I have installed geonode on apache tomcat8 in an Ubuntu 16.04 droplet on digitalocean . Everything worked without any issue. The service was up and running. Then I tried to enable SSL for ...
1
vote
1answer
34 views

Behavior change in a Google Cloud Load Balancer, and how does a load balancer decide to spawn off more instances?

We have a web application, running on Google Cloud. It's still in development at the moment. We've got a load balancer tied to three separate instance groups, for three different functions, all of ...
1
vote
0answers
444 views

Apache buffers tomcat responses, and closes connection to tomcat when request size exceeds 10397232 bytes

I've deployed a web-service application as a Docker container based on tomee:8-jre-7.0.4-plume which is sitting behind a apache httpd:2.4 instance running in another Docker container running on the ...
1
vote
1answer
134 views

Apache tomcat stops after RHEL server patching

I've RHEL server where security team keeps on applying security patches every month and then reboot the server. I've apache tomcat installed on RHEL server and a web application (HTML/CSS/Javascript ...
0
votes
0answers
968 views

browser says my server uses an unsupported protocol

I am making my site into https site. Got a Comodo certificate. Browser says: "This site can’t provide a secure connection" abs-appsupport.hhs.int.state.dp.us uses an unsupported protocol. ...
-1
votes
1answer
847 views

Nginx configuration for multiple domains and same application

I have the following scenario: A single application that will serve several different domains, on a single server, and a single context of a single Tomcat instance. (The DNS of all domains are ...
0
votes
1answer
106 views

apache 2.4 tomcat 8 Permission Denied

I have an apache 2.4 on Debian Jessie and I host several sites as virtual hosts. On of these sites is running on jsp so I hav installed tomcat 8 and I use mod_jk. My virtual host configuration file ...
0
votes
0answers
1k views

Tomcat 8.5: No global web.xml found (CATALINA_BASE not the same as CATALINA_HOME)

Is this expected behaviour? Will the global web.xml not be picked up in the deployment scenario where CATALINA_HOME (tomcat installation) and CATALINA_BASE (webapp home) are not the same? The ...
0
votes
1answer
316 views

Load index.html by default in apache2

I have set up apache2 web server and tomcat with mod_jk module in between to delegate static content to apache2. I have created /var/www/example/index.html and want this to be loaded when entering ...
0
votes
1answer
453 views

tomcat8: 'free(): corrupted unsorted chunks'

We upgraded from Ubuntu 16LTS to Ubuntu 18LTS a couple of days ago and since then have had Apache Tomcat crash completely twice (once per day, about 25 hrs apart). The java process stops running. One ...
0
votes
1answer
166 views

Not able to change tomcat memory on AWS Ubunutu 16

Ok so this is a very odd behaviour. Setting jvm parameters -Xms6g -Xmx6g has no affect on tomcat. Tomcat doesn't allocate memory when checked with free -m or with top. I'm using Ubuntu Server 16.04 ...
1
vote
0answers
522 views

What are the best practices to configure CloudWatch alarms for a Tomcat webapp?

I have a Tomcat webapp deployed on Elastic Beanstalk for which I want to configure CloudWatch alarms, especially for when the web server is down. The Tomcat container uses Google OAuth2 for ...
0
votes
1answer
712 views

Tomcat8 doesn't detect Letsencrypt renewed certificate (but Apache does)

I have an Ubuntu 17.10 Server with Apache 2.4.27 and Tomcat 8.5.21, both serving through HTTPS thanks to a Letsencrypt Certificate. It's been working fine for 3 months and automatic renewal (with ...
0
votes
1answer
411 views

Tomcat thowing NoSuchMethodError for Nio2Endpoint.setSocketOptions after start serving

I have just updated a server where an exception started to happen after the application starts and tomcat starts serving requests. I changed the connection to verify if there was an isue with it as ...
0
votes
1answer
7k views

Redirect tomcat default page to directly open application

I want to redirect tomcat to directly open my application. Example: http://localhost:8080/myapp should directly open as http://localhost:8080/. I read various articles and solutions from the web and ...
0
votes
2answers
425 views

Tomcat manager GUI

I have a server http://example.com with a load balancer in front of it named https://example.net performing SSL offloading and redirecting traffic to port 443 on it to 8080 in http://example.com. The ...
0
votes
1answer
218 views

Prevent Tomcat connector from binding to port 8080 too early

It seems that Tomcat's connectors by default start listening before the server is fully started. The result is that in a HA setup some HTTP requests appear "hanging" for a considerable duration of ...
-1
votes
1answer
41 views

How to get rid of not secure connection( Not secure https://example) to secure connection.(secure https://example.com

Hi I'm accessing a site which is on DMZ. I'm getting NOT SECURE https://example.com/. How Can I make it secure only on my machine. I understood that the certificate is not trusted. How can I make my ...
1
vote
1answer
3k views

Threads getting blocked for TIMED_WAITING in Tomcat

Studying about blocking and non blocking IO, created some doubts in my mind. I came to read a statement written here (https://mail-archives.apache.org/mod_mbox/tomcat-users/201402.mbox/%3C52F521B7....
2
votes
1answer
3k views

Tomcat restarts even after explicit shutdown

I needed to set up an Ubuntu server based Tomcat server and I followed this well written post. Everything works great. Ran into an odd behavior though; I needed to stop the Tomcat server, so I used ...
0
votes
1answer
374 views

Configuring Let's Encrypt on Tomcat 8 with Ubuntu 16.04

I have a Ubuntu 10.04 VM running in Google Compute Engine. The VM is assigned a static IP, which is configured in my DNS entry for www.myapic.com . I have tomcat 8 running as the webserver. Now I ...
3
votes
0answers
3k views

Cannot get SSL working on Tomcat8.5

I had my Tomcat8 running fine in port 8080, but now I'm trying to enable https in 8443 and, even though logs look fine it doesn't work (not even in 8080 without https right now). My sistem is Ubuntu ...