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
4answers
634 views

Apache + Tomcat: Which one should handle SSL? IP-based proxy forwarding?

We currently have a Tomcat application running with SSL on port 443. Right now we have an apache server that accepts http requests on port 80 and redirects to the Tomcat instance: <VirtualHost ...
0
votes
2answers
83 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 ...
1
vote
0answers
77 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
3answers
260 views

Why are Full GCs not running on my gcInterval I set?

ColdFusion 10 Update 10 Windows Server 2008 R2 Java 1.7.0_21 I am trying to figure Full GCs to run every 10 minutes. I have used the gcInterval JVM arg in the past on earlier versions of ...
-1
votes
1answer
740 views

Tomcat Failed to start

I have installed Tomcat on windows XP through the Tomcat installer. I have installed JDK 1.6. But when I start Tomacat from services.msi on XP, I get the following error: ...
2
votes
1answer
80 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 ...
1
vote
1answer
657 views

How to use JDBC Connection Pooling without JNDI DataSource? (in Apache Tomcat)

I have an Apache Tomcat 7 server. I have a quite complex Java Servlet application running on it which needs some MySQL queries per POST. Thus I need a MySQL Database connection to do the query. ...
0
votes
1answer
38 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 ...
4
votes
2answers
2k views

Tomcat 6 IP restrictions

I need to protect a certain folder within a web application of mine from access from outside of an defined IP range. With O'Reilly's Tomcat Tips I figured that: <Context ...
4
votes
2answers
2k views

PermGen error in Java, while memory usage seems low

Java application dies from time to time with PermGen space error, but when I look at the memory usage it seems low from what I can tell. It is a Tomcat application, plus there is SOLR server running ...
0
votes
0answers
17 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 ...
3
votes
1answer
2k views

How do I use non-plaintext passwords for Tomcat users?

On Ubuntu 10.04.3 LTS, after installing Tomcat 6, the way to add a manager / admin account is to add a record like this to /etc/tomcat6/tomcat-users.xml: <role rolename="manager"/> <role ...
-2
votes
1answer
80 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 ...
0
votes
0answers
65 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 ...
3
votes
1answer
252 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 ...
2
votes
2answers
531 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 ...
1
vote
1answer
134 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
1answer
38 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 ...
0
votes
2answers
58 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. ...
4
votes
2answers
1k views

Any clear benefit in having multiple Tomcat instances behind an Apache server?

We have 5 physical servers that have a hardware load balancer infront of them, each has an Apache server that uses mod_jk to connect to three (per server) Tomcat instances, all have the exact same web ...
0
votes
1answer
59 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
14 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 ...
1
vote
1answer
145 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
3answers
188 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: ...
0
votes
0answers
15 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 ...
0
votes
0answers
22 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
0answers
90 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
4answers
489 views

What are some ways to store Tomcat 6 stdout and stderr logs to external server?

Due to compliance issues, there is a need to store all tomcat logs for at least 6 months on a central server. Is there a way to send the logs to rsyslog server or any other mechanism that will ...
2
votes
1answer
2k views

Deploying to Tomcat root using Jenkins

Is there any way to deploy my Java application .war file at root on Tomcat 7 server, using the Deploy plugin for Jenkins? Currently the app gets deployed at http://server/foo/ if it comes in a file ...
0
votes
2answers
1k views

Basic auth for a Tomcat app (JIRA) with Nginx as reverse proxy

I have several subdomains running the Atlassian Tomcat apps (jira.example.com, confluence.example.com, stash.example.com) and I would want to know if it is possible to password protect all of them ...
-1
votes
1answer
39 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
2answers
335 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 ...
-1
votes
1answer
834 views

Connection timed out exception, why?

I am developing an application which uses embedded tomcat server 7, and deploys a web application on embedded server. My application accesses the embedded webapp through Rest APIs, but my clients ...
0
votes
0answers
155 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
47 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 ...
0
votes
1answer
21 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 ...
0
votes
3answers
2k views

Unable to start Tomcat6 with HTTPS enabled

I have the following server.xml settings for my tomcat6 server <!-- COMMENTED <Connector port="8080" maxThreads="150" enableLookups="false" acceptCount="100" ...
0
votes
0answers
32 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
35 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
204 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 ...
1
vote
2answers
616 views

Tomcat 6 virtual host + Apache 2 proxy

I have a problem with my Apache and Tomcat configuration. I have an Apache instance as a proxy to Tomcat. The Tomcat serves two virtual hosts. The problem occurs when one Apache virtual points to ...
0
votes
0answers
21 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
0answers
64 views

AWS RDS Mysql with benstalk 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
44 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
1answer
53 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
66 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
2answers
86 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
2answers
201 views

Run/Execute permissions of script in Tomcat WAR file

I have a script inside the WEB-INF folder that the Java runs. When I deploy the WAR, there are no execute permissions (644 instead of 755). How do I set the permissions of files inside the WAR?
0
votes
1answer
23 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
386 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 ...