Questions tagged [tomcat6]

Open source web server developed by the Apache Software Foundation

Filter by
Sorted by
Tagged with
1 vote
2 answers
5k views

Issue replacing SSL certificate with renewed one on Tomcat 6.0 (using keytool)

I have SSL up and running and in use with a Tomcat 6.0 webapp. Recently, the SSL cert (A VeriSign cert) expired , I exported a Certificate Sign Request (CSR) went through the process, and received a ...
SeanKilleen's user avatar
  • 1,113
0 votes
1 answer
2k 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 ...
mkoryak's user avatar
  • 171
0 votes
3 answers
2k views

How to get html/css/jpg pages server by both apache & tomcat with mod_jk

I've apache2 and tomcat6 both running on port 80 with mod_jk setup on ubutnu servers. I had to setup an error document 503 ErrorDocument 503 /maintenance.html in the apache configuration and somehow I ...
user53864's user avatar
  • 1,753
0 votes
2 answers
4k views

How do I configure tomcat6 with a host name?

I'm trying to deploy the WAR file of Apache Shindig to an apt-installed Tomcat 6 server on Ubuntu 10.04. Unfortunately, when it writes out things like <script> tags, all the URLs are http://...
Paul Fisher's user avatar
0 votes
1 answer
1k views

Switch 302 redirect to 301 with Apache 2 ProxyPass in front of Tomcat 6

I'm trying to optimise my site for SEO and it seems as though their is a 302 direct in action for the http requests. I'm hosting my app on a Tomcat 6 server which lies behind an Apache 2 server. I ...
Gerard's user avatar
  • 53
0 votes
1 answer
268 views

apache2 tomcat6 single instance or multiple instances

I have apache tomcat servers(ubuntu 9.10) hosting jsp pages. Each server has two virtual hosting and is setup in apache and tomcat configuration files. Developers are in a plan to add two more jsp ...
user53864's user avatar
  • 1,753
0 votes
2 answers
621 views

Tomcat hangs when enabling tomcat-users.xml

Disclaimer: I'm not a server admin. I recently put up tomcat on my home server and I intend to link it to my apache2 service. My issue here is that I can't even get manager as it seems that whenever ...
StudentKen's user avatar
1 vote
1 answer
2k views

Setting Environment Variable for Tomcat 6 Servlet

I'm using Ubuntu's default installation of Tomcat 6. I'm deploying a ROOT.war, and trying to set an environment variable specific to it, i.e. accessible from System.getenv() in the Servlet.init(...
jennykwan's user avatar
  • 141
33 votes
1 answer
51k views

How to configure Tomcat to only listen to 127.0.0.1?

The environment is Ubuntu 10.04.1 LTS running Tomcat 6 and Apache 2.2 from the repos. Apache is configured to proxy requests to Tomcat, so I really want to turn off Tomcat listening to requests on ...
Jacob's user avatar
  • 911
2 votes
1 answer
5k 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 6....
Asuman AKYILDIZ's user avatar
0 votes
1 answer
120 views

Where can I find details on installing and using Solr on Tomcat using the solr-common and solr-tomcat packages?

