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.

learn more… | top users | synonyms (1)

0
votes
3answers
4k views

Xampp: How to change your Tomcat default user and password?

I have recently installed Xampp, and I am now learning JSP but after copying my .jsp file into the required file and starting Tomcat it won't let me access the manager without a user and password. ...
0
votes
0answers
9 views

Apache + Tomcat: Difference of socket_timeout and request_timeout of mod_jk

I'm connecting Apache to Tomcat using mod_jk. There is many timeout settings. I couldn't get difference of socket_timeout and request_timeout. It seems to me no need to use request_timeout if we are ...
0
votes
2answers
2k views

Apache2 - mod_expire and mod_rewrite not working in httpd.conf - serving content from tomcat

I am using apache2 server running on debian which forwards all the http request to tomcat installed on same machine. I have two files under my /etc/apache2/ folder apache2.conf and httpd.conf I ...
1
vote
1answer
2k views

IIS 7.5 , Tomcat 7 - Isapi redirector - Fail Over - sticky sessions

I have two instances of Tomcat 7.0.8 running in the same machine (Tomcat7A and Tomcat7B) and IIS 7.5 acting as front-end load-balancer with isapi-redirector 1.2.31, running on Windows 2008 R2. When i ...
0
votes
1answer
15 views

redeploy code on Tomcat Server

I am having 2 applications deployed on Tomcat 7 Server. What should i do after redeploying java code on server Restart application using Tomcat Manager Restart Tomcat, but that will restart both ...
0
votes
2answers
37 views

Deploying my site on tomcat 6

I am trying to serve my website www.mywebsite.com using tomcat. I am not using apache and using tomcat as my webserver only. I have defaulted port to 80 and currently I have mywebsite.war lying in ...
0
votes
1answer
43 views

Monitor tomcat logs for exception

I am planning to write a bash script and run it as a daemon in the background. The script will continuously monitor the tomcat server logs for any exception, error, etc. When an exception occurs, it ...
0
votes
1answer
648 views

Is it possible to turn off auto-start for some (but not all) app servers deployed on Tomcat?

I want to deploy multiple versions of an app server on my local machine for development purposes (testing for compatibility, etc). I've got about 5 that I'll want to have installed at any given time, ...
12
votes
9answers
52k views

Unable to connect to mysql through JDBC connector through Tomcat or externally

I've installed a stock mysql 5.5 installation, and while I can connect to the mysql service via the mysql command, and the service seems to be running, I cannot connect to it through spring+tomcat or ...
0
votes
2answers
380 views

HTTPD proxypass ssl to http

