Open source web server developed by the Apache Software Foundation

learn more… | top users | synonyms

0
votes
1answer
572 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
3k 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
4answers
4k 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
3answers
977 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 ...
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 ...
1
vote
1answer
731 views

Tomcat behind Apache: redirect everything to maintenance except one

I need to redirect all requests to a maintenance page except a specific URL that could still give me the possibility to access the normal website. I googled but I did not find anything. Right now I ...
0
votes
2answers
88 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 ...
0
votes
1answer
57 views

How to enable logging for virtual hosts on tomcat6?

I have established 2 domains on my tomcat 6 running on CentOS. But now my logging is broken. All logs except catalina.out are empty. I would like to have one log for each domain. I found a lot of ...
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
139 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 ...
1
vote
2answers
188 views

Installing djatoka on tomcat 6 on RHEL 6.3

Can someone help me get djatoka image viewer running on my RHEL 6.3 machine (an EC2 instance hosted by Amazon Web Services)? Tomcat 6 installed nicely (using sudo yum install tomcat6 tomcat6-webapps ...
0
votes
2answers
562 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
2answers
369 views

HTTP through a proxy server is not allowed

When I try to connect to my Tomcat server on http://<servername>:8080 it works fine, but from another ISP provided it gives the following error: HTTP through a proxy server is not allowed. ...
2
votes
1answer
79 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 ...
1
vote
0answers
61 views

Committed memory on my tomcat server

I have a problem to configure JVM on my server. The server is a machine runs on AWS with 8G of RAM and 8 CPU. There is only tomcat6 with solr on the server. Actually I have configured JVM like that: ...
0
votes
1answer
139 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 ...
0
votes
1answer
449 views

Configure Plesk only for Tomcat-Java

I need to configure tomcat on Linux dedicate server only for Java project through Plesk . Following services is running on it. '1.Apache on port 80 ' '2.Tomcat on port 8080/9080' '3.Mysql on port ...
1
vote
1answer
39 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 ...
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
2answers
246 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 ...
3
votes
4answers
8k 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
2answers
350 views

How to change the HUDSON owner on ubuntu:

I am working with tomcat6 and HUDSON, when I run the hudson job it is running as tomcat6 user, what I want to know is there any way to change the HUDSON user as my system login user instead of tomcat6 ...
1
vote
1answer
39 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 ...
0
votes
1answer
598 views

Apache reverse proxy jumps back to insecure protocol after redirect

I installed a reverse proxy apache server which handles the SSL encryption for a tomcat. We have a struts web application, and everytime we use response.sendRedirect(), the application falls back into ...
-1
votes
1answer
244 views

Amazon EC2 - Free memory

We have an amazon ec2 small instance running and over the past few days we noticed that the memory is going down and down. On the small instance, we are running apache and tomcat6 Tomcat is started ...
1
vote
0answers
146 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
1k 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
29 views

Password Protecting a Web app using Tomcat [duplicate]

Possible Duplicate: Quick way to password-protect Tomcat? I have a Web app that is deployed on Tomcat. I want to protect it from general use. Can I put a password on it by using a Tomcat or ...
1
vote
2answers
363 views

Bring up squirrelmail using tomcat

I am trying to bring up squirrelmail using tomcat. I would like know if that is possible at all. This is because i already have tomcat running on that server for my application. Ido not want to start ...
3
votes
1answer
570 views

Apache Web Server character encoding

I've recently transferred my webapp from my localhost (LH) to a VPS, and have had hebrew chars-encoding probs since. Whenever I send a request with a heb-char it results in "?????" saved to the DB. ...
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
2answers
1k views

SSL configuration , Tomcat with Apache and mod_jk

I am looking to configure SSL with tomcat 6 and apache web server, using the tomcat connector mod_jk. I am pretty new to this, so please bear with me. I have SSL certificate purchased and configured ...
2
votes
0answers
164 views

URL Rewrite in Apache + Tomcat set up with change in web application context

How to make URL http:/hostname:8080/abc?func=ll point to the URL http:/hostname:8080/xyz?func=ll automatically. Set up is Apache behind which Tomcat is present. Application "xyz" is deployed on ...
1
vote
0answers
29 views

Dynamic apache2 configuration with POST Form Parameters

I'm building a SSO system (with Apache2, Tomcat Realmn, Mod_JK) and I'd like to change dynamically the RequestHeader value in my apache configuration file (or in the .htaccess file), so that I can ...
0
votes
1answer
122 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
1answer
263 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 ...
2
votes
1answer
3k views

Tomcat's “Connection refused” error on startup

I had manually installed tomcat on Ubuntu 12.04 it worked fine for couple of time but now its throwing this error alpha@TM:~/apache-tomcat-6.0.35/bin$ st Using CATALINA_BASE: ...
0
votes
1answer
631 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
181 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 ...
0
votes
1answer
212 views

Birt on Tomcat unable to find JARs

First, my setup: BiRT Runtime: 3.7.2. Ubuntu 10.04 Tomcat 6 Sun Java 1.6.0 I have a jar file I want to deploy onto the Tomcat server so it is usable by the runtime, so I placed the jar file in ...
3
votes
2answers
1k 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 ...
4
votes
1answer
982 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
189 views

placing war file in the webapps subdirectory of the servlet container’s installation directory

i am trying to install a particular software and it is asking me to place the .war file in the webapps subdirectory of the servlet container's installation directory. I am not sure which location is ...
5
votes
3answers
2k views

Amazon EC2- many micro-instances vs single small/medium instance

I have a chat application using stack of Openfire, Tomcat6 and MySQL. Currently, i have installed all these servers on single Linux micro-instance(613 MB memory). Even in low user base 10-20 i am ...
6
votes
4answers
18k 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 ...
0
votes
1answer
487 views

Redirect all traffic regardless of port or protocol to temporary page

I have a server with multiple domains. Both http (apache) traffic and http-alt (tomcat) traffic. If/when I take the server down, I'd like to be able to redirect people to a temporary 'undergoing ...
0
votes
1answer
530 views

JSP: Trying to configure Apache2 + Tomcat6 using mod_jk

I'm trying to configure Apache2 + Tomcat using the mod_jk on an Ubuntu 10.04. I installed everything and configured, but it always returns the source code of my JSP files. I've read around that the ...