The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
9 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 ...
0
votes
0answers
11 views

apache 2.4 ajp not working

I have Centos 7 , Httpd Apache 2.4 and Tomcat 8 my goal is to connect to my site1.com which is on tomcat throw 80 port. Now if I go to site1.com I am redirected to site2.com which is on httpd apache ...
0
votes
0answers
34 views

Not receving tomcat logs on rsyslog sever

We have configured the rsyslogs server for tomcat8 the using the log4j. Here is our tomcat log4j.properties configuration file, but we are not receiving the logs on rsyslog server. Tomcat version ...
2
votes
1answer
32 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
117 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 ...
0
votes
1answer
159 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
24 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
167 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
36 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: ...
-1
votes
1answer
32 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
144 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
73 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
34 views

How to export a bks keystore on debain 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 ...
0
votes
1answer
30 views

Create remote file stream into terminal

I'm not experienced unix user so terminology may be not correct. Suppose I have a remote unix hosting which I'm connecting to from windows by ssh with putty. So I have terminal window with access to ...
0
votes
1answer
31 views

Import certificates on tomcat

I have some difficulty to import our *.domain.com cert. I have the following files "<something>.crt" "<something>.csr" and "<something>.key". So what i need is to import this ...
-3
votes
1answer
60 views

Why do “lsof -u USER” and “lsof | grep USER” return different results? [closed]

On my system: root@NOTIFICATION:/# lsof | wc -l 24187 root@NOTIFICATION:/# lsof -u tomcat7 | wc -l 224 root@NOTIFICATION:/# lsof | grep tomcat7 | wc -l 20646
0
votes
1answer
195 views

How to remove port number from url?

My application "XY" running on port 1234 in tomcat server. I'm using HA-Proxy for loadbalancing. So in loadbalancing my front end port is 5678 to access the "XY" application through browser. Right ...
0
votes
0answers
23 views

Tomcat / Pentaho VIRT Resource Usage 3.6GB

I am running Pentaho / Tomcat on a linux box which has a total of 2GB physical Ram and a 1.5GB Swap Partition. The min and max memory reservation for tomcat is set at 1024MB (1GB), with hourly ...
1
vote
1answer
2k views

Why is apache giving DNS lookup failures?