Essentially I am having httpd reroute http requests to a certain location subdomain.domain.com/folder to Tomcat (http://localhost:8080/app/). This works fine using the ProxyPass and ProxyPassReverse ...
5
votes
1answer
5k views

How Do I Install Gerrit Under Tomcat with LDAP?

I'm trying to find good instructions for installing Gerrit under Tomcat with LDAP support. I need this installed on a Windows 2008 Server, preferably. However, I can opt for Linux if not possible. ...
0
votes
0answers
15 views

tomcat treats my JSF2 application as HTML

I have a JSF2 application I can access my application @ http://tvmteleshopping.com/faces/ui/manageProfile.xhtml But when i use http://tvmteleshopping.com/ui/manageProfile.xhtml (without /faces/ ) ...
0
votes
1answer
778 views

Apache HTTP Server+Tomcat: Which file generates mod_jk.conf, how to modify generated stuff, and how does httpd reach it?

I'm using XAMPP with Apache HTTP Server and Tomcat Add-On installed. There's a default mod_jk.conf which is generated by Tomcat when starting it. But which file generates this mod_jk.conf file? How ...
0
votes
2answers
1k views

changing the default port no of tomcat in ubuntu

Hii all i am trying to change the port no of my tomcat server installed in ubuntu. for this i have changed the file server.xml and made a change there as: <Connector port="8081" ...
-2
votes
2answers
18 views

Apache web server on Windows without msi installation. Is it possible? [closed]

I want to have Apache server on my windows machine but I don't want to actually install it. Is there an option to just download it and manually start and stop it like in Tomcat? Also I want to run it ...
0
votes
1answer
628 views

Connection timed out exception, why?

I am developing an application which uses embedded tomcat server 7, and deploys a web application on embedded server. My application accesses the embedded webapp through Rest APIs, but my clients ...
0
votes
2answers
4k views

XAMPP with Tomcat Add-On - how to configure it to serve Java OR PHP contents depending on given domain names

I know there are lots of topics related to Apache HTTP Server + Tomcat, but I didn't find the solution to my problem yet, but it's for sure someone has already met a problem like mine. I installed ...
6
votes
2answers
197 views

SSH unresponsive after stopping Tomcat, many ksoftirqd CPU usage

I have a weird issue. Every time I stop Tomcat, SSH becomes very slow, almost totally unresponsive. It takes a minute or even more for SSH to accept any command. When I finally get Tomcat started ...
0
votes
2answers
35 views

LSB confirm startup script won't start apache tomcat on ubuntu

I want to start my tomcat server automatically on startup. Therefore I retrieved a simple LSB conform script from the net and modified it to my needs. This is the script: # Provide logging functions ...
0
votes
0answers
22 views

tomcat 6 horizontal clustering?

Please see my previous question.I didn't get any answer and the answer was not helped.That's why I created a new ...
0
votes
0answers
32 views

Tomcat is closing randomly

We are using Tomcat 7.0.21 for production. Server is hanging randomly for last week. It creates files like hs_err_pid4528.log under bin folder. There are two parts in logs. JRE version: 7.0_21-b11 ...
0
votes
1answer
60 views

How to fix Solr - Server is shutting down issue?

I was having a running Solr 4.1 on Windows Server 2008 R2. The Solr is deployed on Tomcat. However, today it stops suddenly, and while accessing Solr it gives following error. HTTP Status 503 - ...
0
votes
1answer
31 views

Is auto-restarting services (like tomcat) a good idea?

Are there any reasons to not auto-restart tomcat in the case of a crash? It seems like a no-brainer to restart the process, especially in production, if that can mean less downtime due to a crash, but ...
1
vote
1answer
47 views

SSL setup with apache in front of tomcat

i m trying to setup Apache with SSl and proxy SSL requests to my tomcat instance. I think i made the SSL work but theres still a error that shows up: Bad Gateway The proxy server received an ...
0
votes
0answers
12 views

Force SSL Redirection in Tomcat configuration

I already configured my Tomcat conf\server.xml. But It seems that may it doesn't redirect users to my specified redirect port. See config below: <Connector port="8080" protocol="HTTP/1.1" ...
0
votes
0answers
18 views

Run/Execute permissions of script in Tomcat WAR file

I have a script inside the WEB-INF folder that the Java runs. When I deploy the WAR, there are no execute permissions (644 instead of 755). How do I set the permissions of files inside the WAR?
0
votes
1answer
53 views

CentOS Apache + Tomcat SSL using mod_jk

I have Apache + Tomcat (using mod_jk) working correctly on a CentOS 6.3 machine. I am trying to set up SSL with Apache. When I browse to the site I get the following output: Forbidden You don't ...
12
votes
6answers
29k views

Apache+Tomcat having problems communicating. Unclear error messages. Bringing down websites hosted under Tomcat

Setup: Fedora 8 Apache 2.2.8 Tomcat 5.5.8 Apache is forwarding requests using AJP. Problem: After a certain period of time (no constant at all, can be between an hour or two, or one or more days) ...
2
votes
1answer
2k views

Deploying to Tomcat root using Jenkins

Is there any way to deploy my Java application .war file at root on Tomcat 7 server, using the Deploy plugin for Jenkins? Currently the app gets deployed at http://server/foo/ if it comes in a file ...
0
votes
2answers
2k views

IIS 7 + Tomcat 7 - how to reach http://localhost:8080/my_app under e.g. http://my_app.local

In brief: IIS 7 + Apache Tomcat 7 + isapi_redirect.dll: I have a deployed and working Tomcat-application available under http://localhost:8080/my_app. I would like to see the same content under ...
0
votes
2answers
750 views

Can access website but images, css stylesheets and javascript files do not download

i have this problem, not sure about the source of it, Basically the title describes the issue, I can access the webpage and see the html structure, but no resources are being donwloaded nor I have ...
0
votes
0answers
37 views

Confusion setting up a simple tomcat6 clustering on ubuntu 12.04 using mod_jk: status page won't show

am a little confused when setting up 2 tomcat6 instances cluster in a clean ubuntu server 12.04. i didn't install default tomcat6 i used tomcat6-user's tomcat6-instance-create to create 2 instances. ...
1
vote
1answer
612 views

Tomcat: how to change location of manager and host-manager to a subdirectory

I'm running a Tomcat 6.0.28 at port 8080 in a Debian Squeeze box. I'm a newbie in tomcat. I would like to change the location of manager and host-manager applications. That is, instead of going to: ...
2
votes
1answer
579 views

Drop compulsive http requests same url, same IP in Apache tomcat

I want to drop http request done to the same url from the same ip inside the same second. That means, its a guy violently pressing F5 or a bot screwing up my server. Do anyone knows any lib for java ...
0
votes
1answer
18 views

Is requests in IIS httppipeline processed serially?

Based on iis architecture, request from client hitting IIS will pass through httppipeline, specifically through each httpmodule and finally reaches respective httphandlers and then to worker process. ...
0
votes
1answer
2k views

Why aren't connections released by the tomcat AJP connector

I have here a jboss with a web application. The tomcat is configured to use the ajp connector. Incoming connections are tunneled via an apache reverse proxy to the connector. Now I recognized that ...
1
vote
1answer
787 views

Configure tomcat 7 with netbeans on ubuntu

How can i configure tomcat 7 to work with netbeans. Looking around various forums, it appears ubuntu has an unusual installation pattern, but i cant find a definitive answer as to how i can get it ...
17
votes
3answers
13k views

What's the maximum URL length in Tomcat?

And is it configurable? Can I set up Tomcat so that a URL with, say, 200K of query params goes through successfully to the contained servlet? Yes, I know one should use POST when you have lots of ...
0
votes
1answer
34 views

Apache tomcat server win8 cannot be accessed outside of local host

I have installed the apache-tomcat server on my local win7. The port I specified is 9999. Additionally, I use the distributed binary version of apache tomcat. Not installing as a windows service. I ...
0
votes
0answers
15 views

How to configure two web application in tomcat 7 to use two different realm configured?

I have to deploy two web application to tomcat 7. These two applications use two different realm configured. How can i configure two application to use applicable realm? Both the application is using ...
0
votes
3answers
74 views

Adding a webapp “alias” to Tomcat 7 on Linux

I have a Tomcat 7 running on CentOS. Given is a configuration where I have my webapp "foo" placed in webapps/foo.war. I can access it without any problems using http://host.name/foo. Now I want to ...
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 ...
0
votes
1answer
111 views

Load balancing using Httpd mod_cluster and tomcat not working

I am trying to setup a load balancer using Httpd, mod_cluster and Tomcat. My Httpd is running on the same server with IP 192.168.9.73 where the tomcat is running. Here is my Httpd configuration- ...
0
votes
1answer
13 views

Tomcat logs web interface

I have several production machines running Java servlets on Tomcat infrastructure. When I want to look at the logs, I have to remote access the machine with ssh, and manually grep the logs for ...
0
votes
1answer
1k views

Simple setup for load-balanced and fail-over tomcat?

Being new to Tomcat infrastructure, I am wondering what an advisable setup would be to have two physical machines each running a tomcat instance to be load-balanced and capable of failover to each ...
0
votes
1answer
28 views

getting https encrypted data passed over http

I'm trying to configure tomcat to work https port 8443. using tomcat 7. I enabled the https connectors with the following parameters: <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" ...
0
votes
1answer
603 views

Tomcat Failed to start

I have installed Tomcat on windows XP through the Tomcat installer. I have installed JDK 1.6. But when I start Tomacat from services.msi on XP, I get the following error: ...
0
votes
1answer
80 views

Running Jenkins standalone vs within Tomcat

What things should be considered when deciding between running Jenkins standalone or within Tomcat? We would prefer to not have to use Tomcat because there's no other applications on this server ...
1
vote
2answers
37 views

What is the correct way to configure Apache and Tomcat such that Apache serves HTML over port 80, and Tomcat serves ColdFusion/Railo over port 80?

Here is my situation: I have a server with Apache and Tomcat installed. Within tomcat, I am using Railo (the open source ColdFusion). I do not want my users dealing with Port 8080 to hit CFM pages. ...
1
vote
1answer
573 views

Tomcat mod_jk cluster skip 404 http status

I am trying Tomcat Clustering with mod_jk for months and so far not so bad but facing a problem during deployment. I am using FarmDeployer to copy and deploy the WAR to other nodes in the cluster but ...

1 2 3 4 5 27