Questions tagged [tomcat7]

Version 7.x (June 2010) of the Apache Tomcat servlet container. Use only if your question is specifically related to features of this version.

Version 7.x (June 2010) of the Apache Tomcat servlet container.

Apache Tomcat is an open source servlet container developed by the Apache Software Foundation (ASF). It supports the 3.0, 2.2, 2.2, and 1.0 specifications1. Questions here should relate only to Tomcat Version 7.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.

Useful Links

5502 questions
57
votes
7 answers

Jenkins auto deploy tomcat 7

We're trying to deploy a war file with Jenkins, but nothing seems to happen. The project is built successfully, and we're using Jenkins deploy plugin. It is configured with the following options: Post steps are set to "run regardless of build…
whirlwin
  • 16,044
  • 17
  • 67
  • 98
57
votes
2 answers

How do I find the value of $CATALINA_HOME?

I have to copy Connnector/J JAR in $CATALINA_HOME/lib of Tomcat7 on Amazon EC2. How to find the full path of $CATALINA_HOME/lib on Amazon Linux in Amazon EC2?
Gaurav Agarwal
  • 18,754
  • 29
  • 105
  • 166
54
votes
8 answers

Eclipse 4.2 (Juno) 'Cannot create a server using the selected type' in Tomcat 7

I have installed: eclipse juno java-6-openjdk-i386 (selected as default JRE in Eclipse) java-7-openjdk-i386 When I try to add a new server Tomcat7, in Eclipse, I get this message 'Cannot create a server using the selected type' and I can not…
Joe
  • 7,749
  • 19
  • 60
  • 110
54
votes
19 answers

Tomcat 7 "SEVERE: A child container failed during start"

Basically, I've written a springMVC application (with a relatively shotgun my way first-timer approach with regards to Spring). The project works fine on Tomcat 6. My Tomcat server doesn't start and throws the following exception: Apr 29, 2012…
David
  • 19,577
  • 28
  • 108
  • 128
53
votes
10 answers

Tomcat 7.0.43 "INFO: Error parsing HTTP request header"

I use Tomcat 7.0.43 with a websocket application. My app works fine in Tomcat 7.0.42 but with 43 I get the following output when I try to access my server on websockets: Sep 16, 2013 3:08:34 AM org.apache.coyote.http11.AbstractHttp11Processor…
Michael
  • 32,527
  • 49
  • 210
  • 370
52
votes
8 answers

How do I use Apache tomcat 7 built in Host Manager gui?

Hi I have Apache Tomcat 7.0.5 on my Windows server, and i see that it has a built in Host Manager, but i can't seem to find any useful info on how to use it or set up a virtual Host with that GUI. The fields are Name: Aliases: App Base: AutoDeploy…
Myy
  • 18,107
  • 11
  • 37
  • 57
52
votes
10 answers

The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

I am using JDK 1.7, Apache Tomcat 7.0.23 and I have placed JSTL core library(1.2) and STANDARD jar in WEB_INF lib folder it is not giving me any warning but when I will try to run the code <%@ taglib uri="http://java.sun.com/jsp/jstl/core"…
Nishit Jain
  • 1,549
  • 8
  • 21
  • 33
52
votes
1 answer

How to Detect cause of 503 Service Temporarily Unavailable error and handle it?

i am getting the error 503 Service Temporarily Unavailable many times in my application and i want to detect why this error occurs, how ? if there's a log file or something like that, since i am not familiar with apache. second thing is that, is it…
Mahmoud Saleh
  • 33,303
  • 119
  • 337
  • 498
49
votes
14 answers

Could not load the Tomcat server configuration

I have installed apache tomcat7 using sudo apt get in ubuntu. I have added apache tomcat 7 to eclipse using Windows > Preferences > Server > Runtime Environment.But when I'm starting the server from server view by right clicking the shown Tomcat…
insanely_sin
  • 986
  • 1
  • 14
  • 22
47
votes
9 answers

Tomcat 7 and JSTL

I wrote a web application with Eclipse Tomcat and it works on my local Tomcat 7, when I tried to publish it online on a Tomcat 7, I had the following error: SEVERE: Servlet.service() for servlet [obliquid.servlet.Index] in context with path [/cp]…
stivlo
  • 83,644
  • 31
  • 142
  • 199
46
votes
3 answers

Tomcat support for HTTP/2.0?

Does anyone know what is the lowest version of Tomcat that supports HTTP/2.0? I've been looking everywhere on their site and I cannot find any details regarding this.
Asher Johnson
  • 751
  • 1
  • 7
  • 10
46
votes
7 answers

What could cause global Tomcat/JVM slowdown?

I'm experiencing a strange but severe problem running several (about 15) instances of a Java EE-ish web applications (Hibernate 4+Spring+Quartz+JSF+Facelets+Richfaces) on Tomcat 7/Java 7. The system runs just fine, but after a greatly variyng amount…
chammp
  • 822
  • 1
  • 10
  • 20
46
votes
2 answers

How to start Tomcat with output on console in Linux?

I know it's possible to start tomcat and then run tail -f catalina.out to view Tomcat output. But how to run tomcat and view output at once? Are there some options to run startup.sh with?
Igorock
  • 2,691
  • 6
  • 28
  • 39
44
votes
20 answers

Eclipse tomcat error: Document base does not exist or is not a readable directory

13-dic-2011 17.00.36 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:…
Claudio Pomo
  • 2,392
  • 7
  • 42
  • 71
44
votes
2 answers

How to run Tomcat 7 using Maven 2 Tomcat plugin?

I am using Maven 2 and I have an external Tomcat 7. I was wondering how to run Tomcat 7 from using Maven Tomcat plugin. And does Maven Tomcat plugin in Maven 3 runs the Tomcat 7 by default. Thanks.
fresh_dev
  • 6,694
  • 23
  • 67
  • 95