Re: Running on Mac OS 10.4

2008-06-21 Thread Ken Bowen
Mac OS/X is really a flavor of Unix, with the the fancy front end (nice for lots of things). 1. Open Terminal (click from your dock) 2. You will be located in your user directory (/Users/ ). Bash is the default shell. 3. Use vi (or any other editor that works for you) to edit .bash_pro

RE: Running on Mac OS 10.4

2008-06-21 Thread Caldarale, Charles R
> From: Walter Thompson [mailto:[EMAIL PROTECTED] > Subject: RE: Running on Mac OS 10.4 > > OK, another question, how do you set environment variables > in Mac OS? Here's a WIKI article that might be of interest: http://wiki.apache.org/tomcat/TomcatOnMacOS - Chuck THIS COMMUNICATION MAY CONTAI

RE: Running on Mac OS 10.4

2008-06-21 Thread Caldarale, Charles R
> From: Walter Thompson [mailto:[EMAIL PROTECTED] > Subject: RE: Running on Mac OS 10.4 > > OK, another question, how do you set environment variables in Mac OS? I don't have one here to play with, so I'm not sure. If you have some form of command line shell, the normal UNIX command is just VAR=

Re: Running on Mac OS 10.4

2008-06-21 Thread Martin
please confirm this entry in $TOMCAT_HOME/bin/catalina.sh CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/bootstrap.jar: pls confirm $CATALINA_HOME"/bin/bootstrap.jar exists Martin - Original Message - From: "Walter Thompson" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Saturday, Ju

RE: Running on Mac OS 10.4

2008-06-21 Thread Walter Thompson
OK, another question, how do you set environment variables in Mac OS? Thanks. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2008 4:57 PM To: Tomcat Users List Subject: RE: Running on Mac OS 10.4 > From: Walter Thompson [mailto:[EMAIL P

RE: Running on Mac OS 10.4

2008-06-21 Thread Caldarale, Charles R
> From: Walter Thompson [mailto:[EMAIL PROTECTED] > Subject: RE: Running on Mac OS 10.4 > > 3) yes, using startup.sh The startup.sh script should generate a call to "catalina.sh start", which in turn should generate a java command line that includes a -classpath of $CATALINA_HOME/bin/bootstrap.j

Re: Tomcat Connection Pooling - wait_timeout

2008-06-21 Thread Martin
Thomas/Chris I see autoReconnect functionality in mysql-connector-java-5.1.6.tar.gz driver distro located at http://ftp.plusline.de/mysql/Downloads/Connector-J/ here is the testcase which extercises the 5.1.6 functionality: Properties props = new Driver().parseURL(BaseTestCase.dbUrl, null); p

RE: Running on Mac OS 10.4

2008-06-21 Thread Walter Thompson
1) .zip 2) java is 1.5 3) yes, using startup.sh Walter -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2008 4:22 PM To: Tomcat Users List Subject: RE: Running on Mac OS 10.4 > From: Walter Thompson [mailto:[EMAIL PROTECTED] > Subject:

RE: Running on Mac OS 10.4

2008-06-21 Thread Walter Thompson
Sorry I didn't mention that, the .zip version. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2008 4:22 PM To: Tomcat Users List Subject: RE: Running on Mac OS 10.4 > From: Walter Thompson [mailto:[EMAIL PROTECTED] > Subject: Running on M

RE: Running on Mac OS 10.4

2008-06-21 Thread Caldarale, Charles R
> From: Walter Thompson [mailto:[EMAIL PROTECTED] > Subject: Running on Mac OS 10.4 > > We are trying to run Tomcat 6.0.16 on Mac OS 10.4.11. Installed using > download, followed instructions. Which download - the .tar or .zip? Which instructions? > Also getting error Message: Exception in threa

Re: Running on Mac OS 10.4

2008-06-21 Thread Martin
Walter- org/apache/catalina/startup/Bootstrap is located in $TOMCAT_HOME/bin/bootstrap.jar FWIW Martin - Original Message - From: "Walter Thompson" <[EMAIL PROTECTED]> To: Sent: Saturday, June 21, 2008 5:08 PM Subject: Running on Mac OS 10.4 We are trying to run Tomcat 6.0.16 on M

Running on Mac OS 10.4

2008-06-21 Thread Walter Thompson
We are trying to run Tomcat 6.0.16 on Mac OS 10.4.11. Installed using download, followed instructions. Tomcat welcome page doesn't display. Also getting error Message: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap. Does anyone have a clue what

Re: Alias problem

2008-06-21 Thread Rainer Jung
Hi Frank, Frank Büttner schrieb: Hello, I have the follow constellation: an web application called "foo" on an tomcat 6. An the link on my apache to call the application shout be: /webapps/bar so I have add this to my apache config for the directory webapps: RewriteBase /webapps/ RewriteRule ^b

Re: Alias problem

2008-06-21 Thread David Smith
I believe you'd have to name your webapp webapps#bar to get the result you seek. With the name you've given your webapp, JkMount /bar would work and you'd make requests to http://foobar.com/bar/ The # separator in webapp names is a little used way of making it's path match '/' characters. -

Alias problem

2008-06-21 Thread Frank Büttner
Hello, I have the follow constellation: an web application called "foo" on an tomcat 6. An the link on my apache to call the application shout be: /webapps/bar so I have add this to my apache config for the directory webapps: RewriteBase /webapps/ RewriteRule ^bar$ bar/ [R] and outside of the dir

Re: Tomcat Connection Pooling - wait_timeout

2008-06-21 Thread David Smith
Christopher Schultz wrote: Thomas Haines wrote: | mysql connector 5.1.6 Is that a pre-release version, or did 5.1 become GA recently? 5.1.6 is the current release version of Connector/J. 5.1 server is still a release candidate however. --David -

Re: Tomcat Connection Pooling - wait_timeout

2008-06-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, Thomas Haines wrote: | mysql connector 5.1.6 Is that a pre-release version, or did 5.1 become GA recently? | ERROR (21-06-08 07:59) [servlets.ViewEmail] | com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet | successful

Re: Tomcat Connection Pooling - wait_timeout

2008-06-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Youssef, Youssef Mohammed wrote: | people were suffering from this exception in hibernate forums, it was | suggested to switch from DBCP to c3po. Wow... switch connection pools as a fix to pool exhaustion problems? That's odd... | Note also that th

Re: Tomcat Connection Pooling - wait_timeout

2008-06-21 Thread David Smith
Regarding the one that's working, it's probably working because it isn't letting the connection sit idle for such a long time. There are a few things you might want to consider: 1. Just increase the connection timeout for your mysql service. The default is 8 hours. I have one third party app

Re: Changing roles on the fly

2008-06-21 Thread Mark Thomas
Johnny Kewl wrote: - Original Message - From: "Lyallex" <[EMAIL PROTECTED]> Allowing a user to add a role is simple enough. Is it? Yes. I'm not so sure when does Tomcat load up the tomcat-users.xml? When it starts, for every servlet start up... I'm not sure? At Tomcat start-u

Re: Changing roles on the fly

2008-06-21 Thread Johnny Kewl
- Original Message - From: "Johnny Kewl" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Saturday, June 21, 2008 12:13 PM Subject: Re: Changing roles on the fly - Original Message - From: "Lyallex" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, June 19, 20

Re: Changing roles on the fly

2008-06-21 Thread Johnny Kewl
- Original Message - From: "Lyallex" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, June 19, 2008 9:30 AM Subject: Changing roles on the fly Hello Tomcat 5.5.26 Java 1.5.0_15-b04 This question is about role based security and the dynamic assignment/removal of roles.

Re: Tomcat Connection Pooling - wait_timeout

2008-06-21 Thread Youssef Mohammed
Hi Tom; I am sorry, you seem to be right on that. In older versions, it wasn't like that. So I would suggest that you first try to turn DBCP off. If you get the same error, then it has nothing to do with DBCP. Otherwise, you might consider other pooling. On Sat, Jun 21, 2008 at 9:47 AM, Thomas