The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
23 views

Tomcat connect to Mysql load balancer

I want to connect tomcat with mysql in a load balanced way. Is this possible in Tomcat 7? What changes are required in the following configuration?. <Resource name="jdbc/TestDB" auth="Container" ...
-2
votes
1answer
25 views

Load tomcat application via DNS without typing 8080

I am having a Amazon EC2 Ubuntu instance. I have installed LAMP server and tomcat 7. I also have application running in tomcat. Now, my URL for apache is - ...
-1
votes
0answers
13 views

gzip compression on standalone tomcat with out web server

Is it possible to achieve gzip compression with standalone tomcat server? (No web server) Linked Question
1
vote
0answers
39 views

GZip compression not working on Tomcat7

I recently tried using gzip compression to improve web UI performance. I configured Tomcat Connector as below. compression="on" compressionMinSize="2048" noCompressionUserAgents="gozilla, traviata" ...
-2
votes
1answer
54 views

Apache Tomcat 7 on windows 2008: how to make two hosts point to same website

I’m new to Apache Tomcat. I have been asked to point new domain name to the existing domain name. E.g. We have https://xyz.abc.com, we want new domain name http://123.abc.com to point to ...
0
votes
1answer
23 views

is there security risk when running tomcat7 on port 80

I have setup a server with tomcat7 running on port 80. I have googled around and found out that since port 80 is a "magic port" it needs root privileges to be bound. For this reason most comments i ...
2
votes
2answers
33 views

Configure HA Proxy between Apache and Tomcat servers

Want to configure HA Proxy with my existing structure. Currently I have Apache->Tomcat server. This I want to change to Apache->HA Proxy->Tomcat Server. HA I have configured for Http request. But my ...
0
votes
1answer
27 views

Apache tomcat7 fails to start without logging info

I run a server with Debian 7 (Wheezy) and a fresh installation of tomcat7. When i try to start the tomcat service either from init.d or suing the service command i get the bellow error: [FAIL] ...
1
vote
0answers
16 views

Tomcat / Railo 4 only loads default host, ignores contexts in conf/Catalina/

I have about 100 Railo virtualhosts that won't start anymore. At first new sites were having this behaviour now they all do. All virtual aliases just open the railo default context! This used to work. ...
1
vote
0answers
51 views

Generation of Tomcat Stdout and Stderr log files

Is there a way to catch tomcat stdout and tomcat stderr log files it to log4j or any other way so that i can keep track daily basis.These files are only generated when we restart tomcat.And i want ...
0
votes
0answers
17 views

URL doesnt work with HTTPS

I have an url, and the firewall traffic to the same has been enabled through 8443 port and i configured the Tomcat7 for SSL. I can access the ddomain with http & port 8080 but when i try the same ...
0
votes
1answer
28 views

How to override default `solr.home` in XML files under `Catalina/localhost`?

I'm trying to configure two instances of Solr on the same host and I'd like to override solr.home for each instance. I've created two files under Catalina/localhost/ as suggested in Solr Tomcat wiki: ...
0
votes
1answer
82 views

How much memory must be left to the OS with a java server application? [closed]

Suppose I am running tomcat with -Xms256m -Xmx1024m, but would like to increase my heap usage. What is the largest safe heap size I can allocate? For the purpose of this question, please assume, ...
2
votes
1answer
505 views

WARNING: None of the ciphers specified are supported by the SSL engine

I have a working web service running through Apache Tomcat 7 with the following connector element in server.xml: <Connector port="443" protocol="org.apache.coyote.http11.Http11Protocol" ...
1
vote
0answers
20 views

Nginx proxy to tomcat7 webapp secured with shiro

So I have a Java (Spring 4 + Shiro) web app running in Tomcat7 on dedicated server. I'm trying to configure Nginx so that my application would be reachable by simply going to www.example.com instead ...
2
votes
1answer
42 views

Tomcat multiple requests handling

I have my API running on a tomcat server and would like to know how multiple incoming requests are handled i.e., when the server receives multiple requests at the same time are they processed in ...
0
votes
1answer
318 views

“Unable to stat /usr/lib/jvm/java-7-oracle/bin/java” when trying to run Tomcat7 with Java8

I'm trying to upgrade my servers to Java8 from Java7 so that they will run my webapps under Java8. On one of my machines I'm getting the following error and I'm not sure what is still referring to ...
-1
votes
1answer
31 views

