Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies.

learn more… | top users | synonyms

0
votes
1answer
61 views

Tomcat & Java not listening on IPv6 [closed]

We've got a webserver running Ubuntu 12.04 LTS, Tomcat 7 and Oracle Java. So far, we have been serving a web app on IPv4 address on ports 80 and 443 (80 redirects to 443). I'm trying to make the ...
0
votes
0answers
16 views

Can I deploy multiple apps pointing to different domain names in one vps?

I plan on buying a vps from digital ocean with the intent of deploying web apps on it. I have deployed multiple apps(usually grails apps) before and I'm deploying them on Tomcat and they always point ...
0
votes
1answer
24 views

Run startup script with another user

I have two users user1 and user2. And tomcat has owenership of user1 and started with user1 only. I need to make a rule for user2 such that user2 can starts/stop tomcat but tomcat should always be ...
0
votes
0answers
28 views

How do I set up YouTrack on our dev server so that we can all access it?

I have installed JetBrains YouTrack on our dev server, to listen on port 8585. On that server, the URL http://localhost:8585 brings up YouTrack nicely. Yet, if I work on my own desktop, and enter the ...
0
votes
0answers
21 views

Where to put dependencies for tomcat lifecycle listener?

I have a tomcat instance with a custom lifecycle listener (mule), and a complex application (jira). Mule have several jars as dependencies, and they are loaded by common.loader. Jira also have a lot ...
2
votes
1answer
96 views

How to get the OpenSSL version in a Tomcat 6 installation

After reading the below mentioned article I understand that it is a good practice to check which version of OpenSSL Tomcat is using. https://wiki.apache.org/tomcat/Security/Heartbleed In the article ...
0
votes
1answer
85 views

accessing remote server with name instead of ip address and port number

I have question regarding accessing my web application with some name,which is deployed on remote server. Currently, I using following URL http://160.110.67.181:8080/myapp So, I'm wondering ...
0
votes
0answers
10 views

Tomcat 5 keeps jumping between threads for no reason

I have Tomcat 5 server running on Windows Server 2003 with JDK 1.6.03 hosting one custom made webapp. App worked fine, but some time ago it started hanging for no reason. I connected via JMX and ...
1
vote
1answer
52 views

what does =~ in linux means used in if condition to compare values

Actually tomcat/conf/catalina.properties file contains line shared.loader=/usr/share/sfit/conf I mean value has some path. so using shell script we are updating shared.loader values in file. And also ...
0
votes
1answer
164 views

Unable to stop tomcat server

I have tomcat 7 running on a virtual machine running Linux. I started tomcat as foreground process using a script and don't know how to stop it. I have tried stop, restart, start but all of the are ...
0
votes
1answer
61 views

Best way to view tomcat logs from web

There is a tomcat installation. There is need to view its logs (catalina.out and maybe some more) through web. There is a way to set up apache webserver to look into folder and return logs as ...
0
votes
1answer
47 views

JSP wiki with two base url

I have a JSP wiki application deployed in tomcat. The url for accessing this application is mentioned in jspwiki.properties file under jspwiki.baseurl attribute, say jspwiki.baseurl = ...
1
vote
1answer
26 views

Tomcat not being reloaded in Linux

I am using Fedora 19 and using Apache Tomcat for running servlet programs. I had some problems which I traced to the fact that once I made any changes to my program and recompiled, I had to restart ...
0
votes
2answers
46 views

Installing TOMCAT on Debian without apt-get

I have access to a machine on a scientific hpc, and I'm setting up an environemnt to create a web application, made up basically of TOMCAT and postgresql. I cannot use another web server. The OS is ...
0
votes
0answers
59 views

Have Tomcat set the correct group permissions on files it creates

I've got a number of Tomcat instances setup on my server. It's a single tomcat installation configured with the standard tomcat user and tomcat group. I've setup a number of different CATALINE_BASE ...
0
votes
4answers
204 views

How to setup Apache Tomcat on OS X?

I'm trying to setup Apache Tomcat 7 for some work. I need to get it done, but I think I've setup things incorrectly. What is the right way? I'm using NetBeans, and have set the install directory for ...
0
votes
0answers
82 views

Running a Tomcat 6 with java 6 (1.6.0_39) on CentOS as limited user

