Open source web server developed by the Apache Software Foundation

learn more… | top users | synonyms

0
votes
1answer
232 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 ...
0
votes
1answer
132 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: ...
0
votes
1answer
3k 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 ...
1
vote
1answer
289 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 ...
0
votes
1answer
388 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!
1
vote
1answer
321 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 ...
1
vote
2answers
2k 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 ...
2
votes
2answers
7k 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 ...
0
votes
1answer
183 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 ...
0
votes
4answers
85 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?
2
votes
2answers
4k 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 ...
1
vote
1answer
592 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 ...
0
votes
1answer
650 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 ...
2
votes
2answers
506 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 ...
0
votes
1answer
172 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
1
vote
1answer
337 views

Number of war files on Tomcat 6.0

How many war files be deployed on a Tomcat 6.0 server?
0
votes
1answer
319 views

Ubuntu 10, tomcat, Apache, concurrent user load

I have a question regarding the web server that I am setting up. It is a dual core 2.67 G AMD 64 bit X2 based machine with 2GB of ram (667MHZ). I am setting it up with tomcat, apache2 and MySql(all ...
0
votes
2answers
194 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 ...
0
votes
1answer
317 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 ...
0
votes
4answers
1k 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 ...
0
votes
2answers
612 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. ...
0
votes
2answers
227 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 ...
2
votes
2answers
724 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. ...
0
votes
1answer
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.
4
votes
6answers
738 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 ...
3
votes
2answers
861 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 ...
1
vote
2answers
6k 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 ...
2
votes
3answers
9k 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 ...
0
votes
1answer
170 views

Tomcat abnormal shutdown

I have tomcat 6 running perfectly all jsp files tested and working, but Tomcat get closed abnormally any time, i am not able to diagnose the cause. Suggest how to diagnose.
0
votes
2answers
1k views

tomcat6 on ubuntu fails when user set to root

I'm well aware that running tomcat6 is really bad from a security point of view - and opens the box it is running on to all kinds of security risks and attack vectors. That said: When I change the ...
4
votes
1answer
198 views

Apache 2.2 with Tomcat

i'm trying to set up a dev environment with apache2.2 + tomcat + mysql. Of course i already have apache2.2 + mysql working fine with php but, when i look at google about how to setup tomcat, i find a ...
7
votes
5answers
13k views

Tomcat 6.0 service does not start: java/lang/NoClassDefFoundError

I installed Tomcat on my Windows server but I can't get it to start. I start the service and I see the progress bar, but it fails. I installed the Java Runtime Environment Version 6 and created ...
0
votes
1answer
940 views

Tomcat 6 Windows Server 64 Redirect Connector Fails

So is there some problem with running the Tomcat connectors under a 64 bit windows OS? Here's my configuration: Windows Server 2003 64 bit Intel Xeon Tomcat 6.0.26 JVM 1.6.0 (64bit) ISAPI Redirect ...
0
votes
1answer
1k views

Trying to install mod_proxy in Apache-Httpd-2.2.15

I have spent the afternoon trying to install the mod_proxy module into apache. I have tried ./configure --prefix=/opt/apache2 --enable-proxy --enable-proxy-http ./configure --prefix=/opt/apache2 ...
0
votes
1answer
625 views

What does “Caching service dependencies …” mean?

When I shut down Tomcat I get the following: * Caching service dependencies... [ ok ] * Stopping Tomcat... [ !! ] What does Caching service dependencies ...
0
votes
1answer
3k views

Cannot ping Localhost so I can't shutdown Tomcat

I installed Tomcat 6 using the tar-ball via wget. Startup of the server is fine but on shutdown I get a timeout exception. root@88:/usr/local/tomcat/logs# /usr/local/tomcat/bin/shutdown.sh Using ...
8
votes
4answers
56k views

Where are my Tomcat Logs?

I installed Tomcat6 on a Ubuntu 9.04 server using apt-get install tomcat6. I uploaded a WAR using the manager interface and tried to start the application but get a pretty generic error on the Web ...
1
vote
0answers
438 views

Coldfusion deployment under Apache Tomcat with Virtual Hosts

I'm looking for the proper way to share the Coldfusion engine for all my Virtual Hosts. This is how I have the virtual hosts configured on server.xml in the Tomcat conf: <Host ...
3
votes
1answer
519 views

how to configure tomcat6 for ubuntu

i have installed apache tomcat6 for ubuntu 9.04 recenty.But it seems that some API's like servelet and http are not included althogh i have installed openJDK 1.6. somebody advised me to set JAVA_HOME ...
3
votes
2answers
8k views

Tomcat 6: Access Control Exception?

I'm trying to setup a tomcat6 server, and I'm trying to match another setup someone else established. However, my deployment (default Ubuntu install) uses a policy.d/ directory structure, and the ...
0
votes
1answer
311 views

How does SSL work when Tomcat runs behind IIS 6.0?

I have a web service hosted on Tomcat that is behind IIS 6.0. I use Tomcat Connector to connect Tomcat to IIS. My web service opens an SSL connection to another server: Is the SSL connection made ...
1
vote
3answers
4k views

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 ...
0
votes
3answers
1k views

Problems getting JPackage to see Sun JVM on CentOS5

I'm looking to get Tomcat6 on CentOS 5 in an entirely RPM-based way. JPackage seems to be a great option for this, so I've added the repo and now I'm trying to get it to work. The instructions say to ...
1
vote
1answer
738 views

Tomcat Prevent external access to ROOT and other webapps

I have a Tomcat 6 server running just fine. I have external access working. I wanted to know how to prevent someone from seeing specific webapps, for example, I dont want external access to the ROOT ...
0
votes
1answer
167 views

Tomcat cannot serve files over 1MB without breaking under high load

For some reason, my tomcat deployment begins throwing BadFileNumber exceptions when a large file (>1MB) is served over high load. I'm using JRE 1.6.0_17 with Tomcat 6.0.14. What could possibly cause ...
1
vote
1answer
2k views

“Current Classes Loaded:” continually increasing, PermGen bouncing around max?

I've run load against my web application for the past few days, and I've noticed that "Current Classes Loaded" viewed via JMX monitoring is continually increasing. It will go up and then back down, ...
0
votes
2answers
520 views

Best way to separate tomcat configuration files for different deployments?

Right now, all application-specific configuration is done in conf/Catalina/localhost/myWebApp.xml, and this file changes between different deployment scenarios (test/production/personal, etc). My ...
2
votes
4answers
13k views

Why can't I access Tomcat externally?

We hire a Virtual MS Server 2008 machine from a hosting company. I say this because maybe it's got a bunch of extra settings that aren't the "vanilla" 2008 settings. Anyway, I installed a default ...
0
votes
1answer
44 views

Database or File System to Server / Accept Short Audio Clips?

I am working on an application that will allow users to play short audio clips (voice recordings), as well upload short clips. I will be using a Java / Tomcat environment. I am wondering if this type ...
2
votes
2answers
1k views

Unusual Apache->Tomcat caching issue

Right now, I have an Apache setup sitting in front of Tomcat to handle caching. This setup has been given to an external service to manage, and since the transition, I've noticed odd behavior. ...