Chris,
Using your method of including the context within the application how do
you adjust for different environments (dev vs production)? Different
WARs?
How we do it now is have a context.xml.default included in the
conf/Catalina/NameOfYourHostInServer.xml/ directory where the JNDI
datasourc
Yeah we use it successfully. We've got the following in our server.xml
in the tag:
ldap://ldapname.bc.com";
roleBase="ou=xxx,dc=bc,dc=com"
roleName="cn"
roleSearch="(uniqueMember={0})"
roleSubtree="true"
userBase="o
An easier way to do it would be to add it in your $CATALINA_OPTS variable. So
get rid of the extra stuff you added and instead add the '-server' to
$CATALINA_OPTS. So it would be:
CATALINA_OPTS="-server -Xmx1900m -Xms256m -XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64m -Dcom.sun.management
If you just want to check that the process is running on the machine, here's a
sample bash script that I worked up:
#!/bin/bash
# This script makes sure certain processes are running and emails support if
they aren't
# What process to check for
PROCESS=tomcat
# The command to run
COMMAND=$(ps
Hi Miriam,
We had the same problem here. Our LDAP authentication was working up to
version 5.5.12 but broke on anything above it. I finally got it fixed
and I'll show you what we had previously and what we have now.
WORKED WITH 5.5.12 AND BELOW:
ldap://ldap.bc.com";
You can pass it as a variable in tomcat's startup.sh (unix, linux) or
startup.bat (windows) in the bin directory. Modify that file and add
something like this right before the last line:
#Added link to external property file
JAVA_OPTS='-Dmy.props.dir=/opt/tomcat/properties'
export JAVA_OPTS
Yeah I stop the webapp and undeploy it before doing the redeploy so I
don't think this is the issue. Unless the sessions are still persistent
even after I've undeployed, which I don't think is the case.
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, Se
Hi All,
I have some questions about deploying WARs using Tomcat's built in
manager. It seems that some of the times when we use the manager via a
web browser to deploy a new WAR file it will only partially install.
Meaning that the manager will return a list of the installed
applications and it w
A better idea would be to put Apache in from of Tomcat and compile PHP
into that. There are instructions on the PHP site on how to do that:
http://www.php.net/manual/en/install.php
-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Sent: Friday, June 09, 2006 3:16 PM
To: