1
vote
1answer
24 views

Log warnings and errors only in Tomcat

I'm running an instance of Apache Solr with Tomcat 6. The scripts I used for installing configured Tomcat to log "everything" which means that it generates huge logfiles because every query etc. is ...
0
votes
1answer
835 views

Starting tomcat causes “java.io.FileNotFoundException: ../logs/dc.log (No such file or directory)” in catalina.out

I have been seeing this for literally years as part of tomcat apps, and now that I have gone through the steps to investigate it, I can't find the cause. Here's what I see whenever I start tomcat on ...
1
vote
1answer
65 views

Tomcat resources not resolving correctly

I'm trying to deploy MITRE's OpenID Connect Java Spring Server using Tomcat. My server's FQDN is park.muller.io. I've compiled the MITRE server and placed the .war file into the Tomcat webapps ...
0
votes
1answer
52 views

A botnet may be attacking our site right now, how should we respond? [duplicate]

Not sure if SO is the right forum, but we're in need of help and perhaps programmatic elements may comprise the final solution. Instead of downvoting, please recommend where to post this question, and ...
2
votes
2answers
68 views

http in the Location-header when the original request was made over https

I am currently implementing https on our production environment, but I am scratching my head over a little thing here. SSL is terminated in the load balancer and the flow in our stack is basically ...
0
votes
2answers
305 views

Why isn't tomcat serving the correct SSL certificate

I configured tomcat with SSL successfully and was using a self-signed certificate. Recently an issue arose where just having the client "Accept/trust" our certificate wasn't easy. We ended up ...
2
votes
1answer
145 views

Will Tomcat 6 cache across Webapps?

I have a Tomcat 6 server on an Ubuntu 12.04 server with 4GB and the following JAVA_OPTS JAVA_OPTS="-Djava.awt.headless=true -Xms512M -Xmx512M -XX:PermSize=1024M -XX:MaxPermSize=1024M ...
0
votes
1answer
74 views

How to write rules to for random sub domains in Apache?

Actually our website creating by using Java technologies so installed Tomcat,apache on VPS and deployed. we are creating sub domains for registered customers we have enabled the Wildcard by creating A ...
0
votes
1answer
157 views

Tomcat6 Decompressing GZip Request

Since Tomcat has the option to compress its response to GZip. Is there a way to configure Tomcat 6 to decompress gzipped requests without putting it behind an Apache server with mod_deflate enabled, ...
0
votes
0answers
238 views

IOException: Operation not permitted; No faulty members identified

I am running a tomcat cluster with three tomcat instances and one Apache server. I have all MAC server except one RHEL box, on RHEL server my tomcat-cluster is not starting properly which is causing ...
0
votes
1answer
359 views

How can I determine the optimal size of the maxThreads of my NIO/APR Connector for Tomcat?

I am using NIO/APR Connector for Tomcat7. E.g. <Connector port="8080" protocol="org.apache.coyote.http11.Http11AprProtocol" connectionTimeout="3000" redirectPort="8443" ...
0
votes
1answer
1k views

How to install tomcat for many instances with CHEF?

I would like to install tomcat with a recipe through chef at some folder, like /company/tomcat6.0.45-port8081. But sometimes I have many instances of tomcat, like /company/tomcat7.0.41-port8082, ...
0
votes
2answers
51 views

How to change what a web address displays by server settings?

I'm not too familiar with server configuration especially CentOS or Redhat based server configuration. The problem that I am currently having is that I have Tomcat6 installed. When I go to my website ...
0
votes
0answers
276 views

Tomcat with SSL - java.io.IOException: Keystore was tampered with, or password was incorrect

I am trying to use tomcat setup over SSL. I generated the keystore using this command $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore /home/user/.keystore Then I used the ...
1
vote
0answers
199 views

TOMCAT Disable org.apache.http.wire logging

I need to shut up the org.apache.http.wire logging level because its logging every single HTTP request and it produces Gigabytes of logging, I'm using the default logging of tomcat6 which I think it ...
0
votes
1answer
155 views

Unable to access Tomcat6 from outside the server

I've just installed Tomcat6 on my Debian Linux server (with OpenJDK), which also has an Apache server installed on the same machine. I haven't strayed from the default settings, so it would be setup ...
0
votes
1answer
446 views

NGINX as load balancer with tomcat6 gives bad gateway error only only HTTPS mode

