Open source web server developed by the Apache Software Foundation
0
votes
1answer
1k views
trouble running multiple domains on tomcat behind apache via mod_jk
I am having trouble setting up tomcat6 with 2 virtual hosts, behind apache2.
if i have just one host defined in tomcat, and one jk worker, everything works fine. as soon as i define another jk worker ...
2
votes
1answer
638 views
Tomcat's “Connection refused” error on startup
I had manually installed tomcat on Ubuntu 12.04
it worked fine for couple of time but now its throwing this error
alpha@TM:~/apache-tomcat-6.0.35/bin$ st
Using CATALINA_BASE: ...
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 ...
1
vote
1answer
43 views
Apache2 proxy Tomcat6 prevent 503 error while starting
While tomcat6 is starting up all my http requests are retained by the server and sends the response when the server is up.
But when I use an apache2 as a proxy the apache2 responds inmediatly a 503 ...
1
vote
1answer
2k views
JNDI Datasource Problem on Tomcat 6, Hibernate
I am using Tomcat 6 as application server, Struts-Hibernate and MyEclipse 6.0.
My application uses JDBC driver but I should modify it to use JNDI Datasource. I followed steps as described in tomcat ...
0
votes
0answers
22 views
Consolidating Tomcat connectors in server.xml
I'm looking to see if there is a way to consolidate the follow two Tomcat (v6.0.x, on Windows 2008 Server) connectors below (in conf/server.xml):
This one is used to get to the app directly, via ...
0
votes
1answer
81 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.
...
-1
votes
0answers
76 views
Installing Confluence on Heroku? [closed]
I tried with OpenShift... but had some issues; so am now trying with Heroku.
Following their WAR deployment guide left me with this redirect in my web browser:
Error occurred during template ...
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
2answers
97 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 ...
2
votes
1answer
762 views
Inefficient CPU usage by Tomcat
I am using tomcat to convert pdf to png. I was using Jmeter to load/throughput test the app using a Intel(R) Xeon(R) CPU X5550 @ 2.67GHz server which has 16 hyper-threaded cores. Tomcat6 had 2gigs of ...
0
votes
2answers
49 views
Tomcat6 cannot find java enviroment variable
Here is a stupid noob question. I installed Tomcat6 and java-6-oracle. I set the /env/environment to contain JAVA_HOME and JRE_HOME (and both point to the correct directory). However when I try and ...
1
vote
3answers
3k views
Tomcat shudown does not kill process
I have got some problems with my tomcat instance. I am using apache-tomcat-6.0.20 for linux.My OS is CENTOS
when I execute command
# bin/shutdown.sh
It does not close the process that is running ...
2
votes
3answers
5k views
Forwarding apache requests (port 80) to Tomcat (port 8080)?
I want to run a Tomcat application through a regular website URL, such as www.xyz.com. I would like the root of this domain to act as the base directory for the web application, so each request to ...
0
votes
1answer
216 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
...
1
vote
1answer
114 views
Tomcat behind Apache: redirect everything to maintenance except one
I need to redirect all requests to a maintenance page except a specific URL that could still give me the possibility to access the normal website.
I googled but I did not find anything.
Right now I ...
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 ...
-1
votes
1answer
635 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). ...
0
votes
1answer
33 views
How to enable logging for virtual hosts on tomcat6?
I have established 2 domains on my tomcat 6 running on CentOS.
But now my logging is broken.
All logs except catalina.out are empty.
I would like to have one log for each domain. I found a lot of ...
0
votes
0answers
30 views
postgresql connection from java in tomcat server
I am trying to connect java with postgresql database but not confirm about the file to store the authentication details and unable to connect with it .
I am using posgresql 9.2 and jdk 1.6 with tomcat ...
0
votes
2answers
197 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
462 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 ...
1
vote
2answers
111 views
Installing djatoka on tomcat 6 on RHEL 6.3
Can someone help me get djatoka image viewer running on my RHEL 6.3 machine (an EC2 instance hosted by Amazon Web Services)?
Tomcat 6 installed nicely (using sudo yum install tomcat6 tomcat6-webapps ...
3
votes
3answers
4k views
How does one get tomcat to bind to ipv4 address?
I recently installed tomcat via an installation script from the apache solr typo3 community and spent the last 3 days trying to figure out why it won't work until by chance I noticed that when I ...
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
0answers
40 views
mod_jk header loading twice tomcat
WE changed the webserver from mod_proxy_ajp to mod_jk.Normal scenario site is working fine.
Only problem is when my tomcat is responding slow , my site is loading header of the page twice or thrice ...
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 ...
2
votes
2answers
76 views
HTTP through a proxy server is not allowed
When I try to connect to my Tomcat server on http://<servername>:8080 it works fine, but from another ISP provided it gives the following error:
HTTP through a proxy server is not allowed.
...
2
votes
1answer
64 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
0answers
36 views
Java exception when the traffic grow up
I have an error with java/solr when the traffic grows up.
It seems Solr tries to cast a java.lang.Object to a org.apache.solr.common.util.ConcurrentLRUCache$CacheEntry
SEVERE: ...
1
vote
0answers
41 views
Committed memory on my tomcat server
I have a problem to configure JVM on my server. The server is a machine runs on AWS with 8G of RAM and 8 CPU. There is only tomcat6 with solr on the server.
Actually I have configured JVM like that:
...
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 ...
0
votes
0answers
14 views
Insert Error in Mysql database [closed]
Hello I am getting error.
Error com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the ...
0
votes
1answer
192 views
Configure Plesk only for Tomcat-Java
I need to configure tomcat on Linux dedicate server only for Java project through Plesk . Following services is running on it.
'1.Apache on port 80 '
'2.Tomcat on port 8080/9080'
'3.Mysql on port ...
3
votes
1answer
233 views
Apache Web Server character encoding
I've recently transferred my webapp from my localhost (LH) to a VPS, and have had hebrew chars-encoding probs since. Whenever I send a request with a heb-char it results in "?????" saved to the DB.
...
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
466 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
257 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 ...
1
vote
2answers
101 views
How to change the HUDSON owner on ubuntu:
I am working with tomcat6 and HUDSON, when I run the hudson job it is running as tomcat6 user, what I want to know is there any way to change the HUDSON user as my system login user instead of tomcat6 ...
0
votes
3answers
415 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. ...
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 ...
0
votes
0answers
33 views
How can I move the Tomcat manager application to a different port from Solr?
I have setup Solr on a Ubuntu server and can reach the "Tomcat Web Application Manager" application via http://localhost:8080/manager/html and execute solr queries via ...
0
votes
1answer
282 views
Apache reverse proxy jumps back to insecure protocol after redirect
I installed a reverse proxy apache server which handles the SSL encryption for a tomcat. We have a struts web application, and everytime we use response.sendRedirect(), the application falls back into ...
-1
votes
1answer
162 views
Amazon EC2 - Free memory
We have an amazon ec2 small instance running and over the past few days we noticed that the memory is going down and down.
On the small instance, we are running apache and tomcat6
Tomcat is started ...
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
464 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: ...

