Questions tagged [tomcat7]

For questions specific to Apache Tomcat version 7.

Filter by
Sorted by
Tagged with
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 ...
solotenk's user avatar
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 ...
kablanfatih's user avatar
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....
msmani's user avatar
  • 51
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=...
HockChai Lim's user avatar
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)...
kah's user avatar
  • 21
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/...
Thomas's user avatar
  • 51
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 ...
egmontr's user avatar
  • 33
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 ...
ehirwa's user avatar
  • 1
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....
Nagkings's user avatar
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 ...
FrustratedWithFormsDesigner's user avatar
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 ...
Michael McKay's user avatar
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 ...
Anshu's user avatar
  • 1
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. ...
kah's user avatar
  • 21
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 ...
double_g's user avatar
  • 101
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 ...
PiotrChernin's user avatar
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: ...
jstuardo's user avatar
  • 155
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 ...
smb564's user avatar
  • 113
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 ...
Manoj's user avatar
  • 1
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 ...
kghbln's user avatar
  • 441
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 -/+...
Al-Alamin's user avatar
  • 111
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?
Sebas's user avatar
  • 535
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 ...
watery's user avatar
  • 163
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 ...
tremendows's user avatar
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 ...
jannis's user avatar
  • 1
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 ...
TheProvost's user avatar
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 ...
Dave's user avatar
  • 21
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 ...
toni's user avatar
  • 139
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 ...
msmani's user avatar
  • 51
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 ...
TechFanDan's user avatar
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 (...
Roy Hinkley's user avatar
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 ...
Pawan Patil's user avatar
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 ...
Mert Saygı's user avatar
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 -...
Anurag G's user avatar
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 ...
username's user avatar
  • 249
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 ...
Guilherme Oliveira's user avatar
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 ...
carl verbiest's user avatar
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/...
weq92f's user avatar
  • 11
-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 ...
PVR's user avatar
  • 99
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 ...
user203788's user avatar
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....
Suyash Jain's user avatar
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 ...
leonbloy's user avatar
  • 2,148
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 ...
CharlesC's user avatar
  • 151
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-...
lapots's user avatar
  • 101
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) ...
Cool Techie's user avatar
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 ...
Eric W's user avatar
  • 59
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 ...
Devika's user avatar
  • 1
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 ...
akay's user avatar
  • 53
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 ...
Marco Brenna's user avatar
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 ...
Hoube78's user avatar
  • 31
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,...
Bhushan's user avatar
  • 93

1
2 3 4 5