Questions tagged [tomcat7]
For questions specific to Apache Tomcat version 7.
242
questions
0
votes
0
answers
325
views
HTTP ERROR 403 You don't have authorization to view this page. (Apache 2.4/Shibboleth 3.1/Tomcat 7)
I'm setting up a new server running CentOS 7 with Apache 2.4/Shibboleth 3.1/Tomcat 7 and using proxy_ajp to connect apache to tomcat.
I'm getting 403 from the site running on it. I've searched for ...
0
votes
0
answers
3k
views
How to increase maxConnections on tomcat
We are trying to increase the number of connections on tomcat7. We are using NIO connector. Our setting on server.xml is set to 15000. But whenever we start the server, jmx export reports the value as ...
0
votes
0
answers
404
views
Application slowness due to Tomcat waiting for readLatch
we are getting issues reported by our clients that the application is slow at times, while checking the slow requests (using Glowroot) we could find quite a lot of threads getting stuck in org.apache....
0
votes
1
answer
1k
views
how does the tomcat ajp redirectport work if no connector is setup for the redirect to port
I've a tomcat server that is fronted by an apache server, both running on the same machine. In the apache httpd.conf, I see this:
ProxyRequests Off
ProxyPass /MACS ajp://10.50.3.23:38009/MACS retry=...
0
votes
1
answer
71
views
free server monitoring tool for Java based application
I have applied couple of options like Nagios [which lead to problem after installation]-- Apache went irresponsive with lots of segmentation faults
child pid 32507 exit signal Segmentation fault (11)...
0
votes
2
answers
2k
views
tomcat 7.0.100 AJP connector with mod_jk on another host
After upgrading tomcat7 to 7.0.100, the AJP connector was only listening on 127.0.0.1. Initially I edited the wrong server.xml in /etc/tomcat7/server.xml which was not used. The right one is /var/lib/...
3
votes
2
answers
8k
views
Getting error 403 with Tomcat 7.0.100 and Apache server 2.4 when using "secret" with AJP
Because of the bug CVE-2020-1938 we want to use the latest Tomcat 7.0.100. See also CVE-2020-1938
We also use an Apache server in version 2.4, which connects to the Tomcat via AJP.
The latest Tomcat ...
0
votes
1
answer
409
views
Installing tomcat 9 on oracle linux having tomcat 7
I have a task to deploy a war file of a Springboot 2.2.4 therefore the oracle linux server i am using already contains tomcat 7, and springboot 2.2.4 is not compatible with tomcat7 I am getting an ...
3
votes
1
answer
286
views
How do I remove the www from my domain URL
I am using a tomcat server and I have installed the SSL by changing strings in
server.xml and web.xml file.
Problem is, When I browse with domain.com, www.domain.com, in both the cases it is browsing....
1
vote
1
answer
901
views
Tomcat RequestProcessor errorCount - what counts as an error?
We have a Zabbix server that reports on Tomcat's errorCount, from the GlobalRequestProcessor. I'm trying to figure out exactly what gets counted in this errorCount. Is it any request to Tomcat the ...
0
votes
1
answer
1k
views
Webapp not working with proxy
On a single server I'm using to demo a system, I have a static website running on apache2 and a demo web app running on an instance of tomcat. Both are working fine when accessed directly. I've ...
0
votes
2
answers
211
views
Not able to start tomcat 7.0 on my server
I am not able to start my tomcat (7.0) on my server. While starting it is giving below error message.
FAIL,Resource start failed [Context: Failure Reason=PID not found;Code=SCLD-LRM-4022;
I don't ...
0
votes
0
answers
219
views
HTML5 slides [SCORM based CBT] not working in Chrome but works in FireFox / IE / Edge
LMS [VALAMIS] HTML5 based CBT's designed in Captivate (10) runs perfectly in FireFox / IE / Edge but when comes to Chrome it plays just portion of first slide [like 9-10 seconds] and then halts.
...
0
votes
1
answer
1k
views
HTTPD mpm_worker errors AH00286/AH00287
I sometimes notice troubles on my computer about HTTP server. Indeed, no more incoming request is accepted by the service. It just replies by an error code 503.
Command:
apachectl fullstatus
gives
...
1
vote
1
answer
560
views
How do I know what connection pool I'm using with Tomcat?
I'm running Tomcat 7 with Apache 2.4 on Postgres 9.3 on Ubuntu 16.04 to serve a webapp. The webapp was originally written for Tomcat 5 or earlier.
I'm trying to understand a memory error using this ...
0
votes
0
answers
46
views
Tomcat 7 is not started
I am trying to start Tomcat by running
sudo /etc/init.d/tomcat7 start
The output is this:
Using CATALINA_BASE: /usr/share/tomcat7
Using CATALINA_HOME: /usr/share/tomcat7
Using CATALINA_TMPDIR: ...
1
vote
1
answer
405
views
Online performance tuning apache tomcat
I'm relatively new to this field and not sure whether I'm posting the question in the correct forum.
I'm trying to do online parameter tuning for the TPC-W benchmark. (It is a 3-tier web application ...
0
votes
0
answers
226
views
Tomcat 7 CPU utilization is always above 30%
Im working on a migration from windows server to linux.
Installed Tomcat 7 on centos 7 server, and deployed 5 web applications(taken from windows). Applications are running fine.
I open only a ...
0
votes
0
answers
15
views
What is tomcat7 exin doing? [duplicate]
When checking via top I see two processes for tomcat7:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND ...
1
vote
2
answers
10k
views
why tomcat7 is using so much RAM?
My Server has only .5GB free memory out of 65GB.
total used free shared buffers cached
Mem: 64375 63788 587 0 70 11503
-/+...
0
votes
1
answer
3k
views
how to disable access to file WEB-INF/web.xml in tomcat
On a tomcat 7 server used by a third party program, the WEB-INF/web.xml file is accessible from user's browser. Is there a way to prevent this from happening?
0
votes
1
answer
3k
views
Deploy from Tomcat text interface fails Invalid context path null was specified
I have an apparently simple situation: a running Tomcat 7.0.54 instance whose host is configured with autoDeploy=false and unpackWars=true and I want to deploy a new web application there without ...
0
votes
1
answer
4k
views
Is it possible to configure Apache-Tomcat with specific number of cores?
Is it possible to configure an Apache Tomcat (v7) with an specific number of cores? How can I specify it?
I'm developing in a machine with 4 cores, but when uploading to the server with 8 cores, the ...
0
votes
0
answers
3k
views
Tomcat not accepting connections, Apache using up all available workers
We run two separate tomcat-servers (tomcat 7) behind a load-balancer and an Apache (v. 2.2) working as proxy (on the same host). Every server runs about 70 microservices which are accessed from a ...
0
votes
1
answer
2k
views
Tomcat 7 Service Inactive
Very new to Linux and currently tasked to install tomcat 7 in centos 7 os.
I followed the instruction in How To Install Apache Tomcat 7 on CentOS 7 via Yum. Everything seems to be ok and did not get ...
2
votes
0
answers
641
views
How can I make Liferay/Tomcat processes do outbound HTTPS queries over TLS 1.2?
I've got a Liferay 6.2 server running on tomcat 7.0 behind Apache 2.4. Apache is handling SSL for the site that Liferay is serving, and all is well with inbound connections. What I'm having some ...
0
votes
1
answer
178
views
Tomcat7 autorefresh server-status and explanation
two questions regarding tomcat7 admin-manager. I´m trying to find a bottleneck with slow response times. Therefore I´ve enabled tomcat7 admin host manager. Mainly I´m interested in the status of ...
0
votes
0
answers
3k
views
Apache mod_proxy sticky session not working occasionally
We are having four Tomcats load balanced with Apache mod_proxy (mod_ajp). mod_proxy is configured as follow, lbmethod=byrequests and sticky_session enabled.
But occasionally we have noticed that ...
2
votes
2
answers
48k
views
Tomcat startup - Error: Could not find or load main class
When I attempt to startup Tomcat (7.0.82) on RHEL6/Java7, the logs will display this:
Error: Could not find or load main class
Notice, no specific class specified at the end of the log entry. Most ...
1
vote
1
answer
5k
views
SELinux Blocks Tomcat 7 Service in RHEL 7 after Yum update
I performed a Yum update and Tomcat's ability to access file has been broken.
SEVERE: Failed to load keystore type JKS with path /var/websvr/certs/keyfile.jks due to /var/websvr/certs/keyfile.jks (...
2
votes
1
answer
4k
views
Tomcat has stopped generating stdout logs
We have tomcat server in our production environment. Suddenly tomcat has stopped generating stdout logs. Last generated log by tomcat is one month ago and the size of stdout log file is 5006 KB. What ...
1
vote
1
answer
248
views
How to find limits of clustered Tomcat with Session Replication
I am working on a Tomcat cluster experimentally because of it may be need for us production environments. It must be scaleable, high available and support as much as multi concurrent users. Because of ...
1
vote
0
answers
2k
views
Installing wildcard SSL Certificate on Tomcat 6 and 7
I have followed the information given in the goDaddy web-site to get the SSL certificate and installing it but Not successful.
I created the keystore:
keytool -keysize 2048 -genkey -alias tomcat -...
1
vote
1
answer
1k
views
How to configure Tomcat connector to use both SSL and TLS protocols?
I have a Tomcat 7.0 server that I want to configure to listen on HTTPS port. I'm using Nio protocol and I want it to support both SSLv3 and TLS protocols (I know that SSLv3 is insecure, but I need to ...
0
votes
1
answer
731
views
Tomcat 7 automatic deploy with .bat
I'm trying to make use of a .bat file to do an automatic deployment on Apache Tomcat/7.0.70 with JVM Version 1.7.0_80-b15 and apache-ant-1.7.1.
However always when I run the .bat file without warning ...
6
votes
0
answers
1k
views
SELinux: How to allow apache, samba and tomcat access on the same file
Running RedHat 7.4
Until recently I could use
semanage fcontext -a -t public_content_rw_t '/var/www(/.*)?'
restorecon -R /var/www
from answer https://serverfault.com/a/346779/125461
on How do I ...
1
vote
0
answers
1k
views
apache 2.4.6 vhosts + mod_proxy get AH00872: APR_BUCKET_IS_EOS
I'm using VH and proxy to serve multiple backend tomcat instances. Currently chasing around this problem with a JSP file.
The proxy is getting the correct URL to tomcat via ajp://localhost:8009/...
-1
votes
1
answer
1k
views
tomcat-7.0.23 shuts down automatically on aws server
Have installed tomcat tomcat-7.0.23 on AWS server, but the last tomcat server which I started gets down automatically.
Have gone through similar question "tomcat on aws shuts down automatically", but ...
0
votes
1
answer
62
views
Configuring Tomcat7 with Apache HTTP Server on Debian
I am trying to configure tomcat 7 with Apache HTTP Server but it's not working.
Tomcat is properly running at http://127.0.0.1:8085
I have installed `mod_jk`:
aptitude install libapache2-mod-jk
my ...
0
votes
0
answers
36
views
encypted pasword for Tomcat server.xml JDBC Datasource
I have certain JDBC resources configured in my Tomcat server.xml file. Using those, I can connect remote databases.
For example
<Resource name="jdbc/hox" auth="Container" type="javax.sql....
2
votes
2
answers
10k
views
What is the correct way of running Tomcat under a different user (Centos 7)?
I run Tomcat 7 in my Centos 7 machine, with systemd, under a user webapp different from the default tomcat. I guess it should be easy to accomplish this but I'm having problems.
From what I see there ...
3
votes
1
answer
4k
views
Tomcat Virtual Host to prevent Improper-Input-Handling attack
I'm currently on the process of trying fix a site vulnerability, basically it is one type of the "Improper Input Handling" attack.
Let's say my website is www.mywebsite.com
and there is hacker's ...
0
votes
2
answers
1k
views
serve static content from apache server to tomcat
On my index.html page I have <img src="static_content/asf_logo.png">. I put the image into Apache24/htdocs/static_content.
I configured httpd.conf to have an acess to localhost/basic-...
0
votes
0
answers
92
views
Sage2.0 Ransomware and Tomcat 7
We have a tomcat server running on window 2012 server which seems to be constantly being attached by Sage 2.0 ransomeware. Some details of the sever,
1) Tomcat is running on port 80 and 8080.
2) ...
1
vote
3
answers
4k
views
Tomcat Redirecting behind an F5 load balancer
I have 2 servers running 2 instanced of Tomcat each (one Tomcat instance for RC, one for Production). These servers, let's call them server1 and server2, are set behind an F5 load balancer to ...
0
votes
1
answer
7k
views
Web Server Uses Plain Text Basic Authentication vulnerability
We have got 'Web Server Uses Plain Text Basic Authentication' vulnerability in our tomcat application during our server scan. We have tried enabling SSL(Generating SSL certificate, making changes in ...
1
vote
1
answer
2k
views
X-forwarded-for NULL in Tomcat
We are injecting the x-forwarded-for header in the loadbalancer, which sends the request to apache web server, which inturn proxys (mod_proxy_balancer) the request to the backend tomcat server.
we are ...
0
votes
3
answers
2k
views
cpu 100% with tomcat 7 on Debian 8
I'm having an issue with the default configuration of tomcat 7 on Debian 8.
Problem:
I got the cpu of my server, due to java process, jump to 100% and stay there for hours making the server slow.
If ...
1
vote
2
answers
5k
views
Apache TomCat working only on localhost - Windows 2012
I have installed Apache Tomcat on windows server 2012 and can access it locally
So far I have tried the following:
- Opened port via firewall
- Opended port via my cloud server host.
- turned off ...
2
votes
1
answer
1k
views
Not able to stop tomcat7 by tomcat service
I am using Ubuntu 14.04 and Tomcat7.
For some reason, I needed to upgrade java-7 to java-8. So I installed openjdk-8 and set it default using update-alternatives --config java command. To my surprise,...