Tagged Questions

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)

1
vote
0answers
93 views

How do I proxy user context from httpd mod_proxy to tomcat?

I have configured a tomcat instance with SPNEGO to perform user authentication. When I access the tomcat port directly, it causes my browser to request my user name and password, which I provide and ...
2
votes
0answers
354 views

How to enable CORS on Glassfish?

Cross-Origin Resource Sharing is a mechanism that enables cross-origin requests[1]. As you can see in the link [1], It is easy to enable CORS in Apache Tomcat 7. Just a configuration in the file ...
0
votes
1answer
463 views

gzip compression using mod_deflate apache with tomcat

I'm trying to enable gzip compression in my Apache server which is fronting a Tomcat instance using a connector. I tried several variants of the module configuration settings in my httpd.conf. Here is ...
0
votes
1answer
55 views

A botnet may be attacking our site right now, how should we respond? [duplicate]

Not sure if SO is the right forum, but we're in need of help and perhaps programmatic elements may comprise the final solution. Instead of downvoting, please recommend where to post this question, and ...
-1
votes
2answers
58 views

What's the difference if I access a site using www and without? [closed]

I'm a web developer on a software house, which develops websites for clients. The websites are hosted by third party, so we don't have full control over it. One of our clients one day asks us, why ...
1
vote
2answers
4k views

No Tomcat7 package for RHEL 6

We're currently setting up a new application hosting environment on Rackspace and are struggling to find a package for Tomcat 7. Our previous provider was Amazon and we ran on Amazon Linux who via ...
0
votes
1answer
1k views

Why Tomcat7 gives 404 for localhost:8080/

I had Tomcat working on my PC, it stopped working, couldn't debug. So, did a reinstall but it doesn't seem to work yet. I have installed ver 7.0.52 and have startup script taken from here. The ...
0
votes
0answers
32 views

How to make a docbase with Jboss-as-7.1

I want to know how it's possible to serve ( ie: to read) external files in my web application using Jboss-as-7.1 . It's easy to do with Tomcat but i'm newbie in Jboss. Thank you
0
votes
0answers
307 views

Tomcat 7 Session Persistence disable not working as expected

As documented in https://tomcat.apache.org/tomcat-5.5-doc/config/manager.html#Disable_Session_Persistence , I added the following code piece to disable session persistence in Tomcat 7. ...
0
votes
1answer
671 views

How to diagnose Tomcat 6 suddenly stop responding?

I run a number of tomcat instances and occasionally some just stop reponding to requests - timeout on every connection. I'm using AJP with mod_proxy in Apache 2.2. I get a timeout via Apache/AJP ...
1
vote
1answer
61 views

Tomcat upgrade replacing ROOT.war

When upgrading tomcat by running: yum update on Amazon Linux the ROOT.war file is replaced by the default ROOT.war from the tomcat distribution. Is there a way to prevent this?
1
vote
1answer
96 views

High Volume Settings for Apache / Tomcat/ Mod.JK

I have a 3.5 GB 2 CPU server running on tomcat/apache with mod.jk. We are seeing our server itself having plenty of memory available and tomcat is not showing anything crazy in terms of GC. We have ...
0
votes
1answer
866 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 ...
0
votes
1answer
726 views

Error in tomcat 7 start up

I am facing problem in starting up the tomcat zip file. I am totally new to jsp and servlets. I have installed tomcat 7.0.52 and set the path and java_home both. In one of my system its working fine ...
0
votes
1answer
151 views

Nginx sever not handling 404 from upstreams

