The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
9 views

Tomcat: Log the equivalent of SSL_CLIENT_S_DN

In Apache HTTPD it is possible to create custom request logs which include the value of SSL_CLIENT_S_DN. Since the site requires mutual authentication (client certificates) this provides a good audit ...
0
votes
0answers
9 views

Apache2.4.6 and wstunnel don't correct proxy to tomcat7

I have everything being proxy correctly just that my websockets keep giving me an unexpected 200 response error. I am using native websockets on chrome and firefox. my conf file looks like this ...
0
votes
0answers
32 views

2 Webapps hosted on same server talking to each other - do they use eth1 or lo1?

I am trying to establish bandwidth needs for a set of webapps in the company. I am using SNMP to monitor the bandwidth on the eth1 interface, however I am trying to establish what is going over the ...
-1
votes
0answers
21 views

Java: very slow tomcat and too big war file [on hold]

I created some sort of RESTful API backend for a mobile app. It's written completely in Java using Jersey as Framework. At the moment no database is used, it's all in the memory, but this is no ...
-1
votes
2answers
87 views

Apache SSL Port Redirection (8443 to 443)

I've got a Tomcat server (JIRA) working behind an Apache reverse proxy server (took a while but I got there). I'm upgrading my old server and adding Apache to give me some extra functionality and ...
1
vote
1answer
36 views

starting tomcat remotely fails to start

When I run my start command via ssh it tells me that its started but it is in fact not the case. Catalina logs does not seem to capture any events either. However stop and status works. ssh -t ...
-3
votes
0answers
36 views

How to integrate Kloxo Control Panel with apache tomcat 7 server?

I Have a vps server, with details below: OS: Cent OS 5 32bit Installed Control Panel: Kloxo control panel I Want to serve my JSP pages from this server, I need to Integrate Tomcat 7 with Kloxo, so ...
0
votes
1answer
48 views

Multiple Domains Single Tomcat 7 - Apache Mod_proxy

I have been struggling with this for a day and more now. As i am new to server setup stuff. Been following many tutorial and docs on net regarding the same, many hit and run, But got no luck. Here is ...
0
votes
0answers
15 views

Tomcat breaks encoding of uploaded file in CP1250

I have a Java web application which processes uploaded files in different encodings. When I run this app on Tomcat 7 installed on my Windows PC and I upload a file encoded in CP1250, everything works ...
1
vote
1answer
82 views

tomcat cannot change port 8080 to 80

I want to change the port 8080 to the default HTTP port (80), to use a Jersey Application as HTTP-Restful API. Therefore I replaced the port from 8080 to 80 (within /etc/tomcat7/server.xml) and ...
0
votes
0answers
28 views

tomcat virtual host 404

I have a tomcat instance running and I am trying to add virtual hosts to it. I have modified the Server.XML file which consists of following host def <Host name="www.test.com" ...
0
votes
1answer
32 views

Tomcat7 Setup - CentOS 6.3

I have tomcat7 packages installed as follows [root@mongos lib]# yum list installed | grep tomcat7 tomcat7.noarch 7.0.39-1.jpp6 @eng-support-jpackage ...
0
votes
1answer
247 views

Tomcat 7 not starting. Failed to initialize end point associated with ProtocolHandler

When I am trying to run the Tomcat 7 using startup.bat with java 1.6.0_05 then it is working. In case i am changing the version to jdk1.6.0_45 or jdk1.7.0_65 the it is giving error. This seems ...
0
votes
1answer
88 views

tomcat7 + nginx ssl causes redirect loop

We have the following set-up: several subdomains lead to the same server, which is running nginx as a proxy to each of them. All subdomains are currently used for testing features in development, so ...
-1
votes
1answer
17 views

How to set up tomcat7 to forward all requests to the appname?

I have a tomcat7 server hosting my app. I've got port forwarding set up with iptables so right now you can access the app like so: http://ip-address-of-server/appname I've also set up the domain ...
3
votes
2answers
112 views

YouTrack on Tomcat 7 using SSL

I have a running YouTrack instance deployed using Tomcat 7 and it works fine on http://example.com:8080/youtrack Apache is already configured to support SSL for the main domain (I have .pem file). ...
0
votes
1answer
57 views

subdomain tomcat under apache2 is ignored (Ubuntu)

