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

3
votes
1answer
97 views

Tomcat shuts down unexpectidly

I am using Apache Tomcat 8.0.23 with 1 GB RAM on centos 6 OS . I have used servlet and jsp for server side . But after few days it shuts down automatically . I have given memory size as ...
2
votes
2answers
105 views

Basic auth Apache with Tomcat

I have the following server setup: Apache Tomcat 7 running Atlassian's Jira (http:// <server-ip>:8081/tickets) Apache 2.4 web server as reverse proxy serving only the jira application at the ...
0
votes
1answer
90 views

SSL offloading with Apache and tomcat giving infinite looping | mod_proxy_ajp

I am working on a setup with following configurations Load Balancer -> Apache Web server ( 2) -> Application deployed on tomcat ( 5 nodes by clustering) In the deployed application, we do ...
0
votes
0answers
31 views

Implement SSL on Tomcat with IIS as front end

How can I implement SSL on my application after having IIS as a front-end ? My webserver is Tomcat 8 and I have tried the default method but it didn't work. Is there any additional steps? Or am I ...
0
votes
1answer
46 views

Jira over SSL gives a blank page with symbols

My attempts to configure Jira to work over SSL have not been successful so far. I have followed the steps at: https://confluence.atlassian.com/jira/running-jira-over-ssl-or-https-124008.html My ...
1
vote
0answers
213 views

Spring Boot 1.2.7, Tomcat, CSS and Thymeleaf = Very Very slow service

