5,456 questions
0
votes
2
answers
70
views
Problem converting from Log4j to Log4j2 (log files not being created)
I am trying to convert a tomcat app from log4j to log4j2.
The app is still written in Java 7 so I am using log4j2 version 2.12.1.
I am getting DEBUG information in stdout file which would indicated ...
0
votes
0
answers
43
views
Tomcat 7 User specific server.xml
I have a Java8/Maven based project, in which I use the tomcat7-maven-plugin:
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>...
1
vote
1
answer
43
views
UrlRewriteFilter regex rule not working as expected
I added some rules to urlrewrite.xml file, but it is not working as expected.
The rule <from>^/documents/.*RDC.*$</from>, should only redirect when the URL contains a uppercase "RDC&...
0
votes
0
answers
39
views
I need to migrate tomcat 7 to tomcat 9 but getting some error in security
I need to migrate tomcat 7 to tomcat 9 but getting some error in security, But getting error
"metadataGeneratorFilter" is already define as bean
<bean id="metadataGeneratorFilter&...
-1
votes
1
answer
27
views
Attribute 'config-file' is missing from element 'server'
I'm new to xml and am trying to deploy a spring application on tomact7.
When i have started the server 'tomcat7',I'm getting this error as below:
"Attribute 'config-file' is missing from element '...
0
votes
1
answer
48
views
Tomcat Fails to Connect to Elasticsearch with UnknownHostException
I'm trying to run Usergrid following the instructions on the website. I managed to get the requirements up and running (as far as I know), but running Usergrid/Tomcat throws:
root@usergrid:~# ...
0
votes
0
answers
47
views
Browser clienta does not close tcp connection after receving the HTTP/1.1 payload in tomcat 9?
We have a spring application which is run via tomcat 7 where we do not have the problem. The same app is deployed with an upgraded tomcat server 9.0.59 with the same configurations.
On tomcat 7 (...
0
votes
1
answer
80
views
Deploy angular application on Apache Tomcat 404
I tried to deploy my Angular application to Apache Tomcat as a war file.
I try to do it the following way, but I face a 404 error. Here are the steps for how I do it:
I added one line of code to the ...
0
votes
0
answers
24
views
Context.xml dont set environmet value
Im working at dockering an app with tomcat 7 and some problem with context.xml file where i define string connection db, that value is taken like string and dont variable.
Output console:
Cannot ...
0
votes
0
answers
45
views
I am trying to upgrade a soap based web service which is using tomcat 7 and jdk 1.7 to tomcat version 8.5 and same jdk version
the webservice is using Apache axis version 1.4 for the installation. the current version of tomcat that is 7.0.104 which supports until jdk 1.7 and there is no issue while I am trying to install the ...
0
votes
0
answers
76
views
Threads hang on getCallerClass (Native method)
I encountered stucked threads in tomcat logs.
We use java version 7.
The last 2 lines of stacktrace:
Aug 30, 2023 8:09:59 PM org.apache.catalina.valves.StuckThreadDetectionValve$MonitoredThread ...
0
votes
2
answers
519
views
Exception loading sessions from persistent storage java.io.InvalidClassException: com.vaadin.server.AbstractClientConnector; local class incompatible:
I have deployed the same named Vaadin application from another branch of the code to the same Apache Tomcat on Linux An when the tomcat was starting, I was getting the error message like that with no ...
3
votes
1
answer
327
views
Test performance between Tomcat BIO and NIO connectors
I would like to observe the performance improvement of using NIO connector vs BIO connector on Apache Tomcat. The differences between BIO and NIO is, (quoting from DZONE),
The BIO connector (blocking ...
0
votes
1
answer
67
views
Startup times for different versions of tomcat
Over time I have come to know that older java ee servers used to take tens of minutes to start up. If we consider tomcat for instance. Is there a comparison available about average statrtup time of ...
-1
votes
1
answer
37
views
JasperReport PDF displayed unrecognized binary after hardening Tomcat 7 web.xml
Trust all well.
Actually, I want to do a security enhancement on my mixed spring roo and spring mvc web application on tomcat 7.
After I changed and put a piece of code as per below at web.xml tomcat:
...