Questions tagged [tomcat]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
1answer
2k views

Apache2 as reverse proxy not working?

Hello I am trying to setup apache2 as reverse proxy on Ubuntu. For the backed I have tomcat 7. For the configuration file /etc/apache2/sites-enabled/example.co.conf <VirtualHost *:80> ...
0
votes
0answers
1k views

How to configure apache as reverse proxy for HTTPS tomcat7 backend?

I have configured my tomcat7 to use letsencrypt SSL successfully on port 8443. Now I want to accept for 443 port only I am using apache2 in front of it. I added virtual host and this is the content on ...
1
vote
1answer
3k views

Tomcat8's “Silence” process using 100% CPU. What is this process?

After hitting some performance issues with one of our servers, I observed a Tomcat8 process called "Silence" using 100% continuously. I tried to find information about it on Google, but searching for ...
0
votes
1answer
2k views

The server encountered an unexpected condition that prevented it from fulfilling the request

I have two amazon instances, I have uploaaded the same war in both instances, In one instance it is running properly(giving expected result) but in another instance it is giving the following error ...
2
votes
1answer
1k views

How to configure Tomcat to serve at port 80 on root path?

I have an application running on a Tomcat server at http://example.com:8080/webapp. I would like my app to be accessible at http://example.com. How to remove the :8080/webapp path?
-2
votes
1answer
1k views

Linux Machine time mismatch with all other logs time [closed]

I have deployed multiple wars on QA environment but when I am doing date command on my Linux machine, it is showing Correct PST time that I have set but in the logs I am getting different time. Same ...
3
votes
1answer
2k views

Logrotate Tomcat log file

I am writing Tomcat log with this setting: Log configured using an AccessLogValve in server.xml Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs/access" prefix="access" ...
2
votes
0answers
18 views

Java web application fails on one instance and passes on another with the same version

