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)

0
votes
1answer
97 views

How many Tomcat instances can one application server handle?

My network engineer states I am part of a cluster where two apache application servers(512G RAM each) have 142 instances each of Tomcat (of which my company represents 6 each with 2G RAM). This seems ...
0
votes
1answer
112 views

AJP Connector Apache-Tomcat with php and java application

I have a question about proxy and ajp module. On my machine I have a Apache web server and a Tomcat servlet container. On Tomcat is running a my java webapplication. On Apache I have some services ...
0
votes
1answer
56 views

apache tomcat connector for comet & jsp

I am interested in deploying a tomcat7 server that will server JSP pages and also support comet. I normally use the mod_jk connector for Apache/Tomcat communications. I've found information that ...
0
votes
2answers
125 views

Apache not routing to tomcat on correct Virtual host

We are looking at moving from Websphere to Tomcat. I'm trying to send traffic to tomcat from apache web server based on the virtual host directives in apache web server. After some playing around I ...
0
votes
1answer
30 views

Roll standalone JBoss app under Tomcat

I've got a Linux box where there’s Tomcat running, with some JSP applications in it. Now, I’ve received a third party app from a developer shop to be eventually deployed. It came as an archive called ...
0
votes
2answers
229 views

How do I configure my httpd rewrite/proxy to direct app1.example.com:443 to localhost:8080 and app2.example.com:443 to localhost:8081?

I have two Tomcat instances, one running on port 8080 and the other running on 8081. The both have deployed a web app called app.war but they are separated not only by different ports, but different ...
1
vote
1answer
81 views

Website not available everywhere

Today I noticed my website http://mint-nachhilfe.ch/ was down, but other people (located in different networks) said it looks up from there. When I came home, I double-checked, and I can really reach ...
2
votes
2answers
1k views

How to force tomcat to shutdown after x number of seconds on windows?

On linux systems the stop command in catalina.sh accepts a timeout parameter which forcibly kills tomcat after the supplied number of seconds. The catalina.bat however doesn't seem to have a parameter ...
0
votes
1answer
43 views

Is there a way to configure shibboleth on tomcat without having to use httpd apache?

I have working setup of shibboleth configured via httpd apache and then pass it on to tomcat. Now is it possible to get rid of httpd portion alone and have tomcat handle shibboleth authentication by ...
4
votes
1answer
467 views

Varnish + Tomcat vs Apache + mod_jk + Tomcat

Does anyone have some performance metrics for Varnish in front of 1) Tomcat or 2) Apache with mod_jk (connected to Tomcat). I know that the AJP connector is supposedly faster than HTTP, but I was ...
0
votes
0answers
46 views

Tomcat still deploys ROOT to “/”, even with autoDeploy=“false”

I want to make my tomcat webapp the default one (on / instead of /myWebapp). Since I don't want to move the webapp folder (for various reasons), I followed Method 2.2 in the Tomcat wiki. Now my ...
0
votes
0answers
24 views

Tomcat webapp with custom url

hi i have a tomcat an a apache on my server. my apache defines in the virtual host RewriteEngine On RewriteRule ^/customurl(.*) /applicationname$1 [PT] JkMount /applicationname* tomcat which works ...
0
votes
0answers
132 views

Cannot load local resource in tomcat

In spring project, I am generating some pdf file automatically in my application and storing it in $CATALINA_BASE in tomcat server. The path is : ...
1
vote
1answer
45 views

Serving files from Apache and Tomcat

I've trying to rebuild a server that needs to serve content from both Tomcat 6.0.16 and Apache HTTPD 2.2.3 on a RedHat 4.1.2 server. I need a specific directory (it's called 'client') from the Apache ...
0
votes
1answer
406 views

How to hide my website port number on website url [closed]

My website has implemented by using JAVA. So we have taken VPS and installed Tomcat then deployed My website is appearing like this whenever I click www.mysite.com in url ... it is appearing as ...
0
votes
1answer
74 views

How to write rules to for random sub domains in Apache?

Actually our website creating by using Java technologies so installed Tomcat,apache on VPS and deployed. we are creating sub domains for registered customers we have enabled the Wildcard by creating A ...
0
votes
1answer
34 views

Is it bad to have two webapps each on different servlet container than both on same, on a production server?

I need to run two webapps on a ubuntu VPS but one(my own webapp) prefers to run in Tomcat & other(Solr webservice) is preferable in Jetty. But I think running a separate server for each webapp ...
1
vote
1answer
1k views

