Tagged Questions

Tomcat 6, an open source web server developed by the Apache Software Foundation, was first released in 2006. Version 6.0 implements the Servlet 2.5 and JavaServer Pages 2.1 specifications from the Java Community Process. See also: tomcat

learn more… | top users | synonyms

0
votes
2answers
82 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
45 views

Redirect all traffic regardless of port or protocol to temporary page

I have a server with multiple domains. Both http (apache) traffic and http-alt (tomcat) traffic. If/when I take the server down, I'd like to be able to redirect people to a temporary 'undergoing ...
0
votes
1answer
80 views

JSP: Trying to configure Apache2 + Tomcat6 using mod_jk

I'm trying to configure Apache2 + Tomcat using the mod_jk on an Ubuntu 10.04. I installed everything and configured, but it always returns the source code of my JSP files. I've read around that the ...
0
votes
0answers
12 views

Changing location of web.xml

I want to change the location of web.xml file of a tomcat web application. Let's say from, WEB-INF/web.xml to web/WEB-INF/web.xml. What changes I need to make in context? I have tried making ...
1
vote
2answers
57 views

rpmbuild on Cent OS 6: “cpio: bad magic”

When I try to run this command : rpmbuild -bb SPECS/software.spec I get an error when the WAR file (as in tomcat java web archive file) is being added to the rpm: error: create archive failed on ...
1
vote
1answer
52 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
87 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
81 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
50 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
134 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
54 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 ...
0
votes
0answers
52 views

Plesk control pannel installing Tocmcat deleted Apache configurations. How to restore?

I updated the Plesk control pannel from 7.1 to 10.3.1. It got updated successfully however after some days when i tried to install tomcat using Toos and Utils -> Updates -> install new software. But ...
0
votes
2answers
98 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
238 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
0answers
110 views

SOAP messages getting cut Apache2->mod-jk->tomcat6 with axis2

I have a tomcat6 server with axis2, that provides web services. This server get connections through an apache2 server using mod_jk. Most connections are ok, but sometimes I get exceptions like this ...
0
votes
2answers
215 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 ...
0
votes
0answers
51 views

Can the RHEL distribution of Tomcat (tomcat6-6.0.35-1.jpp5) be made to work with Java 1.5.0_15?

We want to use packages from yum as much as possible from now on but the deployed apps use Tomcat installed "by hand" into /usr/local. If we can switch to use /usr/share/tomcat6, we'd like to do that. ...
1
vote
1answer
55 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
267 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
0answers
148 views

Installing Tomcat Native on Ubuntu 10.04 works but not in Ubuntu 11.10

Anyone here know why installing Tomcat Native in Ubuntu 10.04 works, but not in Ubuntu 11.10? I am installing via the following commands: apt-get -y install openjdk-6-jdk apt-get -y install ...
0
votes
1answer
70 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
29 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
2answers
120 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
71 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
660 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
92 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 ...
0
votes
1answer
348 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 ...
0
votes
0answers
82 views

using global logging.properties to configure context specific logs

I've been trying to get logging working correctly using the default logging configuration model for tomcat 6. My Goal is to get each app logging into its own rolling file. For the point of this ...
2
votes
1answer
142 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
93 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
125 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
30 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
141 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
63 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
54 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
852 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
316 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
185 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
1answer
132 views

Shutdown hangs in Tomcat 6

We just set up Tomcat 6 on our boxes for dev purposes, and we're using it to run a Spring-based Java web app. We've been able to run other apps before using our Tomcat 5.5 instance. We've ...
1
vote
2answers
434 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 ...
0
votes
1answer
278 views

XAMPP + Tomcat + JRE - How to upgrade JDK/JRE from 1.5.0_20 to 1.6.0_27

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). ...
1
vote
1answer
180 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 ...
0
votes
1answer
226 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
991 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 ...
0
votes
1answer
588 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
56 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 ...
0
votes
1answer
212 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
122 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 ...
2
votes
1answer
198 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
546 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 ...

1 2 3 4