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
0answers
30 views

Tomcat : Multiple domain names redirect to one domain

I have a Webapp running on Apache tomcat on Debain wheezy, using a single domain name currently. The webapp uses SSL certification too. Now, the company which I am working for, bought similar domain ...
2
votes
2answers
123 views

How to restrict acess to a context on reverse proxied tomcat context?

I have a tomcat application running with an apache reverse proxy. I'm trying to restrict access to the manager and host-manager contexts from localhost only. So I uncommented the following line on ...
3
votes
0answers
58 views

Tomcap APR native libraries

I have a Solaris 10 box on which I have successfully built the tomcat native libraries from source which include apr-1.5.2.tar.gz, openssl-1.0.2a.tar.gz, and tomcat-native-1.1.33-src.tar.gz. I can ...
0
votes
0answers
66 views

How to configure Easyrtc Application in Apache Tomcat?

I have developed one easyrtc application . Easyrtc(Node Server) run on 9090 port and apache tomcat run on 8443 port. I have deployed this application on apache tomcat server using ...
0
votes
1answer
71 views

Unable to copy war file from local directory to webapps of tomcat stack in Google Cloud because of permissions

I am doing one android application (client-Server type). Up to now ,I installed tomcat in my system itself . So now server is my computer and client is my phone Now I want to deploy my server ...
0
votes
0answers
21 views

Tomcat 7 individual deploy logs

I (as a sysadmin) have setup tomcat 7 to autodeploy .war files for users which works well. However, if there are deployment errors, they are logged to catalina.out, which is not readable by the users. ...
0
votes
0answers
33 views

Apache + Tomcat, setting content type when serving PDF via servlet

We have a servlet that creates a PDF for download. The content is served via an xhtml file. When accessing this URL via tomcat only, content is served as expected -- the PDF renders. However when ...
0
votes
2answers
80 views

Tuning Tomcat java app with Apache reverse proxy and Postgresql

Looks like my apache reverse proxy may be acting as the bottleneck and bogging down the number of requests users can make. I run Apache and Tomcat on server1, which has 96 gb RAM, rhel5 x64, 24 ...
1
vote
2answers
378 views

Edit “server.xml” in Tomcat without restarting server?

I edited the "server.xml" file in Tomcat 8’s conf folder. I added a new Host tag for a new web site. Must I restart the Tomcat server? Can I get Tomcat to parse and apply the newly edited ...
0
votes
0answers
151 views

Apache web server response header expires

I've got an app that runs on a tomcat web server, and I use mod-jk on my apache web server side. I think I've managed to configure everything to work seamlessly, I ran into issues when I wanted to ...
0
votes
0answers
60 views

Cannot access apache2 and tomcat running on my ec2-instance

My ec2 ubuntu instance has apache2 working on port 80 and tomcat working on 8080. I'm not able to access them from my browser, i checked the access.log for apache2 it doesn't show the request coming ...
0
votes
0answers
23 views

Unable to understand site structure in server

I am working with an Apache load balancer and two tomcat servers. When i was adding a new site.conf to /etc/apache2/sites-available I noticed some discrepancies in the server name and server alias of ...
1
vote
2answers
54 views

How to separate solr/home and data/dir in Catalina/localhost XML file?

I've the following configuration file within conf/Catalina/localhost in Tomcat 7: <Context docBase="webapps/solr.war" debug="0" crossContext="true" > <Environment name="solr/home" ...
0
votes
1answer
37 views

How to override default `solr.home` in XML files under `Catalina/localhost`?

I'm trying to configure two instances of Solr on the same host and I'd like to override solr.home for each instance. I've created two files under Catalina/localhost/ as suggested in Solr Tomcat wiki: ...
0
votes
1answer
110 views

How much memory must be left to the OS with a java server application? [closed]

Suppose I am running tomcat with -Xms256m -Xmx1024m, but would like to increase my heap usage. What is the largest safe heap size I can allocate? For the purpose of this question, please assume, ...
2
votes
1answer
700 views

WARNING: None of the ciphers specified are supported by the SSL engine

I have a working web service running through Apache Tomcat 7 with the following connector element in server.xml: <Connector port="443" protocol="org.apache.coyote.http11.Http11Protocol" ...
0
votes
0answers
23 views

Reset Tomcat server.xml, web.xml and tomcat-user.xml to default values on server stop

Please don't ask why I was told to do this but I when Tomcat is executed these files will be dynamically updated and Tomcat will be restarted in code. When the Tomcat server is finally stopped, in ...
1
vote
3answers
30 views

