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

0
votes
2answers
1k views

Tomcat logging and mod_proxy

I have Tomcat running on port 8080, and when I send a request directly to Tomcat it works fine: curl -IL http://localhost:8080/myapp HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 ...
0
votes
0answers
4 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
1answer
11 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 ...
1
vote
1answer
1k views

Loadbalancing with nginx and tomcat

Hello this should be fairly easy to answer for any system admin, the problem is that I'm not server admin but I have to complete this task, I'm very close but still not managing to do it. Here is what ...
0
votes
0answers
13 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
15 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
1answer
1k views

Problem running Apache-Tomcat on every web browser installed in Windows 7

I'm working on a web application in JSP and my web container is Apache Tomcat 7.0.2 (Its portable cross-platform version). As I've made extensive use of HTML5-CSS3 and my target browser is Google ...
0
votes
1answer
3k views

How to install tomcat for many instances with CHEF?

I would like to install tomcat with a recipe through chef at some folder, like /company/tomcat6.0.45-port8081. But sometimes I have many instances of tomcat, like /company/tomcat7.0.41-port8082, ...
0
votes
1answer
2k views

Apache tomcat server win8 cannot be accessed outside of local host

I have installed the apache-tomcat server on my local win7. The port I specified is 9999. Additionally, I use the distributed binary version of apache tomcat. Not installing as a windows service. I ...
0
votes
1answer
3k views

Tomcat localhost page showing HTTP500 but I can access the 'sample' war / app but no others - Jenkins installed

I'm trying to set up my server properly so that I can run servlets on it with the help from Jenkins. Within the webapps folder are two war files. One for jenkins and one for the sample from ...
1
vote
2answers
2k views

Apache HTTP Server+Tomcat: Which file generates mod_jk.conf, how to modify generated stuff, and how does httpd reach it?

I'm using XAMPP with Apache HTTP Server and Tomcat Add-On installed. There's a default mod_jk.conf which is generated by Tomcat when starting it. But which file generates this mod_jk.conf file? How ...
0
votes
1answer
17 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" ...
2
votes
2answers
4k views

What to change in /etc/sudoers to allow restarting service?

I want an unprivileged user to be able to restart tomcat on my server. So I edited /etc/sudoers as follows username ALL=/etc/init.d/tomcat6 However, when the user runs /etc/init.d/tomcat6 restart ...
0
votes
0answers
35 views

Setting up SSL for tomcat

I am using tomcat as my web server and servlet container using eclipse. My web app is fine on port 8080 that I set up for HTTP, but I need encryption and hence have decided to set up HTTPS (using ...
0
votes
0answers
6 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 ...
0
votes
2answers
10 views

Creating local self-signed Certificate for user 'tomcat'

When I installed Tomcat 8 on my Ubuntu 15.04 I used the following command to create the user "tomcat": sudo adduser \ --system \ --shell /bin/bash \ --gecos 'Tomcat Java Servlet and JSP engine' ...
1
vote
1answer
3k views

Tomcat fails to start, no logs or error provided

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script). When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no ...
1
vote
3answers
3k views

Extremely slow startup of tomcat

I have a tomcat 7 installation on a Solaris 10 server. My problem is that starting the server (or deploying a new war) is extremely slow. It usually take 30 - 60 minutes. The war application is a ...
-1
votes
0answers
13 views

Graceful Shutdown Tomcat [on hold]

I would like shut-down my tomcat instance gracefully, a graceful should involve the below processes, The respective tomcat instance should reject all (new) incoming requests Check for any in-flight ...
1
vote
1answer
21 views

Small queries wait for large queries to resolve MYSQL PHP on Centos 6.5

I have a Centos 6.5, and I'm running Vaadin on Tomcat, This application has really heavy queries for reports and stuffs. My problem is, when I'm connect to MYSQL from PHP, when I made a small query, ...
4
votes
4answers
16k views

How to compress and clean logs with logrotate but not rotate them

I have a Tomcat server which create access logs via a valve (org.apache.catalina.valves.FastCommonAccessLogValve). This valve takes care of rotating the access log file, but not of compressing them ...
0
votes
1answer
184 views

Apache forward JSP pages to Tomcat?

I have an Apache Server, in which my website running. But there are some JSP pages in my website. I have to forward my JSP pages and servlet to Tomcat. How can I make that possible?
0
votes
0answers
8 views

Deploying a SOS WAR file gives me a 404 Status Code on Tomcat?

I am trying to deploy a SOS WAR file from 52 north into the Tomcat, I put this WAR file in the webapps folder, but I got a 404 Status code, and I don't know how to solve this problem now. Is there ...
1
vote
1answer
2k views

Apache mod_proxy_balancer + Tomcat load balancing - Should not redirect until web applications are ready

I am using apache2 mod_proxy and mod_proxy_balancer to balance the load to 4 seperate tomcat8 instances on different servers. I am using different AJP ports for each tomcat instance and using jvmRoute ...
0
votes
1answer
2k views

Losing JSESSIONID when using ProxyHTMLURLMap

I've setup a reverse proxy between an Apache front-end and multiple Tomcat backends. The below block of code includes the ProxyHTMLURLMap param so that the HTML can be rewritten to remove the Tomcat ...
1
vote
2answers
2k views

X-Forwarded-For not showing up in tomcat7 access log

I'm trying to print out the remote client IP on a tomcat running behind an ELB and for some reason it's not being printed out to the access log. my elb configuartion is : 80 -> 8080 443 -> 8080 ...
0
votes
1answer
136 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
6 views

Tomcat requested resource not available error even though file present

I have a dashboard that is hosted on an apache tomcat server on a centos machine. I kept the files that needed to be downloaded onclick in the following path project_name/resources/filename So ...
0
votes
0answers
4 views

