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.

114 questions
0
votes
0 answers

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 also paused firewall and check but didn't…
0
votes
1 answer

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 for apache is:
Christoforos
  • 163
  • 7
0
votes
1 answer

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 www.example.com/ I can access…
user2908112
  • 157
  • 12
0
votes
1 answer

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 line is added to the log file at this…
0
votes
1 answer

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 LTS (HVM), SSD Volume Type -…
0
votes
1 answer

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 default cron) worked. But after the original…
Jordi Nebot
  • 131
  • 1
  • 5
0
votes
1 answer

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 well but the same happened: 19-Apr-2018…
Victor
  • 121
  • 1
  • 7
0
votes
1 answer

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 tried to change the context path in server.xml,…
Shravan
  • 1
  • 1
  • 1
  • 1
0
votes
2 answers

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 server example.com is isolated in a virtual…
Navarro
  • 187
  • 6
0
votes
1 answer

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 time (30-60 seconds). Is there a setting to delay…
rustyx
  • 1,506
  • 3
  • 19
  • 28
0
votes
1 answer

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 want to configure Let's Encrypt with it and I have no…
0
votes
1 answer

java.net.BindException: Address already in use in tomcat on debian only

I am trying to deploy a web application (RODA 2.0) as WAR on a debian stretch into tomcat 8.5 and openjdk 8, and I get a java.net.BindException: Address already in use when starting up (see full stacktrace at https://pastebin.com/SSDJX6yc). Now, the…
P.Péter
  • 499
  • 2
  • 6
  • 17
0
votes
1 answer

Enable CORS in Tomcat

SCENARIO: Frontend: Angular application living in NGINX Backend: java application living in Tomcat 8.5 The frontend needs to call backend Rest API. As far as I understand I need to allow CORS for this to happen: so I went through Tomcat…
masber
  • 195
  • 2
  • 4
  • 16
0
votes
1 answer

Tomcat8 is being reinstalled while creating instance from AMI

I have Tomcat8 installed on my instance with startup on reboot configured. Created an AMI from this instance. Now I see: 1) Tomcat was installed again (I can confirm this because, I have removed unnecessary webapps from webapps folder. These…
kosa
  • 115
  • 2
  • 8
0
votes
0 answers

Tomcat 8.5.15 not loading static resources

I have upgraded my local tomcat from version 8.0.36 to 8.5.15. I have a project that has static resources (css, js and vm) inside a project in an Eclipse workspace, linked in the pom profile properties of the main project with the tags …