The tag has no usage guidance.

learn more… | top users | synonyms

-1
votes
1answer
18 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
39 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
39 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
29 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
19 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
0answers
11 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
47 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
90 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
16 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
434 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
68 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
145 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
15 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 ( ...
1
vote
1answer
812 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
42 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
213 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 ...
0
votes
1answer
72 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
206 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
62 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
42 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
206 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
0answers
1k 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
123 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
16 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
88 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
539 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
67 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
1k 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
138 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
862 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
2k 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
2k 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
574 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
120 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
141 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 ...
1
vote
0answers
49 views

Bind TomcatWebConnector to IP Address [closed]

I have a RedHat 5.6 server that has two NIC's (eth0/192.168.1.1 and eth1/192.168.1.2). I want to have two separate installs of geronimo using one specific NIC only. Install1 ...
0
votes
1answer
772 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
0answers
197 views

How can I let a application/user account only create and update a log file (no read permissions) in Linux

I'm attempting to setup a fairly restrictive Apache Tomcat installation on CentOS 6.6 and am stuck on file permissions for the log folder. The tomcat folder and all it's sub-directories are owned by ...
0
votes
1answer
554 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
0answers
47 views

when idle tomcat runs on 3.9% CPU

I would like to know if it is normal that tomcat7 runs on 3.9% CPU when idle? I saw all other processes are at 0%, only tomcat7 is always at least 3.9%. Thanks
0
votes
2answers
719 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
149 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
472 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
210 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. ...
0
votes
0answers
163 views

web container options for war file in CentOS 7

I know that Tomcat and NginX are both able to host web applications that are defined by war files. But can httpd also host a war-file-based web application on a CentOS 7 server? If so, how would you ...
0
votes
0answers
1k views

deploying a war file to a remote centos 7 server

If tomcat is installed in a remote centos 7 dedicated web server, and a war file is placed in the webapps folder, how would you set things up so that http requests originating all over the internet ...
1
vote
1answer
41 views

Confusion regarding generating self signed certificate for application portal developed using liferay

We have a Application Portal developed using Liferay bundled with tomcat. There are two application servers running liferay and we use httpd as a front-end which forwards requests to application ...
1
vote
0answers
210 views

Creating Self signed certificate for tomcat 6

I am trying to configure self signed certificate for our tomcat server. For that initially I created the keystore certificate file using keytool . The command I tried for this is keytool -genkey ...
0
votes
2answers
355 views

Tomcat 8 doesn't start

Upgraded tomcat 6 to 8 on Centos 7. I get this error in logs: /usr/local/ctera/apache-tomcat-8.0.14/bin/catalina.sh: line 421: -Djava.endorsed.dirs=/usr/local/ctera/apache-tomcat-8.0.14/endorsed: ...
0
votes
1answer
144 views

Understanding tomcat logs

I am working in Application support for a Java based application as a support engineer. I would like to understand tomcat debug logs so that i can resolve the issues at my end and do not have to ...