RE: Data Sources Overwritten

2007-06-19 Thread ScottAnders
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

RE: Question on setting up LDAP...

2007-04-11 Thread ScottAnders
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

RE: AW: AW: Cannot run JVM in server mode with JSVC

2007-03-01 Thread ScottAnders
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

RE: Monitoring of Tomcat process

2007-02-20 Thread ScottAnders
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

RE: Question

2006-10-05 Thread ScottAnders
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";

RE: tomcat external property file

2006-10-02 Thread ScottAnders
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

RE: Load WARs Via The Manager App

2006-09-20 Thread ScottAnders
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

Load WARs Via The Manager App

2006-09-20 Thread ScottAnders
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

RE: how to install php on tomcat?

2006-06-09 Thread ScottAnders
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: