Open source web server developed by the Apache Software Foundation

learn more… | top users | synonyms

1
vote
1answer
283 views

Apache2, Tomcat6, and proxy redirects

So here is my question - go easy and slow. I'm a GIS Consultant and general hack with linux. I inherited this volunteer job essentially because I knew more than the rest of the team - or the rest of ...
2
votes
2answers
253 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 ...
-1
votes
2answers
727 views

Tomcat6 getting crashed at regular intervals installed in Ubuntu

I have installed Tomcat6 in Ubuntu OS and when I run my web application the server gets crashed at regular intervals. I have tried a lot but not getting the solution. I have increased the memory upto ...
1
vote
2answers
740 views

Hide the ports in the url of a tomcat application

I have setup tomcat 6 on a server with several different instances which run on different ports For Eg: http://10.XXX.XXX.XXX:8080/myAPP1 http://10.XXX.XXX.XXX:8088/myAPP2 ...
0
votes
1answer
2k views

How to install Tomcat on Plesk 10.4

I have Plesk version 10.4. I installed Java Servlet Support. I dont know how to install tomcat using Plesk I am having CentOS 5. Please guide me..
0
votes
1answer
329 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
586 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 ...
0
votes
1answer
1k views

404 Error on Apache Solr install - CentOS 6 and Tomcat6

I've tried various tutorials and I get a 404 error when I finally navigate to host:port/solr on my CentOS machine. Can anyone tell me why I would get a 404? Once I find a solution I'll make this the ...
0
votes
2answers
771 views

URL Rewrite module from IIS7.5 to Tomcat 6.0

We have a Java application which will be installed into tomcat6. Our security team will not allow Tomcat to be public facing so I am in a postion where I have to recieve https traffic to IIS 7.5 and ...
1
vote
1answer
143 views

Need to switch from /usr/local/tomcat to /usr/share/tomcat

I have a client who has two versions of Tomcat installed on his server. One Tomcat is installed from RHEL yum and the other was set up in /usr/local. The goal is to always use packages from yum ...
3
votes
1answer
8k 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
416 views

Shibboleth-Idp setup: Issue with the data-connectors in attribute-resolver.xml

I have setup the shibboleth-Idp as servelet in servelet container tomcat6. However, tomcat start the servelet fails to load. My data connectors are causing it. The code I am using for connectors is ...
0
votes
1answer
102 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 ...
1
vote
3answers
913 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
186 views

rvm for Jenkins under Tomcat 6

I've got Jenkins running under Tomcat 6. It's running as user tomcat6, with a home directory of /usr/share/tomcat6. I would like to install rvm for this user so I can use it for testing, but I can't ...
1
vote
1answer
4k views

Memory Leak in Tomcat

I'm using Tomcat 6.0, JDK 1.6 for a web app. It's dying frequently requiring manual reboots, and the log file shows this: Notice: Maximum number of threads (200) created for connector with ...
0
votes
1answer
508 views

How to setup Tomcat 6 with Lighttpd so that Tomcat6 forwards requests to Lighttpd

I have run into this scenario where I have a Rackspace VPS server running Ubuntu 10.10 with Tomcat 6 serving a moderately complex JAVA WebApp using a fixed domain. The problem is that I would like to ...
1
vote
3answers
4k views

Configuring the Tomcat Plugin of Munin

It would be great if anyone can share a working configuration for the tomcat_ plugin of munin. I need to monitor several tomcat instances on one machine. So far I can't figure out: which are the ...
2
votes
1answer
1k views

Do we need to reboot Ubuntu server after un-installing tomcat6

i am on ubuntu 10.04 server, having tomcat6. because of some reasons i had to un-install it so i used apt-get purge tomcat6 it removed tomcat and config files. now i am trying to install tomcat6 ...
0
votes
1answer
334 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
707 views

Failed to install Tomcat6 service in windows server 2003 enterprises

When I try to install Tomcat6 I am getting this error --------------------------- Apache Tomcat Setup --------------------------- Failed to install Tomcat6 service. Check your settings and ...
1
vote
0answers
38 views

apache2 javascript HTML DOM issue

I'm running apache2 and tomcat6 with catalina on an ubuntu 11.10 box. I have the javascript functioning but when I use this.form it passes as "[object HTMLFormElement]" instead of the actual form ...
1
vote
1answer
375 views

tomcat6 configuration on centos5: tomcat ignores values in /etc/sysconfig/tomcat6

I make changes in /etc/sysconfig/tomcat6, in the init.d script the global values in /etc/tomcat6/tomcat6.conf are set, and then ovridden by anything I set in /etc/sysconfig/tomcat6. However, the ...
1
vote
1answer
109 views

Tomcat6 Standalone vs Tomcat6 + HTTPD

I'm working on a site that is running on Tomcat 6. The customer seems overly concerned with the performance of the site, and I've also been given the impression that HTTPD is better (faster) at ...
0
votes
2answers
106 views

Replacing Apache instance with Tomcat 6

I'm on a Linux machine and am trying to replace an Apache2 instance with a Tomcat 6 instance. I shut down the Apache instance by running a kill on the appropriate pid, but when I try to access any ...
0
votes
1answer
4k 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 ...
2
votes
1answer
2k 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 ...
2
votes
1answer
493 views

tomcat6 how can I restrict users to acces ONLY their own manager?

The users are having access to all tomcat manager, and this cannot happen. I have roles and users defined in tomcat-users.xml that I'm intending to relate to their individual virtual hosts (defined ...
2
votes
2answers
4k 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
vote
1answer
547 views

Groovy-grails: grails run-war works, but grails run-app throws BindException: Address already in use: JVM_Bind<null>:80n

When I run grails -Dserver.port=80 run-app, I get LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind<n ...
1
vote
1answer
574 views

Apache mod_rewrite in proxy mode, .htaccess and ProxyPassReverse

In a .htaccess file, I have something like this to proxy Apache to Tomcat: RewriteRule (.*) http://localhost:8080/tomcat-app/$1 [P] All the redirects as well as internal links in HTML files are ...
2
votes
1answer
6k views

Tomcat Cluster Farm Deployer issue

I have setup apache-tomcat cluster with mod_jk on ubuntu server. I have some issues with FarmDeployer which deploys war files to other web servers in the cluster and I got some hope that it works as I ...
2
votes
2answers
3k views

Farm Deployer not working in Tomcat Cluster

I have setup apache-tomcat clustering(Ubuntu Server) and I used tomcat supported clustering technique with mod_jk following the link. I've setup with One Load Balancer and Two web servers. The major ...
1
vote
1answer
153 views

Problem when deploying new app in tomcat6 server

i have written the webservices suing SOAP, and its still under development. When have set of code which are already running the webapps folder of tomcat6. When I make changes in particular file I ...
1
vote
1answer
622 views

Tomcat web application high availability

I have setup apache-tomcat clustering(Ubuntu Servers) and I used tomcat supported clustering technique with mod_jk following the link which is clear and easy to follow. I did this in my LAN with ...
0
votes
3answers
168 views

Why reverse proxies when HA & LB are possessed by Tomcat & apache? [closed]

Anybody has any strong reason why HeartBeat, HAProxy, NGINX or any other reverse proxies needed for apache tomcat web application when we can have HA and LB with Tomcat supported Clustering with ...
4
votes
1answer
3k 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
2answers
4k views

Webapp causes java.lang.ClassNotFoundException: javax.mail.Authenticator

I have tomcat6 running on ubuntu, with java 1.6.0_20. One of the webapps causes an error, which has as root cause: java.lang.ClassNotFoundException: javax.mail.Authenticator the mail.jar and ...
3
votes
1answer
163 views

Suggestions for swapping out a production server

Background My team has been investigating an issue in our production environment (see Stack Overflow post). We've looked thoroughly at application layer (i.e., code, logs, etc.) and also have done ...
0
votes
1answer
285 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
1answer
478 views

How to set up a web server to serve jsp files in Fedora 15?

I have installed Fedora 15 on my system. Installed Web server using the command sudo yum groupinstall "Web Server" Have it running successfully at port 80. The files are put in "/var/www/html". It ...
1
vote
0answers
212 views

mod_jk with Tomcat 6 and HTTP Authentication

Are there any gotchas using ModJK to forward to an application protected by standard HTTP Authentication? We have two web apps installed on our Tomcat 6.0.14, one is the standard Tomcat Manager while ...
1
vote
1answer
392 views

How can I make Tomcat 6 show the real error instead of a 404?

For deploying and troubleshooting an application, getting 404s has little use. I have deployed applications that report no issue in the logs but return 404s. There IS an error in the application as ...
1
vote
1answer
2k views

How do I figure out why a tomcat6 webapps dir symbolic link works on one machine, but not another?

I recently built an Ubuntu virtual machine for MarkLogic development. The machine was then distributed to 4 other developers to provide a consistent dev platform. Now I'm setting up another piece to ...
0
votes
1answer
299 views

Spring Security, Apache 2 fronting Tomcat6. Can't login / immediatly logs out

I deployed my GWT app, that uses SpringSecurity, and have a problem. After feeding the credentials it logs out immediately. If I put in the wrong credentials, it says 'wrong credentials', but when I ...
0
votes
1answer
516 views

Ubuntu apache-tomcat webserver clustering/load balancing

I have a Ubuntu production server running apache2 and tomcat6 both on port 80 with mod_jk setup hosting some jsp pages. And also, all the client's informations are stored in the mysql databases on the ...
0
votes
1answer
251 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
116 views

tomcat, jvm, monitoring, restarting

I have a web application running as a jar, I need a automated way to restart this jvm with a reboot/crash. What are you guys using for this? I am running ubuntu 10.04 lts . (Examples would be great) ...
0
votes
2answers
204 views

mapping my EC2 instance to the www.mydomain.com

I am newbie to concepts like Cname, A record and all. I am running a EC2 instance with tomcat6. Now I need to map my java based application to www.mydomain.com. I just went through few documents and ...
0
votes
1answer
825 views

Disable public Tomcat6 stack trace

Can anyone advise me how I can go about disabling Tomcat6 from displaying stacktrace output to the browser? Tomcat: 6.0.29 I have made the following changes to /opt/apache-tomcat-6.0.29/conf/web.xml ...