I'm trying to configure tomcat 5.5 in our webapplication in order to NOT create a log file for each day but instead use always the same log file.
In fact, in the logs/ dir, I have three kind of logs:
jakarta_service_[YYYYmmdd].log
stdout_[YYYYmmdd].log
stderr_[YYYYmmdd].log
and I would want them to be:
jakarta_service.log
stdout.log
stderr.log
but I cannot find where to properly configure
I am a Apache Tomcat newbie and about to deploy an upgraded version of a Spring MVC application (compiled to a .war file) on an Apache Tomcat/6.0.28 server, using Tomcat Web Application Manager.
Because I am not 100% certain that the application will work properly in a production environment, I want to be able to roll back to the currently deployed .war file.
I'm trying to resolve an issue about connecting Apache and Tomcat with mod_proxy_ajp. From reading I found that the problem might be the numbers of workers in the Apache and the Tomcat. So I try to find the worker's definition in the Tomcat but I couldn't find any. Can it be? Can Tomcat work without a workers.properties file?
Hi,
I am using Tomcat 7 on Ubuntu 11.10.
When I migrated my web application from Tomcat7 to Tomcat6 I'm getting this exception:
java.lang.ClassCastException: org.apache.tomcat.jdbc.pool.DataSource cannot be cast to javax.sql.ConnectionPoolDataSource
When I try to run my webapp (in Tomcat6) that use tomcat jdbc pool that seamlessly work with Tomcat7
I have included these jars already in tomcat 6 lib folder:
tomcat-jdbc.jar
tomcat-jul
I am using fedora 15 on my machine.
Tomcat 6.0.35
Ubuntu 12.04
I am attempting to start using:
Quote:
sudo /opt/apache-tomcat-6.0.35/bin/startup.sh start
All I get is:
Quote:
Using CATALINA_BASE: /opt/apache-tomcat-6.0.35
Using CATALINA_HOME: /opt/apache-tomcat-6.0.35
Using CATALINA_TMPDIR: /opt/apache-tomcat-6.0.35/temp
Using JRE_HOME:
I am running Apache2.2 and Tomcat7.0 on Windows.
How do I setup JkMount to allow access to any deployed webapp on Tomcat in the form domain.com/tomcat/nameOfWebapp?
Here is my workers.properties:
# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
Here is the relevant part
Am using JDK 1.6, tomcat 7.0.32, and Red Hat Linux.