Open source web server developed by the Apache Software Foundation

learn more… | top users | synonyms

1
vote
0answers
200 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
1k 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
3k 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: ...
1
vote
2answers
479 views

Bring up squirrelmail using tomcat

I am trying to bring up squirrelmail using tomcat. I would like know if that is possible at all. This is because i already have tomcat running on that server for my application. Ido not want to start ...
3
votes
1answer
893 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
2k views

tomcat6 won't start on SL6

I arrived at work today to find that tomcat6 won't start. When trying to stop and start with the following command(s): service tomcat6 stop ; > /var/log/tomcat6/catalina.out && service ...
1
vote
2answers
2k views

SSL configuration , Tomcat with Apache and mod_jk

I am looking to configure SSL with tomcat 6 and apache web server, using the tomcat connector mod_jk. I am pretty new to this, so please bear with me. I have SSL certificate purchased and configured ...
2
votes
0answers
230 views

URL Rewrite in Apache + Tomcat set up with change in web application context

How to make URL http:/hostname:8080/abc?func=ll point to the URL http:/hostname:8080/xyz?func=ll automatically. Set up is Apache behind which Tomcat is present. Application "xyz" is deployed on ...
1
vote
0answers
30 views

Dynamic apache2 configuration with POST Form Parameters

I'm building a SSO system (with Apache2, Tomcat Realmn, Mod_JK) and I'd like to change dynamically the RequestHeader value in my apache configuration file (or in the .htaccess file), so that I can ...
0
votes
1answer
148 views

Install Manager Application in Tomcat 6

I got a windows 2003 and a slim tomcat 6 installation with several application running. Now I want to "install" the manager application to refresh certain apps... I copied the manager folder of ...
0
votes
1answer
449 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 ...
2
votes
1answer
8k 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: /home/alpha/apache-...
0
votes
1answer
1k 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 java....
0
votes
1answer
291 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 ...
0
votes
1answer
295 views

Birt on Tomcat unable to find JARs

First, my setup: BiRT Runtime: 3.7.2. Ubuntu 10.04 Tomcat 6 Sun Java 1.6.0 I have a jar file I want to deploy onto the Tomcat server so it is usable by the runtime, so I placed the jar file in /...
4
votes
2answers
1k 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
8k 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 ...
4
votes
1answer
1k views

Reading files on network share from a Windows service (app over tomcat as service)

I have a webapp over tomcat6, which is installed as a service in a WinServer (2008 or 2003r2, don't know for sure, people haven't let me put a hand over it so far). The Tomcat service runs with a ...
0
votes
1answer
314 views

placing war file in the webapps subdirectory of the servlet container’s installation directory

i am trying to install a particular software and it is asking me to place the .war file in the webapps subdirectory of the servlet container's installation directory. I am not sure which location is ...
5
votes
3answers
2k views

Amazon EC2- many micro-instances vs single small/medium instance

I have a chat application using stack of Openfire, Tomcat6 and MySQL. Currently, i have installed all these servers on single Linux micro-instance(613 MB memory). Even in low user base 10-20 i am ...
19
votes
5answers
40k 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
761 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
681 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 ...
1
vote
4answers
4k 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
324 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
347 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
2answers
847 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
2k 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 http://...
0
votes
1answer
493 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
1k 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
2k 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
960 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
193 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 ...
4
votes
1answer
14k 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
765 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 ...
1
vote
1answer
206 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
1k 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
210 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
6k 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
764 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
6k 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
504 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
1k 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
40 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
629 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 init....
1
vote
1answer
116 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
112 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
7k 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
3k 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 ...