Instead of www.domain.org:8080/app I need www.domain.org. Apache2.2, Tomcat7, Debian7

Instead of //servername.domain.org:8080/appdir. I need //servername.domain.org. How is this done? I want to truncate the URL dropping the :8080/appdir. What's running on the server. Debian 7.8, ...
2
votes
0answers
30 views

Page served by tomcat image server by Apache

I need to configure Apache to call Tomcat to serve a page and this page has an image on /image folder called logo that should be served by Apache. This is the Apache virtual host: <VirtualHost ...
0
votes
1answer
90 views

Out of 3, Only one mod_jk worker is not working

I have a server configuration with Apache http Server 2.2 with name based virtual hosts connected to separate Tomcat 7 virtual hosts using mod_jk connector. Previously 2 Apache Virtual Hosts were ...
0
votes
0answers
30 views

TNS Listner error for SID

My Error: java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor ...
0
votes
0answers
35 views

Tomcat7 ignores changes to application context XML file

I am deploying my applications to tomcat using a script. First, the script set the specific parameters in conf/Catalina/localhost/myapp.xml. Then, the script deploys the application to Tomcat using ...
-1
votes
1answer
183 views

How to set Tomcat 8 to recompile JSP on page hit for development server

I have a developement server that was on Tomcat 6. I just installed Tomcat 8, and noticed that it no longer recompiles JSPs on page hit. What do I have to change in server.xml to get it to recompile ...
1
vote
1answer
813 views

Configuring Tomcat 7 to use TLS only

I have a Tomcat 7 server on Ubuntu 14.04 (Java OpenJDK 1.7) which has been working fine for over a year, with no problems. A few months ago it stopped being accessible wtih Chrome, I dealt with ...
1
vote
1answer
117 views

cant upload large files after Upgrading apache 2.4

I am running Tomcat 7 on top of the Apache and am using Openssl for secure http. My root directory is docs: DocumentRoot "D:/Apache Group/Apache2/docs" Inside docs I have folder upload where I ...
-2
votes
1answer
33 views

Tomcat7 pointing to a symbolic link WAR [closed]

I have Tomcat7 running on a Linux server. Tomcat is pointing to a symbolic link WAR for my application. The link is pointing to the actual WAR. I am looking to upgrade the app. What I have done is ...
0
votes
0answers
26 views

How to point domain name in tomcat7 properly

I am trying to point a domain name in tomcat7. But it doesn't work properly. I can call my site from URL like "www.mysite.com/folder". If the URL is "www.mysite.com", the result is point to tomcat ...
0
votes
1answer
131 views

What's the simplest way of installing Tomcat7 via Puppet with dependencies?

I'm trying to build the simple Puppet recipe as below: package { 'openjdk-7-jre-headless' : ensure => installed, } package { 'tomcat7-common' : ensure => installed, } package { ...
0
votes
0answers
31 views

Apache 2.4 switching sessions from primary to backup in between even when sticky session is enabled

I am facing issue with long running requests . We have a case of file upload in which file upload process starts and at front end we represnt the user with a progress bar to show the percentage of ...
0
votes
0answers
45 views

Java application times out in Tomcat 7, not when standalone

A java program is to upload a file to a site. When it runs as standalone it's working, total time its taking is around 2.5 mins. But when the same java program runs under tomcat 7 it is throwing ...
0
votes
0answers
92 views

Tomcat suddenly shutdown