The problem is binding to ports under 1024 with a non-root user. I've tried authbind, but it does not support multithreading, and our App spawn multiple threads, and some failed to bind ports. I've ...
0
votes
0answers
18 views

Get response when user downloads or cancels file from server

I click on download button, prompt appears - Save , Open, Cancel. I want the response at server whether user has cancelled the download. I am deleting file once downloaded. I want to keep file if not ...
0
votes
0answers
224 views

How to integration of Tomcat and Apache through mod_jk

On http://site.local/java/ need to execute jsp. apt-get update & apt-get upgrade apt-get install sun-java6-jdk \ tomcat6 tomcat6-admin tomcat6-common \ ...
1
vote
1answer
45 views

SSL not work for virtual IP

I have a website which was deployed with three real web servers and a load balancer with a virtual IP. I have applied an SSL certificate from a CA and imported to Tomcat using OpenSSL using the ...
0
votes
1answer
23 views

Is there .exe package of apache tomcat somewhere?

I only see binary packages on apache website. Where can I find windows installer? I downloaded old version from some user of code.google.com, but that's definitely not the way they distribute it. I ...
0
votes
1answer
682 views

Ubuntu: Tomcat upstart script. Logs end up in upstart log

I have a simple upstart script for tomcat. Here is the chef template: description "Tomcat Server" start on runlevel [2345] stop on runlevel [!2345] respawn respawn limit 10 5 # run as non ...
1
vote
0answers
22 views

How to install tomcat-native without need to install development utils

I am using tomcat on a RHEL machine. When starting tomcat, i get the following warning: INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments ...
0
votes
1answer
261 views

Starting tomcat error

Starting Tomcat servlet engine tomcat7 [fail] CATALINA.LOG > Nov 26, 2013 9:02:09 AM org.apache.catalina.core.AprLifecycleListener > init INFO: The APR based Apache Tomcat Native library ...
0
votes
0answers
40 views

httpd.conf - DocumentRoot and JkMount for /?