I am using nginx as load balancer on tomcat6 webserver. Both NGINX and TOMCAT6 have been configured to use only HTTPS. NGINX configuration settings are mentioned in the following two files. ...
0
votes
3answers
2k views

Unable to start Tomcat6 with HTTPS enabled

I have the following server.xml settings for my tomcat6 server <!-- COMMENTED <Connector port="8080" maxThreads="150" enableLookups="false" acceptCount="100" ...
0
votes
3answers
2k views

how do I know tomcat is running on Windows

I'm on Windows, went to %CATALINA_HOME%\bin\ and ran startup. I did see another commandline window popup and tomcat was loading some webapps that were there before (I had run webapp inside my IDE ...
1
vote
2answers
3k views

Tomcat always returns status code 400

I've just installed Tomcat on CentOS 6.3. # yum install tomcat6 # service tomcat6 start According to the tutorials I've looked at, I should be able to see a test page now. # curl -I 127.0.0.1:8080 ...
0
votes
2answers
83 views

Apache tomcat is not restarting

I installed Apache tomcat using custom package sudo apt-get install tomcat6 I tried restarting the Apache tomcat using this in Ubuntu Terminal sudo service tomcat6 restart then I got the ...
3
votes
1answer
2k views

SolrCore initialization failures

When I visit the dashboard it tells me: SolrCore initialization failures The only warning line in /var/log/tomcat6/catalina.out is: WARNING: New index directory detected: old=null ...
0
votes
1answer
127 views

How to find Apache memory utilization?

I want to measure memory utilization of my Apache Server. Can I use the pmap/ps command and pass all the process IDs of httpd and take that as total utilization? In most of the blog, they suggest ...
0
votes
2answers
499 views

Solr performance (tomcat) - High load

I'm relatively new to solr. I have a production site running on a VPS, but now I'm having serious load issues. I don't know where to start in order to get the load down... VPS specs (linode.com 512) ...
2
votes
1answer
76 views

Can a working Tomcat 6 webapp be turned into a usable .war file?

Problem: I have a working webapp on a FreeBSD 8.1 Tomcat 6 test server that I need to move to a production system. The developer who last touched it (and had root on that server) has moved on and ...
0
votes
1answer
122 views

Tomcat vs. IIS - multiple worker processes

The Application Pool feature of IIS allows to run several applications each separated to each own isolated processes. Is there any equivalent in Tomcat? Or do I have to deploy Tomcat several times to ...
1
vote
1answer
22 views

Migrating from tomcat to tc server - receiving java.sql.SQLException on startup

I'm receiving below error when I start tcServer. I do not receive this error on standalone version of tomcat. Is there extra config I need to add for tcServer ? WARNING: Unexpected exception ...
1
vote
1answer
2k views

How to turn off Tomcat logging in Eclipse? [closed]

I develop a Vaadin project in Eclipse that I start through Tomcat 6 which gets started directly by Eclipse. Tomcat prints an enormous amount of log messages though on each start which makes it hard to ...
7
votes
1answer
1k views

Tomcat 7 trailing slash issue with webapps

Recently I upgraded my tomcat server from 6.x version to the most recent 7.x version. I came up with little trouble, hoping to get help. I have an application calls MyApp On tomcat6, when I went to ...
0
votes
2answers
217 views

Can I save an Apache environment variable value with SetEnv?

I am running Apache 2.2 with Tomcat 6 and have several layers of URL rewriting going on in both Apache with RewriteRule and in Tomcat. I want to pass through the original REQUEST_URI that Apache sees ...
2
votes
4answers
6k views

tomcat6 on CentOS 6: cannot stop/restart service

I have this problem with stopping and starting tomcat6 (package from the repos). I've seen with several CentOS 6 and RHEL 6 boxes. The symptoms are that when I want to restart or stop tomcat6 it just ...
1
vote
1answer
37 views

Tomcat looks different when installed using yum and apt-get

I just installed tomcat6 on Ubuntu using apt-get and on CentOs using yum. When I visit www.domain.com:8080, I get 2 different looking page. Not that it really matters if just the visuals, but did I ...
1
vote
0answers
142 views

Difference between Admin and Manager role in Tomcat6

What are the roles admin and manager used for in Tomcat6? The manager role appears to give me access to http://domain.com:8080/manager/html. Which page does the admin role give me? In the file, the ...
1
vote
1answer
982 views

Unable to start tomcat6: Java error (Exception in thread “main”)

