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
11
votes
3 answers

javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

Am working on web Services... and am a beginner, Am trying to get Oracle Db connection in a service File and am getting below error: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context at…
Warrior
  • 3,184
  • 12
  • 44
  • 53
11
votes
2 answers

Tomcat 6, JMX and the dynamic port problem

after reading and trying a lot around, I have to ask if anyone has a solution for my problem. I am trying to set up some Tomcats (V6) behind a firewall. This is no big deal - but I want to monitor them via JMX. I read the TC docu and came across the…
Martin Röbert
  • 664
  • 8
  • 25
11
votes
1 answer

Tomcat, keep session when moving from HTTPS to HTTP

I have a Java application running on Tomcat 6.0.29, with Apache 2.2.3 in front. The login page uses HTTPS, while most pages use HTTP. If a user tries to access a page (HTTP) that is login protected, he gets redirected to the login page (HTTPS), logs…
rlovtang
  • 4,860
  • 2
  • 30
  • 30
11
votes
3 answers

Java: using endpoint to publish webservice to tomcat server

i am creating a simple SOAP web service. i am to ensure that it runs on a tomcat web service. im trying to implement this with JAX-WS (see code) my question is: does the Endpoint.publish use the tomcat server to host this or is it a mini glassfish…
Will
  • 1,622
  • 4
  • 25
  • 39
11
votes
9 answers

Error publishing to Tomcat v6.0 Server at localhost

I wave problem with Tomcat when I try to run a jsf page, I get next error: Details: Publishing the configuration... Error copying file to C:/Program Files/Apache Software Foundation/Tomcat6.0/backup\catalina.policy: C:\Program Files\Apache…
Andry
  • 171
  • 1
  • 1
  • 8
11
votes
1 answer

does maxPostSize apply to multipart/form-data file uploads

I have a webapp on a Tomcat server that allows files to be uploaded. There is a limit on the size of a file upload, and I'd like that limit to be enforced preemptively (ie, once you cross the limit, the file upload fails, rather than transferring…
BostonJohn
  • 2,631
  • 2
  • 26
  • 48
10
votes
4 answers

Tomcat6 and Java 7

In linux, is it possible to have a web application written using Java 7 be deployed on tomcat6? If so, what configuration needs to be modified to allow it to work? I have tried changing the JAVA_HOME variable in the tomcat6.conf file and restarting,…
Zero
  • 1,147
  • 1
  • 9
  • 13
10
votes
2 answers

Grails - No Logging In Tomcat

I cannot get grails log4j logging to work in Tomcat6. I previously thought the problem had to do with Production mode, but now I believe the issue is tomcat. I have a log4j configuration in my Config.groovy that correctly sets logging when I run…
skaz
  • 21,962
  • 20
  • 69
  • 98
10
votes
3 answers

Cannot create PoolableConnectionFactory (Access denied for user ''@'localhost'

I have been trying to set up a DatabaseConnectionPool for a web app for the last couple of days with no success. I have read the relevant sections of the Tomcat docs and a great deal around the subject and think I'm doing everything right, but…
Joe
  • 4,852
  • 10
  • 63
  • 82
10
votes
2 answers

Tomcat 6 in Windows 7

I am having problem with Tomcat 6.0 in Windows 7. I installed it to work with EasyEclipse Server Java and changed it's configuration to Manual. But now when I try to Configure Tomcat, I get "Access is denied Unable to open the service 'Tomcat6'".…
mona
  • 6,079
  • 12
  • 41
  • 46
10
votes
1 answer

NIO Connector in Tomcat

I'm trying to enable NIO Connector in Tomcat 6.0 by configuring server.xml file, but I'm getting Firefox can't establish a connection to the server at localhost:8081. in the browser whenever I type localhost:8081. This is how I've configured NIO…
Alvin
  • 647
  • 3
  • 9
  • 18
10
votes
4 answers

Tomcat stops responding to JK requests

I have a nasty issue with load-balanced Tomcat servers that are hanging up. Any help would be greatly appreciated. The system I'm running Tomcat 6.0.26 on HotSpot Server 14.3-b01 (Java 1.6.0_17-b04) on three servers sitting behind another server…
Bruno Reis
  • 37,201
  • 11
  • 119
  • 156
10
votes
3 answers

How can I integrate Tomcat6's catalina.out file with Logstash + ElasticSearch + Kibana?

I want to have a centralized logging server. I have created two Ubuntu 12.04 LTS servers based on this iso. After successfully and strictly following this tutorial steps, I have: One Logging Server with Logstash + ElasticSearch + Kibana. And one…
Mr_Thumb
  • 105
  • 1
  • 1
  • 7
10
votes
7 answers

Can I get Tomcat running as a service to dump heap?

I am attempting to have Tomcat, which is currently running as a service on a Windows 2003 box, dump heap on an OutOfMemoryError. (Tomcat is running Hudson, which is reporting a heap space problem at the tail end of my build. Running the build…
Laird Nelson
  • 15,321
  • 19
  • 73
  • 127
10
votes
3 answers

Tomcat Webapp on port 80

I have a webapp on my tomcat server like this: mydomain.com:8080/mywebapp Then I connect to my webapp, and it is working correctly, but what I want is to see my webapp like this: mydomain.com So I don't want only tomcat on port 80, I don't want to…
eLRuLL
  • 18,488
  • 9
  • 73
  • 99