A CentOS 7 web server has tomcat serving up war files behind an apache httpd reverse proxy. This works perfectly when the WAR files are all server-side code. But when client side code (AngularJS in ...
0
votes
1answer
130 views

How do I directly expose apps running on a CentOS 7 web server?

How can I open a port and directly access a webapp running on tomcat on CentOS 7? Tomcat is running behind an apache httpd reverse proxy, but I want to directly access the apps running in tomcat by ...
1
vote
1answer
212 views

Tomcat Homepage (localhost) doesn't showup

Assuming, I've successfully installed Apache tomcat in RHEL 7 followed almost similar instructions in here, except that I've tomcat8 user, assigned permissions and generating a keytool as ...
0
votes
0answers
20 views

java frameworks ( tomcat, jboss ), tcpip, session expiration

We have in house linux servers from different vendors, so each server has a different distro ( rhel, centos, debian, ubuntu ) and tomcat or jboss. With some web application, if the logged user ( ...
3
votes
3answers
2k views

tomcat 8 will not start after initial install

I am trying to install tomcat on a new CentOS 7 virtual machine. I successfully installed apache httpd, and am able to get the apache test page when I type the ip of the virtual machine into a web ...
0
votes
1answer
45 views

Apache loadbalancer not serving requests intelligently

My Apache LB is serving requests to a failed node as well. Am I missing something? worker.list=node1,node3,loadbalancer. worker.node1.port=8009. worker.node1.host=10.0.0.17. ...
1
vote
1answer
405 views

How do I quickly setup Tomcat server with Java web application on Linux (Debian)?

I was recently setting up a web application running on Tomcat on Windows. What I had to do was the following: Unpack Tomcat in any folder I wanted Copy folder with my web application in ./webapps ...
1
vote
1answer
129 views

If I set java bin PATH Dockerfile Jar Command runs but tomcat doesn't

I'm creating a Docker file that FROM's the official TOMCAT 8 docker file and also seeks to use the jar command to extract content from a WAR file so I install openjdk-7-jdk. If I don't set the PATH ...
8
votes
1answer
298 views

How to avoid /usr/bin/env being marked in systemd logs as the executable

I've created a systemd service to run a tomcat application based on the information found in this article. The short version of the article recommends avoiding the shell script wrappers, and executing ...
0
votes
0answers
79 views

After logrotate my tomcat logs all all zero

I've a problem rotating my tomcat logs. I've the following logrotate-file for tomcat8 (/etc/logrotate.d/tomcat8): /var/log/tomcat8/catalina.out { copytruncate weekly rotate 8 compress ...
0
votes
0answers
57 views

syslog-ng and how to parse for jsession id from tomcat

Just like the title says. I'm trying to parse for the jsessionid from tomcat. Here is what my tomcat server.xml config file looks like: <Valve ...
3
votes
1answer
412 views

chkconfig does not support my script

I have looked and looked and none of the threads I have found are helping. We have a tomcat startup script that we modified slightly for our needs. It works fine on Centos / redhat 6 boxes, but does ...
0
votes
2answers
2k views

Tomcat 7 not producing log output to catalina.out on RHEL7

I have a RHEL7 server with Apache Tomcat 7.0 installed and after a recent update to RHEL7.1 all of the logging to ${catalina.base}/logs/catalina.out was stopped. However i am receiving the logs inside ...
1
vote
1answer
182 views

Rotating catalina.out with timestamp format using logrotate. like catalina.$date.out

I am using logrotate to rotate catalina.out, but after rotation the filename is like catalina.out.1.gz. I want it to rotate the file with a timestamp in its name, like: ...
0
votes
0answers
20 views

Renaming build name while build is running on a port

We have a client that hits a server(tomcat) and on that server we have deployed builds which runs on different ports. To understand better lets say we have four builds running on four different ports ...
0
votes
1answer
126 views

What is the perfect combination of Environment Variables for Tomcat? [closed]

I hosted one application UI in apache-tomcat server. I had set environment variables in bin/setenv.sh file as: CATALINA_OPTS="-server -Xms256m -Xmx512m -XX:PermSize=512m -XX:MaxPermSize=1024m Every ...
1
vote
1answer
1k views

What is rotating Tomcat log files?

One of our servers has Alfresco installed, and this is the content of /opt/alfresco/tomcat/logs: -rw-r--r-- 1 root root 4.1K Jun 29 10:41 catalina.2015-06-29.log -rw-r--r-- 1 root root 352 Jul 1 ...
1
vote
1answer
74 views

Apache Tomcat and Httpd - Sharing common web publication folder - CentOS

Suppose: The Httpd's Web publication folder is assigned according: Edit /usr/local/httpd/conf/httpd.conf file: DocumentRoot "/usr/local/WebFiles/Html" <Directory ...
1
vote
1answer
2k views

Starting Tomcat Service when starting CentOS/RHEL/Fedora

I want to install tomcat 8 and run it at startup time I am following these tutorials: Install Tomcat 7 on CentOS, RHEL, or Fedora How to install Tomcat 8 on a CentOS 6 VPS I created the tomcat ...
0
votes
1answer
190 views

How can I install tomcat8 using openjdk8 in a FreeBSD jail?

I have a FreeBSD 10.1 machine. I want to install tomcat8 and openjdk8 in a jail. This jail will only be used for few web application, and I do not want to install the ports collection, nor the full ...
1
vote
2answers
1k views

Creating Group and User for Tomcat RHEL/CentOS

I newbie I want to create an user for my Tomcat installation, but I was viewing multiple options: # groupadd tomcat # # useradd -g tomcat -d /usr/local/tomcat tomcat # useradd -g tomcat -c "Tomcat ...
2
votes
2answers
4k views

Tomcat won't use setenv.sh

I have Tomcat installed as service. It's CATALINA_HOME and CATALINA_BASE are same: -Dcatalina.base=/usr/share/tomcat7 -Dcatalina.home=/usr/share/tomcat7 I added setenv.sh script to ...
1
vote
1answer
3k views

How to install Tomcat Server on Linux Mint 17.1?

This is where I am so far with my download after I was stranded in the middle of the way. So I went to the website, downloaded the latest version of Tomcat, and I extracted it into my downloads. I ...
1
vote
1answer
820 views

tomcat6 start failed, but the service status is running

I've installed tomcat6 on my CentOS. It does not work. # service tomcat6 start Starting tomcat6: [FAILED] # service tomcat6 stop Stopping tomcat6: ...
0
votes
1answer
153 views

Install the latest tomcat version

I'm needing a tomcat version which supports JDK 8. So since I was using tomcat6, I need to switch to tomcat 7. The problem comes because, when I install it using: apt-get install tomcat7 The ...
0
votes
1answer
182 views

Change the JRE/JDK used by tomcat6

I need to change the JRE used by my tomcat6 server, because I've a JSP App which has compiled classes whith JDK 1.8.0_45. Then since I had JRE 1.8.0_40 (and being it used by tomcat), I got a faulire ...
0
votes
1answer
1k views

Why doesn't Tomcat show up when I grep netstat's output for 8080?

I am doing the following to determine if Tomcat is running: $ whoami voops voops@esavo00:~/apache-tomcat-7.0.57/bin# $ ps -ef | grep -i tomcat | grep -v grep voops 8973 1 0 Apr22 ? ...
0
votes
1answer
682 views

Cannot start Tomcat 7 as Apache Commons Daemon

I've been following the install process as recommended here. I'm trying to run Tomcat as a Unix daemon as described in the docs. However, when I run $CATALINA_HOME/bin/jsvc like this (note, I added ...
0
votes
2answers
782 views

VirtualHost with mod rewrite pointing at tomcat application

I am setting up a server running on Ubuntu 14.04. I have apache and tomcat installed with the rewrite module for apache and mod_jk enabled. I have mod_jk properly configured so apache is forwarding ...
0
votes
1answer
164 views

Maintain two tomcat installations with apt-get

On our server we have two tomcat8 installations on debian wheezy. One tomcat was installed via apt-get install , the second instance was then just copied from the first installation. But this makes it ...
3
votes
1answer
536 views

httpd doesn't serve relative url from tomcat, why not?

In a CentOS 7 server, I am trying to set up httpd to act as a reverse proxy for tomcat. I have httpd running perfectly in the sense that I type in http/mydomain.com and it serves up static content ...
0
votes
1answer
237 views

SSL-encrypted proxy server for war files in CentOS 7

How can I configure a CentOS 7 web server to serve only SSL-encrypted content from war files, with tomcat running behind a proxy server? I imagine this involves using firewalld, https, and tomcat. ...