Apache Tomcat Administration Page

Is having an exposed Apache Tomcat Administration page a bad idea? Are there any other security risks associated with it other than the possibility of brute forcing it?
0
votes
0answers
234 views

Tomcat hangs at “Deploying web application directory…”

I am trying to setup Tomcat application server in an Ubuntu server. When I am trying to start tomcat server it hangs at deployment stage. If I try http://localhost:8080, its taking infinity time to ...
2
votes
1answer
57 views

Tomcat multiple requests handling

I have my API running on a tomcat server and would like to know how multiple incoming requests are handled i.e., when the server receives multiple requests at the same time are they processed in ...
2
votes
0answers
84 views

Configure AJP Connector for enabling SSL in Eclipse Tomcat

I am newbie to server side and would like to how to configure AJP connector in eclipse's tomcat in linux environment to enable SSL. I want to enable SSL in tomcat without using keystore. I created ...
1
vote
0answers
52 views

Distinguishing called URL for response rewriting for tomcat app via IIS ARR reverse proxy

Hi to the community at Serverfault! I have an issue while trying to configure my IIS to open the respective manager APP on two Tomcat Servers on the same machine. When I call the sites directly via ...
0
votes
1answer
462 views

“Unable to stat /usr/lib/jvm/java-7-oracle/bin/java” when trying to run Tomcat7 with Java8

I'm trying to upgrade my servers to Java8 from Java7 so that they will run my webapps under Java8. On one of my machines I'm getting the following error and I'm not sure what is still referring to ...
1
vote
0answers
16 views

Php load balancing questions

I have a custom written ecommerce app that runs on it's own dedicated server. All of it's constants (such as database connections, file paths etc..) are defined in a single _constants.php file. The ...
0
votes
0answers
38 views

Tomcat and domain and SSL

I have tomcat 8.x running on port 8080 (for http) and 8082 (https) on Windows Server 2008 r2. I need to add a legitimate signed certificate instead of a self signed one. I acquired a certificate for ...
0
votes
1answer
74 views

Tomcat7 ignoring JAVA_HOME

I have been trying to start tomcat7 server without success. I am using the Raspbian distro in a RaspberryPI. When I try to start tomcat: $ sudo service tomcat7 start [FAIL] no JDK found - please set ...
0
votes
1answer
166 views

ELB Https with HTTP on backend using Tomcat without nginx or haproxy

I want to setup ELB to terminate SSL at load balancer and communicate with backend instances over HTTP. I have uploaded valid certificate on ELB. When I set up following configuration ELB - HTTPS ...
0
votes
0answers
96 views

Unable to deploy war file on tomcat cluster node2

I have deployed a war file on tomcat cluster based node1 and successfully got deployed but it only replicates 0kb war file on node2 and not working. Attaching logs, please provide your valuable ...
0
votes
0answers
55 views

Trouble connecting to MySQL from Tomcat, Connection refused: connect

I've been try to connect my tomcat server to MySQL via an eclipse project. I have the code working on a colleaguemachine but not on my own, so I believe it is a configuration problem. I have a MySQL ...
0
votes
1answer
85 views

unable to access Apache Tomcat server on WIndows Server 2003 externally

I am running Apache Tomcat 8.0.21 on Windows Server 2003. I have set the connector port to 3001. I am able to access Apache Tomcat server sitting on the machine where server is installed through ...
0
votes
0answers
54 views

Tomcat throws java.nio.charset.IllegalCharsetNameException on attempted start

I'm installing the Dspace repository system on a freshly initated BlueHost VPN. Dspace is served with Tomcat, so as part of the installation, I have to install and start Tomcat. First order of ...
0
votes
3answers
127 views

How can I install multiple Atlassian applications in a single server?

Ok, this is a two-part question. I got an unmanaged VPS with CentOS from a hosting company in order to install several Atlassian tools, however, I ran into the problem that when starting a second ...
2
votes
1answer
72 views

How to find the JVM version that ran Apache Tomcat from its logs?

I have a Tomcat log directory with very many log files in it. I want to determine which JVM was running this Tomcat. I could not find anything in the logs I lessed and I do not even know if it's ...
0
votes
0answers
108 views

Memory Leak in Solr cloud 4.8.1 and Lucene

I have a solr cloud instance version 4.8.1 with 8 nodes, 4 shards and facing memory leak on the JVMs here are the details of the instance. 8 nodes, 4 shards(2 nodes per shard) runs on Tomcat ...
0
votes
1answer
54 views

