Tagged Questions

Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed under the Java Community Process. Apache Tomcat is developed in an open and participatory environment and released under ...

learn more… | top users | synonyms (1)

0
votes
0answers
5 views

Two context-descriptor directories for Tomcat

My /etc/tomcat7/Catalina/localhost looks like this: ROOT.xml manager.xml app1.xml -> /vol/tomcat/desc/app1.xml app2.xml -> /vol/tomcat/desc/app2.xml Now if I were to add an app3 to ...
0
votes
1answer
17 views

Tomcat 5.5 IP redirect to Hostname

How to setup Tomcat if my user entered "http://192.168.0.1:8080/axis2", it will redirect to http://servername.com:8080/axis2? I want the url/hostname appeared on user's web browser instead of ip ...
1
vote
1answer
17 views

Reduce Tomcat6 memory footprint

This is my setenv.bat (windows installation). It's the MySQL enterprise monitor service manager. set JAVA_HOME=D:\MYSQL_~2\SERVIC~1\java set JAVA_OPTS= ++JvmOptions="-XX:+UseParallelOldGC" ...
0
votes
2answers
33 views

tomcat wont start on ubuntu server

Original post Updated on 31/05/2012 I have a VPS and running a Tomcat server over a year without a problem. However, Tomcat just shutdowns right after VPS maintain and can not start again a week ...
1
vote
1answer
13 views

randomly occupied AJP port on server restart

I have 9 tomcat instances (fronted with apache and mod_jk) on a box which start with /etc/init.d/tomcatX scripts (where X is a [1-9] number). These scripts are simple: #!/bin/sh ### BEGIN INIT INFO # ...
0
votes
1answer
13 views

SolrCloud setup with tomcat

I've been looking around for setup guides of solrCloud with tomcat. All the available documentation for solrCloud explains how to set it up with Jetty. I'm not sure moving to jetty from tomcat would ...
0
votes
1answer
14 views

Mac OS X server daemon cannot connect to WindowServer

I am running the built-in Apache Tomcat 6.0 under Mac OS X Server 10.6.6. Tomcat runs Hudson and Hudson runs a script which needs to connect to the local WindowServer process. This does not seem to be ...
0
votes
1answer
45 views

Cannot use relative links in my tomcat development environment

I'm developing a web-application with tomcat. In the dev env, the application's root address is localhost:8080/myapp/. In production, the root address is www.myapp.com/. When I use a relative link in ...
0
votes
1answer
16 views

How to get to tomcat root after Jenkins install

I was able to successfully install TomCat on my MacMini. http://[localhost]:8080/ took me to the Tomcat home page. However after I installed Jenkins via the installer (outside of TomCat), it appears ...
1
vote
3answers
30 views

Prevent dependency from being installed with APT

I have this script line to install all packages for a new server. apt-get install mysql-server openjdk-7-jre-headless tomcat7 tomcat7-admin jsvc apache2 ntp subversion As you can see it installs ...
0
votes
2answers
40 views

Tomcat thread consumes maximum CPU

We have a Tomcat 7.0.21 server running on OpenJDK Server VM (20.0-b11 mixed mode). The webapp runs well for usually several hours or days after startup - typical CPU load is 1-2%. At some point, the ...
0
votes
1answer
23 views

Tomcat default virtual host

Is it possible to configure tomcat to have 2 virtual hosts one is configured with an alias that matches a domain name that is configured in my dns. The other virtual host needs to respond to requests ...
1
vote
1answer
24 views

Looking for simple Apache web control panel that allows me to match users to folders on a single domain

I'm looking for a simple Apache control panel for a webserver that allows me to: Add user FTP accounts and match them to folders on a single domain web server Improvement: Mysql accounts managing ...
0
votes
3answers
83 views

How to access Amazon EC2 instance by HTTP?

I have installed Amazon EC2 instance and have set up tomcat7 on it with sudo yum install tomcat7 command. Also I have added a rule 8080 0.0.0.0/0 in instance's security group. Also I ran tomcat7 ...
0
votes
2answers
27 views

Apache Tomcat mod_jk redirection issue

