Mail Session JNDI Lookup fails on 5.0.25

2004-05-27 Thread Matt Raible
I've been using 4.1.x and 5.0.x for quite some time with the sample application. This application does a JNDI lookup of a mail session. This session is configured in my app's context with the following: mail.smtp.host localhost My code

Re: API for authenticating user

2004-05-25 Thread Matt Raible
Unfortunately, there is not an API for this in J2EE or container-managed authentication. I accomplish this in an example app that I wrote - using cookies and a redirect to j_security_check. For a demo, see http://demo.raibledesigns.com/appfuse. Matt On May 25, 2004, at 7:51 PM, Koji Sekiguchi

RE: realm definition in context.xml for 4.1

2004-05-08 Thread Matt Raible
Yes, it's possible to create a realm in your context.xml in 4.1+. Here's an example one: http://tinyurl.com/29vx3 Matt > -Original Message- > From: Bo van Weert [mailto:[EMAIL PROTECTED] > Sent: Friday, May 07, 2004 11:12 PM > To: [EMAIL PROTECTED] > Subject: realm definition in contex

Re: jndi (jdbc) access out of container

2004-05-06 Thread Matt Raible
This is probably a better question for the Spring mailing list. But since it's really pretty easy - here's how I do it. All you really need to do is define a dataSource for your tests, and one for your WAR. I basically do this in a file named applicationContext-database.xml and use the o

Re: unhandled type in logs

2004-05-05 Thread Matt Raible
I'm pretty sure it's by Hibernate, as Hibernate uses CGLIB which uses BCEL. Yoav Shapira Millennium Research Informatics -Original Message----- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 3:05 PM To: Tomcat Users List Subject: Re: unhandled type in logs

Re: unhandled type in logs

2004-05-05 Thread Matt Raible
It's a Struts Action that I wrote - but the error is not specify to that class. It *does* seem to only happen after Actions are invoked though. I tried replacing all my Struts 1.1 JARs - but that didn't seem to fix anything. I have another app that uses pretty much the same architecture, but

Re: unhandled type in logs

2004-05-05 Thread Matt Raible
it before. Matt P.S. I'm able to reproduce it on OS X, Win XP and Fedora - all running Tomcat 5.0.19. On May 5, 2004, at 12:46 PM, Shapira, Yoav wrote: Hi, Strange. Are you sure it's from the tocmat classes? Yoav Shapira Millennium Research Informatics -Original Message- Fro

Re: unhandled type in logs

2004-05-05 Thread Matt Raible
ira Millennium Research Informatics -----Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 1:19 PM To: Tomcat Users List Subject: unhandled type in logs I've recently started getting a lot of "unhandled type" messages in my logs - usually in groups o

unhandled type in logs

2004-05-05 Thread Matt Raible
I've recently started getting a lot of "unhandled type" messages in my logs - usually in groups of 5-7 lines in a row. I'm experiencing it on one of my webapps, but not other ones. It doesn't seem to affect the performance, reliability or functionality of my app - but it doesn't "look" good.

RE: ¿how to use tomcat.sh for starting Tomcat automatically at boot time?

2004-05-04 Thread Matt Raible
Maybe this will help: http://www.raibledesigns.com/tomcat/boot-howto.html Matt > -Original Message- > From: Joao Medeiros [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 04, 2004 12:15 PM > To: Tomcat Users List > Subject: Re: ¿how to use tomcat.sh for starting Tomcat > automatically at

RE: Best practice question: where to place project libraries

2004-02-10 Thread Matt Raible
> -Original Message- > From: Josh Rehman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 10, 2004 5:49 PM > > Thanks. You bring up an interesting aspect of container > configuration: > database drivers. It would be interesting to extend the > META-INF/context.xml tomcat convention

Slow Java app on Tomcat with a 667 MHz CPU

2004-02-05 Thread Matt Raible
I have developed a webapp that uses basic open source stuff (struts, hibernate, etc.). I've been developing/testing it on the following platforms - where it works fine and runs lickedy-split: OS X 10.3, 1.33 GHz, 1 GB RAM Windows XP, 2.6 GHz, 1.5 GB RAM Windows 2000 Server, 1 GHz, 512 MB RAM Wind