permission denied to start tomcat as root

I just started using CentOS. I install Java yum install java-1.7.0-openjdk-devel Added a user: $useradd supersite Downloaded tomcat: $wget ...
1
vote
1answer
306 views

Getting JMX working under Tomcat 7 with SSL and a self-signed cert

I'm trying to get JMX working under Tomcat 7.0.23 with SSL. The servers are located in AWS, which means all the hosts are NATed, and I need to use JmxRemoteLifecycleListener to explicitly set the two ...
0
votes
1answer
75 views

Tomcat 7 clears edits made to context.xml on startup

This is probably a very n00b question since this is the first time I'm using Tomcat. I'm trying to specify a JDNI resource in the /conf/context.xml file. But every time I start up the server and have ...
0
votes
0answers
80 views

SIEM DSCC - Upgrade Fails and then web console doesn't shows anything

Since trying to patch, we can not access the Web Interface, the Console page is empty. We also tried to upgrade trough CLI but it returns this error messages Checking for undeployed changes... ...
0
votes
1answer
159 views

Tomcat6 Decompressing GZip Request

Since Tomcat has the option to compress its response to GZip. Is there a way to configure Tomcat 6 to decompress gzipped requests without putting it behind an Apache server with mod_deflate enabled, ...
0
votes
2answers
433 views

Log Analysis Tools for Apache & Tomcat [closed]

I'm looking for a log analysis tool to monitor & analyse the logs from an Apache & Tomcat webfarm. It would need to have agents that run on the servers, and ship logs back to a central ...
0
votes
0answers
104 views

tomcat7 windows service long restart time - wait it out?

I have a tomcat7 that runs a single webapp. The webapp has been crashing lately. When I restart tomcat (either from tomcat7w.exe or the services list), sometimes it takes a long time - 10-20 minutes ...
0
votes
1answer
319 views

How do I set up a conditional redirect in Tomcat

I have Tomcat running Jira. I have two DNS names that are attached to this site - mysite.myorg.com and mysite.myorg.net. I want the mysite.myorg.com to redirect all users to mysite.myorg.net since I ...
0
votes
1answer
783 views

Fedora install tomcat 6: No package tomcat6 available

I want to install the Apache Tomcat 6 on a new Fedora 19 but it does not work. When I type the following command: yum install tomcat6 tomcat6-webapps tomcat6-admin-web I only get this message: ...
0
votes
0answers
164 views

Error during SSL Handshake with remote server

I have Apache2 (listening on 443) and a web app running on Tomcat7 (listening on 8443) on Ubuntu. I set apache2 as reverse proxy so that I access the web app through port 443 instead of 8443. ...
0
votes
0answers
244 views

IOException: Operation not permitted; No faulty members identified

I am running a tomcat cluster with three tomcat instances and one Apache server. I have all MAC server except one RHEL box, on RHEL server my tomcat-cluster is not starting properly which is causing ...
0
votes
1answer
95 views

tomcat webapp context alias

I want to make a webapp running in a tomcat available under multiple contexts. http://localhost:8080/foo should also be available under http://localhost:8080/bar but I do not want to have a ...
1
vote
1answer
183 views

Linux: How to get average CPU utilization of a process over specified period of time?

I'm trying measure the concurrency efficiency of my web application (running in TomCat) during load testing. I'm looking for a way to get the average CPU utilization of my process spanning the start ...
0
votes
0answers
175 views

Could not Build Tomcat 7.0.43 “Some input files use or override a deprecated API”

using Ubuntu 12.04LTS and java version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.12.04.2) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) I get the ...
1
vote
1answer
212 views

Reasons for a TCP Timeout scenario

I am actually currently investigating long running connections of a Java/Tomcat based Web application. After ruling out any internal or application based reasons, I am now down to the network layer. ...
0
votes
0answers
276 views

Tomcat6 does not start correctly when specifying jdk5

I have installed tomcat6 on debian 7 using apt-get install tomcat6 tomcat6-admin. It also installed java6. The tomcat service starts up just fine and I can also restart it: root@dd:/home/user# ...
0
votes
0answers
135 views

Weird date-time in catalina.out

I support a tomcat application that has recently started returning errors for every request, and I am trying to get debug info out of the catalina.out. I am expecting to see a date-time format like ...
0
votes
1answer
42 views

Tomcat 6 path issue on Linux Debian

