Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies released under the Apache License version 2. The Tomcat project started at Sun Microsystems and was donated by Sun to the Apache Software Foundation in 1999.
3
votes
0answers
260 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 ...
3
votes
0answers
458 views
Tomcat sessions not expiring
I'm having problems with sessions accumulating. I run an instance of Tomcat 6.0.18 on a Windows server. I have 3 apps.
I've been having memory issues (close to heap size, or OOM). When I look ...
2
votes
0answers
39 views
Scaling large numbers of small customer J2EE webapps
We're allowing customers to create websites on our SaaS app. We currently use Jetty as the app server, but we could use anything J2EE.
I'd like to be able to scale customer webapps across our ...
2
votes
0answers
153 views
Tomcat/CF10/IIS7.5 Connector Tuning Help (503 Errors)
Problem: After a undetermined amount of time, all websites running in an application pool return 503 errors as IIS has stopped pool due to Rapid Failures from the pool. Increasing the number of ...
2
votes
0answers
49 views
Flipping between databases
I have inherited a tomcat application running on RHEL that connects to a local postgres database. We have a total of 8 servers in multiple states running this. Each server actually has two different ...
2
votes
0answers
169 views
SSL connection alert hanshake failure
I'm having problem establishing the connection between the client and the Server .I'm using my own signed certificate on client and on server. I'm using the SSL ciphers SSLCipherSuite ...
2
votes
0answers
85 views
Tomcat 7: Include virtual host definitions from a directory?
I'm setting up a new Tomcat 7.0.33 server, and I'm looking for a simple way to include a directory full of virtual host definition XML files for configuration.
I've found that it's possible to do XML ...
2
votes
0answers
158 views
Issue with solr memory usage
I'm having memory problems with a Solr slave instance.
The problem is that every time the slave replicates new changes from the master, the slave starts a new searcher, and apparently the old one ...
2
votes
0answers
83 views
How to use JMAP with Tomcat when Tomcat is running as a service?
I want to grab some memory snapshots of a Tomcat instance in production. This is on a Windows 2008 server. I can run JMAP against Tomcat when I start it with startup.bat but the client is using ...
2
votes
0answers
65 views
ColdFusion 10 Servlet Issues
I'm currently experiencing problems with ColdFusion finding my servlet. In ColdFusion 9, I would simply put it under the wwwroot/WEB-INF/classes/ directory and ColdFusion would serve when requested.
...
2
votes
0answers
351 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
0answers
312 views
Tomcat Unable to Connect
I have done a fresh install of Tomcat 7 on CentOS 6.2 system. Tomcat starts successfully without any errors in logs, but I am not able to access it on mydomain.com:8080. I get "cannot connect" ...
2
votes
0answers
112 views
Make Tomcat 7.0 flush logs to disk?
How do I get Apache Tomcat 7.0, running as a service on Windows Server 2008, to flush its logs to disk without restarting the service daemon?
I did find delay on tomcat writing to logs in windows ...
2
votes
0answers
138 views
Can't connect Tomcat via JMX
I couldn't connect to one Tomcat server via JMX in a Linux virtual machine.
There was no firewall running. All seemed ok. By searching on the web I found out that I have to use the ...
1
vote
0answers
37 views
Apache reverse proxy from one virtual host to two Tomcats
Does anyone have some tips or an example for how to configure this sort of reverse proxy arrangement on Apache Http Server 2.2? I support a Java web application that we develop in multiple ...
1
vote
0answers
234 views
“ajp_read_header: ajp_ilink_receive failed”
We have Apache 2.2.24 in front of Tomcat 7.0.33. We're using AJP connectors with APR/native configured. I recently noticed a number of 500 errors in the Apache access logs for a small proportion ...
1
vote
0answers
33 views
Upgrading JIRA 5.0.1 to JIRA 6
I am trying to upgrade my jira version from 5.1 to 6 in my test server. with windows(64) platform. So I downloaded jira 6 version with folder name as "atlassian-jira-6.0-m08-standalone". then I ...
1
vote
0answers
69 views
mod_cluster and Tomcat load balancing design
I am fairly new to Load balancing. I am able to setup a load balancer using Apache httpd, mod_jk and tomcat. Now the problem is we would like to have design in the following manner,
...
1
vote
0answers
57 views
X-Forwarded-For not showing up in tomcat7 access log
I'm trying to print out the remote client IP on a tomcat running behind an ELB and for some reason it's not being printed out to the access log.
my elb configuartion is :
80 -> 8080
443 -> 8080
...
1
vote
0answers
114 views
Axis 2 SOAP request hitting a 4KB limit with CF/AJP 1.3/Tomcat/IIS 7.5
I'm using Coldfusion 10 to build a SOAP webservice, I am running on IIS 7.5, Coldfusion connects to a standalone Java Tomcat server via the AJP 1.3 connector.
I'm hitting what seems to be a 4-8KB ...
1
vote
0answers
105 views
Why doesn't the aws cloud formation install the packages that I specify?
I'm very new to the AWS services. I'm trying to use the AWS cloud formation and I created a template. The template is error free and I am able to create machines using that.
But I have added some ...
1
vote
0answers
118 views
JBoss AS7 mod_proxy or mod_cluster or mod_jk
JBoss AS7 mod_proxy or mod_cluster
Let me begin a cluster of JBoss AS7 servers. I have discovered that it might be done using apache with mod_proxy or with mod_cluster. Which can you use? Which is ...
1
vote
0answers
49 views
SSL between 2 Tomcat Servers
I'm trying to make 2 tomcat servers communicate by SSL (one with a CAS webapp, the other one with Liferay) both are on my computer.
The problem is that when Liferay tries to validate the ticket ...
1
vote
0answers
135 views
Could not get endpoint for worker (jk_handler::mod_jk.c)
I am using Apache2 with Tomcat on debian Lenny, When I try to access the site, its working but sometime I am getting error 500 "Internal server error".
From the mod_jk.log, I could find the following ...
1
vote
0answers
193 views
Apache 2 proxy for Tomcat 7
Following the how-to, I wanted to make a proxy for traffic to the address /app to be processed by Tomcat 7.
I added this to my httpd.conf:
LoadModule proxy_module {path-to-modules}/mod_proxy.so ...
1
vote
0answers
72 views
Servlet in Tomcat unable to create folder
I am running a servlet deployed in tomcat in ec2 instance. The servlet has to create a folder in webapps dir. But this is not created, however I am able to create folders with mkdir command inside ...
1
vote
0answers
381 views
Extract cert and private key from JKS keystore to use it in Apache2 httpd
I tried to find this but no luck. I created a JKS keystore and generated a CSR, then imported the signed cert and intermediate and root CA certs. Used this keystore on Tomcat without problems.
Now I ...
1
vote
0answers
98 views
High availability setup with 2 tomcat servers in Windows
I am trying to set up a high availability setup(not load balancing, only HA) with 2 tomcat servers. When I google for information, I get tons of links with apache+HAProxy+keepalived setup for linux ...
1
vote
0answers
118 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
0answers
114 views
Facing application redirection issue on nginx+tomcat
I am facing a strange issue on an application which is deployed on tomcat. Nginx is used in front of tomcat to access the application from browser. The issue is, I deployed the application on tomcat, ...
1
vote
0answers
93 views
error when accessing .war file in tomcat
I have installed tomcat in my machine and it is running fine.Am able to login to the administration manager.I have deployed a .war file which can be viewed on the tomcat manager.The name of the file ...
1
vote
0answers
70 views
How to secure tomcat manager for multiple instances
I have multiple instances of Tomcat setup using the CATALINA_BASE method.
I need to enable the tomcat manager application for each of them, and to secure them all separately based on groups of users.
...
1
vote
0answers
123 views
How to limit a webapp to a certain number of CPU cores
I need to set a webapp to run on a certain number of cores/ or all of them, on the server(depending on configuration).
The webapp will be running on any one of the following application server's.
...
1
vote
0answers
88 views
How to rewrite a legacy url for tomcat using urlrewrite 4.0
I have urlrewrite installed.
We have a legacy base of computers that need to use a particular url (the important bits are in bold):
...
1
vote
0answers
97 views
How does Tomcat know, if an application is OK or NOK?
Apache webserver is talking to tomcat and putting him into error state, if he isn't reachable ("heartbeat") but also putting him into error state if the application has internal problems.
Problems ...
1
vote
0answers
130 views
isapi_redirect with iis and ssl
I've got iis redirecting http traffic to a tomcat server using isapi_redirect. I need to get it working with ssl, how can I do this?
If I enable ssl with iis and try to go to https://domain/page.html ...
1
vote
0answers
332 views
java.net.ConnectException: Connection timed out, Tomcat 7 and iptables
I am experiencing a weird problem..
Basically our Java developer said that in the java application the services that access the db to write on it get this error:
java.net.ConnectException: ...
1
vote
0answers
64 views
tomcat/mod_jk- error trying to configure mod_jk with tomcat+apache web server
I am trying to configure mod_jk so that http://domain.com/ is served by Apache while http://app.domain.com/ is served by Tomcat. Now when I go to app.domain.com, I can see Tomcat message, however I am ...
1
vote
0answers
353 views
alfresco, tomcat crashes on startup, no clues in the logs
I have installed an alfresco community edition 4.0 on a Win 2003 R2 with 3GB of RAM.
I've used alfresco for some hours, i've created a user, uploaded some documents. But now, restarting it, tomcat ...
1
vote
0answers
305 views
reverse proxy not rewriting to https
I need your help. I'm having problems with reverse proxy rewriting to https:
I have an alfresco app running on top of tomcat and as a front and an Apache server - it's site-enabled looks like that:
...
1
vote
0answers
142 views
Tomcat configuration with multiple ip addresses
I have this following directory structure
websites>
webapp1>
product1_index.html
page1.html
page2.html
...
...
1
vote
0answers
295 views
Tomcat 7.0.16 not accepting password for webapp
I am trying to set up Tomcat to password protect an entire webapp, but when I get the password prompt, it's not accepting the username/password I'm providing to it (just keeps prompting for the ...
1
vote
0answers
97 views
ArgumentError (invalid date) on redmine
Have installed redmine on ubuntu 10.04 LTS but when I add quotes or comments to an issue I get this error:
ArgumentError (invalid date):
/usr/local/lib/ruby/1.8/date.rb:752:in `civil'
...
1
vote
0answers
264 views
How to use twiddle to get all the attributes name=HttpRequest1,type=RequestProcessor,worker=http-<ip>-8080
How to use twiddle utility in JBoss to get all the attributes of any Request Processor
for ex:
name=HttpRequest1,type=RequestProcessor,worker=http-ip>-8080
where ip is the ipaddress of the ...
1
vote
0answers
166 views
Redmine “Internal Error” While adding quotes, Updating and other settings
I've installed redmine 0.8.7 on a ubuntu 10.04 LTS without any errors.
I can add issues to it but, when it comes to update or even create a quote i get this error from the server on the browser:
...
1
vote
0answers
216 views
In tomcat, how to redirect console output of the web apps to logfile?
I am running Tomcat 7 inside Netbeans in windows. Is there any way of redirecting System.out.println to log file? Right now I'm getting it on my console. Is there any way I can change the logging ...
1
vote
0answers
119 views
SOLR with tomcat - large amount of processes
I am currently serving solr using tomcat6, however I have noticed that when I run top there are a large number of java processes being run by the tomcat user.
22738 tomcat6 20 0 634M 98M 4072 ...
1
vote
0answers
288 views
Apache, mod_ssl, mod_jk, tomcat and client certificates filtering
I am working on a very specific apache+mod_ssl+mod_jk+tomcat
So far, a basic configuration works as I want: accessing my webapps behind all that stuff works great. I am using a wildcard certificate ...
1
vote
0answers
279 views
Long running process times out through an apache proxy but not when bypassing the proxy
So I have this tomcat based webapp. Part of this webapp lets you upload a file that then is checked against a backend database. This process takes a long time, up to 15 minutes in some cases. Now ...
1
vote
0answers
459 views
tomcat max number of threads
I have a very confusing scenario.. We are using tomcat6 to host an internal application. In server.xml file maxthreads attributes is set to 150 but if I log on to the manager, in "http-8080" section I ...

