Production Settings

2005-10-06 Thread Pitre, Russell
Does anyone know where I can find documentation on recommended production setting for Windows environment? I tried googling for some information but I did not come back with much. Thanks in advance Russ - To unsubscribe,

RE: Production Settings

2005-10-06 Thread Pitre, Russell
, October 06, 2005 9:24 AM To: 'Tomcat Users List' Subject: RE: Production Settings This is vague!! Recommended production settings for what exactly...? I would think it varies from application to application. -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: 06 October

JSTL Question

2005-08-09 Thread Pitre, Russell
Hello All- I'm running Tomcat 5.0.24 and using the jstl libs from apache. I have two versions of a jsp below. The difference between the two is the taglib declaration. The top one works and the bottom one doesn't. Can someone enlighten me as to why this is? It seems like the bottom one does

response.setHeader Contect-Encoding

2004-08-12 Thread Pitre, Russell
Hello All- Is it possible to set response header Content-Encoding to gzip in a JSP. I know it's possible in a servlet and I thought a jsp is more or less a servlet. The OutputStream is a JSPWriter rather than a Printwriter and I'm not sure how deal with this. I tried searching google for some

RE: Authentification against NT Domain Controller

2004-04-18 Thread Pitre, Russell
Try taking a look at this http://jcifs.samba.org/ Look into using the NTLM authentication filter. You'll achieve single-on authentication and when you need to grab the user's username, you can use this: String username = ((HttpServletRequest)request).getRemoteUser(); Russ- -Original

Filter chain

2004-03-12 Thread Pitre, Russell
Is it possible to specify the sequence of filters being processed by the container? I have a checksession filter that throws a user object into the session and a second filter will gather statistics on requestsI want the checksession filter to be processed first Thanx Russ

RE: Filter chain

2004-03-12 Thread Pitre, Russell
Thanx, I must have over looked it ;) -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 10:44 AM To: Tomcat Users List Subject: RE: Filter chain Hi, Is it possible to specify the sequence of filters being processed by the container? I have a

jcifs and security realm discussion.

