Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tomcat7]

The tag has no usage guidance.

0
votes
0answers
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 ...
0
votes
2answers
963 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
1answer
95 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
1answer
228 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
1answer
91 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
0answers
398 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
1answer
276 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 ...
1
vote
0answers
132 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
1answer
27 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
0answers
405 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 ...
0
votes
0answers
274 views

tomcat Rewrite valve is working but keep getting 404 error

There is something I do not understand at all when I try to access to my application located on a server. suppose that my URL is the following :- test.mydomain.com:8080/myapp-frontend/main (1)...
0
votes
0answers
92 views

Redirecting Apache to Tomcat with Mod_Proxy

I have a domain with correctly configured DNS's called mydomain.com that points to my Ubuntu 16.04.3 server in 11.11.11.11, so when I introduce mydomain.com in a browser, I get to the default page of ...
0
votes
2answers
6k 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 ...
0
votes
0answers
165 views

My Tomcat server got stuck/hanged in between running my web Application, Is this a Thread issue?

My tomcat Service on my ubuntu 14 servers get hanged/paused/stuck in between, So I manually restart my tomcat service to get it back to running state.By doing 'top' in terminal it shows no load taking ...
1
vote
1answer
2k 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 (...
0
votes
0answers
1k 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 ...
0
votes
1answer
101 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
0answers
660 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
1answer
458 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
1answer
248 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 ...
3
votes
0answers
624 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
0answers
333 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
1answer
313 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
1answer
47 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
0answers
14 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....
1
vote
2answers
2k 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
1answer
919 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
2answers
410 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
0answers
75 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
3answers
1k 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
1answer
2k 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
1answer
811 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
3answers
958 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
2answers
2k 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 ...
1
vote
1answer
534 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,...
0
votes
0answers
32 views

authentication steps in webserver

Right now I have my web application code residing in the tomcat. Basically,my web based code make ajax calls to the web service written in Java.It basically get deployed in the war file and then the ...
0
votes
0answers
390 views

Why doesn't the catalina.out get empty during log rotation

I am running Tomcat7 and there is no issue with log rotation. My problem is why catalina.out doesn't get null during log rotation. What should I do for that?
1
vote
1answer
522 views

Is it a good practice to clear `work` and `temp` directory when deploying applications to Tomcat?

I wonder if work and temp should generally left to mange by Tomcat or should I manually clear it from time to time? In our specific case new versions of the applications are always enumerated with ## ...
0
votes
1answer
233 views

Tomcat to hadle only JSP - Apache proxy not working as expected

I've been given some source code for a PHP project that includes a .jsp file. I am able to run it as-is on my XAMPP set up on my Mac at work but I'm struggling to achieve the same on my Ubuntu setup ...
0
votes
0answers
741 views

Apache redirect post request to another server on error

I currently have 3 web servers serving http request load balanced at DNS level. There's one "master" server apache as load balancer , and two "slave" servers with tomcat. The master server forward ...
3
votes
1answer
5k views

Apache reverse proxy with ssl not working

I am trying to use apache(2.4) as an reverse proxy for tomcat(7), which works fine when I use http only. http config: <VirtualHost *:80> ServerName abc.domain.org ProxyRequests Off ...
0
votes
1answer
391 views

apache_mod_proxy & tomcat7 socket timeout

I've configured Apache tomcat7 as backend & apache2.2 as frontend both on same CentOS 6 server & here is part of my configurations: In Server.xml I have: <Connector port="8009" protocol="...
0
votes
1answer
2k views

Cipher Mismatch error - tomcat7 and godaddy certificate

(I have asked the same question in stackoverflow as well.) I am trying to install an SSL certificate in a tomcat server (linux based server). This is a godaddy certificate. Installation is proper and ...
0
votes
2answers
342 views

Apache listening on two ports connected to two tomcat instances via ajp

I have got the following configuration for my apache webserver (httpd.conf): ... Listen 80 Listen 8082 ... <VirtualHost *:80> ProxyPass / ajp://localhost:8009/ ProxyPassReverse / ajp://...
0
votes
1answer
501 views

Loadbalancer and Tomcat [closed]

Currently we have a single tomcat 7 running as our application server, but with users increasing we were thinking of the following, 1) Put a hardware load balancer 2) Put two tomcat servers on ...
0
votes
1answer
357 views

Apache2 and Tomcat7 with BASIC authentication (Ubuntu)

I recently deployed a Java webapp on a Tomcat7 fronted by an Apache2 on a Ubuntu 14.04 VPS. I am connecting the Apache2 and the Tomcat7 with mod_jk. All the static resources are server by Tomcat, ...
0
votes
0answers
159 views

Static Tomcat Cluster become unresponsive on a JDBC procedure call

StackOverflow has been a way of life for me but this time its a question rather than looking for an answer as I have probably exhausted all options. Apologies as this will a long description of the ...
0
votes
0answers
521 views

configure java.util.logging logging.properties to write app logs with systemd

I am charged with making migrating an app from centos 5.5 to centos 7.2. I can start my tomcat app using systemd but the app's log file is not being written to /home/tomcat where people expect it to ...
1
vote
1answer
127 views

Tomcat 7 virtual hosts disappear after restart

Currently I am using tomcat 7 to host two websites. To do this, I simply create two virtual hosts using the host-manager (part of tomcat7-admin). But, when I restart the server, the hosts seem to ...
1
vote
0answers
425 views

tomcat on aws shuts down automatically

We've installed Tomcat 7.0.64 on an ec2 without using the tomcat ami ie do it yourself. It runs fine however for no apparent reason, tomcat occasionally gracefully shuts down for no apparent reason. ...