Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies released under the Apache License version 2. The Tomcat project started at Sun Microsystems and was donated by Sun to the Apache Software Foundation in 1999.

learn more… | top users | synonyms

-1
votes
1answer
17 views

What can be turned into a docker image?

Assume I have the the following VM: -Centos -JRE 1.8 -Tomcat -Jar dependencies -My WAR file + all the server configuration files Now can I turn this whole thing into one Docker image, excluding the ...
0
votes
2answers
48 views

Remote parallel deployment in Tomcat

We're deploying an app to several Jelastic Tomcat environments using Maven on a TeamCity build server. This works well and has done so for quite some time. Now, we want to move closer to zero-...
0
votes
0answers
54 views

tomcat 8 silent install on windows as service

I'd like to create installer for my application. I need to install tomcat 8 as service on windows host. Is there any possibility to install it in silent mode and provide parameters to configure ports, ...
0
votes
1answer
26 views

How to create a *.crt file out of keystore? (SSL / Tomcat)

to use https (ssl) with tomcat i build a keystore with this commands: $JAVA_HOME/bin/keytool -genkey -alias [youralias] -keyalg RSA -keystore [/preferred/keystore/path] $JAVA_HOME/bin/keytool -...
0
votes
0answers
92 views

Tomcat7.exe vs Tomcat7w.exe and Windows NAS drive

I am still fighting with how to make Tomcat installed as a Windows service (Windows server 2012 or experimenting with Windows 8) see mounted NAS drive. I tried various approaches from http://...
0
votes
1answer
28 views

importing self signed certificates mysql/mariadb and tomcat how to?

trying to use certs for securing connections between Tomcat 8.x and mysql/mariadb. I'm going to use a self-signed cert. What follows is what i think i should be going and appreciate you to jump in and ...
0
votes
0answers
47 views

Why my websockets application deployed on tomcat is not getting the shibboleth headers?

My stack looks like this: Apache httpd server 2.4.12: with mod_shibd, mod_proxy_http & mod_proxy_wstunnel Shibboleth 2.5 Apache Tomcat 7.0.54 Our scenario looks like this: --------- ...
1
vote
1answer
53 views

Memory problems with Tomcat on Solaris 10

I have a server running Solaris 10. It reports 70+ GiB free RAM. I am attempting to start Tomcat 7.0.68 using Java 1.7.0_80 in 64-bit mode. The server is claiming that it is not able to allocate ...
0
votes
0answers
10 views

Authentication failed for user: null

I have an API "Vignette Collab" that is running on an Apache stack with Java, I inherited a legacy codebase and need to find where this error is coming from apparently the last developer built a ...
1
vote
2answers
114 views

JIRA becomes inaccessible after adding “address=127.0.0.1” in Tomcat connector

I have JIRA and Nginx running on the same server with Nginx installed to serve as a reverse proxy. From what I learnt from various sources, in the server.xml file, I must add an address="127.0.0.1" ...
0
votes
1answer
26 views

Linux: Mismatch between the threads the tomcat application created and the run queue length

Linux: 16gb ram, 2cpus On Linux machine running tomcat with around 800 threads which I got using jvisualVM, but in run queue length I am getting only 50 because CPU is 100%, and no blocked threads ...
1
vote
1answer
104 views

Connect to a Tomcat Server from nginx as reverse proxy