2004-01-22 Thread Pitre, Russell
Hello all- I am really puzzled right now and was hoping you all could shed some light onto me. I am developing a corporate intranet. I have jcifs ntlm http filter ( http://jcifs.samba.org/ ) working for me and all seems to be working fine. I can call getRemoteUser() and get the domain and

RE: jcifs and security realm discussion.

2004-01-22 Thread Pitre, Russell
Russ -Original Message- From: Pitre, Russell Sent: Thursday, January 22, 2004 9:32 AM To: [EMAIL PROTECTED] Subject: jcifs and security realm discussion. Hello all- I am really puzzled right now and was hoping you all could shed some light onto me. I am developing a corporate

RE: Tomcat-Apache Security

2003-12-17 Thread Pitre, Russell
I have this book and I like it.The java security manager is a little over my head at this point in my Tomcat experiencesI'm sure I'll pick it up soon.the chapters on the Realms are really good as well as the second or third chapter on file security...I found it pretty straight forward

Tomcat 5 Clustering

2003-12-16 Thread Pitre, Russell
Hello All: Please excuse my ignorance, I'm trying to achieve clustering with Tomcat 5I've read the following in the Tomcat 5 documentation: = To run session replication in your Tomcat 5 container, the following

RE: How do i run 2 tomcats on the same server and using jk2?

2003-12-16 Thread Pitre, Russell
You also need to edit your worker.properties file... worker.list=tomcatWorker worker.tomcatWorker.port=8009 worker.tomcatWorker.host=172.20.94.244 worker.tomcatWorker.type=ajp13 Russ -Original Message- From: yuval [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 1:57 PM To:

RE: Tomcat 5 Clustering

2003-12-16 Thread Pitre, Russell
- Original Message - From: Pitre, Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 10:37 AM Subject: Tomcat 5 Clustering Hello All: Please excuse my ignorance, I'm trying to achieve clustering with Tomcat 5I've read the following

RE: Tomcat 5 Clustering

2003-12-16 Thread Pitre, Russell
, on your console or in your log, are the systems finding each other, ie, do you have multicast enabled and do the nodes actually connect to each other? send the logs from a clean run, ie stop, delete logs, start, send logs Filip - Original Message - From: Pitre, Russell [EMAIL PROTECTED

Manager Valve

2003-12-15 Thread Pitre, Russell
How can I restrict access to my manager app to only TWO ip addresses When I go into the admin app to add a valve for an ip address other than 127.0.0.1 or add multiple ip addresses to a single valvei get the following error: ==

RE: Manager Valve

2003-12-15 Thread Pitre, Russell
Users List Subject: RE: Manager Valve Howdy, You can use comma-separated address in the allow list of the RemoteAddressValve. Of course you can also write your own Filter and map it to /* in the manager app's web.xml. Yoav Shapira Millennium ChemInformatics -Original Message- From: Pitre

RE: Manager Valve

2003-12-15 Thread Pitre, Russell
somebody help me? Thanks! Pitre, Russell wrote: Ahhvery nice..i was ripping my hair out, I used everything but a comma.Thank you.. Filter eh? Good idea...which is more secure? Russ -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent

RE: Tomcat 4.1.29 Clustering

2003-12-13 Thread Pitre, Russell
/ - Original Message - From: Pitre, Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 11, 2003 1:18 PM Subject: Tomcat 4.1.29 Clustering Hello All, I think this may be a question for Filip.I am testing a network load balancing and tomcat

RE: jsp page with enctype=MULTIPART/FORM-DATA

2003-12-11 Thread Pitre, Russell
This should help you out.I tested it and worked like a charm! http://www.onjava.com/pub/a/onjava/2003/06/25/commons.html?page=3 Russ -Original Message- From: FTP Admin [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 4:29 PM To: Tomcat Users List Subject: jsp page

Tomcat 4.1.29 Clustering

2003-12-11 Thread Pitre, Russell
Hello All, I think this may be a question for Filip.I am testing a network load balancing and tomcat clustering configuration (InMemorySessionReplication)..Here's my setup: I have two servers both of which have IIS 5 and Tomcat 4.1.29 installed. I am using Microsoft Network Load

[OFF-TOPIC] Tomcat web hosting

2003-12-08 Thread Pitre, Russell
Hello All- Sorry to bother you with another one of my questions.. Can anyone suggest a good and inexpensive web hosting service that provides tomcat and mySQL support?? Russ

RE: [POLL] Logging

2003-11-21 Thread Pitre, Russell
Hi Everyone, thanx for helping me decide to which logging api to usewhich is log4j...when i try to use the logger i get this message on the console window... log4j:WARN No appenders could be found for logger (com.pitre.servlet.SetupServlet). log4j:WARN Please initialize the

[POLL] Logging

2003-11-20 Thread Pitre, Russell
I need to use a robbust logging api for my webapp that I'm building, so I decided I would cast a poll to get census of what everyone prefers Logging, Which do you prefer? 1. Log4j 2. Java.util.Logging 3. Other Russ -

reading properties file....

2003-11-19 Thread Pitre, Russell
Hi all, Trying to read a properties file for my web appI have a singleton class that reads my properties file and sets my properties the first time the class is called..It reads the file fine, but after the singleton gets loaded and i go to a jsp page that hasnt' been compiled yet i

RE: reading properties file....

2003-11-19 Thread Pitre, Russell
ResourceBundle rez = ResourceBundle.getBundle(application); Put that in your singleton class. Then you could: MySingleton.accessMySingleton().getRez().getString(a_prop); Then go nuts and write a taglib to access MySingleton properties. gary... From: Pitre, Russell [EMAIL PROTECTED] Reply

RE: Tomcat and Active Directory / 2003

2003-10-08 Thread Pitre, Russell
This is my realm setup in my server.xml config Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionURL=ldap://[domain controller]:389 userBase=OU=Users,OU=Shawmut,DC=[domain],DC=com

RE: What is a good dev-enviroment for servlet/tomcat?

2003-10-08 Thread Pitre, Russell
That's a good question, and I'd like to add a question too. How do you setup a server so that if you had 3 developers...each one has their own instance of tomcat running at the same time?? Russ -Original Message- From: joe udder [mailto:[EMAIL PROTECTED] Sent: Wednesday,

[OFF TOPIC] Version Control

2003-09-24 Thread Pitre, Russell
Sorry for the Off topic question I'm looking for suggestions for a free version control system. I've tried cvs before.but, the learning curve is really steep for me...i'd rather go with something that has a gui interface. Thanx in advance

RE: [OFF TOPIC] Version Control

2003-09-24 Thread Pitre, Russell
/control/Soft/tkCVS/ http://www.tortoisecvs.org/ For a more complete overview see: http://www.cvshome.org/dev/addons.html -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 5:02 PM To: [EMAIL PROTECTED] Subject: [OFF TOPIC] Version

Tomcat and Naming

2003-09-17 Thread Pitre, Russell
I'm trying to understand naming contexts and their implementations in tomcat.looking at the code below, we lookup the jndi resource jdbc/test When tomcat starts up, it parses the server.xml file.It finds: Resource name=jdbc/test auth=Container

Context and naming

2003-09-17 Thread Pitre, Russell
I'm trying to understand naming contexts and their implementations in tomcat.looking at the code below, we lookup the jndi resource jdbc/test When tomcat starts up, it parses the server.xml file.It finds: Resource name=jdbc/test auth=Container

RE: tomcat==root

2003-09-17 Thread Pitre, Russell
Sorry, just a test to see if my emails are getting through! -Original Message- From: P.van Kemenade [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 7:09 AM To: Tomcat Users List Subject: tomcat==root Hi I found out that we run our tomcat as user root, and in plain jsp I'm

RE: Tomcat and Initial Naming

2003-09-17 Thread Pitre, Russell
(...) to populate the naming context with your properties. Yoav Shapira Millennium ChemInformatics -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 6:15 PM To: Tomcat Users List Subject: Tomcat and Initial Naming I'm trying to understand

Tomcat and Initial Naming

2003-09-16 Thread Pitre, Russell
I'm trying to understand naming contexts and their implementations in tomcat.looking at the code below, we lookup the jndi resource jdbc/test When tomcat starts up, it parses the server.xml file.It finds: Resource name=jdbc/test auth=Container

Tomcat and Initial Naming

2003-09-16 Thread Pitre, Russell
I'm trying to understand naming contexts and their implementations in tomcat.looking at the code below, we lookup the jndi resource jdbc/test When tomcat starts up, it parses the server.xml file.It finds: Resource name=jdbc/test auth=Container

Tomcat and Naming Context

2003-09-16 Thread Pitre, Russell
I'm trying to understand naming contexts and their implementations in tomcat.looking at the code below, we lookup the jndi resource jdbc/test When tomcat starts up, it parses the server.xml file.It finds: Resource name=jdbc/test auth=Container

RE: Active Directory Single Sign-On

2003-09-10 Thread Pitre, Russell
It sounds like we should come up with a de facto way of achieving SSO with Tomcat and NTLM (since there is plenty of M$ workstations out there).Which leads me to believe that a lot of people could very well benefit from this.. I'm required to implement this for our intranet application

Custom Resource Factory

2003-09-10 Thread Pitre, Russell
Does anyone know where I can find additional information on building a custom resource factory other than this? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.htm l I'm looking to build a resource factory that will give me a reference to another class that will make

Active Directory Single Sign-On

2003-09-09 Thread Pitre, Russell
Hey All- Finally Finally, Finally, I figured out how to authenticate to Active Directory...(code below minus the login form).now to go further, I would like to implement Single Sign-On.somehow we would need to retrieve the user's name and password off their NT machine and use them

RE: Active Directory Single Sign-On

2003-09-09 Thread Pitre, Russell
, September 09, 2003 4:17 PM To: Tomcat Users List Subject: Re: Active Directory Single Sign-On I think you are looking for NTLM authentication which was done by the samba folks. See http://jcifs.samba.org/ -Tim Pitre, Russell wrote: Hey All- Finally Finally, Finally, I figured out how

RE: Tomcat and multiple processors

2003-09-04 Thread Pitre, Russell
Hey people.. Where can i find more information on the web about this subject, specifically setting up multiple jvm's tied to it's respective tomcat installation? Doesn't have to include multiple processors I'm very interested in this subject, basically, just curious as to how it all

RE: Newbie:web application

2003-09-04 Thread Pitre, Russell
ROFL -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2003 11:57 AM To: Tomcat Users List Subject: Re: Newbie:web application ROFL Shapira, Yoav wrote: Howdy, Thank you for the clear instructions ;) I believe I have a fairly firm

RE: War Development w/ JNDI Datasources

2003-08-18 Thread Pitre, Russell
Which file is this? I'd like to read up on it put application specifics in context configuration files. Russ -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 10:40 AM To: Tomcat Users List Subject: Re: War Development w/ JNDI

RE: War Development w/ JNDI Datasources

2003-08-18 Thread Pitre, Russell
, and the contents of that file would be the Context element. The admin and manager Contexts/apps use this method, so every Tomcat install has an example. John Pitre, Russell wrote: Which file is this? I'd like to read up on it put application specifics in context configuration files

OFF TOPIC: Book suggestion.

2003-08-14 Thread Pitre, Russell
Sorry for the off topic question, but I feel this list could benefit from the responses to this question (if they get answered).. Does anyone know of any good books on design patterns concerning MVC and Java and the like.Here's one by the gang of four but it was published in

Off Topic: List Server for Tomcat

2003-07-29 Thread Pitre, Russell
Hello All, This may be off topic. I need a quick fix for an office politics problem which involves a list server. Does anyone know of a free list server for Tomcat? Time is an issue here, so writing one is not really an option..Thanx in advance.. Thanx

RE: Off Topic: List Server for Tomcat

2003-07-29 Thread Pitre, Russell
: List Server for Tomcat Majordomo? http://www.greatcircle.com/majordomo/ Pitre, Russell wrote: Hello All, This may be off topic. I need a quick fix for an office politics problem which involves a list server. Does anyone know of a free list server for Tomcat? Time is an issue here

RE: Off Topic: List Server for Tomcat

2003-07-29 Thread Pitre, Russell
What does this tomcat list use for a list server? -Original Message- From: Rick Roberts [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 10:34 AM To: Tomcat Users List Subject: Re: Off Topic: List Server for Tomcat Majordomo? http://www.greatcircle.com/majordomo/ Pitre

RE: Off Topic: List Server for Tomcat

2003-07-29 Thread Pitre, Russell
save yourself a lot of time and troubles not reinventing the wheel. Majordomo has been around forever... -e On Tue, 29 Jul 2003, Pitre, Russell wrote: I think this is what i'm looking forexcept, its written in PerlI would like an implementation in Java instead. Thanx Russ

RE: Tomcat 5.0.3 on W2K Pro - need to use system classpath

2003-07-09 Thread Pitre, Russell
Does anyone know when the T5 will come out with a final release? -Original Message- From: Norris Shelton [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 8:29 AM To: Tomcat Users List Subject: Tomcat 5.0.3 on W2K Pro - need to use system classpath I currently run TC 4.1.12.

RE: Running Tomcat as Windows Service

2003-07-09 Thread Pitre, Russell
I used this to create my nt service. %CATALINA_HOME%\bin\tomcat.exe -install Tomcat %JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\too ls.jar -Dcatalina.home=%CATALINA_HOME% -start org.apache.catalina.startup.BootstrapService -params

RE: performance

2003-07-08 Thread Pitre, Russell
I think the link may be broken.I couldn't connect Russ -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 3:23 PM To: Tomcat Users List Subject: RE: performance Hi, I suggest a good reading of the webpage :

RE: FORM-based ldap authentication problem

2003-07-01 Thread Pitre, Russell
I've been trying to get form-based ldap authentication workingbut no luck.do you think i could see some sample code? Russ -Original Message- From: Maurice Coyle - Sun Microsystems Ireland [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 12:50 PM To: [EMAIL PROTECTED]

RE: FORM-based ldap authentication problem

2003-07-01 Thread Pitre, Russell
: Thread-Topic: FORM-based ldap authentication problem Thread-Index: AcM/8O7x+q8RZHTaQ5mM0xzRg5mCtAAACyJA From: Pitre, Russell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED], Maurice Coyle - Sun Microsystems Ireland [EMAIL PROTECTED] X-OriginalArrivalTime: 01 Jul 2003 16:52:46.0869 (UTC

Help!

2003-07-01 Thread Pitre, Russell
I'm running TC 4.1.24/ J2SDK 1.4 on Win2k Pro workstationI've created a simple webapp to test form-based authentication against Active Directory...I've had absolutely no luck...Has anyone had any luck with this? Any information would be greatly appreciated...code snippets? I

JNDI and Active Directory.....

2003-06-26 Thread Pitre, Russell
I'm trying to setup my webapp to authenticate to Active Directory. After searching and googling I still cannot resolve my problem. I've created a user named tomcatuser and security group called tomcat in the Users container. I've put my logon in that group tomcat and no success logging into the

RE: JNDI and Active Directory.....

2003-06-26 Thread Pitre, Russell
Also, prior to setting up my webapp to use Active Directory, I had the webapp successfully authenticating to a JDBC realm. -Original Message- From: Pitre, Russell Sent: Thursday, June 26, 2003 4:05 PM To: [EMAIL PROTECTED] Subject: JNDI and Active Directory. I'm trying to setup

RE: JNDI and Active Directory.....

2003-06-26 Thread Pitre, Russell
I also referenced this site.. http://www.java-internals.com/code/jndi_realm.html Thanx again -Original Message- From: Pitre, Russell Sent: Thursday, June 26, 2003 4:10 PM To: Tomcat Users List Subject: RE: JNDI and Active Directory. Also, prior to setting up my

RE: Tomcat JDBC problem

2003-06-06 Thread Pitre, Russell
are you using com.mysql.jdbc.Driver? -Original Message- From: Jason Lanpher [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 11:08 AM To: 'Tomcat Users List' Subject: Tomcat JDBC problem Hi all, I am having a problem making the MySQL JDBC driver version 3 work with

Returning a Resultset...........best practice question

2003-06-06 Thread Pitre, Russell
Running: Tomcat 4.1.24, JSDK 1.4.0_03 I'm writing a class to return a resultSet to use in a JSP page or at least i think thats what i want to do. Whats the best practice to return that resultset.As the class is written below, when i try to iterate through the resultset in the jsp page i

RE: Tomcat JDBC problem

2003-06-06 Thread Pitre, Russell
3.56 Java 1.4.1_02 JDBC/MySQL 3.08 Jason Lanpher [EMAIL PROTECTED] http://www.stealthnetworking.com Remember there are only 10 types of people in this world. Those who understand Binary and those who don't. -Original Message- From: Pitre, Russell [mailto

WEB.xml portablility

2003-06-06 Thread Pitre, Russell
If I make changes that are specific to my web-app in the server.xml file like jndi, mail resources, and my context paramsand i also make the necesarry configurations in my web.xml file..Now, I bundle up my app into a war fileand then go to deploy the web-app on another tomcat

RE: WEB.xml portablility

2003-06-06 Thread Pitre, Russell
who may run it on any other servlet specification 2.3 compliant server. Yoav Shapira Millennium ChemInformatics -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 10:49 AM To: Tomcat Users List Subject: WEB.xml portablility If I make changes

form login

2003-06-06 Thread Pitre, Russell
I know this has been asked beforeso please direct me to any documentations or faq's..I also searched and couldn't come up with anything..so here's it goes === HTTP Status 400 - Invalid direct

Web.xml File

2003-06-05 Thread Pitre, Russell
Does the order of parameters in your web.xml file matter...? I'm getting this error in stderr.log file.what could this mean? INFO: Initializing Coyote HTTP/1.1 on port 8080 Jun 4, 2003 4:57:08 PM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 56 column 12: The

RE: Web.xml File

2003-06-05 Thread Pitre, Russell
review your web.xml to ensure it follows the order mentioned in the error. Regards, -- Jason Bainbridge http://jblinux.org On Thu, 5 Jun 2003 05:06, Pitre, Russell wrote: Does the order of parameters in your web.xml file matter...? I'm getting this error in stderr.log file.what could

beginner Tomcat and ant question.............

2003-06-04 Thread Pitre, Russell
Sorry to bother everyone with these types of questionsbut i'm killing myself over this.. This is a beginner question since i am still a beginner...I'm developing a web-app and using ant as a build tooli keep getting BUILD FAILED

RE: beginner Tomcat and ant question.............

2003-06-04 Thread Pitre, Russell
] Sent: Tuesday, June 03, 2003 11:23 AM To: Tomcat Users List Subject: Re: beginner Tomcat and ant question. On Tue, 3 Jun 2003 22:56, Pitre, Russell wrote: BUILD FAILED fileC:/jakarta-tomcat-4.1.24/webapps/Show-tracker/build.xml:268: C:\jakarta-tom cat-4.1.24\webapps\Show-tracker

RE: beginner Tomcat and ant question.............

2003-06-04 Thread Pitre, Russell
Ok, I'm officially going crazy..somehow my issue has been resolvedI took your suggestions J- and it worked outThanx a lot.I appreciate it. Thanx Russ -Original Message- From: Pitre, Russell Sent: Tuesday, June 03, 2003 11:35 AM To: Tomcat Users List Subject: RE

form login

2003-06-04 Thread Pitre, Russell
I know this has been asked beforeso please direct me to any documentations or faq's..I also searched and couldn't come up with anything..so here's it goes === HTTP Status 400 - Invalid direct

RE: Connecting IIS 5.0 to Tomcat 4.1.24?

2003-06-04 Thread Pitre, Russell
Here's a good link as well... http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html Russ -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 3:02 PM To: Tomcat Users List Subject: Re: Connecting IIS 5.0 to Tomcat 4.1.24? Hi David I