My problem seems quite simple, but I have no clue where the problem comes from I have apache2, mod_jk, and two apps tomcat, main and test I would like to use main for the "main domain" (so, if I have ...
0
votes
0answers
37 views

mod_jk : keep url of apache for tomcat

I assume my question is basic, but I'm a beginner to configure a server, and I'm quite lost I successed to install tomcat, then apache, then mod_jk to link both together. Tomcat works under 8443, ...
0
votes
0answers
46 views

Tomcat 7 went <defunct>, cannot kill the process. What might be the cause?

I was running tomcat7 production server for several days, and then suddenly it was unreachable by the http port. Strangely though, the background processes were still running as can be seen by the ...
0
votes
1answer
85 views

Tomcat localhost_access_log.txt encoding

I run my web-app in Tomcat 7 and in the localhost_access_log.txt file I have the following lines 0:0:0:0:0:0:0:1 - - [25/Jun/2014:10:22:26 +0300] " Ì Èc£Ï!#ò2Tç¡$EI «àµ«]ëñʯ¯Ù (ÌÌÀ+À/ À " 400 - ...
0
votes
1answer
66 views

Apache / Tomcat AJP DNS failures when tunneling

I have a situation where I can access a private NAT-ed apache2.4 / tomcat7.0 railo4.2 server directly from the host or local network but when tunneling in through an SSH remote port forward the ...
0
votes
1answer
59 views

Debian hacked via Tomcat Manager [duplicate]

After Tomcat installation, before I even changed the default Tomcat Manager password, the attacker used Tomcat Manager to deploy his own software. Probably some DDOS tools and a file manager. I've ...
0
votes
1answer
64 views

Tomcat / Railo stop responding with no error output

This is going to sound very vague and I'm sure it will be voted down for not giving enough information however I don't really have any to give as you will see. We have an AWS instance running Amazon ...
0
votes
1answer
36 views

Include the request URI in catalina.out?

Running Tomcat 7. I have errors in catalina.out that I can't troubleshoot because I'm not sure which web request is causing them. Is there any way to capture more details about a given exception ...
2
votes
1answer
311 views

Adding a docBase for Virtual Host using the Tomcat Virtual Host Manager

In the Tomcat Virtual Host Manager there is an option to add a virtual host with options for: Name Aliases App base AutoDeploy DeployOnStartup DeployXML UnpackWARs Manager App However there doesn't ...
1
vote
0answers
552 views

How to install latest Tomcat7 using yum on AWS EC2?

I'd like to install the latest (7.0.53) Tomcat on an AWS EC2 instance running Amazon Linux. If I were to do "sudo yum install tomcat7 -y", I would only get version 7.0.47, as shown by " yum list ...
0
votes
1answer
57 views

Several JkUnmount(s) in multiple VirutalHost(s)

I am trying to configure multiple VirtualHosts in my mod_jk.conf. I have a few JKMounts and several JKUnmounts which will be common to all of the VirtualHosts. I was trying to move these *mounts to ...
0
votes
0answers
17 views

Server configuration regarding multiple tomcat instances [duplicate]

I am going to setup an website. I am expecting huge amount of traffic in future. I went through many articles for load balancing in tomcat. I wanted to ask how multiple tomcat clusters are good in ...
1
vote
0answers
51 views

using cas server with mongodb backend

I 'm new to setting up cas(Central Authentication Service) server. I couldn't find any guides to setup mongodb as backend for CAS server. Is there an adapter to connect CAS and mongodb. BTW, we don't ...
0
votes
1answer
65 views

HTTP Basic auth in tomcat

I am trying to enable basic HTTP auth on my tomcat application. Also I want to keep it outside the application. I added a new user to tomcat-users.xml and set its role to 'app-user'. Then I added a ...
0
votes
1answer
96 views

Ubuntu - Create Script to Restart Multiple Tomcat Instances

I have 4 instances of Tomcat to serve a JSP application. Every now and then I have to restart them all (when I recompile a class, for instance). But every time I have to restart their services one by ...
1
vote
1answer
362 views

Why's Tomcat not responding, but looks normal?

I don't have much info to go on here, looking for ideas as I've run out. I did a server certificate update on our tomcat box (FreeBSD 9.2). After reboot, any connections to it fail immediately (page ...
0
votes
1answer
163 views

Will tcnative-1.dll version 1.1.30 work with tomcat 7.0.29 without any issues?

In order to fix the Heartbleed vulnerability a new release of the tomcat java native libraries is being created. Will this release work with older versions of Tomcat 7 such as 7.0.29, or will this ...
0
votes
1answer
44 views

How to enforce post encoding in tomcat 7?

Is there a way to enforce UTF-8 encoding on POST operations for tomcat 7, regardless of what the browser may send to tomcat? It runs with the latest JRE from http://java.sun.com/getjava
0
votes
0answers
68 views

Tomcat 7 log file date format

Tomcat7 log entries use a date format: Mar 30, 2014 11:50:32 AM How do I change it use the format: 2014-03-30 11:50:32 This would make it much easier for Zabbix to parse the log file for ...
1
vote
2answers
407 views

What tool to use to identify a high-CPU Tomcat thread?

We have a load balanced server farm using Tomcat 7. Once in a while (once a day, at least) a server's CPU load spikes way up. This appears to be legitimate server usage and not a fault, but I ...
1
vote
0answers
39 views

Coldfusion10 via war on pre-existing Tomcat 7, web.xml

I've deployed the cfusion.war on a pre-existing tomcat instance also hosting Liferay(6.1.x). Both are in the webapps directory. I had to work through some issues related to taglib in the web.xml of ...
1
vote
0answers
68 views

How do I proxy user context from httpd mod_proxy to tomcat?

I have configured a tomcat instance with SPNEGO to perform user authentication. When I access the tomcat port directly, it causes my browser to request my user name and password, which I provide and ...
1
vote
0answers
191 views

SSL exception “No name matching domain found” apache in front of 2 tomcats servers

I have 2 servers. Server1 is an Ubuntu 12.04 LTS with Alfresco 4.2 on Tomcat. Server2 is a Windows 7 with my CAS server (SSO) on eclipse installation. Both have apache with mod proxy AJP in front to ...
0
votes
0answers
167 views

Tomcat 7 Session Persistence disable not working as expected

As documented in https://tomcat.apache.org/tomcat-5.5-doc/config/manager.html#Disable_Session_Persistence , I added the following code piece to disable session persistence in Tomcat 7. ...
0
votes
1answer
529 views

Error in tomcat 7 start up

I am facing problem in starting up the tomcat zip file. I am totally new to jsp and servlets. I have installed tomcat 7.0.52 and set the path and java_home both. In one of my system its working fine ...
0
votes
0answers
41 views

Why Tomcat 7 keeps deploying as ROOT

I have following configuration in server.xml. <Context path="/" docBase="secreteapp" sessionCookieName="our-secret-cookie-name" ...
1
vote
0answers
626 views

apache tomcat 7 stops whenever request recieved

i m working on netbeans IDE 7.1 and using apache tomcat server 7.0.22.0 its normal whenever i deployed the project but whenever client side application requested for service tomcat server gets stop ...
0
votes
3answers
3k views

The CATALINA_HOME environment variable is not defined correctly This environment variable is needed to run this program"

I have installed JDK 7 and tomcat 7 and set the following environment variables: PATH: ......C:\Progra~1\Java\jdk1.7.0_51;F:\apache-tomcat-7.0.52-windows-x86\apache-tomcat-7.0.52\bin; CATALINA_HOME: ...
2
votes
2answers
470 views

Difference between calling tomcat shutdown script and killing process

On our linux boxes, we have multiple users who run tomcat. Currently we are using process kill commands to kill the respective user's tomcat , instead of using shutdown.sh Are there any downsides of ...
0
votes
1answer
22 views

Tomcat 7.0.42 Manager Weird behavior

Good morning folks! I'm playing with my brand new tomcat installation today, and everything run pretty smoothly except that I got a weird reaction using the manager with virtualhosts. The problem ...
1
vote
2answers
131 views

Apache Stack - Web Page Load Monitoring

We are running an Apache/Tomcat/Railo (Coldfusion) web server stack. We are looking at ways to monitor the average page load times for all web servers as well as look at the page load times for ...
0
votes
0answers
22 views

Mobile URL Rewriting for a specific Server Path

I have a website running on www.example.com using a Tomcat web server. On this tomcat the website is running in the root directory. Now I have a mobile web app which is located under ...
0
votes
2answers
590 views

Starting tomcat by init.d works, but it doesn't by service

Tomcat 7 from repository and Debian Wheezy. If I try to start Tomcat by service it does not work service tomcat7 start [FAIL] no JDK found - please set JAVA_HOME ... failed! But the variable is ...
0
votes
1answer
118 views

Debian and Tomcat, why creating a dedicated user?

I was trying to install tomcat 7 on Wheezy Looking at several guides, I noticed that almost all of them suggest to create a dedicated user.. why? I am also asking that because I have installed ...