Open source web server developed by the Apache Software Foundation

learn more… | top users | synonyms

0
votes
1answer
361 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
5k 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
806 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
223 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
250 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 ...
4
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
5k 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
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
247 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 ...
15
votes
5answers
28k 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
620 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
609 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 ...
1
vote
4answers
3k 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 ...
1
vote
1answer
315 views

Apache2, Tomcat6, and proxy redirects

So here is my question - go easy and slow. I'm a GIS Consultant and general hack with linux. I inherited this volunteer job essentially because I knew more than the rest of the team - or the rest of ...
2
votes
2answers
298 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 ...
-1
votes
2answers
803 views

Tomcat6 getting crashed at regular intervals installed in Ubuntu

I have installed Tomcat6 in Ubuntu OS and when I run my web application the server gets crashed at regular intervals. I have tried a lot but not getting the solution. I have increased the memory upto ...
1
vote
2answers
1k views

Hide the ports in the url of a tomcat application

I have setup tomcat 6 on a server with several different instances which run on different ports For Eg: http://10.XXX.XXX.XXX:8080/myAPP1 http://10.XXX.XXX.XXX:8088/myAPP2 ...
0
votes
1answer
412 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
818 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 ...
0
votes
1answer
2k views

404 Error on Apache Solr install - CentOS 6 and Tomcat6

I've tried various tutorials and I get a 404 error when I finally navigate to host:port/solr on my CentOS machine. Can anyone tell me why I would get a 404? Once I find a solution I'll make this the ...
0
votes
2answers
885 views

URL Rewrite module from IIS7.5 to Tomcat 6.0

We have a Java application which will be installed into tomcat6. Our security team will not allow Tomcat to be public facing so I am in a postion where I have to recieve https traffic to IIS 7.5 and ...
1
vote
1answer
170 views

Need to switch from /usr/local/tomcat to /usr/share/tomcat

I have a client who has two versions of Tomcat installed on his server. One Tomcat is installed from RHEL yum and the other was set up in /usr/local. The goal is to always use packages from yum ...
3
votes
1answer
11k 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
609 views

Shibboleth-Idp setup: Issue with the data-connectors in attribute-resolver.xml

I have setup the shibboleth-Idp as servelet in servelet container tomcat6. However, tomcat start the servelet fails to load. My data connectors are causing it. The code I am using for connectors is ...
1
vote
1answer
140 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
1k 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
199 views

rvm for Jenkins under Tomcat 6

I've got Jenkins running under Tomcat 6. It's running as user tomcat6, with a home directory of /usr/share/tomcat6. I would like to install rvm for this user so I can use it for testing, but I can't ...
1
vote
1answer
5k views

Memory Leak in Tomcat

I'm using Tomcat 6.0, JDK 1.6 for a web app. It's dying frequently requiring manual reboots, and the log file shows this: Notice: Maximum number of threads (200) created for connector with ...
0
votes
1answer
663 views

How to setup Tomcat 6 with Lighttpd so that Tomcat6 forwards requests to Lighttpd

I have run into this scenario where I have a Rackspace VPS server running Ubuntu 10.10 with Tomcat 6 serving a moderately complex JAVA WebApp using a fixed domain. The problem is that I would like to ...
1
vote
4answers
5k 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 ...
2
votes
1answer
1k views

Do we need to reboot Ubuntu server after un-installing tomcat6

i am on ubuntu 10.04 server, having tomcat6. because of some reasons i had to un-install it so i used apt-get purge tomcat6 it removed tomcat and config files. now i am trying to install tomcat6 ...
0
votes
1answer
442 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
945 views

Failed to install Tomcat6 service in windows server 2003 enterprises

When I try to install Tomcat6 I am getting this error --------------------------- Apache Tomcat Setup --------------------------- Failed to install Tomcat6 service. Check your settings and ...
1
vote
0answers
39 views

apache2 javascript HTML DOM issue

I'm running apache2 and tomcat6 with catalina on an ubuntu 11.10 box. I have the javascript functioning but when I use this.form it passes as "[object HTMLFormElement]" instead of the actual form ...
1
vote
1answer
493 views

tomcat6 configuration on centos5: tomcat ignores values in /etc/sysconfig/tomcat6

I make changes in /etc/sysconfig/tomcat6, in the init.d script the global values in /etc/tomcat6/tomcat6.conf are set, and then ovridden by anything I set in /etc/sysconfig/tomcat6. However, the ...
1
vote
1answer
110 views

Tomcat6 Standalone vs Tomcat6 + HTTPD

I'm working on a site that is running on Tomcat 6. The customer seems overly concerned with the performance of the site, and I've also been given the impression that HTTPD is better (faster) at ...
0
votes
2answers
111 views

Replacing Apache instance with Tomcat 6

I'm on a Linux machine and am trying to replace an Apache2 instance with a Tomcat 6 instance. I shut down the Apache instance by running a kill on the appropriate pid, but when I try to access any ...
0
votes
1answer
5k 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
1answer
2k views

Inefficient CPU usage by Tomcat

I am using tomcat to convert pdf to png. I was using Jmeter to load/throughput test the app using a Intel(R) Xeon(R) CPU X5550 @ 2.67GHz server which has 16 hyper-threaded cores. Tomcat6 had 2gigs of ...
3
votes
2answers
5k 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 ...
1
vote
1answer
690 views

Groovy-grails: grails run-war works, but grails run-app throws BindException: Address already in use: JVM_Bind<null>:80n

When I run grails -Dserver.port=80 run-app, I get LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind<n ...
1
vote
1answer
640 views

Apache mod_rewrite in proxy mode, .htaccess and ProxyPassReverse

In a .htaccess file, I have something like this to proxy Apache to Tomcat: RewriteRule (.*) http://localhost:8080/tomcat-app/$1 [P] All the redirects as well as internal links in HTML files are ...
2
votes
1answer
7k views

Tomcat Cluster Farm Deployer issue

I have setup apache-tomcat cluster with mod_jk on ubuntu server. I have some issues with FarmDeployer which deploys war files to other web servers in the cluster and I got some hope that it works as I ...
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 ...
1
vote
1answer
163 views

Problem when deploying new app in tomcat6 server

i have written the webservices suing SOAP, and its still under development. When have set of code which are already running the webapps folder of tomcat6. When I make changes in particular file I ...
1
vote
1answer
772 views

Tomcat web application high availability

I have setup apache-tomcat clustering(Ubuntu Servers) and I used tomcat supported clustering technique with mod_jk following the link which is clear and easy to follow. I did this in my LAN with ...
0
votes
3answers
177 views

Why reverse proxies when HA & LB are possessed by Tomcat & apache? [closed]

Anybody has any strong reason why HeartBeat, HAProxy, NGINX or any other reverse proxies needed for apache tomcat web application when we can have HA and LB with Tomcat supported Clustering with ...
5
votes
1answer
5k 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 ...
1
vote
2answers
6k 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 ...