Overriding parts of a webapp's web.xml in Tomcat (eg manager application max file upload size)

I am running the Tomcat manager application via a Debian package (tomcat8-admin), which deploys the webapp from /usr/share/tomcat8-admin/manager. We ran into a problem hitting the maximum upload size ...
0
votes
0answers
100 views

Running Apache ANT as Tomcat user when installing Shibboleth

I'm trying to install Shibboleth as Tomcat user, but when I run sudo -utomcat JAVA_HOME=/opt/jdk7 ./install.sh it gives me and a error: Error: Could not find or load main class ...
-1
votes
1answer
294 views

How to set Tomcat 8 to recompile JSP on page hit for development server

I have a developement server that was on Tomcat 6. I just installed Tomcat 8, and noticed that it no longer recompiles JSPs on page hit. What do I have to change in server.xml to get it to recompile ...
0
votes
1answer
167 views

No response from a remote linux server on specified ports

I have a remote CentOS 6.5 server that is running a tomcat 8 web server (AKA servlet) on port 54321 and I can't access it from my computer, although I'm establishing a successful SSH connection ...
-2
votes
1answer
60 views

Assign IP address to Apache Tomcat server

I installed an Apache Tomcat 8.20 Server. When I pinged my-ip-address:8080 in the browser, I see the Tomcat setup page. However, I'm having trouble assigning an IP address given by my IT ...
0
votes
1answer
136 views

Nginx + Tomcat virtual hosts

I need to configure Nginx as a reverse proxy for Tomcat. The problem is when I try to access the web application through a subdomain (myapp.domain.com), in this case is displayed Tomcat webapps root, ...
0
votes
1answer
222 views

Tomcat CPU and GC going crazy [closed]

Having some major issues with our Tomcat 7 installation. It used to run fine for over a year, but now the CPU is mainly at 400% - 700% (8 core machine) and in the logs I see tones of these: ...
2
votes
1answer
137 views

What's correct catalina_base path for Tomcat installed from the package?

I've the following manifest to configure Tomcat to use 8983 port instead: include java class { 'tomcat': install_from_source => false } tomcat::instance {'default': package_name => 'tomcat7'} ...
-2
votes
1answer
38 views

Tomcat7 pointing to a symbolic link WAR [closed]

I have Tomcat7 running on a Linux server. Tomcat is pointing to a symbolic link WAR for my application. The link is pointing to the actual WAR. I am looking to upgrade the app. What I have done is ...
0
votes
0answers
125 views

PNG images are truncated and served intermittently from Apache Tomcat 8.0.15

Problem: PNG images are served intermittently from Apache Tomcat 8.0.15 in IE8 Platform: Windows Server 2008 Description: I have recently migrated from Tomcat 7 to Tomcat 8. Everything is working ...
-1
votes
2answers
115 views

How to install Solr 4.x on Tomcat via Puppet?

So far I've been using the following recipe for installing Solr 3.x on Tomcat 6: package { 'openjdk-6-jdk' : ensure => installed, } package { 'solr-tomcat' : ensure => installed, } exec { ...
0
votes
0answers
103 views

nginx in front of tomcat : How to make the proxy pass work without the trailling slash / at the end

The problem I got nginx in front of tomcat like i said in the title. They are on two different servers . I need to make the proxy_pass work without the slash beause my app need to receive a request ...
0
votes
0answers
129 views

Combined Windows and Anonymous authentication in IIS combined with Tomcat ISAPI filter

I have Apache Tomcat (version 7.0) running with an AJP-connector. I have configured the IIS (version 8.5) with an ISAPI-filter to forward all the calls to Tomcat's AJP and have enabled Windows ...
-2
votes
2answers
56 views

Creating a self signed certificate for demonstration purposes on Centos 7 server

I have setup my default tomcat website (tomcat 8.0.3) on a server inside my company LAN. From my work computer if I try to access the website by typing it into google chrome it is not working. The IP ...
0
votes
1answer
386 views

Not able to access Tomcat webserver from another machine in the LAN

I have setup the basic tomcat website (tomcat 8.0.3) on a server inside my company LAN. From my work computer if I try to access the website by typing it into google chrome it is not working. The IP ...
0
votes
0answers
115 views

virtualhost don't redirect to tomcat apache 2.4

I'm trying to redirect a specific domain to a application that runs on a tomcat server. My apache (2.4) runs on Ubuntu Server 14.04 and I really tried every answer here on stackoverflow. Most of them ...