Open source web server developed by the Apache Software Foundation

learn more… | top users | synonyms

0
votes
1answer
253 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 ...
0
votes
2answers
546 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 ...
0
votes
1answer
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 ...
17
votes
1answer
21k 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 ...
2
votes
1answer
4k 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 ...
0
votes
1answer
101 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 ...
0
votes
1answer
362 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 ...
0
votes
1answer
417 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 ...
0
votes
1answer
182 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 ...
3
votes
2answers
2k 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 ...
0
votes
1answer
222 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 ...
1
vote
2answers
14k 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 ...
0
votes
1answer
2k 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 ...
1
vote
1answer
181 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?
0
votes
1answer
219 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 ...
0
votes
1answer
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 ...
0
votes
1answer
440 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 ...
0
votes
1answer
141 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 ...
0
votes
1answer
241 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
147 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
4k 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
298 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
401 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
335 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
4k 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
11k 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
188 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
87 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
5k 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
799 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
733 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
525 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
216 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
471 views

Number of war files on Tomcat 6.0

How many war files be deployed on a Tomcat 6.0 server?
0
votes
2answers
195 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
338 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
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 ...
0
votes
2answers
658 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
338 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
773 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
783 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
1k 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 ...
2
votes
2answers
16k 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 ...
6
votes
3answers
26k 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
219 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
210 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
15k 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
1k 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 ...