Tomcat randomly stops receiving requests and returns error 503. Im running a tomcat 7 on Ubuntu 12.04 TLS updated. In the apache error log you can see the following trace: [Wed Mar 04 09:36:27 ...
0
votes
0answers
41 views

tomcat https static content

We are using tomcat to serve everything over http. BUT, we have a login page which is served over https since we have them enter a password. Recently, chrome has stopped supporting serving non secure ...
1
vote
0answers
106 views

Mule ESB starting embedded tomcat as SYSTEM user - Windows Server 2008 R2

The scenario is --- I have developed a simple flow in Anypoint Studio (eclipse based IDE), which reads a file from a network location, processes the date and write the data in a database then. I ...
0
votes
1answer
173 views

Effectively Monitoring Server Load of Production Amazon AMI + Tomcat + Lucee Instance [closed]

Looking for advice as to effectively monitoring the load of a production web server. Preferably solution will be free or minimal cost (server is owned by a very small web development company - read ...
3
votes
1answer
56 views

why is Tomcat ajp connection by default enabled

The Tomcat server configuration (server.xml) has AJP connector enabled by default. And so tomcat by default listens at port 8009. Why is this by default enabled ? I thought there will be only few ...
0
votes
1answer
226 views

IIS 7.5 JK connector to Tomcat

I have many Tomcat servers working using an older 32-bit version of the isapi_redirect.dll where I set the Default Application Pool to Enable 32-Bit Applications. On a client's server, they need to ...
1
vote
1answer
62 views

Permission issues with tomcat7 on EC2

I finally managed to deploy my web service on to ec2 with tomcat 7 installed. It works perfectly fine on localhost but is receiving errors on ec2. I think it is because my code generates an xml file ...
0
votes
2answers
146 views

Cannot login to Tomcat7 Admin portal

I have an Ubuntu 14.04 server with a fresh Tomcat7 installation (with management modules). I can't login to the management page no matter what user settings I use on /etc/tomcat7/tomcat-users.xml . ...
1
vote
0answers
89 views

IIS Reverse Proxy to Tomcat uppercase path

We have an application being served by Tomcat 7 on port 8080. We want users to use SSL. So we are using IIS 8 as a Reverse Proxy to proxy connection from port 443 to port 8080. This is what we are ...
0
votes
1answer
246 views

Apache Tomcat + Apache2 + mod_proxy: Issues regarding cluster

I have a Tomcat 7.0.57 cluster setup behind an Apache2 using mod_proxy. Setup: Apache2: 192.168.2.139 Tomcat Node1: ajp://192.168.2.166:8010 (http connector also defined on port 8082) Tomcat Node2: ...
0
votes
0answers
54 views

Unable to set jdoconfig.xml and appname.properties templates for the war file deployed in tomcat7/webapps

Recipe: include_recipe "lgjava" include_recipe "lgtomcat" remote_file "/usr/local/tomcat7/webapps/web.war" do #this file places web.war in the specified path source "http://path/to/web.war" ...
0
votes
1answer
340 views

apache mod proxy_wstunnel invalid utf8 during websocket upgrade

I am experiencing an intermittent problem when connecting the jetty web-socket client to the server. The good people at Jetty assure me it is not a problem with Jetty. On the server side I have ...
0
votes
0answers
144 views

How to configure Workmanager API in JBoss/Tomcat server

As we know its not advisable and discouraged to create user defined threads directly in web/application server. There exist Workmanager API specification which must be used for this purpose. But ...
0
votes
1answer
108 views

Live tuning of Tomcat 7 memory settings

I know I can change bin/setenv.sh, but is it possible to apply new settings without restarting Tomcat? Specifically can I extend maximum heap size (Xmx) somehow?
1
vote
1answer
1k views

What ciphers are compatible with both Java 6/Tomcat 7 and IE8 (XP)?

I have disabled SSL3 and restricted the ciphers available to a recommended set but now I can't access my server using IE8 on Windows XP. If I allow all ciphers then I can connect using IE8 but when I ...
0
votes
1answer
634 views

How to limit the number of Tomcat threads?

I have a tomcat 7 running on a low memory CentOS. Currently it has 2 connectors for ports 80 and 443. Important configuration options are: <Connector port="80" protocol="HTTP/1.1" ...
0
votes
1answer
110 views

Zombie connections on tomcat server while using mod_proxy_ajp

I'm using tomcat server 7 with apache mode_proxy_ajp module to serve a website. Here is my ajp connector config: <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" ...
0
votes
0answers
208 views

Apache SSL page times out with server taking too long

I have an SSL site I'm trying to deliver with apache that is timing out when you load it in a web browser. I am seeing this message in the browser: The connection has timed out The server at ...
0
votes
0answers
566 views

Tomcat ECDHE-ECDSA chiphers are not supported

Tomcat does not support ECDHE-ECDSA* ciphers. Configuration and version information is given below. OS is CentOS 6.5 x64 Tomcat version is 7.0.56 Tomcat native version is 1.1.30 (Loaded APR based ...
0
votes
1answer
1k views

tomcat not able to start in jpda start mode

This is my catalina.sh #!/bin/sh JAVA_HOME="/usr/local/java" CATALINA_PID="/usr/local/tomcat/tomcat.pid" CATALINA_HOME="/usr/local/tomcat" JAVA_OPTS="-Xloggc:/usr/local/tomcat/logs/gc.log -Xms3072m ...