Tagged Questions
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
25 views
Apache tomcat memory leak
I have a problem the on production server, after some time the apache stops (apache tomcat 6.0.24) and i have this error :
SEVERE: A web application created a ThreadLocal with key of type ...
0
votes
1answer
44 views
Unable to access Tomcat6 from outside the server
I've just installed Tomcat6 on my Debian Linux server (with OpenJDK), which also has an Apache server installed on the same machine.
I haven't strayed from the default settings, so it would be setup ...
0
votes
1answer
82 views
NGINX as load balancer with tomcat6 gives bad gateway error only only HTTPS mode
I am using nginx as load balancer on tomcat6 webserver. Both NGINX and TOMCAT6 have been configured to use only HTTPS. NGINX configuration settings are mentioned in the following two files.
...
0
votes
2answers
99 views
Unable to start Tomcat6 with HTTPS enabled
I have the following server.xml settings for my tomcat6 server
<!-- COMMENTED
<Connector port="8080" maxThreads="150"
enableLookups="false" acceptCount="100"
...
0
votes
3answers
50 views
how do I know tomcat is running on Windows
I'm on Windows, went to %CATALINA_HOME%\bin\ and ran startup.
I did see another commandline window popup and tomcat was loading some webapps that were there before (I had run webapp inside my IDE ...
0
votes
1answer
225 views
Tomcat always returns status code 400
I've just installed Tomcat on CentOS 6.3.
# yum install tomcat6
# service tomcat6 start
According to the tutorials I've looked at, I should be able to see a test page now.
# curl -I 127.0.0.1:8080
...
0
votes
2answers
56 views
Apache tomcat is not restarting
I installed Apache tomcat using custom package
sudo apt-get install tomcat6
I tried restarting the Apache tomcat
using this in Ubuntu Terminal
sudo service tomcat6 restart
then I got the ...
2
votes
1answer
468 views
SolrCore initialization failures
When I visit the dashboard it tells me:
SolrCore initialization failures
The only warning line in /var/log/tomcat6/catalina.out is:
WARNING: New index directory detected: old=null ...
0
votes
1answer
80 views
How to find Apache memory utilization?
I want to measure memory utilization of my Apache Server. Can I use the pmap/ps command and pass all the process IDs of httpd and take that as total utilization?
In most of the blog, they suggest ...
0
votes
2answers
198 views
Solr performance (tomcat) - High load
I'm relatively new to solr. I have a production site running on a VPS, but now I'm having serious load issues. I don't know where to start in order to get the load down...
VPS specs (linode.com 512)
...
2
votes
1answer
65 views
Can a working Tomcat 6 webapp be turned into a usable .war file?
Problem: I have a working webapp on a FreeBSD 8.1 Tomcat 6 test server that I need to move to a production system. The developer who last touched it (and had root on that server) has moved on and ...
0
votes
1answer
76 views
Tomcat vs. IIS - multiple worker processes
The Application Pool feature of IIS allows to run several application each seperated to each own issolated processes.
Is there any equivalent in Tomcat ?
Or do I have to deploy Tomcat serveral times ...
1
vote
1answer
11 views
Migrating from tomcat to tc server - receiving java.sql.SQLException on startup
I'm receiving below error when I start tcServer. I do not receive this error on standalone version of tomcat. Is there extra config I need to add for tcServer ?
WARNING: Unexpected exception ...
1
vote
1answer
468 views
How to turn off Tomcat logging in Eclipse?
I develop a Vaadin project in Eclipse that I start through Tomcat 6 which gets started directly by Eclipse. Tomcat prints an enormous amount of log messages though on each start which makes it hard to ...
2
votes
0answers
258 views
Tomcat 7 trailing slash issue with webapps
Recently I upgraded my tomcat server from 6.x version to the most recent 7.x version.
I came up with little trouble, hoping to get help.
I have an application calls MyApp
On tomcat6, when I went to ...
0
votes
2answers
98 views
Can I save an Apache environment variable value with SetEnv?
I am running Apache 2.2 with Tomcat 6 and have several layers of URL rewriting going on in both Apache with RewriteRule and in Tomcat. I want to pass through the original REQUEST_URI that Apache sees ...
2
votes
2answers
1k views
tomcat6 on CentOS 6: cannot stop/restart service
I have this problem with stopping and starting tomcat6 (package from the repos).
I've seen with several CentOS 6 and RHEL 6 boxes.
The symptoms are that when I want to restart or stop tomcat6 it just ...
1
vote
1answer
32 views
Tomcat looks different when installed using yum and apt-get
I just installed tomcat6 on Ubuntu using apt-get and on CentOs using yum. When I visit www.domain.com:8080, I get 2 different looking page.
Not that it really matters if just the visuals, but did I ...
1
vote
0answers
118 views
Difference between Admin and Manager role in Tomcat6
What are the roles admin and manager used for in Tomcat6?
The manager role appears to give me access to http://domain.com:8080/manager/html. Which page does the admin role give me?
In the file, the ...
1
vote
1answer
465 views
Unable to start tomcat6: Java error (Exception in thread “main”)
After installing tomcat6 on CentOS 6.3, I am unable to start tomcat6 server.
root@host [/var/log/tomcat6]# service tomcat6 start
Starting tomcat6: [ OK ]
...
1
vote
1answer
1k views
How to update Tomcat on Centos 6.3?
I'm running CentOS release 6.3 (Final) and I have Tomcat 6.0.24 installed:
# yum info tomcat6
Loaded plugins: fastestmirror, presto, priorities
Loading mirror speeds from cached hostfile
* base: ...
0
votes
0answers
229 views
Tomcat cannot find fonts
I have Tomcat6 running on Debian 6 in a headless server. The application deployed on this server has to generate PDF files at various points. Trying to do so results in an exception for missing fonts:
...
0
votes
1answer
132 views
Tomcat threads number inexplicably peaking immediately after end of load test
I am testing an app on Tomcat with one hour of crazy traffic from 200 users.
Everything is fine during the test.
But immediately AFTER the test (no more traffic), the number of threads rises ...
0
votes
1answer
313 views
I've apt-get java, tomcat6 on debian system and get this exception. How can I fix it?
root@konrad:/var/lib/tomcat6/logs# cat localhost.2012-07-12.log
Jul 12, 2012 9:26:30 AM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter SetCharacterEncoding
...
0
votes
1answer
140 views
tomcat6 on debian squeeze logging 'deploying config descriptor' error
Periodically or when the application is reloaded, tomcat6 is logging this into catalina.out:
06-Jul-2012 17:30:07 org.apache.catalina.startup.HostConfig deployDescriptor
SEVERE: Error deploying ...
2
votes
0answers
351 views
Time-based 32-bit overflow in Java? Or SLES11?
This is Tomcat 6.0.18, Java 1.7.0_03 (32-bit), and SLES11 SP2 (64-bit). As for kernel information:
$ uname -a
Linux server-1 3.0.13-0.27-default #1 SMP Wed Feb 15 13:33:49 UTC 2012 (d73692b) x86_64 ...
2
votes
1answer
1k views
Tomcat directly serve static (css, js) files shared by multiple applications
I'm using the ExtJS framework which has a bulk of js and css files that are used for all apps. I intend to share these between a number of web applications (different war files).
For this reason I ...
2
votes
2answers
185 views
Start tomcat webapp with root privileges
I built a webapp that uses libpcap (via jpcap).
In order to be able to get the network interfaces list or to bind to a network interface, the application (in this case a webaap that runs from tomcat ...
0
votes
1answer
205 views
IIS NLB Web Farm to front Single Tomcat Instance
I've got a single Tomcat 6 server that hosts a JSP app. We just spun up a new IIS 7.5 web farm to host our other internal apps. Currently the machine that hosts Tomcat is also running IIS 7 with the ...
1
vote
2answers
392 views
Multiple Tomcat Services on port 80
I have a Tomcat server that that I want to run multiple webapps each with a different domain name. Given the configuration below, I want to be able to connect to http://webapp1 and get to its webapp ...
3
votes
1answer
4k views
How to configure tomcat to rollover catalina.log log files
I'm trying to configure my tomcat to rollover log files once a size limit is reached. I'm running tomcat as a windows service and am redirecting all my stdout to catalina.log. This is how I configured ...
0
votes
1answer
72 views
how to restart one of several hosts in tomcat
if I have several <Host> blocks in my server.xml like:
<Host name="www.mycompany.com" ...>
<Alias>alias.com</Alias>
...
</Host>
what would be the best way to ...
0
votes
3answers
416 views
Tomcat 6 disableProxyCaching with no authentication
I have an application running on Tomcat 6, that (from Tomcat perspective) doesn't have any authentication. Also, it needs to run over SSL. Last, one of the pages allows you to save an Excel file. ...
0
votes
1answer
187 views
Spring-mvc project can't select from a particular mysql table
I'm building a Spring-mvc project (using JPA and Hibernate for DB access) that is running just great locally, on my dev box, with a local MySQL database.
Now I'm trying to put a snapshot up on a ...
0
votes
1answer
2k views
Tomcat server shutting down after few seconds its start?
Im having some strange problem on my tomcat server at ubuntu pc its can start after start with in few seconds its goes to shutting down . still i could not up the tomcat server
my server.xml have no ...
1
vote
2answers
2k views
How to reduce the memory used by Tomcat?
I bought a virtual server with 1gb of memory to run java web site application.
I have installed Tomcat 6.0.33 . Each time i run tomcat, it s taking around 450 mb of memory.
I tried everything to ...
-1
votes
1answer
636 views
XAMPP + Tomcat + JRE - How to upgrade JDK/JRE from 1.5.0_20 to 1.6.0_27 [closed]
I would like to upgrade my JDK/JRE that came with XAMPP from the original 1.5.0_20 to 1.6.0_27 because of application compatibility problems (there's an application which was compiled with version 6). ...
2
votes
1answer
1k views
How do I use non-plaintext passwords for Tomcat users?
On Ubuntu 10.04.3 LTS, after installing Tomcat 6, the way to add a manager / admin account is to add a record like this to /etc/tomcat6/tomcat-users.xml:
<role rolename="manager"/>
<role ...
0
votes
1answer
234 views
Tomcat 6, unable to login via /manager/status page despite the username / password being in tomcat-users.xml file?
I need to be able to remotely login to my Tomcat 6 server to setup an application that monitors it and have been instructed to first use the Tomcat http:///manager/status page to try to login with a ...
0
votes
0answers
172 views
Apache2 and Tomcat 6 crashing each morning
I have a relatively new Amazon EC2 Micro instance on which I have installed Apache2 and Tomcat6, using mod_jk to connect to each other. I have one web application running on the root that is getting ...
0
votes
1answer
202 views
How to install tomcat under apache2 in a Debian system
What is the easiest way to install tomcat6 under apache2 in a Debian system?
The idea is to have all incoming connections on port 80 of a specific host to be redirected to a specific Application ...
0
votes
1answer
553 views
Run a cron job as the tomcat user
I want to be able to run a cron job as the tomcat6 user. I tried to su tomcat6 but I don't know the default password for that user. Should I run them as tomcat6 (if I can find out the password - ...
0
votes
1answer
214 views
Managing deployment to Tomcat to minimize downtime
In the past when I needed to run something on Tomcat, I just made a .war file and deployed it.
While that is a common way to do things in the Tomcat world (it seems), I was taking a hit with downtime ...
1
vote
0answers
458 views
tomcat max number of threads
I have a very confusing scenario.. We are using tomcat6 to host an internal application. In server.xml file maxthreads attributes is set to 150 but if I log on to the manager, in "http-8080" section I ...
0
votes
2answers
366 views
Downgrading Tomcat on Ubuntu?
I installed Tomcat 7 and it is giving me all sorts of fits :)
.jar files are missing and I have many error messages coming at me from different directions :)
As I understand it, deleting tomcat is ...
1
vote
2answers
538 views
Tomcat 6 virtual host + Apache 2 proxy
I have a problem with my Apache and Tomcat configuration. I have an Apache instance as a proxy to Tomcat. The Tomcat serves two virtual hosts. The problem occurs when one Apache virtual points to ...
1
vote
1answer
217 views
deploying application on tomcat server status is ok but hitting the url throws 404 not found
I have been put in to the project involving Spring, Hibernate, Drools, RabbitMq . Though I have no idea of how drools work in coherence with Spring,Hibernate etc but I need to learn it in no time ...
0
votes
1answer
678 views
Proper procedure to replace VeriSign certificates in Tomcat
I have been having some issues at a client site renewing an SSL cert that previously worked fine.
I am familiar with the keytool JDK command line app, and it was how I installed the intermediate CA ...
0
votes
1answer
449 views
Auto-deploy WAR to arbitrary URL on Tomcat
How can I auto-deploy a WAR file (created by Play! framework, by the way) to Tomcat 6, but on an arbitrary URL such as "/sub/url", and without changing the WAR filename?
I know I can simply upload it ...