If i define a VirtualHost like this: <VirtualHost 127.0.0.1:80> DocumentRoot / ServerName localhost JkMount /* node1 </VirtualHost> Do i in real need to have a DocumentRoot?
2
votes
3answers
360 views

Remove openjdk without removing tomcat

When i want to remove openjdk it says that tomcat will be removed too. apt-get remove openjdk-6-jre-headless Reading package lists... Done Building dependency tree Reading state ...
0
votes
0answers
89 views

iptables messing up Tomcat?

I encountered the following problem(s) using Tomcat 7 with iptables on. 1) Namely, there's this Tomcat 7 instance that I run on server-1 (directly exposed), and this Tomcat instance hosts a REST ...
0
votes
1answer
500 views

running multiple instances of tomcat on Centos

On Centos 6.4, I am trying to run multiple instances of tomcat based on this tutorial: http://www.openlogic.com/wazi/bid/188102/ in order to illustrate the problem, I copy the default configuration ...
0
votes
0answers
73 views

Tomcat server installation error in Eclipse?

I installed tomcat server successfully, I checked also in the web browser using http://localhost:8080 it gives, and when I configure Tomcat in Eclipse it is showing an error like in this screenshot. ...
0
votes
0answers
40 views

Getting error while starting tomcat?

For my Tomcat installation process case is 1. cd /home/mpatil/Downloads/ 2. tar zxvf apache-tomcat-6.0.37.tar.gz 3. cd apache-tomcat-6.0.37/bin 4. ./startup.sh 5. tail -f ...
-1
votes
1answer
44 views

Does anyone know of a good StackOverflow/Bulletin type program for Java/Tomcat? [closed]

I am making a website for my school that is going to house a lot of data about: Dining Hall Foods Sports News & Rosters University Events I also wanted to see if I could try and add a ...
0
votes
1answer
667 views

can not change file permission even with root

Below is my problem , i am using Amazon linux AMI and there is a directory(Tomcat's webapps). when i try to remove that directory that says permission denied. How So? [root@ip-10-62-71-179 ...
0
votes
0answers
19 views

Symbolic link causes ClassNotFoundException

In OSX using bash I want to have a symlink inside the webapps folder of a Tomcat server. I have created the symlink using ln -s <source> <target> and also tried with other parameters. ...
0
votes
0answers
145 views

can not load the local resource tomcat

In spring project, I am generating some pdf file automatically in my application and storing it in $CATALINA_BASE in tomcat server. The path is : ...
0
votes
0answers
806 views

SSL in tomcat with apr and Centos 6

I'm facing a problem setting up my tomcat with apr native lib, I have the following: Tomcat: 7.0.42 Java: 1.7.0_40-b43 OS: Centos 6.4 (2.6.32-358.18.1.el6.i686) APR: 1.3.9 Native lib: 1.1.27 ...
0
votes
1answer
27 views

Possible problems that may occur in CENTOS? [closed]

I have developed an application on fedora 13 that works fine. The dependencies of this application are jre 1.6.0_26,tomcat webserver 6.0.18 and mysql 14.12 distrib 5.0.67.Now we need to extend the ...
0
votes
0answers
26 views

Apache http server: restrict access to a perticular application

I am using apache http server 2.4.4, tomcat 7.0.42 and windows 2008 server. I have hosted two web applications under tomcat e.g. app1 and app2. Using apache http server i have setup load balancer ...
0
votes
1answer
102 views

Apache http server allow, deny

I am using apache http server 2.4.4 for load balancing purpose along with tomcat 7.0. I have hosted 2 applications under my tomcat for e.g. app1 and app2. What I want to achieve is for app1 I want ...
0
votes
0answers
16 views

Tomcat req.getHeader(“key”) returns two headers

I am POSTING a RESTful request to a Tomcat 7 server. I am attempting to extract a particular header from the request but get two headers from req.getHeader("key") There are several headers in the ...
0
votes
1answer
26 views

How to enable SSL on Tomcat

I have a license server that is running Tomcat. I have been asked to enable SSL and I am clueless as where to start. I have the following files: FQDM.csr FQDM.key FQDM.crt FQDM.pkcs7 Outside of the ...
0
votes
1answer
69 views

What does catalina_service.bat do?

Are installing XAMPP, there are three files related to catalina in the main folder: catalina_start.bat catalina_service.bat catalina_stop.bat I understand that catalina_start and catalina_stop ...
2
votes
1answer
1k views

We can't access to jenkins from anywhere

We have just installed Jenkins on our server (Debian 7 wheezy). It works on local network, but not on extern network. We search but we don't find any workaround for this problem. We can ping our ...
0
votes
1answer
165 views

Pages don't load after installing a certificate on tomcat, restart required

I posted this question before but not in the correct forum. I have configured tomcat7 to use SSL and have made it point to a keystore. The keystore has a self signed certificate by default. There are ...
0
votes
0answers
168 views

tomcat does not respect keep alive from apache bench and returns Connection: close

I use -k with apache bench (ab) and although I do see my apache bench sends ab -k -n 10 -c 1 -p postdata -T 'application/json' http://myurl POST /myurl HTTP/1.0 User-Agent: ApacheBench/2.0.40-dev ...
0
votes
1answer
1k views

best practice for access permission to users for apache tomcat

I have a Linux box being shared by various developers. They want to deploy their war files in apache tomcat which in shared location (/opt/tomcat). Since they don't have sudo access, I have to change ...
0
votes
1answer
884 views

How to redirect http request on https port?

On a simple tomcat 7 installation with https, sending an http request on the https port returns a strange response of three control characters: $ wget -q -S -O - http://127.0.0.1:8443/ ^U^C^@ [I ...
2
votes
1answer
284 views

Linux command line: Kill vs Kill -9?

So I've set up some shell scripts to auto-deploy a fresh war file to a tomcat server. I call the shellscript to stop tomcat (shutdown.sh), and then I kill the catalina PID, however I've noticed that ...
0
votes
1answer
66 views

Browser links become unresponsive while running Tomcat for several hours

Please bear with me - this problem is somewhat unusual and a bit tricky to describe. My system is Windows 7-64 and I'm running Tomcat 6.0.29. I run two instances of Tomcat while I am developing on a ...
1
vote
0answers
28 views

Router configuration

I have a Netgear WNR1000 router. On my PC I am running a tomcat server on port 8001. But the problem is I cannot browse the tomcat server from my phone (though both phone and pc are under same LAN) ...
0
votes
0answers
82 views

Limiting requests per ip on Tomcat

I have a tomcat server and I want to limit requests for the ips that I detected on runtime. Does valve allow me to do this or do you know a way for doing this? If tomcat has no feature for my problem ...