Questions tagged [tomcat6]

Open source web server developed by the Apache Software Foundation

Tomcat 6, an open source web server developed by the Apache Software Foundation, was first released in 2006.

Version 6.0 implements the Servlet 2.5 and JavaServer Pages 2.1 specifications from the Java Community Process.

See also:

283 questions
38
votes
7 answers

How does one get tomcat to bind to ipv4 address?

I recently installed tomcat via an installation script from the apache solr typo3 community and spent the last 3 days trying to figure out why it won't work until by chance I noticed that when I queried the process listening on the port via "lsof…
Dark Star1
  • 1,355
  • 6
  • 21
  • 37
32
votes
6 answers

Where are my Tomcat Logs?

I installed Tomcat6 on a Ubuntu 9.04 server using apt-get install tomcat6. I uploaded a WAR using the manager interface and tried to start the application but get a pretty generic error on the Web interface saying it couldn't be started. I am trying…
gav
  • 473
  • 2
  • 7
  • 17
26
votes
1 answer

How to configure Tomcat to only listen to 127.0.0.1?

The environment is Ubuntu 10.04.1 LTS running Tomcat 6 and Apache 2.2 from the repos. Apache is configured to proxy requests to Tomcat, so I really want to turn off Tomcat listening to requests on external IP addresses. I found out how to change the…
Jacob
  • 781
  • 1
  • 6
  • 10
19
votes
3 answers

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:
John Whitlock
  • 1,037
  • 2
  • 9
  • 14
17
votes
6 answers

Tons of TCP connections in TIME_WAIT state on windows 2008 - running on amazon AWS

OS: Windows Server 2008, SP2 (running on EC2 Amazon). Running web app using Apache httpd & tomcat server 6.02 and Web server has keep-alive settings. There are around 69,250 (http port 80) + 15000 (other than port 80) TCP connections in TIME_WAIT…
Ravi Reddy
13
votes
3 answers

Tomcat 7 trailing slash issue with webapps

Recently I upgraded my tomcat server from 6.x version to the most recent 7.x version. I came up with little trouble, hoping to get help. I have an application calls MyApp On tomcat6, when I went to http://www.example.com/MyApp/page/ I normally would…
Avihoo Mamka
12
votes
1 answer

How to start tomcat in remote debug mode under Ubuntu 10?

I'm getting crazy to set up Tomcat in remote debug mode under ubuntu 10. Basically I added this to /etc/init.d/tomcat6 (at the beginning): JAVA_OPTS="-Djava.awt.headless=true -Xmx256M -Xdebug…
gotch4
  • 275
  • 1
  • 3
  • 8
9
votes
5 answers

Tomcat 6.0 service does not start: java/lang/NoClassDefFoundError

I installed Tomcat on my Windows server but I can't get it to start. I start the service and I see the progress bar, but it fails. I installed the Java Runtime Environment Version 6 and created JRE_HOME Environment variable. (C:\Program…
James Lawruk
  • 617
  • 2
  • 9
  • 18
8
votes
2 answers

How to access a simple file or folder from Tomcat webapps folder

I want to be able to access a folder from my tomcat webapps folder so that I can give someone a URL like: http://localhost:8080/myFolder/myFile.f And in a web browser if they point to this they should start downloading the file. But in reality I get…
Ankur
  • 2,369
  • 7
  • 22
  • 24
8
votes
3 answers

Forwarding apache requests (port 80) to Tomcat (port 8080)?

I want to run a Tomcat application through a regular website URL, such as www.xyz.com. I would like the root of this domain to act as the base directory for the web application, so each request to www.xyz.com/a/b/c becomes…
Stefan Kendall
  • 1,069
  • 3
  • 17
  • 33
7
votes
1 answer

Apache mod_proxy: Multiple virtual hosts disable each other

I have an Ubuntu 12.04 server, which had Redmine already installed on a stand-alone apache (everything under /opt/redmine). I wanted to install an instance of Jenkins on the same system, without modifying the existing set-up too much. I want the two…
Max Hohenegger
  • 171
  • 1
  • 1
  • 4
7
votes
3 answers

http in the Location-header when the original request was made over https

I am currently implementing https on our production environment, but I am scratching my head over a little thing here. SSL is terminated in the load balancer and the flow in our stack is basically like this: Production: Browser <- https -> Load…
pkhamre
  • 5,900
  • 3
  • 15
  • 27
7
votes
2 answers

How can I determine the optimal size of the maxThreads of my NIO/APR Connector for Tomcat?

I am using NIO/APR Connector for Tomcat7. E.g.
confile
  • 183
  • 1
  • 2
  • 8
6
votes
4 answers

tomcat6 on CentOS 6: cannot stop/restart service

I have this problem with stopping and starting tomcat6 (package from the repos). I've seen with several CentOS 6 and RHEL 6 boxes. The symptoms are that when I want to restart or stop tomcat6 it just fails. This seems to be only happening after it…
aairey
  • 61
  • 1
  • 1
  • 2
6
votes
1 answer

How to reduce the memory used by Tomcat?

I bought a virtual server with 1gb of memory to run java web site application. I have installed Tomcat 6.0.33 . Each time i run tomcat, it s taking around 450 mb of memory. I tried everything to reduce that, i set up the CATALINA_OPS as export…
stunaz
  • 161
  • 1
  • 1
  • 3
1
2 3
18 19