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
0answers
2k views

Apache Tomcat setting Max file upload size

I am implementing a Grails/Groovy web app, I want to limit the user's file upload size, I don't want someone uploads a 10GB file to my server. What I figured out was that most approaches to calculate ...
0
votes
1answer
230 views

Apache Tomcat directory access, restricted and accessible only by web application

I have a Grails app. I want to move out all the images users upload to a directory outside of my web-app directory, somewhere else on the disk. Then I want to allow my application to serve them on ...
0
votes
0answers
60 views

mod_jk failover isn't working

I'm trying to use mod_jk feature of fail-over and move sessions from one worker to another. I see that the cookie append the correct cookie name, but when one server is being closed, the requests ...
1
vote
2answers
370 views

Error 502 - Random SSL Library Error: 336151568 error:14094410

I'm facing a random 502 error on my webservers. Rate : 0.5% Error in my logs: SSL Library Error: 336151568 error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure OpenSSL Version ...
0
votes
0answers
150 views

Worklight WAS Liberty profile configuration based on Tomcat configuration

(I already asked this question on Stackoverflow, but didn't get much of an answer, so I decided I'd better ask the sysadmins, because it's more relevant here. The answer I got was that I also had to ...
4
votes
2answers
566 views

How to scale up a web server supporting long polling

I am planing to add more web application servers to support increasing clients, deploying HAproxy and Keepalived for load balancing and High availability. My server usage has the following ...
2
votes
0answers
136 views

How to monitor clustered tomcat 7 with javaMelody

I would like to monitor my server health. I have deployed my web app in tomcat 7. I am using 4 instances of Tomcat 7 running on the same machine. individually I am unable to monitor each tomcat ...
0
votes
0answers
37 views

Tomcat routing based on client's IP

Apache serves as proxy to two Tomcats. Configuration is as follows: workers.properties: worker.list=farm,worker1,worker2 worker.farm.type=lb worker.farm.balance_workers=worker1,worker2 ...
1
vote
1answer
127 views

How to throttle AJP

On Windows i connect Apache2 to Tomcat7 via AJP. Is there any configuration that can throttle the communication? This is my workers.properties worker.list=node1 worker.node1.port=8009 ...
1
vote
0answers
261 views

Alfresco “ Error creating bean with name 'dictionaryRepositoryBootstrap' ” when deploying alfresco.war

I'm trying to deploy Alfresco Community Edition 2.1 WAR file in Apache Tomcat 5.5.23. I'm running Tomcat in a Redhat Enterprise 6.4 x86_64 server and also using MySQL 5.0.67. I've almost followed the ...
0
votes
2answers
445 views

Why isn't tomcat serving the correct SSL certificate

I configured tomcat with SSL successfully and was using a self-signed certificate. Recently an issue arose where just having the client "Accept/trust" our certificate wasn't easy. We ended up ...
2
votes
1answer
190 views

Will Tomcat 6 cache across Webapps?

I have a Tomcat 6 server on an Ubuntu 12.04 server with 4GB and the following JAVA_OPTS JAVA_OPTS="-Djava.awt.headless=true -Xms512M -Xmx512M -XX:PermSize=1024M -XX:MaxPermSize=1024M ...
0
votes
1answer
191 views

Tomcat 7 as windows service not accessible from other systems

I have downloaded Tomcat 7 zip for 32 bit windows 7 machine. I have unzipped the package and created the windows service using ..\bin\service.bat. But when i start the service from windows ...
0
votes
0answers
29 views

Verbose FTP transfers

I want to know if there's a way for the Publish Over FTP plugin to describe in the console what files are being uploaded. I have activated the Verbose output in console option, but still the only ...
0
votes
0answers
137 views

SSL Integration with apache used for load balancing

We are using apache mod-proxy on top of tomcat to achive load balancing. It is working fine , now we are planning to move to https from httpd . For that my configuration looks as follows ...
-2
votes
1answer
161 views

Starting Tomcat 6 on Plesk 11.5 Linux [closed]

I've been searching without luck for a way to get tomcat running on my server. It a linux server with Plesk 11.5 and tomcat 6. I've followed many instructions but this one has pictures that are ...
1
vote
1answer
131 views

ColdFusion 10 with IIS 8 on server 2012, does tomcat need to be installed separately?

I have ColdFusion 10 setup on Windows Server 2012 with IIS8. My isapi_redirect.log tells me Tomcat is probably not started or is listening on the wrong port I have setup the tomcat ...
2
votes
2answers
1k views

Jenkins won't start

I'm using: Jenkins 1.541. Java JDK 7u45 (tried 64 and 32 bit versions). XAMPP 1.8.2 I have downloaded the default MSI installation from http://mirrors.jenkins-ci.org/windows/latest, and I have ...
0
votes
1answer
106 views

How to block non-domain users from using Tomcat web app in WindowsServer2008r2

As the title says, I want to block all users which are not in domain from using the Java web application. Here is how the structure in my case: I have a hardware IPSec Site-to-site VPN from client ...
1
vote
0answers
20 views

Tomcat Logging Multiple Days Behind

I have been noticing on our largish production deployment of Tomcat that some logs display this issue of being "multiple days behind" in the logging output. We have a 3rd-party vendor application ...
0
votes
2answers
89 views

The page isn't redirecting properly

I have deploy my web app to EC2(AWS) instance. Firewall, tomcat configuration etc are OK. When i try acess to it via browser i see such error. enter link description here I see this in all browsers. ...
0
votes
3answers
762 views

Restrict Tomcat Webapp external access by IP

I am successfully able to access my webapp using the external IP for my server. However I would now like to restrict access to the server by IP. I have added the following in conf/server.xml: ...
3
votes
1answer
85 views

How I can make Tomcat 7 to respond with static file slow?

For the testing purposes I need to make Tomcat to respond with late http responses. It is quite clear how to do it for the servlet responses. But it is not clear if I want Tomcat to answer, say with ...
0
votes
0answers
44 views

Access GWT Application from Dynamic DNS?

I have a GWT demo Application that runs fine. The application runs under: http://127.0.0.1:8080/test.html?gwt.codesvr=127.0.0.1:8888 It works. Then I tried to set a dynamic dns which is routed ...
1
vote
1answer
298 views

How to get real IP (not 127.0.0.1) to show up as remote IP when forwarding requests in httpd

I've got a httpd server sitting in front of tomcat. Both services are running on the same machine. The machine has 2 IP address and I have domain names that are bound to the different IPs. In the ...
0
votes
0answers
55 views

How to generate Tomcat keystore from Apache Self-Signed Certificate

Apache Httpd is running as proxy server via AJP protocol for Tomcat web application in development environment. I have self-signed certificate generated for Apache Httpd with the following command and ...
0
votes
2answers
143 views

Tomcat 5.5: “Exception processing JAR at resource path” leads to java.lang.OutOfMemoryError

We have an old server running Tomcat 5.5. Yesterday we deployed a war file, and then it started to crash. Looking at catalina.date.log I found some java.util.zip.ZipException and then ...
0
votes
2answers
1k views

302/301 and 404 redirect issue for apache redirection for tomcat

I'm using Apache HTTPD in front of Apache Tomcat with the following virtual host: $ cat /etc/apache2/sites-enabled/onlinetaskboarddotcom <VirtualHost *:80> ServerAdmin comented@out.com ...
0
votes
0answers
278 views

Squid proxy connect method for SSL connections not working with people who are running nginx

I have a system which looks like this: Tomcat Server (has haproxy installed and balances my proxy servers) >> squid proxy server >> outside. This is the connection flow. My tomcat instance stores ssl ...
0
votes
1answer
208 views

How to create new Servlet and JSP project on Ubuntu?

I've installed Tomcat 7, javaservlet 3.0 and openjdk 7. I read that I need to install Eclipse and Web Tool platform (from eclipse) but I can't find it. I install few packages from eclipse there is no ...
-1
votes
1answer
98 views

Running localhost webapp projects under domain name using fiddler2

I have a Tomcat server running on my local dev machine(running Windows8) & I use fiddler2 to assign an alias to localhost as my domain name (www.mydomainName.com), so my application webpages open ...
0
votes
1answer
56 views

Generate a certificate with Openssl and import the same certificate using keytool

I have a question about the SSL during the use of CAS in LIferay. I have generate the certificate using Openssl (I flollowed this tutorial) on my CAS Server and now I would to import the certificate ...
-4
votes
2answers
40 views

How to install tomcat server in centos? [closed]

I'm new to server's technologies.Please suggest me how to install the tomcat server on centos machine,please tell me
1
vote
1answer
637 views

How can I check if a Tomcat7 user instance is running?

I started a Tomcat7 user instance with tomcat7-instance/bin/startup.sh, but how can I chek if that instance is running or not? Of course, an easier way than with ps | grep. I know that to check the ...
0
votes
0answers
28 views

Generate a use a Openssl certificate in Tomcat

I need to enable SSL on my Tomcat and Apache so I need to generate the (self-signed) certificate using Openssl tool end, about Tomcat, I need to import the certificate using keytool. I know that is ...
0
votes
1answer
125 views

AWS RDS Mysql with beanstalk Hibernate app: Character encoding issue

I'm running a webapp from amazon rds with tomcat 7 and spring, which uses hibernate as the persistence layer. The application and utf-8 encoding work properly on localhost, but for some reason when I ...
0
votes
1answer
123 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
137 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 ...
1
vote
1answer
68 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
141 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
32 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
251 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
83 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
2k 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
50 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
583 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
51 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 ...
1
vote
1answer
49 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
652 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
82 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 ...