After installing tomcat6 on CentOS 6.3, I am unable to start tomcat6 server. root@host [/var/log/tomcat6]# service tomcat6 start Starting tomcat6: [ OK ] ...
1
vote
1answer
2k views

How to update Tomcat on Centos 6.3?

I'm running CentOS release 6.3 (Final) and I have Tomcat 6.0.24 installed: # yum info tomcat6 Loaded plugins: fastestmirror, presto, priorities Loading mirror speeds from cached hostfile * base: ...
0
votes
0answers
681 views

Tomcat cannot find fonts

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. Trying to do so results in an exception for missing fonts: ...
0
votes
1answer
233 views

Tomcat threads number inexplicably peaking immediately after end of load test

I am testing an app on Tomcat with one hour of crazy traffic from 200 users. Everything is fine during the test. But immediately AFTER the test (no more traffic), the number of threads rises ...
0
votes
1answer
573 views

I've apt-get java, tomcat6 on debian system and get this exception. How can I fix it?

root@konrad:/var/lib/tomcat6/logs# cat localhost.2012-07-12.log Jul 12, 2012 9:26:30 AM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter SetCharacterEncoding ...
0
votes
1answer
171 views

tomcat6 on debian squeeze logging 'deploying config descriptor' error

Periodically or when the application is reloaded, tomcat6 is logging this into catalina.out: 06-Jul-2012 17:30:07 org.apache.catalina.startup.HostConfig deployDescriptor SEVERE: Error deploying ...
3
votes
2answers
999 views

Time-based 32-bit overflow in Java? Or SLES11?

This is Tomcat 6.0.18, Java 1.7.0_03 (32-bit), and SLES11 SP2 (64-bit). As for kernel information: $ uname -a Linux server-1 3.0.13-0.27-default #1 SMP Wed Feb 15 13:33:49 UTC 2012 (d73692b) x86_64 ...
2
votes
1answer
3k views

Tomcat directly serve static (css, js) files shared by multiple applications

I'm using the ExtJS framework which has a bulk of js and css files that are used for all apps. I intend to share these between a number of web applications (different war files). For this reason I ...
2
votes
2answers
249 views

Start tomcat webapp with root privileges

I built a webapp that uses libpcap (via jpcap). In order to be able to get the network interfaces list or to bind to a network interface, the application (in this case a webaap that runs from tomcat ...
0
votes
1answer
308 views

IIS NLB Web Farm to front Single Tomcat Instance

I've got a single Tomcat 6 server that hosts a JSP app. We just spun up a new IIS 7.5 web farm to host our other internal apps. Currently the machine that hosts Tomcat is also running IIS 7 with the ...
1
vote
2answers
534 views

Multiple Tomcat Services on port 80

I have a Tomcat server that that I want to run multiple webapps each with a different domain name. Given the configuration below, I want to be able to connect to http://webapp1 and get to its webapp ...
3
votes
1answer
7k views

How to configure tomcat to rollover catalina.log log files

I'm trying to configure my tomcat to rollover log files once a size limit is reached. I'm running tomcat as a windows service and am redirecting all my stdout to catalina.log. This is how I configured ...
0
votes
1answer
97 views

how to restart one of several hosts in tomcat

if I have several <Host> blocks in my server.xml like: <Host name="www.mycompany.com" ...> <Alias>alias.com</Alias> ... </Host> what would be the best way to ...
1
vote
3answers
845 views

Tomcat 6 disableProxyCaching with no authentication

I have an application running on Tomcat 6, that (from Tomcat perspective) doesn't have any authentication. Also, it needs to run over SSL. Last, one of the pages allows you to save an Excel file. ...
0
votes
1answer
314 views

Spring-mvc project can't select from a particular mysql table

I'm building a Spring-mvc project (using JPA and Hibernate for DB access) that is running just great locally, on my dev box, with a local MySQL database. Now I'm trying to put a snapshot up on a ...
0
votes
1answer
3k views

Tomcat server shutting down after few seconds its start?

Im having some strange problem on my tomcat server at ubuntu pc its can start after start with in few seconds its goes to shutting down . still i could not up the tomcat server my server.xml have no ...
2
votes
2answers
3k views

How to reduce the memory used by Tomcat?

I bought a virtual server with 1gb of memory to run java web site application. I have installed Tomcat 6.0.33 . Each time i run tomcat, it s taking around 450 mb of memory. I tried everything to ...