Questions tagged [tomcat]

Use this tag for questions about Apache Tomcat (or simply Tomcat, formerly also Jakarta Tomcat) which is an open source Servlet Container developed by the Apache Software Foundation (ASF). Most questions should also include a tag specifying the operating system.

Apache Tomcat (or simply Tomcat, formerly also Jakarta Tomcat) is an open-source web server and servlet container developed by the Apache Software Foundation (ASF).

Apache Tomcat is an open-source software implementation of the , Java Server Pages (), and Java API for technologies. The Java Servlet, JSP, and Java API for WebSocket specifications are developed under the Java Community Process. Apache Tomcat is developed in an open and participatory environment and released under the Apache License version 2.

Resources

Documentation

Downloads

Books

43039 questions
113
votes
3 answers

apache to tomcat: mod_jk vs mod_proxy

What are the advantages and disadvantages of using mod_jk and mod_proxy for fronting a tomcat instance with apache? I've been using mod_jk in production for years but I've heard that it's "the old way" of fronting tomcat. Should I consider changing?…
cherouvim
  • 31,725
  • 15
  • 104
  • 153
112
votes
26 answers

Launching Spring application Address already in use

I have this error launching my spring application: java -jar target/gs-serving-web-content-0.1.0.jar . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | |…
Ajouve
  • 9,735
  • 26
  • 90
  • 137
111
votes
12 answers

"SetPropertiesRule" warning message when starting Tomcat from Eclipse

When I start Tomcat (6.0.18) from Eclipse (3.4), I receive this message (first in the log): WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server: (project name)' did not…
Das
  • 317
  • 2
  • 8
  • 14
103
votes
8 answers

Setting property 'source' to 'org.eclipse.jst.jee.server:JSFTut' did not find a matching property

I am getting following error, when I run the demo JSF application on the console [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:JSFTut' did not find a matching property.
user358352
103
votes
2 answers

Eclipse WTP vs sydeo, " serves modules without publishing "

I have the problem to find the performances of the plugin sysdeo by using the integrated plugin WTP of eclipse. To make the migration and thus the comparison, I installed both on separate projects within eclipse. I noticed a difference of…
Vsplit
  • 1,988
  • 3
  • 15
  • 18
101
votes
3 answers

How do I update a Tomcat webapp without restarting the entire service?

I'm new to Tomcat. We have a dev machine with about 5 apps running. Even though it's dev, it's used by our clients pretty heavily during testing. So say we need to make one small change on one class file. Right now, we have to shutdown Tomcat…
cbmeeks
  • 11,248
  • 22
  • 85
  • 136
100
votes
16 answers

Remote debugging Tomcat with Eclipse

I can't seem to debug the tomcat application through Eclipse. I've set CATALINA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n and then I run bin/catalina.sh, where I see output saying it's listening for dt_socket on…
victor
  • 6,688
  • 9
  • 44
  • 48
99
votes
8 answers

Max limit of MultipartFile in Spring Boot

Is there a maximum file size that spring boot can handle in a MultipartFile upload process. I know that I can set the maxFileSize in the property like multipart.maxFileSize=1Mb. So, like that can I allow a huge file to upload, like 50MB. The…
Ravindu
  • 2,408
  • 8
  • 30
  • 46
99
votes
1 answer

How to restart tomcat 6 in ubuntu

How can one restart and start Tomcat 6 on Ubuntu from the command line with a default installation?
Pritesh Mahajan
  • 4,974
  • 8
  • 39
  • 64
98
votes
11 answers

How to use Tomcat 8.5.x and TomEE 7.x with Eclipse?

I need to setup a Tomcat 8.5.x server version in Eclipse. When I try to create a server using Eclipse GUI, I get in Eclipse Luna as choice the latest version "Apache Tomcat v8.0". When I select it and I browse to my Tomcat 8.5.x server, I get this…
user5796595
98
votes
1 answer

Default session timeout for Apache Tomcat applications

What is the default session timeout for web applications deployed on Tomcat5.5? Is it browser specific? In my web application, default timeout is mentioned neither in web.xml nor in code.
Infotechie
  • 1,653
  • 6
  • 23
  • 35
97
votes
16 answers

Tomcat startup logs - SEVERE: Error filterStart how to get a stack trace?

When I start Tomcat I get the following error: Jun 10, 2010 5:17:25 PM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Jun 10, 2010 5:17:25 PM org.apache.catalina.core.StandardContext start SEVERE: Context…
benstpierre
  • 32,833
  • 51
  • 177
  • 288
96
votes
13 answers

How to create war files

What are the best practices of creating war files (using eclipse) to run on tomcat? tutorials, links, examples are highly appreciated.
ultraman
95
votes
6 answers

Deploying just HTML, CSS webpage to Tomcat

I am just getting started on developing a website. All I have at the moment is a HTML page supported by a couple of CSS stylesheets. Can I create a WAR file from the HTML and CSS pages? How do I deploy them on to a Tomcat server? Thanks.
Van de Graff
  • 5,043
  • 13
  • 39
  • 41
95
votes
19 answers

What is the default username and password in Tomcat?

I installed Netbeans and tryed to access the server's manager using: (id/pass)manager/manager, admin/admin, system/password... None of them worked.
m88
  • 1,419
  • 2
  • 12
  • 18