I am using mod_jk for my web application and apache is configured to serve every content via Tomcat other than the static css, images and js. I want the URL without www (abc.com) to redirect to with ...
1
vote
2answers
42 views

Make apache load all servlets in Tomcat's webapps folder

I am running Apache2.2 and Tomcat7.0 on Windows. How do I setup JkMount to allow access to any deployed webapp on Tomcat in the form domain.com/tomcat/nameOfWebapp? Here is my workers.properties: # ...
1
vote
1answer
42 views

Tomcat and nginx sizing

I manage an application that is deployed on Tomcat servers, with nginx in front, as a reverse proxy. I need some help for the sizing of thread pools / connection pools / ... I find quite a lot of ...
0
votes
3answers
40 views

War deployment vs dir deployment in tomcat?

What is the recommended procedure for deployment of Java Web App in tomcat? Drop the uncompressed directory or just drop the war? Im asking because the war is compressed, doesnt it have a performance ...
0
votes
1answer
110 views

Connection from Apache to Tomcat via mod_jk not working

I would like to connect apache to tomcat via mod_jk (same machine). The ajp connector in tomcat is listening on port 8009, the worker settings are: worker.worker1.port=8009 ...
1
vote
1answer
33 views

Tomcat slows down exactly every 30 minutes

We started noticing a really weird pattern with our web page. Exactly every 30 minutes we are seeing a huge drop in requests in our server. We go from about 2,000 requests per minute down to 500-800 ...
0
votes
1answer
24 views

How to specify path in Apache tomcat catalina for folder on different server?

On apache tomcat C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost\ we can change folders for another by specify it in XML like: THE_FOLDER.xml and in that xml we ...
0
votes
0answers
11 views

Validations to perform on Appserver Location by installer program

I have been writing an installer program for my software part of the software contains the war files which i need to deploy onto application servers like Tomcat, Websphere and weblogic. What are the ...
1
vote
1answer
45 views

IOException: Socket read failed using Apache 2, mod_jk and Tomcat over AJP

I am getting the following Exception from time to time when my users are connecting with their Android devices to out JSON Rest Service: java.io.IOException: Socket read failed at ...
1
vote
1answer
19 views

When is necessary integrate Apache httpd with apache tomcat (mod_jk)?

Apache sites, recommend the integration of httpd and tomcat(mod_jk). The first for static and the second for dynamic content. What about the case that the entire page is dynamic. Does it still make ...
1
vote
1answer
51 views

Unable to setup and access tomcat on EC2 with AMI

I attempted to start tomcat7 on an EC2 instance running AMI and could not get the web service accessed from a browser using the public IP. Created an EC2 instance with default AMI as the image ...
0
votes
0answers
26 views

What's bad about increasing maxHttpHeaderSize in tomcat

For my android app i need to upload large zip files with a Post request. First i get a broken pipe exception, because the maxHttpHeaderSize of tomcat is 8k standard. now i increased this property to ...
0
votes
1answer
29 views

Tomcat work flow

Can anybody tell me what all the internal process happening after we start tomcat(using startup.bat)? can anybody explain the step by step flow of how tomcat works? something like this.. ...
1
vote
0answers
54 views

Apache2 mod_proxy to remote Tomcat7 - slow response

Been stuck with this one for a few days. Will try to provide as much information as possible, but please feel free to ask for extra detail. I have 2 VMs behind a NAT, 192.168.0.100 and 192.168.0.102, ...
0
votes
2answers
37 views

Starting Automatically Tomcat 7 Monitor Windows 7 / Vista

Anybody knows how is possible to start automatically Tomcat's Monitor? Tomcatw.exe with the service's Tomcat? I tried but, it does not start. I was trying to install like windows Services manually, ...
0
votes
2answers
118 views

Tomcat partial startup on linux

My server: CentOs 6 64-bit. Installed jre by downloading Linux x64 (64-bit) jre rpm and used command rpm -Uvh myJreFileName.rpm Installed tomcat6 with yum and then tomcat7 without yum to see if my ...
-1
votes
0answers
41 views

Can't run a java web application on centos5 + mysql 5.1.62-cl1 + tomcat 6

