RE: Tomcat OpenJMS Design Pattern?

2003-11-19 Thread Gavin, Rick
-Original Message- From: Gavin, Rick [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 6:25 PM To: Tomcat Users List Subject: Tomcat OpenJMS Design Pattern? Hi All, Just wondering if any could post a working design pattern for using openJMS or another open JMS engine with tomcat

Tomcat OpenJMS Design Pattern?

2003-11-18 Thread Gavin, Rick
Hi All, Just wondering if any could post a working design pattern for using openJMS or another open JMS engine with tomcat, preferably a model using asynchronous queue message handling. I figured someone around here has done it and I would rather use a tried and true model. Looking for

JMS Provider w/ Tomcat?

2003-11-10 Thread Gavin, Rick
Hi All, Just wondering if Tomcat 5 included a JMS Engine/Provider, or if not, what is recommended? Thanks for any help, Rick

RE: JMS Provider w/ Tomcat?

2003-11-10 Thread Gavin, Rick
-Original Message- From: Gavin, Rick [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 2:29 PM To: Tomcat Users List ([EMAIL PROTECTED]) Subject: JMS Provider w/ Tomcat? Hi All, Just wondering if Tomcat 5 included a JMS Engine/Provider, or if not, what is recommended? Thanks for any help

Possible to have default classes and taglib includes in JSPs?

2003-03-19 Thread Gavin, Rick
Hi all, Does anyone know if you can include classes and taglibs in all jsp pages in a webapp by default, instead of having to import and reference them on each page? I didn't see it in the servlet or jsp spec. Thanks for the help, Rick

RE: Possible to have default classes and taglib includes in JSPs?

2003-03-19 Thread Gavin, Rick
imports: %@ include file=/a_load_of_imports.jsp % Tim Funk wrote: No - you have to explicitly import the classes and/or taglibs. -Tim Gavin, Rick wrote: Hi all, Does anyone know if you can include classes and taglibs in all jsp pages in a webapp by default, instead of having

RE: Extending HttpServletRequest / HttpServletResponse ???

2003-03-18 Thread Gavin, Rick
it is one of the most common things that a Filter does. If you are using Tomcat 4.x, then look into HttpServletRequestWrapper and HttpServletResponseWrapper (both in the javax.servlet.http package). Gavin, Rick [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All Is it possible

RE: Extending HttpServletRequest / HttpServletResponse ???

2003-03-18 Thread Gavin, Rick
of the Servlet API. A book will really help clear the specifics up of why and when to use them. Never ever use catalina classes directly unless: - You really need to - You really know why you are using them - You really need to -Tim Gavin, Rick wrote: Thanks Bill, Does anyone have some docs about

RE: Extending HttpServletRequest / HttpServletResponse ???

2003-03-18 Thread Gavin, Rick
Thanks Erik, That article cleared alot up for me. Rick -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 11:27 AM To: Tomcat Users List Subject: Re: Extending HttpServletRequest / HttpServletResponse ??? Gavin, Rick wrote

[4.1.18] Startup Servlets Load Twice???

2003-03-14 Thread Gavin, Rick
Hi All, Can anyone tell me what would cause my servlets that i have set to load a startup would be executing twice. If i have a simple servlet that spits out a line of text ot the log, when i start tomcat (4.1.18) i see the text gets written out twice. This same servlet did not do it in

RE: [4.1.18] Startup Servlets Load Twice???

2003-03-14 Thread Gavin, Rick
: Gavin, Rick [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2003 9:50 AM To: [EMAIL PROTECTED] Subject: [4.1.18] Startup Servlets Load Twice??? Hi All, Can anyone tell me what would cause my servlets that i have set to load a startup would be executing twice. If i have a simple servlet that spits

RE: [4.1.18] Startup Servlets Load Twice???

2003-03-14 Thread Gavin, Rick
- From: Scott, Sean [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2003 11:03 AM To: 'Tomcat Users List' Subject: RE: [4.1.18] Startup Servlets Load Twice??? Check the manager app to see if your app might have been deployed twice -Original Message- From: Gavin, Rick [mailto:[EMAIL PROTECTED

How to manage Sessions?

2003-01-06 Thread Gavin, Rick
Hi All, Is there a way to manage the sessions with the default session manger other than using the admin webapp? for instance... is there a way to list all the logged in users in the current webapp? Or does one need to extend the default session manager to allow access? Thanks, Rick -- To

RE: servlet load-on-startup

2003-01-06 Thread Gavin, Rick
It still works for me, however it seems to work two well.. it seems to get called twice for the same servlet now. not sure why. -Rick -Original Message- From: Rasputin [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 2:31 AM To: [EMAIL PROTECTED] Subject: servlet load-on-startup

RE: Two instances of servlet gets created

2003-01-02 Thread Gavin, Rick
I have also been seeing this, I think since I have upgraded from 4.1.12. I have a startup servlet that creates a singleton object i use for system properties, and it calls the createInstance of the singleton twice at startup now. Rick -Original Message- From: Mohit Garg [mailto:[EMAIL

JSP: Can you assign default classes and taglibs to webapp?

2002-12-31 Thread Gavin, Rick
Hi All, Is it possible to assign default class includes and/or tag libs to an entire webapp? I assume i could put all of the declerations in an include but it would be cleaner if there was a property of a webapp to assign defaults. Thanks for any help, Rick -- To unsubscribe, e-mail:

[4.1.12] How to Implement Custom JNDI Tree?

2002-12-06 Thread Gavin, Rick
Hi All, I have implemented a JNDI tree for my sites configuration options since the built in tomcat context can not be modified at runtime( unless something changed ). Can anyone tell me what the best way to implement the use of it. Currently I have a static Settings class that has a DirContext

[4.1.12] Custom JNDI DirContext Help

2002-12-06 Thread Gavin, Rick
Hi All, I have implemented a JNDI tree for my sites configuration options since the built in tomcat context can not be modified at runtime( unless something changed ). Can anyone tell me what the best way to implement the use of it. Currently I have a static Settings class that has a

[4.1.12] Why is JNDI Tree readonly?

2002-10-31 Thread Gavin, Rick
I have a bunch of configuration settings that I would like to store in Tomcat's JNDI context.. however, I'm not able to Add or modify the tree at runtime.. I get an error telling me that the tree is readonly. Using a env-entry tag in the web.xml, i'm able to add the initial state of the

4.1.12 : Valve : MBean Exception Question

2002-09-30 Thread Gavin, Rick
Hi All, I was implementing a Valve that checks the current URL and sets a few Request parameters accordingly. In Tomcat 4.0.4 I didn't have any errors at startup, but when I moved to Tomcat 4.1.12 I started receiving --- LOG ---

RE: Tomcat 4.1 Installation

2002-09-23 Thread Gavin, Rick
I've been having this same issue since I upgraded from 4.0.4 to 4.1.10. It seems that the classloader isn't functioning correctly for me. I had to put ALL my web app classes and libs in the common folder for them to be found by the engine. When the jars are in webapp/WEB-INF/Lib, the scanner of

Classloader Problems in 4.1.10

2002-09-23 Thread Gavin, Rick
I'm having issues migrating my current web apps from 4.0.4 to 4.1.10. When tomcat starts up, it throws an error saying it can't find my JAR files even though it must have found it to get the name of it to tell me it couldn't find it. I ended up having to move my jar files into

4.1.10: Equivalent to load-on-startup

2002-09-20 Thread Gavin, Rick
Hi All, I have a servlet that reads in a property file and stores properties in a static class. I want the servlet called when the webapp starts.. web.xml - servlet servlet-nameSettings/servlet-name servlet-classSettingsServlet/servlet-class