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.
tomcat
16,861
questions with no upvoted or accepted answers
13
votes
1
answer
1k
views
Use netbeans to deploy gradle war into Tomcat
I am looking at NetBeans to determine if I want to use it for my ide. My project is a simple Spring-based war build using Gradle. My target app server is Tomcat 8.
I was able to import my Gradle ...
10
votes
1
answer
530
views
Lucee randomly generates new sessions when using JQuery’s load() method
I have a web page that you log into which then creates a session variable that’s checked on all subsequent page accesses and if it doesn’t exist or doesn’t match whats recorded against the session ID ...
10
votes
0
answers
2k
views
Apache Tomcat wss websocket error during refresh
I'm noticing the following web socket error (https & wss) when refreshing our webpage. However, the same issue is not noticed when we run with regular 'ws'(http). With wss, the socket seems to be ...
10
votes
1
answer
926
views
Run local Apache Web Server + Tomcat as part of Gradle Build
Our current environment has Tomcat containers sitting behind an Apache Web Server. Basically the web server has ProxyPass rules that we use to decide which Tomcat instance to route to based on the ...
10
votes
1
answer
439
views
Remote logical username in Tomcat Access Log Valve pattern
What is the point of having a constant value printed in Tomcat access log files with a special code for it? The Access Log Valve doc says:
%l - Remote logical username from identd (always returns '-...
10
votes
1
answer
2k
views
intermittent ClassNotFoundException for JSP using eclipse
Running Eclipse Indigo, Tomcat 7 on Windows - running the web application on the ROOT context with eclipse wtp plugin I am getting this intermittent problem where eclipse cannot find the compiled JSP. ...
10
votes
1
answer
1k
views
Calling method with null parameters in EL ends up in 0 being passed instead of null
I have a POJO:
public class Foo {
public String getValue(Integer arg0, BigDecimal arg1) {...}
}
I put it as model-parameter from Spring MVC into JSP, and try to use it:
<c:set var="ans" ...
9
votes
0
answers
3k
views
Spring-Boot: How to compress Tomcat Access.Log?
My access.log files are HUGE!!!
-rw-r--r-- 1 app dev 745M Sep 24 00:00 access_log.2015-09-23.log
-rw-r--r-- 1 app dev 772M Sep 25 00:00 access_log.2015-09-24.log
-rw-r--r-- 1 app dev 527M Sep 25 17:...
9
votes
1
answer
871
views
Intermittent 102 Error (ERR_CONNECTION_REFUSED) when connecting to JIRA
For the last few months we have suffered from intermittent 102 errors when trying to connect to our internal server hosting JIRA and Stash over port 8080 and 7990 respectively.
I'm not familiar with ...
9
votes
1
answer
1k
views
Tomcat not fetching the correct jar
I'm developing a web project using Eclipse Juno, Tomcat 7 and Maven 3 and have run into a strange problem.
I have a separate project where I compile some stuff and I pick that jar up in my web ...
9
votes
1
answer
2k
views
How can I properly shutdown a JAX-WS Spring application on Tomcat?
After launching the application and immediately shutting down Tomcat, I receive the following two warnings of Tomcat:
Mrz 11, 2013 11:25:06 AM org.apache.catalina.loader.WebappClassLoader ...
8
votes
0
answers
539
views
Groovy Grails: how to set path of log4j.properties that works in Windows and Linux
In groovy grails project, I want to externalized log4j.properties file and I want to make generic relative path to make it work in Linux and Windows.
To externalize, I have removed log4j = { ... } ...
8
votes
0
answers
3k
views
jsp net::ERR_INCOMPLETE_CHUNKED_ENCODING
My Spring web is facing with net::ERR_INCOMPLETE_CHUNKED_ENCODING in chrome
Environment:
Client: Chrome 54 (latest)
Server: CentOS 7, Tomcat 9.0.0.M11
Spring 4.1.1.RELEASE
Web app WAS OK. But after ...
8
votes
2
answers
4k
views
Why is request.getRemoteUser() returning the tomcat windows service account sometimes
I'm trying to get windows authentification to work with a 3rd party application developped with GWT.
I'm hosting the app with tomcat, on a windows server. I access the site through an IIS proxy (...
8
votes
0
answers
4k
views
How to set Tomcat configuration/context.xml in Eclipse
I'm developing java web application using Tomcat 8 and JNDI Datasource. I have defined resources via context.xml in META-INF/context.xml. This settings run fine on Tomcat 8.
But I need to have ...