The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
29 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 ...
1
vote
1answer
41 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
23 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 ...
0
votes
1answer
76 views

Starting Tomcat Service when starts CenTOS/RHEL/Fedora

I want to install tomcat 8 and run it in startup time I following these tutorials: I created the tomcat user: # useradd -U -r -M -d /usr/local/ServerWeb/tomcat -s /sbin/nologin tomcat ...
0
votes
1answer
20 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
93 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 ...
0
votes
0answers
30 views

can't start tomcat6(yum) org/apache/catalina/startup/Bootstrap (Unsupported major.minor version 49.0)

i installed tomcat6 on centos6 through yum, when i start tomcat6 (service tomcat6 start), it shows [OK] but, when i stop tomcat6 (service tomcat6 stop), it shows [failed], and i found exception in ...
0
votes
1answer
102 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
118 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
114 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
61 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
67 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
31 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
0answers
163 views

what doesn't Tomcat doesn't 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
148 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
240 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
34 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
0answers
10 views

Register a new directive in Tomcat using Eclipse

I'm new user in Linux, using Ubuntu 14.10 version. So I develop in Java using Eclipse and something like Tomcat and Maven. When I try to put this configuration in Tomcat serve inside Eclipse ...
0
votes
2answers
393 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
88 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 ...
2
votes
1answer
233 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
173 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
124 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
575 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
36 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
125 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
208 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
0answers
148 views

Tomcat7 cluster don't replicates session

I have a Ubuntu with 2 Tomcat7 with a cluster configurations. The balancer is Apache MOD_JK. SERVER.XML: <Engine name="Catalina" defaultHost="localhost" jvmRoute="no0"> <Cluster ...
0
votes
1answer
74 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 ...
0
votes
3answers
5k views

Run an SQL script to create a Database via Linux Terminal

I am logging into my web server remotely using SSH and I'm wondering if there is a way that I can execute an sql script I have residing in a directory on that server in order to create a new database, ...
1
vote
0answers
577 views

Tomcat unable to create file in dir owned by same group

I have a server running Tomcat, and I need Tomcat to create a file in a particular folder. Tomcat (technically a Java app) runs as the user 'tomcat', as evidenced by top: #top 1251 tomcat 20 0 ...
0
votes
0answers
50 views

Likewise (AD integration) with MS SQLJDBC

Unfortunately this is a very specific question for someone with knowledge of Likewise (not programming) -- In a RHEL/Centos running Likewise, has anyone been successful using Microsoft JDBC in Tomcat ...
0
votes
1answer
2k views

Installing TOMCAT on AIX 7.1

After installing a lot of packages I finally got ./configure to work, just to get a horrible message Host support:- checking C flags dependant on host system type... failed configure: error: ...
0
votes
1answer
937 views

Tomcat: no xmx/xms value set, where is the heap value being defined?

I have a Tomcat 7 install running with Java 1.7 on a Linux 2.6 server, and jinfo shows no xmx or xms values. ps output shows nothing set for xmx/xms on the command line for the java process. Tomcat ...
2
votes
1answer
230 views

Make sense of this strace output

Can anyone make sense of this strace output? [pid 25302] read(34, "}B\311\204\n\250\347$\220\266kRb\304a^^\2504\303k\235\227T\223\16\231\306\277\254\256\306", 32) = 32 It's from a Linux system ...
0
votes
0answers
35 views

If a buggy application underperforms, it it possible server tuning could have no affect?

To set the stage, imagine if you will: A read-heavy Tomcat Application with MySQL on Red Hat Enterprise Linux with some problematic Java Class files which resulted in the application performing a ...
3
votes
1answer
227 views

IPTables Port Redirection Should Have Broken Apache But Didn't

I have a Load Balance set up in Apache httpd: <VirtualHost *:80> DocumentRoot /var/www/html ServerName xxx.xxx.xxx.com ProxyRequests Off ...
2
votes
1answer
3k views

AUTHBIND: Unable to authbind with tomcat 6 on redhat host

I have a redhat linux server with tomcat 6.0.39 installed. Before I deploy any web application and open my server to the public I would like to learn how to run tomcat startup script with my tomcat ...
1
vote
2answers
6k views

Running tomcat under tomcat service account in CentOS

I'm installing tomcat on a CentOS box for use as an application server. My system admin created a tomcat user service account under which to run tomcat. I'm generally following instructions on this ...
0
votes
2answers
325 views

Centralized logs for tomcat logs

We have 20 centos server and on each server we have 5 tomcats running. All time developer comes for logs so we are planning to keep all tomcat logs one URL so that Developer comes to that URL and ...
2
votes
1answer
316 views

Why store program code in /var/cache?

I have inherited a Java / Tomcat stack, running on Ubuntu. It has crashed and I am trying to restart it. The program code seems to be using a config file which I have found on the file system. The ...
1
vote
4answers
3k views

Apache Tomcat not working

I am a Linux beginner and have CentOS 6.4 installed on VMware. Recently installed Java SE8 and Apache Tomcat server but I cant't connect to the server by using `localhost:8080' browser says Unable to ...
2
votes
1answer
709 views

How to redirect Tomcat logs back to catalina.out instead of syslog?

In the release notes for openSUSE 13.1, developers proudly stated that Tomcat logs are no longer being written into catalina.out, but rather written to syslog. I saw similar behaviour with new ...
1
vote
0answers
60 views

Assistance applying poorly packaged patches?

I manage a handful of servers running the various roles of a Ahsay online backup solution. A few times a year the software is updated and I need to apply patches on my servers. Annoyingly the ...
0
votes
1answer
3k views

Install java, tomcat7 or tomcat6 on RHEL5 centos5

I wish to install tomcat7 on centos5 sticking on yum but I have --> Finished Dependency Resolution java-1.6.0-sun-compat-1.6.0.03-1jpp.i586 from jpackage-generic-nonfree has depsolving problems ...
1
vote
1answer
465 views

service killed at ssh hangup [duplicate]

If I use ssh to run some command in background, that command gets killed as soon an ssh hangs up: ssh localhost -t "bash -c '(for i in 1 2 3 4 5; do sleep \$i;done)&'"; ps x|grep sleep This ...
1
vote
1answer
623 views

Debian package of Tomee plus

I'm looking for Debian package of Tomee plus but I have not found anything. Also, I would like to know if it is possible to download the package( on windows) then be installed on Debian or I have to ...
1
vote
2answers
393 views

How to determine what user was used to start Apache Tomcat last (or last few times)

On a Mac, or a Linux Tomcat install, how do I determine what user was used last to start Tomcat? Is there information in the logs somewhere to that effect? Assume that startup.sh and shutdown.sh are ...
2
votes
1answer
432 views

Running Apache with Tomcat

I was wondering if it's possible to run a Tomcat server within Apache whilst also running PHP servers under other virtual host instances? And if so, how is this done? Basically, I'm trying to run an ...
2
votes
1answer
291 views

GlassFish/Tomcat security issue between domain users in linux server (alternate docroot issue)

Let's suppose we give to different users(clients) different domains (one domain for one user) in our glassfish application server for their work. This glassfish works in centos 6 server. Every user ...