I'm facing an anoying issue on Linux/Debian Tomcat configuration: I've set up path variables, but when I try to start or shutdown Tomcat nothing happens. Log is empty and the following appears: ...
0
votes
0answers
151 views

CPU usage rises to 100% in a few minutes on Tomcat web sever

I have an web app running on Tomcat 7 server. The rest of the configuration is: Intel i7 3930 32GB RAM 2x2TB HDD 20TB Bandwidth Debian 6 mysql 5.5.9 I'm using Ganglia for monitoring the load. ...
0
votes
1answer
525 views

Openfire Java Out of Memory Error - Any solutions?

I have huge problem with openfire crashing every now and then because of the lack of memory. In java log i have following error log. however problems are Openfire is 32 bit and i cant run it as 64 ...
3
votes
1answer
350 views

Measuring load - %CPU in top is different than %us

When I run TOP on a remote server, I see a very small system utilization (3.8%us). However, for the actual process I am seeing 29.6% of the CPU. Since this server has 8 CPU cores, is the %CPU the ...
0
votes
0answers
175 views

Proxy Server for my Tomcat7 Websocket Application?

I have a Java Servlet application running on a Tomcat server. My app uses Websockets. I want to use a proxy server which should root to my Tomcat running on pert 8080. What proxy should I use for ...
0
votes
0answers
361 views

HAproxy 502 Bad Gateway

I have Ubuntu 12.04LTS running. My webserver is Tomcat 7.0.42 and I use HAProxy as proxy server. My application is a servlet application which uses websockets. Sometime when I request my page I get ...
0
votes
2answers
158 views

Centos 6.4 Installed in System X3750 M4 IBM Server [duplicate]

We have installed Centos 6.4 in System X3750 M4 IBM Server. But the server is not showing the performance of at-least a normal Desktop Configuration. We haven't done any performance tuning in the ...
0
votes
0answers
63 views

Deploying GWT on a web server vs Tomcat/Jetty

Can anyone who has experience break down the pro's and con's of having servlets running from apache tomcat/Jetty vs hosting the output of GWT over a web server?
0
votes
0answers
249 views

Apache2 Proxy WebSocket Connections?

System: ubuntu 12.04LTS I use Apache as Proxy server for my Tomcat7 webserver. For Apache as Proxy I activated the modules: sudo a2enmod proxy sudo a2enmod proxy_http Then I edit the ...
1
vote
1answer
120 views

Redirecting HTTP-Request to HTTPS through httpd.conf

I currently try to redirect the HTTP-request to HTTPS, but couldnt find a solution for this, in my httpd.conf I have the following redirection to my Tomcat application: RedirectMatch permanent ^/$ ...
0
votes
1answer
289 views

Setting up Apache hosting Wordpress and Tomcat hosting JSP on the same machine using Apache as Reverse Proxy

How do I make traffic going into www.example.com/ go into www.example.com:8080/? And how do I make traffic going into www.example.com/blog/ go into www.example.com:80? My current attempt inside ...
0
votes
1answer
96 views

Is it possible to run two different tomcat process with jsvc?

I have just discovered jsvc and would like to use it to run two tomcat instances on the same server. However I get a segmentation fault when I try to run a second instance through jsvc. Is it possible ...
0
votes
1answer
304 views

WebSocket not Working on Apache Tomcat 7 on AWS ElasticBeanstalk

I just set up me web app on top of ElasticBeanstalk. Everything seemed to work fine, until I discovered that my instance couldn't use WebSocket, every time I tried to connect internal server error ...
2
votes
1answer
128 views

Why does mod_rewrite not reprocess rewritten paths?

I'm doing a path rewrite to set and environment variable that will cause mod_jk to use a specific JBoss server. Works perfectly with any of the application paths. When I try our monitoring servelet ...
0
votes
2answers
337 views

JVM/Tomcat crashes when to many uploads occur in parallel (Heap Space)?

I have a Servlet application running on Tomcat 7. I set the following in setenv.sh CATALINA_OPTS=" -server -Xms1G -Xmx5G -XX:MaxPermSize=512m -Dfile.encoding=UTF-8"; The server runs on Ubuntu ...
-3
votes
1answer
77 views

rsync not working with apache tomcat

I have java spring application on amazon ec2 running on apache tomcat6 server . I need to copy the file between this amazon ec2 and another server. For that I trying with rysnc . In terminal it is ...