5
How to do an IF statement from the result of a executed commandview story

http://unix.stackexchange.com – I am trying to do an IF statement from the output of an executed commmand. Here is how I am trying to do it, but it doesn't work. Does anyone know the right way to do this? if [ "`netstat -lnp | grep ':8080'`" == *java* ]; then echo "Found a Tomcat!" fi (HowTos)

5
Downloading content greater than 2000 bytes from local network hangs in browser on Windows XPview story

http://serverfault.com – We have web application that runs under Tomcat in a local network. Our customers experience strange problem using this web application. Let's say Tomcat server runs on host1 and we open webapp URL in browser on host2. Any browser on host 2 starts opening page and downloading of content "hangs" for hours. (HowTos)

5
upstream timed out (110: Connection timed out) with nginx + tomcat + amazon ec2view story

http://serverfault.com – On a Amazon EC2 instance we have nginx and tomcat running. Nginx is proxying all requests to tomcat on port 8080 running on the same instance. This worked fine for a day, but then started seeing a lot of "upstream timed out (110: Connection timed out)" errors in the nginx logs and the site was inaccessible. Now tomcat is accessible all right at port 8080. (HowTos)

5
Deployment of Tomcat7 WARview story

http://serverfault.com – I ran dpkg -l tomcat 7 | grep webapp to find the directory where to place my WAR file. When I dumped my ROOT.war to this directory, the corresponding ROOT directory was populated (exploded is the term, I think). Then, I restarted (stop, then start) tomcat. However, I navigated to localhost on port 8080, but I had the same default Apache homepage. Please advise. (HowTos)

5
Tomcat cannot find fontsview story

http://serverfault.com – I have Tomcat6 running on Debian 6 in a headless server. The application deployed on this server has to generate PDF files at various points. (HowTos)

6
Apache proxy not workingview story

http://serverfault.com – I'm trying to configure my apache with tomcat, thus I used a proxy, but, not working. Of course I loaded the modules proxy, proxy_http. (HowTos)

5
Installing Tomcat 6 on CentOS 6.3view story

http://serverfault.com – I have a CentOS 6.3 server with cPanel. (HowTos)

5
file transfer between s3 and ec2view story

http://serverfault.com – I want to automate transfer of tomcat log files from micro instance to S3 account. However, all the scripts I find online use key pair in order to do this. I cant upload these key pair to the server for security reasons. Is it possible to create a shell script that automates moving of these log files into s3 without requiring to access .pem files ? (HowTos)

5
Tomcat issueview story

http://forums.cpanel.net – We have a number of Tomcat applications running on a Cpanel server. Recently, we hosted a new website on the server which is using Tomcat. The issue is that whenever the customer uploads any new file, we have to restart Tomcat service for changes to reflect. We have never restarted the Tomcat service for any other websites hosted on any server after every new upload. (HowTos)

5
PermGen error in Java, while memory usage seems lowview story

http://serverfault.com – Java application dies from time to time with PermGen space error, but when I look at the memory usage it seems low from what I can tell. It is a Tomcat application, plus there is SOLR server running (under the same tomcat). JVM params in catalina.sh: -Xms1024m -Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/path/to/logs Error in catalina.out: java.lang.OutOfMemoryError: PermG (HowTos)