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
17 views

How important is it to protect internal Tomcats from the likes of POODLE, FREAK, etc.?

So we have a number of internal Tomcat servers for various applications. Since these are not externally accessible how important is it to protect these from vulnerabilities like POODLE, FREAK, etc.? I ...
1
vote
1answer
25 views

How do I run TomEE as a service on RHEL6?

cat /etc/passwd (last line): tomee:x:990:987::/home/tomee:/bin/false I need to make an init.d script to run Tomcat EE like service tomee start. So I have 2 problems: How I can execute command ...
1
vote
0answers
41 views

Nginx: strip cookie from cached content

Trying to replace Apache by Nginx as a web proxy in front of some Tomcat servers, dealing with Set-Cookie JSESSIONID is proving to be challenging. Our Tomcat content is served with Cache-Control and ...
0
votes
0answers
3 views

I need to change the URL of Tomcat Server because I want access it from other devices

Tomcat as URL uses localhost:8080. I want that URL be something like: 'www.movieuniverse..' in order to have a simple access to it without insert an address. I would want this access be possible to ...
1
vote
0answers
29 views

How to start tomcat with faketime within a docker container?

I use docker to deploy a Java web application in tomcat. For testing purposes, I want to force the system date to a specific value. With Docker it is not possible to change the container date without ...
0
votes
4answers
58 views

What exactly is going on when I go to localhost:8080 in my web browser? (Apache Tomcat)

I've spent my career doing all local application programming (C++ applications and whatnot). I'm trying to dig my feet into the web world now, however. I'm using Eclipse (Mars) and Apache Tomcat ...
1
vote
1answer
20 views

Access static files on Tomcat directory using VirtualHost

I am running a Java webservice (JAX-WS) on Tomcat 8 from my AWS EC2 Linux instance, and I have a subdomain pointing to the service, so that I can call the service with URL ...
1
vote
1answer
8 views

why CATALINA_OPTS arguments shows up in java process on running tomcat even though its an environment variable

I run tomcat process by this command in python : os.execve(cmd, [cmd, "run"], env) The env variable sets CATALINA_OPTS = -server -Xms512m -Xmx512m -Xss512k Now when i run the script following java ...
0
votes
1answer
10 views

XSS Vulnerability with PCI RapidComply

I have a website hosted on an Apache Tomcat 7 server that uses the Authorize.net gateway and merchant services to handle payment. I recently ran a required PCI Compliance test against my website, and ...
0
votes
1answer
11 views

Will tomcat connect to the port it is configured to as soon as it started?

I'm a newbie in this area. I want to know if I can listen to port 80 which tomcat is configured with as soon as the tomcat service has started. No applications have been deployed to it yet.
0
votes
1answer
30 views

Tomcat 8 installation

I am installing tomcat 8 to unbuntu 14.04 and have been following this tutorial: How to install Apache Tomcat 8 on Ubuntu 14.04 I'm at the stage of installing an upstart script in ...
0
votes
0answers
36 views

Memory issue - Tomcat

I'm having difficulties uploading new sites to my server due to memory. Is this due to size or a memory leak. The problem started when i was adding a new site to our tomcat server. I restarted the ...
1
vote
1answer
19 views

Set VirtualHost for Tomcat 8 webservice on AWS EC2

In addition to the default Apache on AWS EC2 Linux I have installed Tomcat 8 and deployed a webservice on it. The current URL (which works) is http://example.com:8080/MyService/api/generatePath I ...
0
votes
0answers
58 views

Mapping tomcat web application to https-domain subdirectory and subdomain using apache configuration

I have Apache server and Tomcat running on my Debian home server. Now I would like to reach my web application (xwiki) under [HTTPS]myhomeserver/xwiki and [HTTPS]xwiki.myhomeserver, but right now I ...
0
votes
0answers
20 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 ...
-1
votes
0answers
66 views

Start pentaho on UBUNTU server

I'm trying to start the pentaho on my digitalocean ubuntu server. But after installed and executed the command start-pentaho.sh, this messages are shown: DEBUG: Using JAVA_HOME DEBUG: ...
2
votes
2answers
51 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 ...
2
votes
0answers
22 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
34 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
29 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
10 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
17 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
52 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
106 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
88 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
53 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
22 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
45 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
23 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
75 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
298 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
13 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
29 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
95 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
39 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
58 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
25 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
225 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
14 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
36 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
43 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
97 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
57 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
48 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
58 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
33 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
75 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
51 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
72 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
37 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 ...