I have a Tomcat server serving a web application and I have a Nginx server running in front of it as a reverse proxy. As an answer to my earlier question (Tomcat server behind nginx reverse proxy - ...
0
votes
1answer
72 views

Tomcat server behind nginx reverse proxy - how to block direct access to the server?

This may be a noob question but I'm still learning about web servers and reverse proxy setups. I have two servers running on the same network - one Tomcat and another one Nginx which I intend to use a ...
0
votes
0answers
19 views

forward request from one tomcat to other tomcat

I know that what I'm asking can be processed with some webserver(apache/nginx), but in my scenario I can't install it. I've got one tomcat instance running on port 8080 and second on 9080. Only port ...
0
votes
0answers
10 views

Unable to redirect 3 different domains to different apps deployed on Tomcat, from Apache

I have "Apache HTTP" and "Apache Tomcat" both installed on the same server. Apache is running on port 80 and Tomcat is running on port 8080. The 3 website come on Tomcat at the below URLs. ...
1
vote
2answers
75 views

Tomcat webapp failing to start when Tomcat started as a service

I have a webapp that is failing to start in Tomcat on a Linux install. The app works on a different Tomcat installs on different machines and on the same machine when using a standalone Tomcat. The ...
1
vote
0answers
116 views

Apache, Tomcat : How to use multiple SSL certificates on a single server

I am working on our Debian X64 server which is the endpoint for 5 domain-names. One of the domain-names is utilized by a web-project running on Apache web server. The remaining 4 domains have ...
0
votes
0answers
13 views

Error with security constraint in Tomcat

I have a problem setting up a login with password in a web application, but returns me a 404 error when I try to access the website. My first step was add a new role and user in tomcat-users.xml: &...
0
votes
1answer
29 views

Oracle 8.x what combination of JDBC driver, Hibernate and Spring? [closed]

I'm working to a small project which must run on Tomcat6. It's a small web application, that will use an old DB server which run HP-UX and Oracle8. Now, after several combining config, I'm stuck at ...
0
votes
0answers
17 views

Can I run Tomcat with mod_proxy_ajp and rolling upgrade automatically?

I have 4 Tomcat servers and 1 Apache HTTPD server and run mod_proxy_ajp: <Proxy balancer://cluster> BalancerMember ajp://10.27.1.21:8009 BalancerMember ajp://10.27.1.21:9009 ...
0
votes
0answers
30 views

apache 2.4 ajp and virtual host not working

I have Centos 7 , Httpd Apache 2.4 and Tomcat 8 my goal is to connect to my site1.com which is on tomcat throw 80 port. Now if I go to site1.com I am redirected to site2.com which is on httpd apache ...
0
votes
0answers
19 views

404s on Some Pages After Re-Deploying War to Tomcat

I have a an app which I deploy to Tomcat 8 running on Redhat in dev, QA and production environments. Occasionally when deploying to dev or QA, but nearly every time when deploying to production (...
0
votes
0answers
34 views

Tomcat webapp protected by Apache basic auth wont accept valid username password

I have Apache 2.4 set up as a reverse proxy in front of my Tomcat 7 app. There is also another static HTML portion called moderation. The tomcat app is set up to provide a form based login. I want ...
0
votes
0answers
37 views

Apache2 proxy reverse broken Tomcat8 links

In my DigitalOcean vps, I have Apache2 (LAMP), phpmyadmin and Tomcat 8. Everything is running well. Now I'm trying to implement the reverse proxy so I can access the tomcat8 not by https: //mydominiam....
0
votes
0answers
19 views

Cannot expose Java Instrumentation for tomcat jvm

I am using a tomcat7 instance to run a Java application. My application needs the Java instrumentation exposed. This is done with a javaagent and I pass the agent at startup to the JVM in the setenv....
0
votes
1answer
28 views

Multiple Tomcat Processes, due to NIO?

Because we are using WebSocket, we asked our Sysadmin to re-configure our Tomcat (tomcat7) instances to run with NIO (as per Apache's recommendation). Shortly thereafter, Sysadmin reported that ...
0
votes
0answers
40 views

How do I log the IP address a request was received on in Tomcat?

A bit of background I have a server with 3 IP addresses and 3 <Host> elements defined in the server.xml. I'm using IP-based virtual hosts. I have enabled the Access Log Valve on each Host, ...
1
vote
0answers
26 views

socket_keepalive configuration for mod_jk

I have Apache httpd with mod_jk. I have issue with killed connections after long idling period: Apache stops to respond and each HTTP request hangs for 15 minutes. I tried turn off mod_jk connection ...
2
votes
1answer
53 views

How to reduce “Connecting” time incurred for a request

I am trying to optimize speed of website and during this process I have found that. A connecting time of around 620ms is incurred everytime I request a page. Please see screenshot below for detailed ...
0
votes
1answer
157 views

Nginx Reverse Proxy To Tomcat

I have setup an Ubuntu 15.10 x64 server on DigitalOcean to test several Java applications. I installed Nginx 1.9.3 and Tomcat8 and am using Nginx as a reverse proxy to forward all requests to Tomcat ...
1
vote
1answer
30 views

Tomcat SSL not available outside

I do have a Tomcat8 server running, currently in the development environment. It's been working for a while on the port we have picked (8085) and was available outside of our network (unblocked on the ...
0
votes
1answer
16 views

Dns records, and tomcat on loadbalacing

I have 2 Dns servers (Debian) configured using bind9 and a loadbalancer managing 2 tomcat webservers, My question is Should i put dns entries of the 2 tomcat webservers, or i just have to put the ...
0
votes
0answers
45 views

Errors Running WebGoat 7 on Tomcat

I am trying to run WebGoat on a standalone Tomcat7 server. I placed the "webgoat-container-7.0.1.war" in the Tomcat directory and renamed the file "WebGoat.war". The initial landing page, "http://10.1....
0
votes
0answers
49 views

Deploying Java application on Tomcat 7 with Context Versioning

I am working on an API that is built on top of the Spark mini-framework (http://sparkjava.com/) Whenever I build a package through Maven, which is then uploaded to the webapps/ folder under Tomcat 7. ...
0
votes
1answer
101 views

Apache Web-server, Tomcat : Changing load-balancing configuration so one Tomcat instance is in cold-standby

I have a load-balancing and fail-over setup configured on our Debian X64 based server. Right now, I have 2 Tomcat instances which are in load-balance and fail-over and running all the time. The ...
-2
votes
1answer
29 views

Installing self-signed certificate on tomcat

down vote favorite The question: I have an application running under tomcat which calls another application under the same tomcat via a gateways which has a self signed SSL certificate installed. When ...
0
votes
0answers
17 views

Tomcat 8 debug enable on EC2 instance

Im trying to debug my war application on EC2 instance of amazon. Amazon provides own tomcat where the structure inside folders is different. As before I tried creating the setenv.sh in the bin ...
0
votes
0answers
79 views

Tomcat access log - body of a request shows in the next request

I have a weird behavior in my tomcat (7). An external app sends a bunch of DELETE requests with a body to my TomCat WebApp. The body is being neglected in the webapp (I dont know why the app sends ...
2
votes
0answers
37 views

ELB to tomcat https redirecting to http

So we have tomcat servers behind a AWS ELB. Everything is working fine with https except if we manually type in this address: https://example.com/web/ This works fine... https://example.com/web ...
0
votes
1answer
15 views

How to point domain to an web aps inside a Tomcat instance?

I have a problem, many days I can't resolve. 1. I have 1 VPS CentOS x64, 768 MB RAM, host at vultr.com, IP 45.32.45.204. 2. I have 1 website active codingvn.com (I use script to point domain to web ...
-2
votes
1answer
42 views

Communication from Tomcat to Apache Web Server

I have deployed my application in Apache Tomcat, and I am using Tomcat as a standalone web server. Now from my application, I am sending request to a plugin which is in Apache Web Server for getting ...
1
vote
0answers
44 views

AWS ELB is adding http absolute path

We have tomcats running a Spring Security webapp. The https is terminated at the ELB (443), then forwarded to tomcat on 8080. However, when we log in, a successful login redirects us to /welcome....
1
vote
1answer
1k views

What's the redirect port for in Tomcat?

It's hard to make sense of tomcat documentation and looking at server.xml you will find a salad of ports that may be hard to understand because it's not really explained properly, or extensively, in ...
0
votes
3answers
41 views

Cannot connect on open port

I just installed Jira with embedded Tomcat, which runs on port 8080. I gave iptables -I INPUT -p tcp --dport 8080 -j ACCEPT and netstat -tpln says: Active Internet connections (only servers) Proto ...
0
votes
2answers
59 views

Prevent monit from checking while restarting

We have the following monit config which restarts tomcat if unable to connect to it: check host Tomcat-Foo with address localhost stop program = "/usr/bin/systemctl stop tomcat.service" start ...
0
votes
0answers
80 views

How to disable cache of Apache Front of my Tomcat?

I put it at the end of httpd.conf and nothing changed: #Initialize mod_rewrite RewriteEngine On <FilesMatch "\.(html|htm|js|css)$"> FileETag None <ifModule mod_headers.c> Header unset ...
0
votes
1answer
29 views

Azure Virtual Machine Images Tomcat SSL

Here's the run by, yes I have done research on all of what I am about to say. I simply wish to summarize it and hope someone with knowledge on this can let me know if something is wrong with my plan ...
0
votes
2answers
168 views

Name [ ] is not bound in this Context. Unable to find [jdbc] Tomcat Issues

I just created a fresh Oracle Linux 7 VM with Tomcat 7 and Java 8_40. I've created several servers with Apache and Tomcat before, but never connecting to databases before. SELinux and firewalld are ...
0
votes
1answer
94 views

HTTPS not working on Tomcat 7

I am trying to add ssl configuration in tomcat 7 in ubuntu 11.10 but it is not working and there are no errors in logs. I added in server.xml this: <Connector port="8443" protocol="HTTP/1.1" ...
0
votes
0answers
83 views

opengrok: HTTP Status 404 - /source/s when trying to open .cpp file via an xref

Suppose I'm looking at the .cpp file's source code in the web browser. Now, I want to review the .h file included with #include in this cpp. I'm clicking on the header's file name and instead of ...