Questions tagged [tomcat6]

Version 6.x (December 2006) of the Apache Tomcat servlet container. Use only if your question is specifically related to features of this version.

Version 6.x (December 2006) of the Apache Tomcat servlet container.

Apache Tomcat is one of the most popular open source servlet containers developed by the Apache Software Foundation (ASF). Questions here should relate to Tomcat Version 6.x.

Use only if your question is specifically related to features of this version. Just because you are using this version, doesn't mean you need this tag. Use in addition to or instead of this tag.

See for more information.

1866 questions
161
votes
14 answers

How to change the port of Tomcat from 8080 to 80?

I want to execute my web app as http://localhost.
Lokesh Sah
  • 2,283
  • 5
  • 23
  • 33
138
votes
13 answers

How to change the ROOT application?

I'm trying to change the default application of a Tomcat 6 webserver to a different application than "ROOT" (inside webapps folder). What is the best way to do this?
Jacques
126
votes
3 answers

CATALINA_OPTS vs JAVA_OPTS - What is the difference?

I was trying to find out the difference between Apache Tomcat variables - CATALINA_OPTS and JAVA_OPTS in SO and surprised to see that there is no question/answer posted here yet. So I thought of sharing it here (with answer) after finding out the…
Gnanam
  • 10,613
  • 19
  • 54
  • 72
94
votes
15 answers

How to solve could not create the virtual machine error of Java Virtual Machine Launcher?

I am working on java wicket framework and Apache tomcat. When I tried to start tomcat, it shows Java Virtual Machine Launcher pop window "Could not create the Java Virtual Machine". After clicking on "OK" button on Pop window, it shows the error on…
Dnyani
  • 1,133
  • 3
  • 11
  • 15
90
votes
5 answers

Increase permgen space

I am working with tomcat 6.0, and while I am indexing (not while i am starting tomcat), I have a permgen space error. How could I increase that space?? Thanks
Blanca
  • 957
  • 2
  • 8
  • 10
88
votes
3 answers

How to set level logging to DEBUG in Tomcat?

I would like to set level logging to DEBUG in tomcat but in console nevertheless only INFO and WARN output. Could anybody tell me what's wrong? My C:\tomcat\logging.properties: # Licensed to the Apache Software Foundation (ASF) under one or more #…
gennad
  • 5,335
  • 12
  • 44
  • 47
73
votes
5 answers

Is there a practical HTTP Header length limit?

I have a web application that adds contextual information to XmlHttpRequest objects using the setRequestHeader API. I am using a custom header name (e.g. X-Foo) and a JSON structured value. It isn't part of the URL QueryString or POST body because…
Kevin Hakanson
  • 41,386
  • 23
  • 126
  • 155
65
votes
5 answers

Proxy Error 502 : The proxy server received an invalid response from an upstream server

We are building a mass mailing sending application in Java. Mail is being send by third party SMTP. After sending 400-500 mails tomcat6 service get stopped. Below is the error. Proxy Error The proxy server received an invalid response from…
Ranjeet Ranjan
  • 921
  • 2
  • 10
  • 21
64
votes
5 answers

How to run different apps on single Tomcat instance behind different ports?

Currently I have 2 web applications app1 and app2 running on Tomcat 6: app1 on http://localhost:8080/app1 app2 on http://localhost:8080/app2 I want to configure Tomcat so that they run in root context behind separate ports: app1 on…
DeeStackOverflow
  • 2,741
  • 4
  • 23
  • 23
61
votes
4 answers

Profile Tomcat Application With VisualVM

I would like to profile an application that runs on Tomcat with the VisualVM tool. Unfortunately, when I tell VisualVM to profile Tomcat, Tomcat prints out a couple of messages indicating it is connecting to a profile tool and then simply…
rwsimmo
  • 1,657
  • 1
  • 13
  • 10
58
votes
6 answers

How to embed Tomcat 6?

I'm currently running my webapps on Tomcat 6 in production, and would like to evaluate running Tomcat in embedded mode. Is there a good tutorial or other resource besides what's in the api documentation?
otto.poellath
  • 4,129
  • 6
  • 45
  • 60
57
votes
17 answers

Tomcat 6 server creation using eclipse IDE on ubuntu

I'm having a problem running tomcat 6 with eclipse 3 in ubuntu. I installed tomcat 6 on my machine and when I tested it using http://localhost:8080, it worked fine. But whenever i want to create a server in eclipse, i select Tomcat 6 , i get the…
Oussama
56
votes
7 answers

Eclipse - How can I change a 'Project Facet' from Tomcat 6 to Tomcat 5.5?

(Eclipse 3.4, Ganymede) I have an existing Dynamic Web Application project in Eclipse. When I created the project, I specified 'Default configuration for Apache Tomcat v6' under the 'Configuration' drop down. It's a month or 2 down the line, and I…
user13360
  • 563
  • 1
  • 4
  • 5
54
votes
11 answers

There are No resources that can be added or removed from the server

I have created a Dynamic web project, but I am not able to deploy it into Apache Tomcat Server 6.0. I am getting this error when I try to deploy my project: There are No resources that can be added or removed from the server.
Thiru
  • 759
  • 2
  • 9
  • 19
52
votes
10 answers

HTTPS login with Spring Security redirects to HTTP

I have a Spring web app, secured with Spring Security, running on EC2. In front of the EC2 instance is an Elastic Load Balancer with an SSL cert (https terminates at the load balancer ie. port 443 -> port 80), so from Tomcat's perspective, inbound…
Thody
  • 1,960
  • 3
  • 23
  • 31
1
2 3
99 100