Questions tagged [tomcat8]
Version 8.x (August 2013 onwards) of the Apache Tomcat servlet container. Use only if your question is specifically related to features of this version.
tomcat8
2,690
questions
-1
votes
0
answers
13
views
Spring Boot Application Deployment on Tomcat Failing with BeanCreationException and NullPointerException ERROR
I'm trying to deploy a Spring Boot application packaged as a WAR file to Tomcat (version 8). The deployment process seems to start correctly, but the application fails to start, and the logs show the ...
-2
votes
1
answer
19
views
How to disable default documentation of tomcat which comes after hitting application url
When ever I am trying to access my appurl like below give me tomcat related details, I want to disable this webpages and it should give me 404 Not Found message.
google.com/docs/
google.com/examples/
...
0
votes
0
answers
36
views
why is bash variable expansion not working [duplicate]
In my script I have:
echo "In set class path $JAVA_HOME"
if [ ! -x "$JAVA_HOME"/bin/java ]; then
echo "problem $JAVA_HOME /bin/java is not executable"
echo &...
0
votes
0
answers
20
views
Restarting tomcat server in cpanel
When I run /usr/local/cpanel/scripts/ea-tomcat85 all restart, it returns
Starting sojrelites …
Restarting ea-tomcat85... May 27, 2024 11:10:09 AM org.apache.catalina.startup.Catalina stopServer
SEVERE:...
0
votes
0
answers
13
views
Tomcat 8.5.98 server.xml's ErrorReportValve not handling 50X errors
I have a problem with tomcat configuration, which does not handle 50X errors when thrown. I'm using server.xml with this configuration :
<Valve className="org.apache.catalina.valves....
-1
votes
1
answer
74
views
After spring upgradation to 1.5.9.RELEASE, my application is failing to run with some error as "Failed to start component [StandardEngine[Tomcat]"
buildscript {
ext {
springBootVersion = '1.5.9.RELEASE'
}
repositories {
mavenLocal()
maven {
name 'nexus'
url "http://nexus.engati.ops:...
0
votes
0
answers
60
views
Cookies Not Clearing on Logout with Tomcat 9
I recently upgraded my application from Tomcat 8 to Tomcat 9 and am experiencing an issue with cookies not being cleared
Relevant Code:
Here's how I'm handling the logout and cookie clearing:
Cookie ...
0
votes
0
answers
13
views
How to enable the Undeployed button in Tomcat console when it is disabled
How to enable the Undeployed button in Tomcat console when it is disabled. When I deploy a .war file that cannot be undeployed from the tomcat manager. Tomcat version is 8.5.16 and JVM version is 1.8. ...
0
votes
0
answers
49
views
User's session gets assigned to another user
I have 1 spring mvc web application where some users are randomly getting assigned another user's session & are able to view profile and make orders on that account. Upon not receiving the ...
0
votes
1
answer
34
views
Tomcat v8.5 not shown inside eclipse
Hello I'm trying to create an apache tomcat v8.5 inside eclipse but when I choose create new server the latest tomcat version is 8.0.
I tried to install all the possible plugins for it to work but ...
0
votes
1
answer
22
views
Java+Tomcat8.5.78: Not calling action on form submit with files over 100KB
When I attempt to upload a document using a form, I get the following error :
org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. /...
0
votes
1
answer
43
views
Restrict Tomcat web.xml and other resources under WEB-INF from user access
I have a multi Tomcat setup on my (client's) machine. It is a Spring Hibernate setup. It was handed over to my client by some other vendor who was managing it till date.
There is some setting within ...
0
votes
0
answers
1k
views
Getting "Failed to clear soft references from ObjectStreamClass$Caches for web application" error while starting app- tomcat8
I am getting " java.lang.ClassCastException: class java.io.ObjectStreamClass$Caches$1 cannot be cast to class java.util.Map" error while starting app on tomcat8. Below are some of the ...
1
vote
0
answers
25
views
Cannot Open to Tomcat Manager Screen
When I try to access the Tomcat Manager page through the browser, it keeps loading but won't open.
SERVERIP:8080/manager/html
The tomcat service on the server is up. Tomcat version Tomcat 8 If you ...
0
votes
0
answers
61
views
Tomcat service stop and start commands calling from a jar
Previously i was using Tomcat-v.8.5.75 which will run as a windows service in my project, Currently i have updated to tomcat-v.9.0.85, so in my project, in a particular action a jar will be called ...