I am running a java web application on tomcat on a docker container on Ubuntu on two machines. Both have the same OS version Linux version 3.19.0-77-generic (buildd@lcy01-03) (gcc version 4.8.4 (...
0
votes
1answer
606 views

change user to sudo(root) after login to other server

i have 2 servers(Linux 2.6.32-696.el6.x86_64) suppose fe1 and fe2. i need to run a command (service tomcat start/stop) on fe2 from fe1 but it requires sudo as root. Command that i am using for sudo ...
0
votes
1answer
248 views

HTTPD using same port multiple times

I am running 3 tomcat in cluster ( different httpd & AJP13 ports ) with a apache in the front. It looks like only one tomcat stays up and other two error out in jkstatus manager The error logs ...
0
votes
0answers
68 views

Using CSF (or other app) to block access to tomcat manager based on URL and ip address

I am using CSF on my linux VPS. I want to restrict access to the tomcat manager based on if an ip other than my home ip (my home ip is in the csf.allow file) tries to reach the tomcat manager. In CSF (...
0
votes
1answer
2k views

Remove OpenJDK/JRE and installed Oracle JDK, now Tomcat fails

I am running a Centos7 system for Tomcat. Everything was working properly using Tomcat 8.5 and OpenJDK but the dev wants to use Oracle JDK. So, I yum autoremove the JDK files and then downloaded the ...
1
vote
1answer
3k views

how to access catalina.sh file of tomcat8 in amazon linux

I have installed tomcat 8 using yum. Now I need to make some changes in catalina.sh file but I'am unable to locate it. it would be helpful if anyone could tell me the pathway or how to access the file....
0
votes
1answer
1k views

Deleting anything in webapps directory doesn't work using Apache Tomcat 7

I ran into an issue where rm doesn't delete anything from the webapps directory using Apache Tomcat 7, but rm does work in any other directory. The Tomcat service is down. Any ideas?
-1
votes
1answer
455 views

Does Tomcat with Kerberos need a keytab file linked with a specific user?

We are trying to setup a tomcat server on RHEL 6.5 to use Kerberos authentication. We have tried to follow this guide, but it seems more appropriate for a Windows implementation. In our environment, ...
5
votes
2answers
16k views

Tomcat - How does the setenv.sh work?

I don't think my question has been asked before (not exactly anyway, if it has, apologies). I am using Tomcat 7 on CentOS 7. In my tomcat/bin/setenv.sh file I have set: export TEST="test" Then I ...
0
votes
1answer
624 views

How to upgrade tomcat8 server on ubuntu?

I'm running ubuntu xenial 16.04. Running aptitude install tomcat8 results in a tomcat version of 8.0.32. But the current release is 8.0.46. How can I force an aptitude install or upgrade with exactly ...
2
votes
1answer
5k views

Starting Tomcat 8 on Raspbian - Job for tomcat8.service failed

I am having trouble setting up Tomcat 8 on my Pi 3, running Raspbian. I've installed Java 8 and Tomcat 8 but it refuses to start up. I started by ensuring Java 8 was installed. pi@raspberrypi:~$ ...
4
votes
1answer
9k views

NGINX not passing all request headers to Tomcat

I have a CentOS system running NGINX with Tomcat behind it. NGINX has SSL enabled and is only used to push the connection to Tomcat. Pretty much everything is working just fine except certain request ...
1
vote
2answers
3k views

Is there exists a PID for each tomcat service? If it exists, then can we find the service name from that PID of the running tomcat service?

I am working on linux server. I want to know whether there exists a PID for each tomcat service running on any server. If there exists a PID for a particular tomcat service, then can we find the ...
1
vote
1answer
10k views

Tomcat 8 limit size of Catalina.out

I have Tomcat 8 and my Catalina.out log is 3GB large, it takes a lot of space. In $CATALINA_HOME/conf/ I have logging.properties that contains: 1catalina.org.apache.juli.AsyncFileHandler.level = FINE ...
1
vote
2answers
713 views

NGINX LoadBalancer not working, only pulling up default index.html site on LB, not upsteam servers

I setup an NGINX loadbalancer in front of 2 tomcat servers on a Cent7 system. When I try to pull them up from the LB, I just get the default index.html NGINX page from the default installation. I've ...
0
votes
1answer
2k views

Unable to access tomcat from anywhere but localhost, no firewall, curl responds on localhost:8080

I have a fresh minimal installation of CentOS 7 that is running Tomcat on it. Im unable to pull up the site from anywhere via the browser but can see it trying to serve on 8080 from netstat. The ...
0
votes
1answer
874 views

Installing Apache Tomcat on CentOS giving read error on Wget

I have a remote VM to which I connect using SSH. Now i need to install Tomcat 8 for which I run wget command wget http://mirror.fibergrid.in/apache/tomcat/tomcat-8/v8.5.14/bin/apache-tomcat-8.5.14....
0
votes
1answer
127 views

Folder name in path variable is repeated

I am fairly new to linux and have been facing this issue and was wondering if something can help resolve it. So when I try to shutdown Tomcat, this is the error I am getting. As you can see 'bin' is ...
0
votes
2answers
1k views

Starting tomcat hangs on boot , but run successfully in command line

I installed tomcat9 on ubuntu 16.04, which start normally on command line, sudo /usr/local/tomcat9/startup.sh and all projects in webapps can be loaded. However, it always hangs on loading "...
3
votes
1answer
2k views

How to install Apache Tomcat 8 on centos 7?

I am configuring CentOS 7 system for a Java developer. So firstly I have installed Java using command wget java-1.7.0-openjdk-1.7.0.131-2.6.9.0.el7_3.x86_64.rpm after that installed the downloaded ...
1
vote
1answer
2k views

Is it this Tomcat server correctly running? Why it seems that it is not listening on the 8080 port? [closed]

I am not so into system engineer (I am a Java developer) and I am finding some difficulties trying to understand if a Tomcat server (on a remote server) on which I have to deploy an application is ...
0
votes
1answer
2k views

Tomcat 8 503 Error with Apache2 mod_jk as Reverse Proxy

I'm following this guide to setup Tomcat 8 on Ubuntu Server 16.04 using Apache2's mod_jk module as a reverse proxy: https://www.digitalocean.com/community/tutorials/how-to-encrypt-tomcat-8-...
6
votes
1answer
12k views

how to add multiple roles to an admin user in Apache tomcat 8?

Recently i've installed an apache tomcat 8. my tomcat-users.xml contains this: <tomcat-users> <role rolename="admin-gui"/> <user username="tomcat" password="pass1234" roles="...
4
votes
1answer
105 views

AWS EC2 infrastructure

I was on a job interview today and one question I faced was: I have my application running within a docker container on an EC2 instance (AWS Linux 64bit). The docker containers we use for the ...
0
votes
1answer
653 views

Hosting Jenkins and Web App on tomcat server at the same time

I have a web app running on one tomcat server on 443 port. I want to set up Jenkins on same tomcat server and that too on same port i.e. 443. Is it possible to have Jenkins and Web on the same server?
0
votes
1answer
338 views

Strange error logging in BBB

I have installed BigBlueBotton in Debian Stretch. However, when logging in with a "demo" user in the first page, I get back in Firefox a Tomcat/Java error complaining about a missing bbb_api_conf.jsp ...
0
votes
2answers
4k views

Cannot run Tomcat server on browser?

I followed the guide in HERE to install Tomcat 8.0.36 (binary version) on my El Capitan by downloading it from its website but it gives me error when I try to start it through terminal. Please help! ...
3
votes
2answers
463 views

Two web servers running in one linux machine?

Problem: I have two web applications which were created by using JAVA and PYTHON respectively. The JAVA application runs using Tomcat server on the port number 8000. The PYTHON application uses web....
1
vote
1answer
518 views

Enabling HTTPS for pentaho bi-server - Tomcat

We are setting up Pentaho which is a BI tool. This uses Tomcat as the webserver. We tried following the below link but were not successful. http://wiki.pentaho.com/display/ServerDoc1x/01.+Enabling+...
5
votes
0answers
3k views

KrbException: Fail to create credential. (63) - No service creds

I am working on setting up Tomcat 8.0.35 on Ubuntu 16.04 with Oracle Java 1.8.0_91-b14 (not openjdk) to use Kerberos authentication when authenticating to our Microsoft SQL database. The issue I am ...
1
vote
1answer
174 views

how can I schedule a custom script to run whenever I restart a service

I wish to know how can I schedule a custom script to run whenever I restart a service. My use case is that I have to run several commands whenever I restart my Tomcat Service. I want to know if there ...
2
votes
0answers
519 views

How does one run Multiple parallel Tomcat instances in CentOS 6?

I can install them to different directories, and I think I can make them use different ports, as well. I'm going to add 10000 to each port number for the second installation, and 20000 to the third ...
2
votes
1answer
120 views

Adding fcontext to unconfined application

This feels like the most horrid twist of fate ever... A user is having me setup tomEE (apache-tomee-jaxrs-1.7.4). This is on a RHEL6 machine. I've installed from the tarball available from apache's ...
2
votes
1answer
995 views

Does linux verify server certificate against crl by default?

Let assume that I have a Linux based server running apache or tomcat with a web server certificate created by a trusted authority. The certificate has embedded distribution point of the crl. The ...
0
votes
1answer
7k views

Can't connect to Tomcat on port 8080 (port 80 works)

We have a bunch of Centos 6 dedicated servers hosting our web applications that are set up behind a reverse proxy. The reverse proxy is running Haproxy and forwards web requests to the backend servers....
0
votes
2answers
3k views

Cannot run config.sh on server that is running Jira

I installed Jira on a Centos 7 VM. Jira is already running and it seems to be working well. I am trying to configure it to run through https. When I try to run config.sh I get an error that java is ...
1
vote
1answer
47 views

Tomcat (probably) closes before ROOT directory is entirely populated

on a Ubuntu 12.04 machine, Tomcat 7.0.22 , I have a bash script that copies a ROOT.war file to a specific library, at which point Tomcat deploys it to a directory called ROOT. A few lines later, the ...
1
vote
0answers
2k views

How to get Tomcat7 to run as daemon on CentOS

I am trying to implement SSL for Tomcat on CentOS 6.7. It's not a tick nesting issue, nor does SELinux apply, as other posts address - at least I don't think they do. The server.xml file has entry: ...
1
vote
2answers
587 views

I am not able to connect tomcat in my centos browser but it starting in terminal

When I typed ./startup.sh i am getting: Using CATALINA_BASE: /home/ashok/apache-tomcat-7.0.56 Using CATALINA_HOME: /home/ashok/apache-tomcat-7.0.56 Using CATALINA_TMPDIR: /home/ashok/apache-...
-1
votes
1answer
1k views

Search for and kill process in script

I have written a script to stop a Tomcat instance, remove the .war file and application directory, copy a new .war file from a NFS mount to the webapps directory, and then restart the Tomcat instance. ...
0
votes
1answer
5k views

Understanding retry value in Apache Load Balancer Configuration

We are using mod_proxy to balance load between our backend servers . We have different setup and some of the backend servers either runs on tomcat\jboss. The balancer configuation is as follows ...
1
vote
0answers
632 views

Memory Leak trackdown

I have a server running Red Hat Enterprise Linux Server release 6.7. The server runs a number of java processes including a tomcat server with nginx webserver. The server has 12 GB of ram allocated ...
1
vote
1answer
199 views

How to export a bks keystore on Debian 7.9 wheezy

I need to generate a keystore.bks file to use for android development. I cannot figure out how to export a bks keystore without using a GUI tool. I have server space on Google Compute Engine which I ...