Open source web server developed by the Apache Software Foundation

learn more… | top users | synonyms

0
votes
1answer
856 views

Disable public Tomcat6 stack trace

Can anyone advise me how I can go about disabling Tomcat6 from displaying stacktrace output to the browser? Tomcat: 6.0.29 I have made the following changes to /opt/apache-tomcat-6.0.29/conf/web.xml ...
1
vote
0answers
13 views

Apache Rewrite of HTTPS on another specific port with hidden subdirectory [duplicate]

I have a Tomcat behind an Apache server and I would like to use the https request to be rewritten to the Tomcat on port 9001 with a hidden subfolder /test. hosts entry: 127.0.0.1 local.domain.com ...
-1
votes
2answers
37 views

Install GoDaddy Wildcard SSL Certificate on Tomcat 6

I have a wildcard ssl certificate that was generated by one of our Server Admins. I would like to use a copy for one of our sub-domains. Do I need to go through recreating a CSR file using keytool. ...
1
vote
1answer
3k views

JNDI Datasource Problem on Tomcat 6, Hibernate

I am using Tomcat 6 as application server, Struts-Hibernate and MyEclipse 6.0. My application uses JDBC driver but I should modify it to use JNDI Datasource. I followed steps as described in tomcat ...
8
votes
2answers
2k 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
1answer
17 views

Tomcat service dies on startup

I have added the following arguments to the JVM options for a Tomcat Windows service: -Dcom.sun.management.jmxremote.port=3333 -Dcom.sun.management.jmxremote.ssl=false ...
4
votes
1answer
1k views

Reading files on network share from a Windows service (app over tomcat as service)

I have a webapp over tomcat6, which is installed as a service in a WinServer (2008 or 2003r2, don't know for sure, people haven't let me put a hand over it so far). The Tomcat service runs with a ...
0
votes
1answer
2k 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, ...
-1
votes
1answer
28 views

Cache Memory Growing very fast Cent Os -Tomcat

i am running Java application on Tomcat-6 on CentOs . JAVA_OPTS Like this : JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.security.SecurityListener.UMASK=`umask` -server -Xms256m -Xmx2536m ...
0
votes
0answers
23 views

tomcat6 on centos 6.2 fail to start

i just installed tomcat6 through yum, but service tomcat6 start = OK, but service tomcat6 status = fail i found this post ...
0
votes
1answer
18 views

Tomcat application Server (V 6.0.28) security issue

As we are using apache tomcat server version 6.0.28. [Problem Statement] While using tomcat version (6.0.28),we have faced few security vulnerability issues in this version(6.0.28). Below are the ...
0
votes
0answers
42 views

how to check which forward secrecy cipher is enabled in tomcat 6.0.28 while I use TLSv1.0 protocol?

I am using tomcat 6.0.28 and using TLSv1.0 ssl protocol only. I have configured ciphers as ...
0
votes
2answers
5k views

Webapp causes java.lang.ClassNotFoundException: javax.mail.Authenticator

I have tomcat6 running on ubuntu, with java 1.6.0_20. One of the webapps causes an error, which has as root cause: java.lang.ClassNotFoundException: javax.mail.Authenticator the mail.jar and ...
2
votes
1answer
1k views

Apache2 proxy Tomcat6 prevent 503 error while starting

While tomcat6 is starting up all my http requests are retained by the server and sends the response when the server is up. But when I use an apache2 as a proxy the apache2 responds inmediatly a 503 ...
0
votes
1answer
39 views

Where do I find the SSL configuration for a tomcat 6 web server?

I've inherited a small secure web application that runs on a single Tomcat 6 web server on a machine running Amazon Linux. I need to disable the SSLv3 fallback, but I just can't find where the HTTPS ...
1
vote
3answers
2k views

rpmbuild on Cent OS 6: “cpio: bad magic”

When I try to run this command : rpmbuild -bb SPECS/software.spec I get an error when the WAR file (as in tomcat java web archive file) is being added to the rpm: error: create archive failed on ...
5
votes
1answer
3k views

How do I use non-plaintext passwords for Tomcat users?

On Ubuntu 10.04.3 LTS, after installing Tomcat 6, the way to add a manager / admin account is to add a record like this to /etc/tomcat6/tomcat-users.xml: <role rolename="manager"/> <role ...
0
votes
1answer
21 views

Tomcat6 failed to restart

I have tomcat6 installed with Geoserver 7 on it. After trying to restart error appears in catalina.out java.lang.NoClassDefFoundError: Could not initialize class java.util.Currency ...
3
votes
4answers
14k views

Why can't I access Tomcat externally?

We hire a Virtual MS Server 2008 machine from a hosting company. I say this because maybe it's got a bunch of extra settings that aren't the "vanilla" 2008 settings. Anyway, I installed a default ...
0
votes
0answers
129 views

RestEasy - Could not find MessageBodyWriter for response object of type

Was successfully publishing webservices on OpenShift for last few months, with no code change, suddenly started receiving exception like Could not find MessageBodyWriter for response object of type: ...
0
votes
0answers
19 views

tomcat 6.0 delays before dispatch to servlet

I have a Spring Java Servlet running under Tomcat 6.0 on three different Linux machines. Tomcat is acting as a webserver, handling the port 8080 requests. The .WAR file is identical for all three ...
2
votes
1answer
825 views

Apache mod_proxy: Multiple virtual hosts disable each other

I have an Ubuntu 12.04 server, which had Redmine already installed on a stand-alone apache (everything under /opt/redmine). I wanted to install an instance of Jenkins on the same system, without ...
0
votes
4answers
5k 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 ...
0
votes
0answers
79 views

Tomcat failed to start - Port being used while nothing is really using that port

Currently i have an issue with my tomcat application where it always mentioned that port is being used. The thing is, this issue only happened sporadically and whenever this issue happened, i did run ...
0
votes
0answers
116 views

Starting a second tomcat instance with a user other than root on redhat linux

I am running RHEL Server 6.1 After intalling tomcat6 using yum install tomcat6, I needed a different tomcat instance on the same server. Following instructions on ...
16
votes
6answers
21k views

Tons of TCP connections in TIME_WAIT state on windows 2008 - running on amazon AWS

OS: Windows Server 2008, SP2 (running on EC2 Amazon). Running web app using Apache httpd & tomcat server 6.02 and Web server has keep-alive settings. There are around 69,250 (http port 80) + ...
1
vote
1answer
62 views

Tomcat: Log the equivalent of SSL_CLIENT_S_DN

In Apache HTTPD it is possible to create custom request logs which include the value of SSL_CLIENT_S_DN. Since the site requires mutual authentication (client certificates) this provides a good audit ...
1
vote
1answer
160 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 ...
3
votes
4answers
9k 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 ...
2
votes
2answers
4k views

Farm Deployer not working in Tomcat Cluster

I have setup apache-tomcat clustering(Ubuntu Server) and I used tomcat supported clustering technique with mod_jk following the link. I've setup with One Load Balancer and Two web servers. The major ...
0
votes
0answers
93 views

Installing tomcat6 on centos 64

I've tried: # yum install tomcat6 The result is as below: Transaction Summary ===================================================================================================================== ...
1
vote
2answers
4k 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
1answer
677 views

Switch 302 redirect to 301 with Apache 2 ProxyPass in front of Tomcat 6

I'm trying to optimise my site for SEO and it seems as though their is a 302 direct in action for the http requests. I'm hosting my app on a Tomcat 6 server which lies behind an Apache 2 server. I ...
0
votes
1answer
154 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
928 views

How can I troubleshoot an Apache Server reverse proxy dropped connection?

We are suddenly seeing an intermittent, but very frequent, error while POSTing files to a Tomcat servlet over https via an Apache Server reverse proxy. The error only seems to occur while POSTing ...
0
votes
0answers
227 views

Apache django and tomcat

I have one app running on tomcat6 and a website running with django I would like that if the user write 127.0.0.1/manager/html --> redirect on tomcat otherwise redirect on django Here is my apache ...
2
votes
0answers
253 views

Tomcat 6 session replication does not work with HAProxy

I have HAProxy loadbalancer and two Tomcat backend servers. HAProxy is configured with cookie based persistence, Tomcat is configured with SimpleTcpCluster according to documentation. Multicast ...
0
votes
1answer
2k 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 ...
0
votes
0answers
51 views

Error while Installing Tomcat6 on Linux Debian Squeeze

I install Tomcat6 and try to run the server but its not starting up. I checked the log and found out this error. Apr 29, 2014 3:29:13 PM org.apache.catalina.core.StandardContext resourcesStart ...
1
vote
1answer
1k views

tomcat6 won't start on SL6

I arrived at work today to find that tomcat6 won't start. When trying to stop and start with the following command(s): service tomcat6 stop ; > /var/log/tomcat6/catalina.out && service ...
1
vote
1answer
161 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
0answers
30 views

Change tomcat security-roles by editing web.xml from PHP

When a user buys a product, I set up a new domain on the fly (by calling some API from PHP), and then I come to a point where I need to specify certain security roles in TomCat, preferably still from ...
0
votes
0answers
94 views

Connections pending Apache + Tomcat Setup

I have a Web App deployed using Tomcat . I'm also using Apache to do the port forwarding from 80 to 8080. I have an API service passing from apache to tomcat which gets large number of hits per day ...
3
votes
2answers
1k views

best way to monitor web app performance in tomcat [closed]

I have a web application running in Tomcat 6.x on a Debian Linux box. I have recently started using Google App Engine for another java app and now have serious stats envy; is there a comparable tool ...
1
vote
3answers
4k views

Configuring the Tomcat Plugin of Munin

It would be great if anyone can share a working configuration for the tomcat_ plugin of munin. I need to monitor several tomcat instances on one machine. So far I can't figure out: which are the ...
0
votes
0answers
34 views

performance issue in tomcat

I have a load balancer, under load balancer I have to apache webservers with Mod_jk. Sticky session enabled in both load balancer and webservers. I have two tomcat servers(both are clustered/session ...
0
votes
1answer
57 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 ...
0
votes
1answer
324 views

Spring Security, Apache 2 fronting Tomcat6. Can't login / immediatly logs out

I deployed my GWT app, that uses SpringSecurity, and have a problem. After feeding the credentials it logs out immediately. If I put in the wrong credentials, it says 'wrong credentials', but when I ...
0
votes
1answer
123 views

Install Manager Application in Tomcat 6

I got a windows 2003 and a slim tomcat 6 installation with several application running. Now I want to "install" the manager application to refresh certain apps... I copied the manager folder of ...
0
votes
2answers
207 views

Regular Error 500 with SOLR-Server

In the recent weeks the SOLR server system of our customers have the same error regularly, increasingly often. By now it's almost daily. In the client, the SOLR 3.6 throws this exception to the PHP ...