I'm seeing lots of Solr/Tomcat installation instructions, but all of them install at least one of these packages from source. Since there's tomcat6, solr-common, and solr-tomcat packages (in Ubuntu ...
danieltalsky's user avatar
0 votes
1 answer
456 views

Tomcat unable to start

When I am starting the tomcat-6, its giving me the below error: Error: Invalid com.sun.management.jmxremote.port number: %my.jmx.port% I have enabled the remote port sometime back in catalina.sh ...
Ramesh Kumar's user avatar
  • 1,780
0 votes
1 answer
428 views

tomcat6 & apache2 virtual hosting

I've apache2 and tomcat6 running on port 80 on ubuntu server 9.10. I've a registered domain name and I'll access the jsp index page navigating to http://abc.mydomain.com. The page is under tomcat_home/...
user53864's user avatar
  • 1,753
0 votes
1 answer
220 views

Tomcat virtual hosts accessible at two URLs

I have some web apps deployed on Tomcat, using the following configuration: <Engine ...> <Host name="a.mycompany.com" ...> <Host name="b.mycompany.com" ...> <Host ...
Rich's user avatar
  • 1,353
3 votes
2 answers
3k views

best way to monitor web app performance in tomcat [closed]

I have a web application running in Tomcat 6.x on a Debian Linux box. I have recently started using Google App Engine for another java app and now have serious stats envy; is there a comparable tool ...
Alex's user avatar
  • 39
0 votes
1 answer
244 views

Apache VirtualHost and ModProxy not working as hoped

I have 3 wars set up on a Tomcat instance - these wars are being served at: http://machine:9023/war1 http://machine:9023/war2 http://machine:9023/war3 I have Apache on the same machine. I am trying ...
Rich's user avatar
  • 1,353
2 votes
3 answers
50k views

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 (...
Rich's user avatar
  • 1,353
0 votes
1 answer
5k views

Tomcat unpack wars into directory other than appBase

We would like to configure Tomcat in the following way (where X -SL-> Y represents a symlink named X pointing to a path Y): CATALINA_HOME/webapps -SL-> /var/data/nas/deploymentconfiguration_a /var/...
Rich's user avatar
  • 1,353
1 vote
1 answer
220 views

Requiring a password for every webapp under Tomcat

This guide shows how to configure a user/pass authentication for a specific webapp. How can I configure Tomcat to require a global user/pass for all the webapps?
ripper234's user avatar
  • 6,020
0 votes
1 answer
229 views

How do I deploy wars to JBossWeb using context files, like in Tomcat

In Tomcat 6, I can create context fragment files in CATALINA_HOME/conf/Catalina/localhost to handle the deployment of wars (instead of copying the war to the webapps folder). Is it possible to do the ...
Rich's user avatar
  • 1,353
0 votes
1 answer
1k views

tomcat6 on centos 5.5 not stopping

Configuring a server for a friend, first time I've dealt with Tomcat and I'm close to tearing what little hair I have left, out :) For his project he needs to use a PHP Java Bridge, I've got the ...
suitedupgeek's user avatar
0 votes
1 answer
468 views

How should I deploy my JVM-based web application on ubuntu?

I've developed a web application using clojure/compojure (JVM based) and while developing I tested it using embedded jetty that runs on 0.0.0.0:8080. I would now like to deploy it to run on port 80 on ...
Pieter Breed's user avatar
0 votes
1 answer
199 views

Apache Httpd bad caching on Drupal pages that include content from Tomcat

I have a Drupal website running on Httpd that makes AJAX calls to fetch fragments of HTML that are served up by JSPs in Tomcat 6 running on a different virtual host. Integration between the two ...
iftheshoefritz's user avatar
0 votes
1 answer
381 views

How do I stop Apache Tomcat from requiring context paths to exist on the file system?

I'm in the middle of trying to deploy IIS + Tomcat, and its' a mess. The company has a ton of virtuals set up in IIS, and because there are so many and some of the virtuals contain JSPs, we need ...
user59016's user avatar
0 votes
1 answer
158 views

PersistenceManagerFactory not initialized while accessing wookie in tomcat

I am trying wookie inside tomcat. Whenever I try to run wookie through (http://localhost:8080/wookie) I get the following log. org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet....
vivek.m's user avatar
  • 143
0 votes
1 answer
14k views

Tomcat is logging everything to stdout

I have Tomcat 6 installed as a Windows service. All log messages from my web application dreambear (logged with getServletContext().log()) are going to the stdout log instead of the log file I ...
Bart van Heukelom's user avatar
1 vote
1 answer
318 views

Tomcat-6: manager for specific host

I have Linux server with one Tomcat-6 installation and many hosts. All hosts are configured in /etc/tomcat/server.xml , each host points to different folder and webapps folder. Is there any way to ...
Māris Kiseļovs's user avatar
0 votes
1 answer
511 views

Remotely deploy .war file into tomcat webapps

I have tomcat5.x and tomcat6 running on different machines. I usually use scp to deploy .war file to tomcat servers. Is there any other way to remotely deploy? Thank you!
user53864's user avatar
  • 1,753
1 vote
1 answer
382 views

Deployment routine for WAR archive on Windows / Tomcat 6 without downtime?

We have an web application running on Tomcat 6 (on WS2K3) which is updated every week as of a new release. Currently, we have a very simple batch script that every night checks the content of one ...
dadver's user avatar
  • 183
1 vote
2 answers
6k views

Tomcat - additional classpath

We have set up Tomcat 6 with [TOMCAT_HOME]/lib - here is the standard tomcat release [TOMCAT_BASE]/lib - here we like to add non standard additional jar file However somehow I don't manage to get [...
s5804's user avatar
  • 785
6 votes
2 answers
25k views

how to add multiple Context elements to conf/context.xml in tomcat6

my existing conf/context.xml file has already a element; WEB-INF/web.xml I would like to add another to allow localhost access to the /manager/status location to my monitoring, however adding a ...
Tom's user avatar
  • 11.3k
1 vote
2 answers
212 views

Tomcat6 vhost problem

I've been using vhosts on my XP dev machine with little to no problems, but I can't seem to duplicate the environment on Ubuntu. I've already added a line to /etc/hosts like so: 127.0.0.1 ...
edl's user avatar
  • 111
0 votes
4 answers
94 views

What is the most appropriate place to place tomcat in a RHEL/Centos Environment

Developing a virtual machine that will be managed by IT Admins - where is the most appropriate or commonly accepted place to install the tomcat directory on a CentOS system?
user avatar
2 votes
2 answers
7k views

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 ...
Peter Sankauskas's user avatar
1 vote
1 answer
2k views

Tomcat: List of Command Line Parameter/Arguments

I've moved a Production application from Tomcat 5.5.23 to 6.0.29, and my question is - are my command line arguments/parameters still valid? export JAVA_OPTS="-Xms1024m -Xmx2048m ...
OMG Ponies's user avatar
0 votes
1 answer
1k views

Point root domain to one server and all sub-domains to another server

I have a requirement where I want to point my root domain i.e www.abc.com or abc.com to one server (static website) and *.abc.com to another server (application server) I have bought domain from ...
Hussain Fakhruddin's user avatar
2 votes
2 answers
603 views

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 ...
Konrad Garus's user avatar
0 votes
1 answer
227 views

Configuring ssl in tomcat6

How to configure ssl for testing on local machine with windows and tomcat6 to enter sites like http://localhost:8443? Thanks
Dmytro's user avatar
  • 111
1 vote
1 answer
775 views

Number of war files on Tomcat 6.0

How many war files be deployed on a Tomcat 6.0 server?
user avatar
0 votes
2 answers
213 views

Tomcat not shutting down in Red Hat 5.5

I'm running a Tomcat 6 server on a Red Hat 5.5 machine that I don't have root access for, although I do own all of the Tomcat files. The server starts up fine when I run startup.sh, but for some ...
user avatar
1 vote
1 answer
415 views

Configuring Ubuntu as a webserver for tomcat

Our SysAdmin has been in an accident and is out of action (Coma) for a while and we're in desperate need of setting up Confluence on our clients domain, as the resident "java drinker" at work I've ...
user avatar
1 vote
4 answers
2k views

Fix a tomcat6 error message "/bin/bash already running" when starting tomcat?

I have a Ubuntu 10.04 machine that has tomcat6 on it. When I start tomcat6 with /etc/init.d/tomcat6 start I get * Starting Tomcat servlet engine tomcat6 /bin/bash already running. and the server ...
Andrew's user avatar
  • 153
0 votes
2 answers
667 views

In Ubuntu 10.04, how can I add the "manager" webapp to a private tomcat6 instance?

I created a tomcat6 instance using the tomcat6-instance-create command from the tomcat6-user package. However, there are no webapps by default, and I want to add the "manager" webapp to this instance. ...
Matthew's user avatar
  • 101
0 votes
2 answers
592 views

New tomcat install on OSX choking on startup

I've completed a fresh install of Tomcat6 on an OS X box that didn't have it before. It's behaved a bit strangely in other ways, but the current hang-up is that it won't start at all. In response to ...
user avatar
2 votes
2 answers
996 views

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. ...
NoozNooz42's user avatar
  • 1,185
0 votes
1 answer
2k views

Force Tomcat6 to server all *.manifest files as text/cache-manifest?

How do I configure tomcat to server all .manifest files as text/cache-manifest? I'm trying to create an offline cache, and this is tripping me up.
Stefan Kendall's user avatar
4 votes
6 answers
959 views

load balancing in Tomcat

I want to implement the load balancing in tomcat 6.0 so that we can create more than one instance of a tomcat and when any of the instance is down then other instance will run our application. so that ...
user avatar
3 votes
2 answers
2k views

Best way to bring a system down with a "maintenance" message?

What's the best way to bring down an apache2/tomcat6 setup for maintenance? Specifically, apache2 can stay running, but tomcat needs to restart to accomplish a number of tasks. My initial thought is ...
Stefan Kendall's user avatar
9 votes
2 answers
82k views

How to access a simple file or folder from Tomcat webapps folder

I want to be able to access a folder from my tomcat webapps folder so that I can give someone a URL like: http://localhost:8080/myFolder/myFile.f And in a web browser if they point to this they ...
Ankur's user avatar
  • 2,379
8 votes
3 answers
61k 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 www....
Stefan Kendall's user avatar