I have a Spring Boot 1.2.7.RELEASE web application (with Tomcat embedded) which needs to handle a very high load spike, ~ 10k connections in 4 to 5 minutes on one server (there is actually a cluster ...
-7
votes
1answer
65 views

Why wont my server start

I'm having real difficulty with a server on our load balance cluster and cant understand why. In the catalina log the following appears. It had been another site before and I removed it to see if that ...
0
votes
0answers
82 views

SMF: Custom method script and automatic restart on Solaris

i'm experiencing problems with automatic service restart with SMF and Solaris 11.3. I had to write my own start/stop method script to start a Tomcat to ensure several prerequisites. The script itself ...
0
votes
0answers
23 views

Display custom error page from load balancer if servers are down

I wish to be able to display a custom error page from the load balancer if there is an issue with the servers. The load balancer is apache2 and the servers are tomcat. Any suggestions or pointers in ...
0
votes
0answers
54 views

How can I load and unload tomcat virtual hosts without restarting it?

I'm running a large number of virtual hosts on my tomcat server and I need to add or remove some virtual hosts repeatedly (by changing server.xml) and everytime I have to restart whole tomcat to ...
0
votes
1answer
67 views

TomCat Page Instead of Jenkins

I've just installed Jenkins on my Ubuntu 15.04. The installation was using 'apt-get' command which ended successfully. But now when I browse 'http://localhost:8080' or 'http://localhost:8080/jenkins' ...
1
vote
1answer
113 views

Separate SSL certificate per webapp under Java app server on a single IP

We have a production Apache Tomcat server over which some websites are served. The sites have started to request valid SSL certificates. We have some limitations on the number of valid IPs on our ...
0
votes
2answers
25 views

Tomcat accepting HTTP from Apache, while Apache accepting HTTPS from user, does tomcat need to be HTTPS enabled too?

My application serves html pages through Apache server to user and it ssl-https enabled. These pages makes ajax request to my backend application running on tomcat container. Tomcat is not ssl enabled ...
1
vote
2answers
101 views

Tomcat webapps eating all the memory up

I am running a few tomcat servers to which we deploy applications that our coders write and implement. Problem is that in some of our servers, especially the ones that have multiple requests, memory ...
1
vote
2answers
249 views

Run Apache http, Apache tomcat and nodejs on same port

I'm a web developer and for a project I need to run tomcat and nodejs without using port. I've seen some posts about proxy module in httpd, so I've created two virtual hosts as follow : ...
1
vote
1answer
48 views

ARR Redirecting Rule (ERROR 404)

Well I'm using ARR to make IIS act as a front-end to Tomcat where my application is. The rule I'm using is working only for the first index page and that would be it. Rule is Patter (Wildcards) ...
0
votes
1answer
51 views

Using Tomcat behind Apache2 Http with different context paths

On our Ubuntu webserver we have a Apache2 HTTP server in conjunction with an JSF application running on an Tomcat8 application server using AJP 1.3 connector and HTTPS/SSL. I want my app which runs on ...
3
votes
2answers
88 views

Self-Signed Certificate With Public and Private IP (Tomcat 7)

I am configuring a server that has both a public and private IP. It doesn't have any associated domain names. Using a self-signed certificate to access the URL below works properly: ...
0
votes
0answers
142 views

why does apache/tomcat reverse proxy give 502 errors?

How do Apache 2.4.6 and tomcat 8 together need to be configured to serve apps that include AngularJS and Spring MVC code on CentOS? Here is the specific situation: A CentOS 7 server has Apache ...
1
vote
0answers
17 views

Redirecting using ARR 400.0 error

I have installed ARR 2.5 + hotfix on IIS 8.5, and I wanted to redirect requests coming to IIS to my Tomcat web application (Example localhost/test). I created rules and it worked successfully, but I'm ...
0
votes
1answer
59 views

Multiple sites one one physical windows server

What I have: Domain, registered by GoDaddy (lets imagine that it named mysite.com) AWS EC2 server instance, Windows Server 2012 R2 Static IP address provided by Amazon Elastic IP and assigned to ...
1
vote
0answers
138 views

Tomcat 8, Kerberos authentication

I'm configuring kerberos for a tomcat server. Before I call the web application support company I would like to know if I'm doing the correct steps since it's my first time. The domain has 2 zones, ...
0
votes
1answer
30 views

Improving high IOps Folder (Tomcat and Vmware)

Good day. We're moving a Tomcat from a physical server to one virtual Server. In the physical, and because the high IOps for the temp folder (¡developers!) we bought a Ramdisk software. My question ...
0
votes
0answers
36 views

Tomcat CSR for 2 servers with SAN ssl cert

I have a requirement to install SSL on Tomcat on two different servers. One server for pre-production the other production. I have been told that I must submit a CSR to my CA to get my certs for my ...
0
votes
1answer
40 views

Tomcat startup with security-manager - CentOS

I've seen this topic before, and the solution given works. However, it doesn't fit in my needs, since it's granting read access to every directory, by setting this catalina.policy: grant { ...
0
votes
1answer
72 views

Disadvantage of multiple tomcat instance in single server

We are Having One single Ubuntu server in cloud and we had planned to deploy Two Tomcat instance in single server. It is advisable to deploy two tomcat Instance in a single server Please tell what are ...
0
votes
1answer
149 views

GitBlit behind nginx keeps adding superfluous /gitblit/ on login/logout operations

I set up Gitblit within Tomcat on a server. I want it to be accessible via https://git.mydomain.tld. So far, this works but it has one little quirk. Whenever a user logs in to Gitblit, it redirects to ...
0
votes
1answer
162 views

Run wordpress with tomcat server

I built website in Java on Tomcat server in Centos 6. My website is running at port 8080 with domain: mywebsite.com. Now I would like to construct a Wordpress blog for my website with another domain ...
0
votes
1answer
219 views

How to generate self-signed cert for use with Tomcat7

Goal: To use a self-signed cert with my dev Tomcat server. Step 1: Create a certificate with openssl following this Ubuntu certificate guide: openssl req -new -key server.key -out server.csr I ...
0
votes
1answer
94 views

Tomcat 8 Permissions Issues (Windows)

I'm currently trying to troubleshoot an issue with a Java web application that is stumping me along with the vendor of the software. We're running on Windows Server 2012 with Tomcat 8. In my scenario, ...
-1
votes
1answer
629 views

java.io.IOException: Too many open files on tomcat server

I have web application which is based on JAVA (GWT Framework). I hosted my web application on Redhat Linux Server 6.0 using Tomcat 8.0.9 in front of apache http server connected using AJP connector ...
1
vote
1answer
25 views

Simple proxy reverse Apache-Tomcat

My intent is very simple, I would like to type example.com and be redirect to example.com:8080/myapp example.com:8080/myapp is a java/tomcat app. <VirtualHost *:80> ServerName ...
0
votes
0answers
14 views

AWS Tomcat server memory is too high [duplicate]

My application is running on REDHAT 6.0 on Tomcat 8. Sometimes memory usage is 100% when my application is used by 30 users at a time Server Configuration Details Machine ec-2 M3 Medium on AWS RAM ...
0
votes
0answers
28 views

mod_proxy_ajp crashes on heavy load

I use mod_proxy_ajp with apache 2.2 to send requests to a web application in tomcat 7. Everything works fine in normal situations, but when load on server increases, mod_proxy_ajp fails & it does ...
1
vote
0answers
36 views

What would cause an Active Directory connection attempt to a workstation?

I'm trying to troubleshoot a freezing issue with our git server. We're running Atlassian Stash on a dedicated Windows Server 2012 R2 Standard virtual machine. The server will sometimes (a few times ...
0
votes
1answer
327 views

Restart Alfresco / Tomcat

When i'm trying to restart Alfresco, it stops with this message: p@p:~/alfresco-5.0.d$ ./alfresco.sh restart Using CATALINA_BASE: /home/p/alfresco-5.0.d/tomcat Using CATALINA_HOME: ...
0
votes
0answers
23 views

Tomcat does not execute all expected threads

I'm running Apache tomcat 7 with java 7 on Cent OS. My tomcat server contains many (more than 100) virtual hosts, each host runs a common web application in its own context. Inside the application, ...
0
votes
1answer
260 views

How to deploy a Tomcat application with Manager URL API when using custom context XML

My application context is defined as an XML file located in my/path/to/Tomcat/conf/Catalina/localhost/my-app.xml. <Context docBase='/my/path/to/myApp/myAppWarFile.war'> <Environment ...
0
votes
0answers
25 views

Tomcat 8 ssl sessionids causing problems with load balancer

I have 2 Tomcat8's each running on their own hardware-Windows Server 2008 R2. There is a load balancer in front of the two machines. Both Tomcats have SSL certs and are running with them. Both ...
1
vote
0answers
60 views

Hibernate fails loading app on tomcat because it's using JDK 1.4 [closed]

I just deployed a app.war file in my tomcat server directory. When the server starts, the context initialization fails with this exception: [ERROR] 2015-10-08 04:01:56,946 ...
0
votes
0answers
47 views

Tomcat seems to start but no process is running

In installed Tomcat 8.0.21 on /opt. When I run the startup.sh the following output is displayed. However, no Tomcat process (8080) is running and the wars I copy on webapps are not unzipped. Ideas? ...
0
votes
1answer
178 views

Attempting to restart tomcat 8 with gitlab-runner, pid file created, log empty, server not started

I am trying to restart my tomcat 8 server after deployment. Setup: gitlab-runner runs with its own user (called gitlab-runner) tomcat uses its own user called tomcat sudoers has an entry so that ...
0
votes
0answers
16 views

Can Tomcat handle other website basic digest authentication?

I have a SOAP WebService being served with Tomcat, and I want to make a call to another WebService which is protected by a basic digest authentication. Is there any way that Tomcat can kinda ...
2
votes
1answer
76 views

Trying to kill Tomcat process but keeps getting recreated

I was attempting to restart tomcat8 however i got the following warning: SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize java.net.BindException: Address already in use I ...
0
votes
1answer
156 views

Disable authentication for OPTIONS requests in Tomcat

I have an API protected by basic auth. When I want to make AJAX requests against the API, the browser send an OPTIONS request which doesn't carry the Authorization header so it gets rejected and thus ...
1
vote
0answers
20 views

Tomcat Sending Invalid SSL Certificate to Client

I am trying to install SSL certificates on tomcat on Windows 2012 R2 server . I followed the normal procedure: created keystore generated csr got certificates from Godaddy imported certificates ...
0
votes
2answers
30 views

Apache proxy wrong browser url

I am using the following VirtualHost and mod_proxy to proxy all requests for my 'api' subdomain to my Java webservice which is located at webapps/webservice on my Tomcat. <VirtualHost *:80> ...
0
votes
1answer
61 views

Tomcat and Apache parallel usage on different subdomains

I have just set up an Ubuntu server with Tomcat7 and Apache2. Apache is running on port 80, Tomcat on port 8080. What I want to do now is to redirect certain subdomains to Tomcat. mydomain.com ...
0
votes
1answer
29 views

Can you redirect a user to a specific version in Tomcats parallel deployment

When using Tomcats parallell deployment, Tomcat redirects users to different version according to this scheme: If no session information is present in the request, use the latest version. If session ...
0
votes
2answers
421 views

SSL/TLS via Tomcat - replaced keystore, still weak DH

I am presently in a battle with a stubborn SSL implementation. I replaced the old keystore with a keystore that included: a certificate from a public CA (yay no more self signed!) an intermediate ...