In my setup , I have a nginx server as a reverse proxy for my tomcat application servers. I use proxy_pass to connect to tomcat upstreams .. location /test { proxy_pass ...
-1
votes
1answer
38 views

Tomcat and Apache comparison [closed]

What interests me are the similarities and the differences between tomcat and apache. When would one be used and when the other? Thank you.
2
votes
2answers
810 views

Difference between calling tomcat shutdown script and killing process

On our linux boxes, we have multiple users who run tomcat. Currently we are using process kill commands to kill the respective user's tomcat , instead of using shutdown.sh Are there any downsides of ...
0
votes
2answers
97 views

how to recover from a failed web server or reverse proxy

I have the following setup in my datacenter. Global LB --> HA proxy (2 instances on different servers via VRRP, performs HTTPS termination, acts as reverse proxy) ---> Nginx(2 instances on different ...
0
votes
0answers
131 views

How vulnerabilities in the Java affects application running in Tomcat/JBoss

I wonder what impact has Java vulnerabilities on application in Tomcat. For example Java 1.6u45 has many reported security bugs (Remote Security Vulnerability). You can easily exploit it on client ...
1
vote
0answers
63 views

Unchanged Elastic Beanstalk transitions to RED health

I've got an application running on Elastic Beanstalk that seems to randomly transition to RED. The App is running just fine and has been for a while (it is also not crashing) but every once in a while ...
0
votes
0answers
78 views

Apache Tomcat & SSL - not connecting from different Sub Network

we are deploying an Apache Tomcat .WAR application provided from a third party. We have followed all the instructions provided from the party. The specs are: windows 2008 server Apache Tomcat 6.0.37 ...
3
votes
2answers
2k views

Discerning GoDaddy SSL Certificate Types

I'm following these instructions for installing a GoDaddy Certificate in Apache Tomcat: ...
-1
votes
1answer
854 views

How can I run Apache Tomcat and Node.JS servers at the same time?

I'll give you an example of what I want: Let's pretend my domain is domain.com for now. My server machine is a Linux (Ubuntu). I'm currently running Tomcat as my server on ports 80 and 8080. I have ...
0
votes
3answers
329 views

Manage multiple ports with Apache Tomcat

I already switched my default port from 8080 to 80, but here's a problem: I need to also be able to manage port 8000, too. Current ports are: 8080, 80. How do I map a new port (8000) to a new webapp? ...
-1
votes
5answers
3k views

How to add symbolic link as webapp to webapps in Tomcat 7 on Linux?

Setup I use Apache Tomcat 7 on an Arch linux distribution, and my webapps directory is located at /usr/share/tomcat7/webapps. In this directory one should create a directory, and put META-INF and ...
1
vote
1answer
608 views

AWS: network ACL blocks outbound traffic

I am implementing a REST service in Amazon AWS. The internal servlets listen on numerous ports like 8080 and 9000, and an Apache configured as a reverse proxy serves them with proper URL schema using ...
0
votes
0answers
74 views

Running two different application servers on the same Oracle RAC database

I would like to set up a basic high availability solution for one application server (Tomcat, JBoss). Is it possible to run to clone each application server and connect clone a to node1 and clone b to ...
0
votes
2answers
221 views

How to get statistics of apache tomcat

I'm new to Tomcat server. I'm designing a tool that provides the statistics of hits(page views) in a tomcat server. i.e . I want to design a monitoring tool that gives the data of hits from a ...
1
vote
2answers
1k views

Apache - How to limit Content-Type header length to avoid CVE-2014-0050?

On Thursday a DoS problem with Tomcat was announced in a Tomcat mailing list ("[SECURITY] CVE-2014-0050 Apache Commons FileUpload and Apache Tomcat DoS"). An attacker seems to be able to cause an ...
1
vote
1answer
88 views

Issue Deploying Sample WAR on Turnkey Tomcat

I am trying to learn how apache and tomcat and war files work I have downloaded The Turnkey Tomcat on Apache VM and am running it in Parallels http://www.turnkeylinux.org/tomcat-apache I have ...
0
votes
0answers
181 views

Tomcat Slow Deployment On Windows

I have a Windows Server 2008 64 bit machine with 16GB of RAM and 8 cores (AMD Opteron 2.0GHZ). The problem I'm having is Tomcat takes over an hour to unpack and run a .war file. Are there any Tomcat ...
0
votes
0answers
58 views

Azure web role runnig Java returns 500

I am new to Java/Apache tomcat I needed to build a web service in azure cloud services, using java. The web service is running on apache tomcat 7, jdk 1.7 and communicating a mongo-db that is running ...
2
votes
1answer
92 views

How to authenticate a user through certificate exchange?

I have an web application A where a user has to authenticate through a username/pass method (https://server.local/webappA). A secure connection is established (HTTPS) with the server A. Then, these ...
0
votes
1answer
128 views

Monitor Tomcat-JDBC connections

The company that I work for sells a java web application that runs in Tomcat. The primary problems we have are that the tomcat containers become unresponsive and need to be restarted and that the ...
0
votes
0answers
454 views

Nginx cookie path for JSESSIONID not set

I have a problem with the JSESSIONID of a web application that is running on a Tomcat. The webapplication is running at https://alm-staging.domain.de/webclient.webapp/. Nginx should proxy all request ...
0
votes
1answer
37 views

Move an online domain to local computer

If I move a server to local machine, how can I access the website it's serving in my local network? Right now if you go to the website's link, domain name will point to our server but what is we ...
1
vote
0answers
775 views

Confluence Proxy Error Reason : Error reading from remote server

Since this morning I have trouble accessing my confluence. It's on an Ubuntu 12.04 server. The error itself is this Proxy Error The proxy server received an invalid response from an upstream ...
0
votes
0answers
281 views

Nginx proxy_pass to Tomcat non-root webapp?

I would like to use nginx as a proxy to a Tomcat non-root app but am having problems to do that. This is the code that I use: location / { proxy_pass http://127.0.0.1:8080/app_v1.1.0/; ...
0
votes
1answer
145 views

Apache UseCanonicalName On isnt passing ServerName to CGI

On Apache 2.4 in in a virtualhost I have: UseCanonicalName On ServerName somename ServerAlias www.someothername.com According to the docs: With UseCanonicalName On Apache will use the hostname ...
0
votes
1answer
150 views

How can I run multiple Jackrabbit instances or repositories under one Tomcat server?

I've got one instance of Jackrabbit 2.6.5 running under Tomcat 7.0.42 on Ubuntu 13.10 by dropping the WAR into Tomcat's webbapps folder as jackrabbit.war. If I copy the war file to jackrabbit2.war, ...
0
votes
2answers
472 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
54 views

Tomcat container managed global security and second authentication in webapp

I like to secure all webapps deployed to Tomcat with a single (form based) login. Hence I successfully configured a security-constraint in Tomcat's conf/web.xml with the url-pattern /*. User ...
0
votes
1answer
39 views

What is the ideal strategy for RAM consumption between applications deployed in same tomcat 7 container or in different tomcat 7 instances

I have been thinking about how to manage RAM between different 3 java webapps. I have blurred concepts in mind. Deploy all the web apps in the same tomcat7 instance or have 3 different instances of ...
0
votes
0answers
220 views

My Bitnami Tomcat Stack (on EC2 AWS) is generating DoS attack

I have a very small java web app that is deployed on a Bitnami Tomcat Stack on AWS. We are using this app in the company with only 5-10 user base daily, and generating only below 100MB of traffic per ...
1
vote
2answers
209 views

Load Balancing MongoDB

I have an application written in java with tomcat that I am ready to start scaling for production. As I understand it, i shouldn't use a load balancer with mongodb router instances as it can cause ...
1
vote
4answers
181 views

How to maintain configuration files on a server?

I regularly install a product (Atlassian Confluence, which is Tomcat + a few files) on my server. For each upgrade, after unpacking the tar.gz, I need to change the following files: conf/server.xml ...
0
votes
2answers
43 views

tomcat looks like it is reloading constantly

I'm not a tomcat expert by any means, but this just looks wrong to me... Jan 24, 2014 10:05:34 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library ...
0
votes
1answer
176 views

Tomcat - JDBC Data Access Exception

My company has a web application that allows users as part of their business process to upload large documents (10+ MBs) into the application. For fast connections it works great with the document ...
0
votes
0answers
90 views

Tomcat fails to return syn requests to F5

I have an F5 LTM sitting in front of two tomcat servers which host 4 applications. When I initially create the pools and add the members to the LTM I can hit all applications. This is the weird part, ...
1
vote
0answers
169 views

Amazon EC2 instance of Windows Server 2012- unable to connect to simple webserver

Using Amazon EC2 I have successfully launched a Windows Server 2012 instance and configured it to run a Tomcat webserver. From within the VPS itself, I know the webserver is working because I see the ...