I develop a java web application using JDK 1.6 (J2EE) + springMVC 3 + mysql Tried to install it on my real server ( cpanel/whm/csf) but on my server I'm not able to run it. I've opened all the ...
0
votes
0answers
6 views

How do I set up my home server to go directly to a port other than 80 [migrated]

I'm using dyndns, a lynksis wt54g router, and tomcat 7 with spring to set up a web server. This is my first time to attempt this. I'm sure this is a very common question, but I don't know enough to ...
1
vote
0answers
17 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
1answer
40 views

tomcat7 beginner- using mod_jk with multiple different domains

I am setting up a server where "domain1.com" and "domain2.com" should be served by Apache HTML/PHP server, while "app.domain1.com" and "domain3.com" should be served by Apache Tomcat. I want to ...
0
votes
2answers
63 views

Why are changes in a file so slow? (Apache Tomcat)

I got an Apache Tomcat 7 server. If I change a file on the server (for example stylesheet, javascript file or any plain/text file), for example using vim. Then if I go to the file in an internet ...
0
votes
3answers
42 views

init.d tomcat6 script

I "installed" tomcat on ubuntu by just unzipping it. Is there a standard script I can use for /etc/init.d/tomcat? Or do I need to create one? Currently I have created one that works, but I didn't ...
1
vote
1answer
60 views

nginx static content configuration

I have a server: server { listen 80; ## listen for ipv4 listen [::]:80 default ipv6only=on; ## listen for ipv6 access_log /var/log/nginx/localhost.access.log; location ~* ...
0
votes
0answers
49 views

stress test apache tomcat configuration

am using grails with apache tomcat. I have set database connection pooling to 300 and the following connector for tomcat. but I can't do 4000 concurrent access using apache jmeter <Connector ...
0
votes
1answer
27 views

Grails and Tomcat 7 load balancing

I have deployed a grails 1.37 app on to tomcat. May I know how to do load balancing and clustering?>
0
votes
2answers
46 views

Two computer share load

I have two windows server 2008, name as computer A and computer B. I intend to use computer A as a web and database server and computer B as a web server. I'm using apache tomcat and mysql database. ...
0
votes
0answers
30 views

setting up multiple sites under 1 tomcat/apache

This is my first java/tomcat/apache project so pardon if this is a repeat ? I have an application running under Tomcat/webapps/Root/ I have a second application under Tomcat/webapps/mytestapp2 ...
1
vote
1answer
168 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. ...
1
vote
1answer
22 views

multiple vhosts for mod_jk going to tomcat

small configuration problem here. i have a tomcat server with apps deployed like this tomcat.mydomain.com:8080/app1 tomcat.mydomain.com:8080/app2 tomcat.mydomain.com:8080/app3 ...
0
votes
0answers
55 views

Rails app running on JRuby & Trinidad / Tomcat hangs on first request after being idle

We have a RoR 3.2 app running on JRuby 1.6.6 hosted inside Tomcat via Trinidad. I've been trying to figure out for the last couple of days why every so often we would get complaints of it hanging. ...
0
votes
1answer
99 views

Install Tomcat on Linux server

I am trying to install Tomcat on my linux server .Once I had installed glassfish and already working with it . I successfully installed tomcat7 to my server but when I request the machine url : 8081 ...
1
vote
0answers
56 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" ...
0
votes
1answer
41 views

Files being rolled back on server 2008 R2

I've got a weird situation occurring on my dev server. Randomly, and for no reason that I can see, files are being rolled back to an earlier version! This has happened twice now - the first time I ...
1
vote
0answers
53 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 ...
0
votes
0answers
71 views

How to use JDBC Connection Pooling without JNDI DataSource? (in Apache Tomcat)

I have an Apache Tomcat 7 server. I have a quite complex Java Servlet application running on it which needs some MySQL queries per POST. Thus I need a MySQL Database connection to do the query. ...
3
votes
1answer
47 views

adding a global URI prefix for Tomcat web apps

I am setting up a reverse proxy configuration where all requests whose path starts with '/apps/' should be proxied by Apache to Tomcat. This IMO has 2 benefits: it makes it possible to reserve ...

1 2 3 4 5 20