Tomcat 6, an open source web server developed by the Apache Software Foundation, was first released in 2006. Version 6.0 implements the Servlet 2.5 and JavaServer Pages 2.1 specifications from the Java Community Process. See also: tomcat
1
vote
0answers
9 views
How to configure tomcat to rollover catalina.out 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
0answers
42 views
Installing Tomcat Native on Ubuntu 10.04 works but not in Ubuntu 11.10
Anyone here know why installing Tomcat Native in Ubuntu 10.04 works, but not in Ubuntu 11.10? I am installing via the following commands:
apt-get -y install openjdk-6-jdk
apt-get -y install ...
0
votes
1answer
23 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 ...
0
votes
1answer
22 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 ...
0
votes
2answers
59 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
0answers
28 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
186 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
44 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 ...
0
votes
1answer
111 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
44 views
using global logging.properties to configure context specific logs
I've been trying to get logging working correctly using the default logging configuration model for tomcat 6.
My Goal is to get each app logging into its own rolling file. For the point of this ...
2
votes
1answer
63 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
32 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
0answers
33 views
Accessing Tomcat 6 default packages (manager, hosts-manager and etc) gives 404 HTTP error
The problem I am having is that I get 404 HTTP error on my tomcat6 server (http://localhost:8080/):
docs/
examples/
manager/html
host-manager/html
But I can access main "It works!" page and all ...
0
votes
1answer
87 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
21 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
98 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
49 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
45 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
376 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
163 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 ...
2
votes
1answer
147 views
tomcat6 how can I restrict users to acces ONLY their own manager?
The users are having access to all tomcat manager, and this cannot happen.
I have roles and users defined in tomcat-users.xml that I'm intending to relate to their individual virtual hosts (defined ...
2
votes
1answer
92 views
Shutdown hangs in Tomcat 6
We just set up Tomcat 6 on our boxes for dev purposes, and we're using it to run a Spring-based Java web app. We've been able to run other apps before using our Tomcat 5.5 instance.
We've ...
1
vote
2answers
256 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 ...
0
votes
1answer
171 views
XAMPP + Tomcat + JRE - How to upgrade JDK/JRE from 1.5.0_20 to 1.6.0_27
I would like to upgrade my JDK/JRE that came with XAMPP from the original 1.5.0_20 to 1.6.0_27 because of application compatibility problems (there's an application which was compiled with version 6). ...
1
vote
1answer
126 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 ...
0
votes
1answer
136 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
574 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 ...
0
votes
1answer
367 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
43 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 ...
0
votes
1answer
147 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
100 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 ...
2
votes
1answer
130 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
2answers
289 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 ...
3
votes
1answer
122 views
Suggestions for swapping out a production server
Background
My team has been investigating an issue in our production environment (see Stack Overflow post). We've looked thoroughly at application layer (i.e., code, logs, etc.) and also have done ...
0
votes
1answer
90 views
Tomcat 6, unable to login via /manager/status page despite the username / password being in tomcat-users.xml file?
I need to be able to remotely login to my Tomcat 6 server to setup an application that monitors it and have been instructed to first use the Tomcat http:///manager/status page to try to login with a ...
0
votes
1answer
131 views
How to set up a web server to serve jsp files in Fedora 15?
I have installed Fedora 15 on my system. Installed Web server using the command
sudo yum groupinstall "Web Server"
Have it running successfully at port 80. The files are put in "/var/www/html". It ...
0
votes
0answers
84 views
Apache2 and Tomcat 6 crashing each morning
I have a relatively new Amazon EC2 Micro instance on which I have installed Apache2 and Tomcat6, using mod_jk to connect to each other. I have one web application running on the root that is getting ...
0
votes
0answers
75 views
mod_jk with Tomcat 6 and HTTP Authentication
Are there any gotchas using ModJK to forward to an application protected by standard HTTP Authentication?
We have two web apps installed on our Tomcat 6.0.14, one is the standard Tomcat Manager while ...
0
votes
0answers
74 views
mod_jk sticky sessions with Tomcats 5 and 6
We have instances of Tomcat 5 (JDK1.5) and Tomcat 6 (JDK1.6) running quite happily on a RHEL 4 machine. They are fronted by Apache 2.2.8 with mod_jk.
The Tomcat 5 instances are configured in the ...
1
vote
1answer
96 views
How can I make Tomcat 6 show the real error instead of a 404?
For deploying and troubleshooting an application, getting 404s has little use. I have deployed applications that report no issue in the logs but return 404s. There IS an error in the application as ...
0
votes
1answer
240 views
How do I figure out why a tomcat6 webapps dir symbolic link works on one machine, but not another?
I recently built an Ubuntu virtual machine for MarkLogic development. The machine was then distributed to 4 other developers to provide a consistent dev platform. Now I'm setting up another piece to ...
0
votes
0answers
114 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 ...
-1
votes
1answer
209 views
Ubuntu apache-tomcat webserver clustering/load balancing
I have a Ubuntu production server running apache2 and tomcat6 both on port 80 with mod_jk setup hosting some jsp pages. And also, all the client's informations are stored in the mysql databases on the ...
0
votes
1answer
75 views
How to install tomcat under apache2 in a Debian system
What is the easiest way to install tomcat6 under apache2 in a Debian system?
The idea is to have all incoming connections on port 80 of a specific host to be redirected to a specific Application ...
0
votes
1answer
47 views
tomcat, jvm, monitoring, restarting
I have a web application running as a jar, I need a automated way to restart this jvm with a reboot/crash.
What are you guys using for this? I am running ubuntu 10.04 lts . (Examples would be great)
...
3
votes
1answer
77 views
Does jmxremote affect tomcat performance?
I'd like to enable jmxremote to monitor Apache Tomcat resources utilization with Munin, but I want to know if this will affect the servers performance, is so, how much will it be impacted.
0
votes
2answers
83 views
mapping my EC2 instance to the www.mydomain.com
I am newbie to concepts like Cname, A record and all. I am running a EC2 instance with tomcat6. Now I need to map my java based application to www.mydomain.com.
I just went through few documents and ...
0
votes
1answer
143 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
108 views
Tomcat 5.5 and Tomcat 6 side by side on same server
On Suse Linux server I have Tomcat 5.5. installed (port 8080)
Can I also install Tomcat 6 on the same server (side by side) but on different port (for example 8081).
Are there any pitfalls I should ...
0
votes
0answers
51 views
MongoDB Java, R2.5.3 - NoSuchMethodError on DBCollection.save(DBObject) in Tomcat6
java.lang.NoSuchMethodError: com.mongodb.DBCollection.save(Lcom/mongodb/DBObject;)V
Here is the sample code. Error is on Line 3.
1 BasicDBObject dbo=new BasicDBObject(data);
2 DBCollection coll ...