Tomcat 7 auth constraint role name active directory

I integrated waffle into my tomcat 7. I need to define the users in the active directory group that can visit the site, web.xml looks like: <security-constraint> <display-name>not ...
0
votes
0answers
13 views

http_process_state_prepend - Invalid action:0x109010 (Server side:

I am getting a blank page on my Web App which is running with F5 & apache + Tomcat backend. I am getting intermittent errors in the F5 logs like belw http_process_state_prepend - Invalid ...
1
vote
1answer
2k views

Tomcat mod_jk cluster skip 404 http status

I am trying Tomcat Clustering with mod_jk for months and so far not so bad but facing a problem during deployment. I am using FarmDeployer to copy and deploy the WAR to other nodes in the cluster but ...
0
votes
2answers
996 views

Installing Tomcat6 on RHEL 6.4

I am missing some packages which Tomcat depends on. But whatever dependency I try to resolve, it all comes down to java-gcj-compat missing which I cannot find on the DVD. Note that I don't have an ...
0
votes
2answers
25 views

Apache 2.2 reverse proxy connection to tomcat hangs then returns 502 Proxy Error

I am running: Apache/2.2.15 (Unix) on CentOS release 6.6 (Final) I am running a reverse proxy that forwards requests on to a tomcat server running on localhost:8080. My config looks like this: ...
0
votes
2answers
6k views

IIS 7 + Tomcat 7 - how to reach http://localhost:8080/my_app under e.g. http://my_app.local

In brief: IIS 7 + Apache Tomcat 7 + isapi_redirect.dll: I have a deployed and working Tomcat-application available under http://localhost:8080/my_app. I would like to see the same content under ...
0
votes
0answers
15 views

Tomcat 8 / Websockets mod_proxy_wstunnel / Bitnami

I guess this is more of a configuration question, I understand what I'm trying to do, but I am a bit unfamiliar with the way Bitnami Tomcat configuration is laid out. I see that the module I need is ...
1
vote
1answer
1k views

starting tomcat remotely fails to start

When I run my start command via ssh it tells me that its started but it is in fact not the case. Catalina logs does not seem to capture any events either. However stop and status works. ssh -t ...
0
votes
1answer
1k views

How to specify path in Apache tomcat catalina for folder on different server?

On apache tomcat C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost\ we can change folders for another by specify it in XML like: THE_FOLDER.xml and in that xml we ...
1
vote
2answers
1k views

Apache reverse proxy with VirtualHost not serving a page

I have an Apache reverse proxy set to move requests to a Tomcat Applet. The config is similar to: <VirtualHost 100.100.100.100:80> ProxyPass /AppName/App http://1.1.1.1/AppName/App ...
0
votes
1answer
1k views

CentOS Apache + Tomcat SSL using mod_jk

I have Apache + Tomcat (using mod_jk) working correctly on a CentOS 6.3 machine. I am trying to set up SSL with Apache. When I browse to the site I get the following output: Forbidden You don't ...
0
votes
1answer
1k views

Verify client certificate CN in Tomcat(APR)

I'm running a tomcat installation with the APR libraries installed (with the OpenSSL HTTPS stack that comes with it). What I'm trying to do is to lock a specific HTTPS connector down to users of a ...
0
votes
1answer
15 views

Locked Out of Tomcat Periodically

Every few days my tomcat application breaks down. I can make requests but anything requiring access to the mysql database returns an error. I checked catalina.out and am seeing a lot of these: Jan ...
2
votes
1answer
18 views

Tomcat Parallel Deployment, automatically undeploy old applications

I've been using Tomcat 8's Parallel Deployment as part of a zero-downtime continuous deployment setup for a while now. When the test gauntlet has been run, the CI server automatically renames the ...
6
votes
1answer
2k views

Tomcat sessions not expiring

I'm having problems with sessions accumulating. I run an instance of Tomcat 6.0.18 on a Windows server. I have 3 apps. I've been having memory issues (close to heap size, or OOM). When I look ...
0
votes
0answers
21 views

Tomcat: Redirect 403 to 404

I am running Tomcat 8.0.30, and want to redirect all requests that result in a 403 (Forbidden) to 404 (Not Found). The idea is that if someone uses something like DirBuster, it will look like any ...
0
votes
2answers
1k views

how to install ssl on tomcat 7?

I know this question might sound too easy and I should had read all docs available on internet, the true is that I did, and I had no luck, its kinda confusing for me, I have installed many times this ...
0
votes
0answers
75 views

ERR_SSL_VERSION_OR_CIPHER_MISMATCH

I have set up my SSL configuration in an Azure Ubuntu VM using Tomcat8. The service seems to be running on port 8443. I have created an endpoint on Azure from public port 443 to 8443. However, when ...
0
votes
1answer
8 views

Cyclos4 - Apache as frontend for a Tomcat app

I just install Cyclos4 software into my server. I can access to the app via: http://IP:8080/cyclos Now I'm trying to access to the app without having to write the port and the /cyclos. I follow ...
0
votes
1answer
2k views

.htaccess Rewriting Tomcat Server

I am writing a website using Railo. My code is to be deployed on a Railo Server running on Tomcat, overlayed on a regular Apache+PHP server. I need to send all requests to ...
0
votes
2answers
24 views

Tomcat 7 installation didn't require configure, make and make install commands

I recently installed apache tomcat 7.0.67 on rhel 6 64-bit platform. All I did was simply unzipping tar.gz file into a specified directory where I have read/write access. I was able to deploy a web ...
0
votes
3answers
40 views

Running Apache Tomcat 8 on port 80

I wants to install/configure apache tomcat on port 80 instead of 8080. I am running Nginx on port 80 and I made Nginx service stopped. I changed Shutdown , Connector port from 8005 to 8008 and 8080 ...