Re: Why must I supply standard.jar and jstl.jar myself? (Tomcat 5)

2004-01-29 Thread Matt Raible
FYI... Tomcat is NOT the RI for Servlets and JSPs. Read it at the message below (at the bottom of the message). http://www.mail-archive.com/[EMAIL PROTECTED]/msg20273.html On Jan 29, 2004, at 6:55 PM, Jay Rostosky wrote: I'm using the Jakarta Standard Taglib implementation of JSTL 1.1 with

RE: Apache + Tomcat RH Setup

2004-01-28 Thread Matt Raible
, and order of operations > during runtime and actual system reboot and shutdown? > > -Original Message----- > From: Matt Raible [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 28, 2004 3:37 PM > To: Tomcat Users List > Subject: Re: Apache + Tomcat RH Setup > > H

Re: Apache + Tomcat RH Setup

2004-01-28 Thread Matt Raible
Here's how I've setup Tomcat and Apache to start at boot-time. http://www.raibledesigns.com/tomcat/boot-howto.html > I suppose this could be directed towards John Turner, but I'll let > anyone answer :) > > I have been reading through John's HOWTO to get these operating > together (with the

Re: JkCoyoteHandler action INFO: RESET

2004-01-28 Thread Matt Raible
Sorry, forgot to include version numbers: JDK 1.4.2 Tomcat 4.1.12 and 4.1.27 (tested on both) IIS 5.0 on Windows 2000 Server Apache 2.0.47 JK 2.0.2 > I realize asking this question is like beating a dead horse, but I couldn't > seem to find the answer in any of the mail archives. I have IIS and

JkCoyoteHandler action INFO: RESET

2004-01-28 Thread Matt Raible
I realize asking this question is like beating a dead horse, but I couldn't seem to find the answer in any of the mail archives. I have IIS and Apache both pointing at the same Tomcat server using jk2 2.0.2. Everything works great as far as the connection is concerned. The problem is the useless

Re: Starting tomcat using ant

2004-01-27 Thread Matt Raible
This works on Tomcat 4.1.x and Tomcat 5: description="starts tomcat in the current console window"> I don't know if the ${

RE: Memory climbs until I get an OutOfMemory Error

2004-01-24 Thread Matt Raible
I'm pretty certain it's not the application - I've successfully run it with no issues on OS X, Red Hat 10 (Fedora), Windows XP and a different Windows 2000 server in the same server room. I'm pretty sure it's something to do with the JK setup - I'll have to try doing it again from scratch. Matt

Memory climbs until I get an OutOfMemory Error

2004-01-24 Thread Matt Raible
I have a weird issue on a server. The server is a Windows 2000 Server with IIS installed and Tomcat 4.1.12. It uses the isapi connector to proxy requests from IIS to Tomcat. Everything has been working fine with this setup for several months. Last week, I tried to add a new application to the T

RE: Tomcat's Ant Tasks [Install] - SOLVED!

2004-01-22 Thread Matt Raible
> At 12:47 PM 1/22/2004, you wrote: > >Are you using Tomcat 4 or Tomcat 5? For Tomcat 5, the deploy task works > >great. However, for Tomcat 4, I have found there is no "perfect" > >solution. The install task for Tomcat 4 is for installing web > >applications found on the same server as Tomcat.

Re: Tomcat's Ant Tasks [Install]

2004-01-22 Thread Matt Raible
's named context.xml) in > the META-INF directory inside the war file. Tomcat will find the > context file, and add the contents to the server.xml file. Then, use > redeploy to deploy changes, or undeploy to remove. Once you've got > that all set up, it works remarkably

Tomcat's Ant Tasks [Install]

2004-01-21 Thread Matt Raible
Is it possible to use the ant task to deploy to a remote server? I would think so, but it seems that the Manager app of Tomcat tries to load the "context" file on the remote server... Is there anyway to do this, i.e. packaging the context.xml in the JAR and telling the manager app

RE: Changing FORM Authentication page

2004-01-21 Thread Matt Raible
You could check the referer and change accordingly. > -Original Message- > From: Ricardo García [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 21, 2004 5:15 AM > To: Tomcat-user-list (E-mail) > Subject: Changing FORM Authentication page > > > Is there some way to personalise the f

Putting context.xml in .war/META-INF/context.xml

2004-01-16 Thread Matt Raible
>From reading this article: http://www.onjava.com/pub/a/onjava/2003/01/08/tomcat4.html?page=3 I assumed that Tomcat supported putting a context.xml in META-INF/ and it would act the same as placing it in webapps. If found that this didn't work testing today. And after reviewing the article more

Re: allowLinking

2003-12-15 Thread Matt Raible
With 5.0.16, it's now an attribute on the . HTH, Matt On Dec 15, 2003, at 9:34 AM, Michiel Meeuwissen wrote: I just upgraded my test-machine from tomcat 4.1.29 to 5.0.16. It seems that the 'allow-linking' feature is broken, or I'm doing something wrong. My server.xml sais something like:

RE: Need some Tomcat Configuration help badly

2003-12-13 Thread Matt Raible
otfix > for 4.1.27 > > http://www.apache.org/newsletter/200307.html#Jakarta_Tomcat > > > > The hotfix jar is now here: > > http://archive.apache.org/dist/jakarta/tomcat-4/binaries/ > > > > HTH, > > > > Jon > > > > Ma

RE: Need some Tomcat Configuration help badly

2003-12-13 Thread Matt Raible
Make sure you have reloadable="true" in the contexts they're putting their beans into: Matt > -Original Message- > From: Dick Steflik [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 13, 2003 1:24 PM > To: [EMAIL PROTECTED] > Subject: Need some Tomcat Configuration help bad

RE: Issue with EL disabled

2003-12-13 Thread Matt Raible
Make sure you have a Servlet 2.4 configuration for your web.xml. EL is turned off by default with 2.3 web.xml's. Here's some additional info: http://www.raibledesigns.com/page/rd?anchor=howto_upgrade_your_app_to HTH, Matt > -Original Message- > From: Olivier Moratin [mailto:[EMAIL PRO

Remember Me in Tomcat 5

2003-12-11 Thread Matt Raible
I have a "Remember Me" feature that I've been using in my webapps, and I'm having a hard time figuring out how to make it work (securely) on Tomcat 5. It works fine on Tomcat 4. Let me first explain how it works. 1. I put login.jsp and loginerror.jsp in a "security" folder at the root of my webap

Detecting Tomcat version in Ant

2003-12-05 Thread Matt Raible
Is it possible to detect the version of Tomcat that the user has in Ant? I have the following Ant task: description="copies jdbc driver and context.xml to tomcat"> Copying database JDBC Driver to ${tomcat.home}/common/lib Copying ${webapp.name}.xm

Re: Basic Authentication

2003-12-05 Thread Matt Raible
You might want to read the comments on the following URL - it shows how to configure authentication with a Windows domain, but apparently, it's out of date: http://www.raibledesigns.com/page/rd? anchor=easy_windows_authentication_with_tomcat Matt On Dec 5, 2003, at 9:45 AM, Bui, Bao-Ha D wr

Re: servlet sendRedirect() to j_security_check problem (remember me)

2003-12-05 Thread Matt Raible
, or is that some sort of black magic you've cooked up? Or have I just misunderstood what Chris said? Adam On 12/03/2003 09:24 PM Matt Raible wrote: Chris, I found your post at http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/ msg111700.html and I'm cc'ing the list i

Re: 2 Hosts: 2nd one tries to load the first's XML files

2003-12-05 Thread Matt Raible
: ... ... Where webapps and webapps2 are directories at the same level under your TOMCAT_HOME. HTH - Original Message - From: "Matt Raible" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 04, 2003 3:47 PM Subject: 2 Hosts: 2nd one tries to load the first&#

2 Hosts: 2nd one tries to load the first's XML files

2003-12-04 Thread Matt Raible
I have two domains that I host with tomcat - raible.net and raibledesigns.com. In $CATALINA_HOME/conf/Catalina/raible.net - no XML files exist. In Catalina/raibledesigns.com, I have many XML files for the differents apps I host. However, it seems that raible.net is trying to load all the apps fr

Re: servlet sendRedirect() to j_security_check problem (remember me)

2003-12-03 Thread Matt Raible
esin 3.x. Matt On Dec 3, 2003, at 4:21 PM, Adam Hardy wrote: Matt, are you really managing to post a form to j_security_check without invoking it first, or is that some sort of black magic you've cooked up? Or have I just misunderstood what Chris said? Adam On 12/03/2003 09:24 PM M

RE: servlet sendRedirect() to j_security_check problem (remember me)

2003-12-03 Thread Matt Raible
Chris, I found your post at http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/ msg111700.html and I'm cc'ing the list in case anyone else is interested in this info (I'm not subscribed). I've actually improved the "Remember Me" feature a fair amount since I posted to the Tomcat

Re: Tomcat 5.0.14 Beta

2003-11-01 Thread Matt Raible
rd message. - Original Message ----- From: "Matt Raible" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 01, 2003 7:17 PM Subject: Tomcat 5.0.14 Beta I just upgraded from Tomcat 5.0.12 Beta to 5.0.14 yesterday. Everything's been running fine for

Tomcat 5.0.14 Beta

2003-11-01 Thread Matt Raible
I just upgraded from Tomcat 5.0.12 Beta to 5.0.14 yesterday. Everything's been running fine for the last 12 hours, and then I got the following error this morning: No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/l

RE: Tag Attribute Doesn't Have Expression Interpreted

2003-10-23 Thread Matt Raible
Add this after in your .tld true -Original Message- From: Paul D. Gillen [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 3:33 PM To: TomcatDiscussion Subject: Tag Attribute Doesn't Have Expression Interpreted Having not gotten a reply to an earlier post, and being of the

SESSIONS.ser

2003-10-23 Thread Matt Raible
I am running Tomcat 4.1.27 on OS X. I haven't had SESSIONS.ser show up in a while on my Windows and Linux boxes and (to my knowledge), I've set them up the same ways as I have on Windows. So my question is - how do I turn off this session persistence on OS X. Do I have to add custom stuff in

IIS and Tomcat

2003-10-23 Thread Matt Raible
I've integrated Apache with Tomcat on numerous occasions, but never on IIS. We have the following scenario: 1. We want to have a domain name - i.e. www.myresort.com - that is serviced by IIS. 2. We want to map any requests to www.myresort.com to Tomcat's /myresort application. Is this possib

SESSIONS.ser - how do I get rid of it on OS X?

2003-10-22 Thread Matt Raible
I am running Tomcat 4.1.27 on OS X. I haven't had SESSIONS.ser show up in a while on my Windows and Linux boxes and (to my knowledge), I've set them up the same ways as I have on Windows. So my question is - how do I turn off this session persistence on OS X. Do I have to add custom stuff in ser

IIS and Tomcat - can I proxy all requests to a specific app

2003-10-22 Thread Matt Raible
I've integrated Apache with Tomcat on numerous occasions, but never on IIS. We have the following scenario: 1. We want to have a domain name - i.e. www.myresort.com - that is serviced by IIS. 2. We want to map any requests to www.myresort.com to Tomcat's /myresort application. Is this possible?

RE: JSP question

2003-10-21 Thread Matt Raible
A better solution for what you're doing is to leave the button as type="submit" and remove its onclick event. Instead, add an "onsubmit" handler to form that calls "return validateForm()" - return false in your function when validation fails. HTH, Matt -Original Message- From: epyonne [

Re: Abandoned Connections not removed

2003-10-17 Thread Matt Raible
So I guess the question is - which version of DBCP ships with Tomcat 5.0.12? Thanks, Matt On 10/17/03 2:47 AM, "Adam Hardy" <[EMAIL PROTECTED]> wrote: > On 10/17/2003 01:45 AM Matt Raible wrote: >> Is there a new release of DBCP that fixes this problem b/c currently

Abandoned Connections not removed

2003-10-16 Thread Matt Raible
I'm using Tomcat 5.0.12 and DBCP to setup a database connection pool. I have the following settings defined in my app's context.xml file, but they don't seem to be doing any good. My connections continue to increase, and I know they're idle and have not been used for hours.

Re: John Turner's Recent HowTo (Apache + Tomcat) [solved]

2003-10-15 Thread Matt Raible
uot;. Now if I could only get the Apple Rendezvous mod working on 2.0.x. I'm running this on OS X. Matt On 10/14/03 10:03 PM, "Matt Raible" <[EMAIL PROTECTED]> wrote: > I went through John's HowTo on Tomcat and Apache on RH 9 this evening. > > htt

John Turner's Recent HowTo (Apache + Tomcat)

2003-10-14 Thread Matt Raible
I went through John's HowTo on Tomcat and Apache on RH 9 this evening. http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html All worked awesome (on OS X) until I rebooted my machine, now I'm getting the following in Tomcat's log file: BAD packet 256 In: : [EMAIL PROTECTED] 4/843 01 0

Re: Apache+Tomcat with mod_jk on OS X

2003-10-11 Thread Matt Raible
Yep, and that appears to work just fine. On Saturday, October 11, 2003, at 02:54 PM, Giuliano Gavazzi wrote: At 10:52 -0600 2003/10/11, Matt Raible wrote: I'm trying to get Apache (1.3.27) integrated with Tomcat (4.1.27) on OS X. [...] I downloaded mod_jk.so (for 1.3.27) from http://tinyur

Apache+Tomcat with mod_jk on OS X

2003-10-11 Thread Matt Raible
I'm trying to get Apache (1.3.27) integrated with Tomcat (4.1.27) on OS X. I've read the following article (http://tinyurl.com/qkgp), which didn't help much, as well as my own (http://raibledesigns.com/tomcat), but I've found no success. I downloaded mod_jk.so (for 1.3.27) from http://tinyurl.

RE: pre compile and deploy - ?

2003-10-07 Thread Matt Raible
riginal Message ----- From: "Matt Raible" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Tuesday, October 07, 2003 3:17 PM Subject: RE: pre compile and deploy - ? Awesome Filip - #1 is just what I've been looking for. I'm

RE: pre compile and deploy - ?

2003-10-07 Thread Matt Raible
Awesome Filip - #1 is just what I've been looking for. I'm having a couple of issues getting it working though: 1. I had to add the following on line 16 to get my JSPs to compile: 2. A bunch of my JSP pages are at WEB-INF/pages and I get the following error because of this:

RE: Tomcat 5.0.12: Does DataSourceRealm work inside a Context?

2003-10-06 Thread Matt Raible
I've having this same issue with Tomcat 4.1.27 - has anyone gotten this to work? My resource name is "jdbc/appfuse" and I've tried: java:/comp/env/jdbc/appfuse jdbc/appfuse appfuse And none of them work - the same error: Name java is not bound in this context Name jdbc is not bound in this con

RE: Datasource connections not released when reloading context

2003-10-03 Thread Matt Raible
ain. Matt -Original Message----- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 9:52 AM To: 'Tomcat Users List' Subject: RE: Datasource connections not released when reloading context I tried changing the "removeAbandonedTimeout" to 1 and then to test

RE: Datasource connections not released when reloading context

2003-10-03 Thread Matt Raible
7;d be interested to see if it works, Adam On 10/03/2003 12:30 AM Jose Alfonso Martinez wrote: > On Wed, Oct 01, 2003 at 11:37:39AM -0500, Matt Raible wrote: > >>I already do this, but when I "reload" my context, I get two database >>connections, rather than one

RE: Datasource connections not released when reloading context

2003-10-01 Thread Matt Raible
nection pool that they're free for someone else. On 10/01/2003 11:05 AM Adam Hardy wrote: > Hi Matt, > you don't destroy them, you just close them. > > if (!conn.isClosed()) conn.close(); > > > > > > On 09/30/2003 12:51 AM Matt Raible wrote:

RE: Datasource connections not released when reloading context

2003-09-29 Thread Matt Raible
If I'm getting my database connections from a JNDI resource (configured in server.xml) how do I destroy these suckers. Sample code would be great - or tell me to RTFM. Matt -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 8:04 AM To: 'Tomcat

RE: Auto Form Based Logins

2003-09-18 Thread Matt Raible
I've implemented "remember me" functionality using cookies and filters for form-based authentication. You could probably do the same thing - if you can get your servers are in the same domain (and therefore you cookies can persist b/w applications). http://raibledesigns.com/training/index.jsp?top

RE: login failed attempt

2003-09-08 Thread Matt Raible
The easiest way is to set a cookie when the user clicks submit and then grab it again. You can checkout my security-example sample app that shows how to use form-based authentication with MySQL: http://tinyurl.com/fuvq It includes a demo of how to store the username as a cookie and also a "Remem

Tomcat and multiple processors

2003-09-04 Thread Matt Raible
We are getting ready to deploy a number of applications to Tomcat - I'm pretty familiar with Tomcat and Java, but have a couple of questions: 1. Does it support multiple processors? We have a Tomcat instance in production on a NT box with 4 processors, but Tomcat only seems to use one. Does the

Tomcat-users.xml getting erased

2003-03-30 Thread Matt Raible
Every week or so, my tomcat-users.xml file is getting it's contents deleted. I'm assuming this probably happens when there is an abrupt shutdown of the server or something. Basically, when I can't login to my "manager" application, I look at tomcat-users.xml and all it has is: Any ideas? T

RE: Tomcat 4.1.18 + apache 2.0.43 mod_jk2 virtual hosting ?

2003-01-07 Thread Matt Raible
This article might help - near the bottom it describes setting up virtual hosts. Also checkout the workers.properties in the moddle of the doc. http://raibledesigns.com/tomcat Matt > -Original Message- > From: Morten Bøhmer [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 1

What HTTP Status Code is returned when transport-guarantee is CONFIDENTIAL?

2002-12-09 Thread Matt Raible
I've noticed that if you set a CONFIDENTIAL in web.xml that the user is automatically redirected to an https://server:443. I'm wondering how I can reproduce this behavior in a my welcome JSP and was thinking I could possibly return the same http status code. Is this possible? Thanks, Matt

Form-based authentication - can I get original URL?

2002-11-25 Thread Matt Raible
On Tomcat 4/5, I am able to use the following configuration in my web.xml: FORM /login.jsp /login.jsp?error=true However, I know that there are app servers out there that do not support this - the form-error-page MUST be a different JSP

RE: DBCP borrowObject failed: null

2002-10-16 Thread Matt Raible
I'm struggling to believe that this is the problem. I am experiencing the same error after logging in and clicking through about 3 pages in my app. If I didn't close ANY connections, I'd only have < 10 open. And my configuration calls for 100 (see below): maxActiv

FW: Adding tablib's to tomcat's web.xml?

2002-10-11 Thread Matt Raible
I never saw a response the first time I asked (yesterday) so I'm trying again... -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 4:52 PM To: 'Tomcat Users List' Subject: Adding tablib's to tomcat's web.xml?

Adding tablib's to tomcat's web.xml?

2002-10-10 Thread Matt Raible
Is it possible to add a taglib definition to tomcat's web.xml and it will affect all your webapps? If so - were do you put the tld? Thanks, Matt -- To unsubscribe, e-mail: For additional commands, e-mail:

tomcat 4.1.12 symlink problems

2002-10-02 Thread Matt Raible
I'm trying to upgrade my application (roller) to work on Tomcat 4.1.12. It works fine with my context from Tomcat 4.0.4, but won't follow my symlinks. So to get it to follow my symlinks - I tried addding the following to my context: When I do this, I get the errors below. Without it - it works

"allowLinking" in 4.1.12

2002-10-02 Thread Matt Raible
I've searched the archives and the only message I found was: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg67063.html I'd like to turn "allowLinking" ON - how? Do I add allowLinking="true" to the context? Thanks, Matt -- To unsubscribe, e-mail:

Invalid command 'JkAutoAlias'

2002-10-02 Thread Matt Raible
I'm trying to use the JkAutoAlias directive as documented at: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html#mod_ jk%20Directives Here's is my snippet from httpd.conf: ServerName customer1.mycompany.com JkAutoAlias /usr/local/customers/tomcat1/webapps JkMount /*/do/ tomcat1

RE: Start Apache/Jakarta-Tomcat as Non-root user

2002-09-30 Thread Matt Raible
Tomcat just not start? > > John > > > > -Original Message- > > From: Matt Raible [mailto:[EMAIL PROTECTED]] > > Sent: Monday, September 30, 2002 12:45 PM > > To: 'Tomcat Users List' > > Subject: RE: Start Apache/Jakarta-Tomcat as Non

RE: Start Apache/Jakarta-Tomcat as Non-root user

2002-09-30 Thread Matt Raible
use it as a startup script in one of > the rc.d directories. Something like: > > # source function library > . /etc/rc.d/init.d/functions > > RETVAL=0 > prog="tomcat" > > JAVA_HOME=/some/path/to/jdk > CATALINA_HOME=/some/path/to/tomcat > > You&#

RE: Start Apache/Jakarta-Tomcat as Non-root user

2002-09-30 Thread Matt Raible
I changed my script to add these two variables and still no luck. I also have them defined in catalina.sh (since I have many instances of tomcat running) - could that cause the problem? #!/bin/bash # # Matt Raible 29 Sep 2002 # For use on RedHat Linux - tested on v7.3 CATALINA_HOME=/usr/local

RE: Start Apache/Jakarta-Tomcat as Non-root user

2002-09-30 Thread Matt Raible
I've noticed that if I run ./S40tomcat, I have to add "start" after it in order to get it to start from the command line. Does the startup script add this automatically? > -Original Message- > From: Matt Raible [mailto:[EMAIL PROTECTED]] > Sent: Monday, Septemb

RE: Start Apache/Jakarta-Tomcat as Non-root user

2002-09-30 Thread Matt Raible
I've modified your script for RedHat Linux 7.3, but my tomcat instance still won't start on bootup. I can execute ./S40tomcat, enter the tomcat user's password and everything works fine. Any ideas or log files I can check? #!/bin/bash # # Matt Raible 29 Sep 2002 # For use

[ANNOUNCE] Updated Tomcat+Apache and Apache+SSL HOWTO

2002-09-27 Thread Matt Raible
I spent the last couple of days struggling with setting up Apache 2.0.42 and Tomcat 4.0.5 on both Windows and Linux. I've updated an article I found on this matter and posted it to my website at: http://raibledesigns.com/tomcat/index.html I also setup SSL on Apache with the above configuration

Building mod_jk.so for Mac OS X

2002-09-27 Thread Matt Raible
Since I didn't find a pre-built mod_jk.so for Mac OS X, I tried to build it myself from source, but I'm getting the following error when I do "make" - any ideas? [MINIME:jakarta-tomcat-connectors-jk-1.2.0-src/jk/native] root# make Making all in common /usr/bin/libtool --mode=compile gcc -I/usr/lo

mod_jk.so for MacOS X

2002-09-27 Thread Matt Raible
Anyone know where I can get a mod_jk.so from Apache 2.0.42 for OS X? Nothing here: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1 .2.0/bin/macosx/ Thanks, Matt -- To unsubscribe, e-mail: For additional commands, e-mail:

Apache 2.0.40, SSL and Linux

2002-09-26 Thread Matt Raible
Platform: Red Hat 7.3 I'm trying to setup SSL for Apache on Linux and I can't seem to get it working properly. The following line in httpd.conf gives me the impression that the mod_ssl is already installed: Include conf/ssl.conf Do I have to add LoadModule ...?? If so, how do I get/crea

RE: mod_jk Database ?

2002-09-26 Thread Matt Raible
I've posted a howto (revised version of http://www.ubeans.com/tomcat) for Tomcat 4.x and Apache 2.x at http://www.raibledesigns.com/tomcat - let me know if you find any problems. This contains links to the mod_jk.dll binaries to download. HTH, Matt > -Original Message- > From: Heine, C

Apache 2.0.42 and SSL (Win32)

2002-09-26 Thread Matt Raible
I'm sending this message to this list since it seems there are some experts apache dll's here ;) Please let me know if I should post this to [EMAIL PROTECTED] instead. I'm basically trying to install SSL on Apache 2.0 - once I get it done on Windows, I'll do it on Linux. I downloaded http://www

Virtual Hosts: Connecting Apache 2.x to Tomcat 4.x (was mod_jk, Windows XP, Tomcat 4.0.5 - issues)

2002-09-25 Thread Matt Raible
> http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2 > /nightly/win32/ > > rls > > > > > "Matt Raible" <[EMAIL PROTECTED]> > 09/25/2002 05:10 PM > Please respond to "Tomcat Users List" > > > To: "&

RE: Apache 2.x and Tomcat 4.x - AJP or mod_webapp

2002-09-25 Thread Matt Raible
M > To: Tomcat Users List > Cc: Matt Raible > Subject: Re: Apache 2.x and Tomcat 4.x - AJP or mod_webapp > > > Hi Matt, > > I've got mulitple instances of Tomcat running with Apache > using AJP (on linux, but should work basically the same on windows). > >

mod_jk, Windows XP, Tomcat 4.0.5 - issues

2002-09-25 Thread Matt Raible
I'm trying to use one of the mod_jk.dll downloads at http://www.acg-gmbh.de/mod_jk/ and having no luck. The errors I'm getting is: 1. The Apache service named reported the following error: >>> Apache.exe: module "C:\jakarta-tomcat-connectors-4.0.4-src\jk\native\apache-2.0\mod_jk.c" is not compa

Apache 2.x and Tomcat 4.x - AJP or mod_webapp

2002-09-25 Thread Matt Raible
I'm trying to create different instances of Tomcat similar to what my ISP has. I think they have an Apache front-end and each user gets their own instance of Tomcat and JVM. I want to setup this same thing for a client I have - and I *hope* to make it run on OS X, Windows (2000/XP) and Linux (Re

Tomcat 4.1.12

2002-09-24 Thread Matt Raible
I'm attempting to upgrade from 4.0.4/4.1.10 to 4.1.12 today and I'm seeing the following warning in my logs for the first time: WARNING: Exception getting SSL attributes javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeer

RE: Directory Listing

2002-09-20 Thread Matt Raible
Can you use this on Tomcat 4.0.1+? If so, where do you put it in server.xml? Thanks, Matt > -Original Message- > From: Dan Lipofsky [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 20, 2002 10:16 AM > To: Tomcat Users List > Subject: Re: Directory Listing > > > In server.xml set

OT: Host recommendations?

2002-09-18 Thread Matt Raible
In response to: http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg66271.ht ml I've been using http://www.kgbinternet.com for about 3 months now and they're awesome! You get your own Tomcat instance and you're allowed to upgrade at will - comes with JDK 1.4 and one-time setup fees f

DBCP on Tomcat 4.1: DBCP borrowObject failed: null

2002-09-18 Thread Matt Raible
I am trying to get DBCP working in my app on Tomcat 4.1.10. I have had success with Tyrex 0.9.7 on TC 4.0.4, but no luck with DBCP. I am able to establish a connection and it works for a few roundtrips to the database, and then I get "DBCP borrowObject failed: null". I tried adding "removeAband