Open source web server developed by the Apache Software Foundation

learn more… | top users | synonyms

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 ...
0
votes
0answers
15 views

Installing tomcat6 on centos 64

I've tried: # yum install tomcat6 The result is as below: Transaction Summary ===================================================================================================================== ...
1
vote
2answers
2k 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 ...
4
votes
1answer
749 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
811 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
1answer
740 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
1answer
665 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 ...
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
1answer
634 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
112 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
167 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
59 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 ...
1
vote
0answers
94 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 ...
15
votes
6answers
15k 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) + ...
0
votes
1answer
385 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
18 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
961 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
45 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
12 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
46 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 ...
2
votes
4answers
5k 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 ...
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 ...
0
votes
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 ...
1
vote
3answers
1k 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 ...
0
votes
0answers
22 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
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 ...
0
votes
1answer
278 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
115 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
135 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 ...
3
votes
2answers
907 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 ...
0
votes
3answers
464 views

Tomcat6 cannot find java enviroment variable

Here is a stupid noob question. I installed Tomcat6 and java-6-oracle. I set the /env/environment to contain JAVA_HOME and JRE_HOME (and both point to the correct directory). However when I try and ...
6
votes
4answers
13k views

How does one get tomcat to bind to ipv4 address?

I recently installed tomcat via an installation script from the apache solr typo3 community and spent the last 3 days trying to figure out why it won't work until by chance I noticed that when I ...
2
votes
2answers
62 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
1answer
55 views

Change java version for tomcat on centOS

I need to run tomcat6 with Java 8 and keep Java 6 as the default JRE on CentOS. I have succeeded on unpacking a tar version of tomcat6 on centOS and doing so, but when I use the yum package, for ...
0
votes
0answers
199 views

Can't connect to Tomcat via JMX : java.lang.SecurityException

I've tried to follow the instructions given by numerous blogs to set up JMX on Tomcat6. Basically, what I've done is to add the following lines to tomcat6 in /etc/default: # To enable remote access ...
2
votes
1answer
374 views

Tomcat doesn't appear to work out of the box on a fresh CentOS 6.5. Am I missing something?

I install CentOS 6.5 with the "Web Server" package selection and everything else as defaults. I do a service tomcat6 start, then a ss -ntlp to confirm that Tomcat is listening on port 8080, as ...
0
votes
2answers
193 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
118 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 ...
3
votes
1answer
2k 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 ...
-3
votes
4answers
95 views

How to configure Tomcat6 to run Php5 [closed]

I am using Tomcat6 as a server and i want to run php5 application on tomcat . Is there anyway to configure tomcat6 to run php on it .? I am using Ubntu 13.10 to run tomcat6
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
1answer
53 views

tomcat server starting error?

1. cd /home/mpatil/Downloads/ 2. tar zxvf apache-tomcat-6.0.37.tar.gz 3. cd apache-tomcat-6.0.37/bin 4. ./startup.sh 5. tail -f /home/mpatil/Downloads/apache-tomcat-6.0.37/logs/catalina.out The ...
-4
votes
1answer
194 views

how to start the tomcat server in linux? [closed]

i tried to install 1.yum install -zxvf apache-tomcat-6.0.47.tar.gz then 2. export TOMCAT_HOME=/home/mpatil/softwares/apache-tomcat-6.0.37 3. [root@localhost mpatil]# echo $TOMCAT_HOME ...
1
vote
2answers
636 views

Tomcat 6 virtual host + Apache 2 proxy

I have a problem with my Apache and Tomcat configuration. I have an Apache instance as a proxy to Tomcat. The Tomcat serves two virtual hosts. The problem occurs when one Apache virtual points to ...
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 ...
0
votes
4answers
1k views

Fix a tomcat6 error message “/bin/bash already running” when starting tomcat?

I have a Ubuntu 10.04 machine that has tomcat6 on it. When I start tomcat6 with /etc/init.d/tomcat6 start I get * Starting Tomcat servlet engine tomcat6 /bin/bash already running. and the server ...
0
votes
1answer
65 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
0answers
287 views

Apache Tomcat browser caching with expires module

I'm using Apache Tomcat with mod_jk for our sites on Ubuntu servers. I'm trying to cache all the images in the browser for faster reloading of web pages. I have few images from CDN and some are in ...
0
votes
1answer
129 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
1answer
289 views

Solr 4.4 with tomcat 6 throws 503 on tomcat manager

System Details: OS: Cent OS 5.5 x86_64 java - 1.7 (1.7.0_25) tomcat : 6.0.37 solr 4.4 (configured for multi-core) I had solr 4.4 multicore running perfectly on jetty (although running just one core ...