Questions tagged [tomcat6]

Open source web server developed by the Apache Software Foundation

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:

283 questions
2
votes
1 answer

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 again, using apt-get install tomcat6 it says Setting…
bee
  • 121
  • 3
2
votes
1 answer

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 heap memory allocated, and the connector was…
Mir
  • 21
  • 1
  • 2
2
votes
1 answer

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 posted and got FarmDeployer working here. The…
user53864
  • 1,653
  • 8
  • 36
  • 66
2
votes
2 answers

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 problem is deploying the WAR file and to which web…
user53864
  • 1,653
  • 8
  • 36
  • 66
2
votes
2 answers

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 activation.jar (found these as culprit in my online…
brandstaetter
  • 229
  • 1
  • 5
  • 13
2
votes
3 answers

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
2
votes
1 answer

Enabling APR for Tomcat 6 on Ubuntu Maverick 10.10

I have installed tomcat6, libapr1 & libtcnative-1 on Ubuntu Maverick. However, when Tomcat starts it says it is using "org.apache.coyote.http11.Http11Protocol" instead of loading APR. Is there a simple way to get this to work? Any other missing…
sayeed
  • 384
  • 2
  • 8
2
votes
1 answer

hosting 2 webapps under 1 apache/tomcat

I am trying to host multiple webapps under tomcat 6 behind apache2 via mod_jk. I am at my wits end with this. the problem i am facing that both domains seems to point to a single tomcat 'domain'. my server.xml looks like this:
mkoryak
  • 171
  • 10
2
votes
1 answer

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 6.0 howto tutorial. I defined my resource in…
2
votes
2 answers

War deployed in Tomcat not showing up at URL, getting 404 instead

I have a web app which Tomcat says it has deployed, but when I go to its URL, I get a 404. The war file is called sonar.war, and is deployed in WebApps. I can see in the logs that it is deploying (also by the fact that it will recreate its database…
Rich
  • 1,333
  • 5
  • 27
  • 39
2
votes
2 answers

Setup Tomcat with Puppet (noob question)

I have been learning Puppet (as in, the last 24 hours) and have come up with the following module to install Tomcat. It works great, but I can't help but feel like this is not the most optimal way to do this - particularly around the name[1-4] part…
Peter Sankauskas
  • 678
  • 5
  • 11
  • 21
2
votes
2 answers

Tomcat 6 init.d/SysV script

I have a custom Tomcat 6 installation on an Ubuntu box. I'm trying to get it to start on system boot, but can't seem to find a script to put in /etc/init.d. Where can I find one? Or how do I write it myself?
Konrad Garus
  • 143
  • 1
  • 1
  • 5
2
votes
2 answers

Hardening non-root standalone Linux Tomcat install

I want to know if you have any tips as to how to strengthen the security of a non-root install of Tomcat in standalone mode once Tomcat is already installed in a non-root account, in standalone mode. I precise this because, for example, I'm not at…
NoozNooz42
  • 1,155
  • 1
  • 8
  • 9
2
votes
4 answers

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 the tomcat. Can any body please give me some idea;…
vijay.shad
1
vote
2 answers

JNDI Datasource definition in Tomcat 6.0

I want to define a DataSource to an Oracle database on my Tomcat 6.0. So, in conf/server.xml (yes, I know that this DataSource will be available for all the webapps in Tomcat, but it's not a problem here), I've set this…
Romain Linsolas
  • 366
  • 5
  • 10