The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
3answers
10k views

How can I redirect ports 80 and 443 to 8080 and 8443 with iptables?

I'm looking at the documentation for a Tomcat 6 webapp called DSpace, specifically in regardds to running Running DSpace on Standard Ports (80 for http:// and 443 for https://) I am trying to use ...
2
votes
2answers
516 views

the difference in used hard drive space as shown by df and du is HUGE!

It seems that du discounts the #open files when calculating the disk usage, and this hit me when I saw that df is showing 100% usage, while du says only 40% is in use. when i looked up on this, i ...
2
votes
1answer
48 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 ...
2
votes
1answer
363 views

Run an application under Tomcat

I have an application that needs to run under Tomcat. I have installed Tomcat but I don't know where can I put the directory of the project.
2
votes
1answer
69 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
73 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 ...
2
votes
4answers
97 views

any feature on linux like Perfermance Counter on Windows servers?

I have a tomcat web application, when invoking an unstable remote API, I want to get realtime http request time at any time. On windows server, I can use Performance Counter, does centos provide ...
2
votes
1answer
382 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 ...
2
votes
1answer
251 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 ...
2
votes
1answer
1k views

How to checkout Tomcat by SVN?

I try: svn co http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/ But received error: svn: E170000: Unrecognized URL scheme for 'http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk' Is it ...
2
votes
2answers
2k views

Virtual hosting a tomcat webapp in Apache on RHEL 5.0

I am in a hosting fix! I have developed a web app for my organisation that allows sharing, interacting, etc. I want to DEPLOY IT ON LAN. BUT... I don't want the end user to type: ...
2
votes
1answer
184 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 ...
1
vote
3answers
224 views

How do you set a program as a service in Linux (Debian) but have it switched off by default?

When you install Alfresco, it gives you an option of having it installed as a service or not. If you install it as a service, the service starts up on booting but since it's using Tomcat it's too ...
1
vote
2answers
151 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 ...
1
vote
1answer
118 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 ...
1
vote
1answer
437 views

ssh with sudo doesn't start services

I want to run command with sudo through ssh without disabling "requiretty" sudo option. According to /etc/sudoers: # # Disable "ssh hostname sudo <cmd>", because it will show the password in ...
1
vote
1answer
2k views

Can't start Tomcat on Ubuntu

I installed Tomcat on Ubuntu. Then I created a new user. Then did: liferay@web-svr:~/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/bin$ chmod +x *.sh Afterwards, I added JAVA_HOME and PATH in bash like ...
1
vote
1answer
170 views

tomcat: symbolic link in a loop

linux-trra:/usr/local> $CATALINA_HOME bash: /home/anisha/openGTS17Nov/apache-tomcat-7.0.32/: is a directory linux-trra:/usr/local # ln -s $CATALINA_HOME tomcat linux-trra:/usr/local # file tomcat ...
1
vote
1answer
304 views

How to start java application after machine reboot?

I'm wondering if there is easier way to start java application (just tomcat server) after machine has been rebooted? Possible answers: Add the application as a service and then add it using ...
1
vote
1answer
393 views

How can I force the IP address & hostname to only be exposed as domain.com on a Tomcat Server?

I have a web server which is running on CentOS 6 on top of Tomcat7. Everything works fine, however, there are many ways that users can access the server. For instance: IP Address domain.com ...
1
vote
2answers
1k views

Java version for Tomcat

I want to run my Tomcat with Java 7 but all I found about configuring it doesn't work. The management interface of Tomcat shows 1.6.0_24-b24 as Java version. The JAVA_HOME variable is empty. % echo ...
1
vote
2answers
1k 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 ...
1
vote
0answers
47 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 ...
1
vote
1answer
135 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
219 views

installing apache httpd server on RHEL-6

I have 5 systems running Apache tomcat server, for load balancing i need to install Apache httpd server, how should I do this, please provide me some useful links and your opinions on this. I am ...
1
vote
2answers
308 views

apache, tomcat context path

I have Tomcat and Apache installed in CentOS 5. They're integrated with a help of mod_jk.so. They both display the same in http://www.tource.com/cms/admin and http://www.tource.com:8080/cms/admin ...
0
votes
2answers
95 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 ...
0
votes
1answer
63 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 ...
0
votes
1answer
2k 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 ...
0
votes
1answer
260 views

Start and stop tomcat through ant script which is running in cygwin

I am trying to start and stop my tomcat through ant build.xml as follows, I am running the ant script in cygwin , i get the following error D:\build-cygwin-copy_converted.xml:53: Execute failed: ...
0
votes
0answers
30 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 ...
0
votes
0answers
22 views

Getting messages: INFO: Unknown message 0

In my tomcat catalina logs i am getting INFO: Unknown message errors. Please have a look at below logs. How to debug this issue, why this is happening. Can anyone please help me on this? Apr 28, 2014 ...
0
votes
2answers
449 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 ...
0
votes
0answers
165 views

Tomcat fake start on startup with init.d

I have my tomcat (tomee) installation at /opt/tomee and I can correctly launch it with: $ /opt/tomee/bin/startup.sh Using CATALINA_BASE: /opt/tomee Using CATALINA_HOME: /opt/tomee Using ...
0
votes
1answer
175 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 ...
0
votes
1answer
488 views

Autorun Tomcat in Linux Mandriva - java.io.IOException: invalid argument

Here's the autorun script, which i use - #!/bin/sh # description: Tomcat start/stop script # chkconfig: TOMCAT_PATH=/java/apache-tomcat-7.0.32/bin ...