Re: Invoking a servlet from JSP

2001-01-23 Thread Angus Mezick
turn your servlet into a taglib or a javabean. I think you are using the wrong approach using a servlet like this. --Angus "Robert E. Baker" wrote: I have a self-contained servlet that returns a single value. I am trying to include the output of this servlet in-line on an HTML/JSP page.

RE: Can I set up 2 realms for the same server so I can access 2 databases

2003-06-18 Thread Angus Mezick
According to the spec, you can have 0 or 1 realms configured. Now, if you want to rewrite the code that uses the realms for logging people in I think you can use 2 DB's. -Original Message- From: Val T. [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 2:40 PM To: Tomcat Users

RE: Can I set up 2 realms for the same server so I can access 2 databases

2003-06-18 Thread Angus Mezick
Yup, as I read further, it looks like you would need to write your own realm class that will talk to both DB's for you. Sounds like a mess. --Angus -Original Message- From: Angus Mezick Sent: Wednesday, June 18, 2003 2:49 PM To: Tomcat Users List Subject: RE: Can I set up 2 realms

RE: Does Tomcat is OK?

2003-06-19 Thread Angus Mezick
Remember, concurrent users in your case is the number of people that make a request at the EXACT same time. Tomcat should handle this load nicely. -Original Message- From: Cui Xiaojing-a13339 [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 4:28 AM To: [EMAIL PROTECTED]

RE: [OT] best hardware config for Tomcat

2003-06-20 Thread Angus Mezick
The dual processor just allows multithreaded environments like tomcat to run better because 2 threads can be running at anyone time instead of just one. This is especially useful because the GC can run in one proc while the other proc still handles request threads. (I think) --Angus

JDBC Session Manager.

2003-06-24 Thread Angus Mezick
); Angus Mezick GuideStar - Philanthropic Research Inc. 427 Scotland St. Williamsburg, Virginia 23185 PHONE: (757)299-4631 x35 FAX:(757)229-8912 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.guidestar.org http://www.guidestar.org

RE: JDBC Session Manager.

2003-06-25 Thread Angus Mezick
- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 2:01 PM To: [EMAIL PROTECTED] Subject: JDBC Session Manager. This is NOT about the JDBC Session Store. Ok, now that is out of the way. I am working in an environment with a cisco load balancer

InstanceListener

2003-06-25 Thread Angus Mezick
in the archives except checkins. Thanks! Angus Mezick GuideStar - Philanthropic Research Inc. 427 Scotland St. Williamsburg, Virginia 23185 PHONE: (757)299-4631 x35 FAX:(757)229-8912 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.guidestar.org http://www.guidestar.org

RE: InstanceListener

2003-06-26 Thread Angus Mezick
file: ClassLoad.zip) Christian Schuster Rudolf Schuster AG Postfach 277 CH - 3000 Bern 11 http://www.rsag.ch ++41 31 348 05 30 Angus Mezick [EMAIL PROTECTED] r.org To [EMAIL PROTECTED

RE: InstanceListener

2003-06-26 Thread Angus Mezick
Yup, saw that message. I also found one written by Craig that had the syntax I was expecting. As for why I am using it, I am writing a JDBC session manager. The sessions are only in memory when actively being used and then stored in the DB. I figure that 1 network transaction per page to the

RE: problem with clustering using Tomcat 4.1

2003-06-30 Thread Angus Mezick
Check the name of the cookie, the host of the cookie, and the path of the cookie. ESP the path and the host of the cookie. These things need to match. Netscape 7 also have a LiveHTTPHeaders plugin at mozdev.org that is REALLY helpful for debugging this stuff. -Original Message- From:

RE: Retrieving session by the ID

2003-07-01 Thread Angus Mezick
Simha, There are some issues with this. I am currently trying to implement a jdbcsessionmanager and am constantly hitting road blocks. I created my own JdbcSession object and then found out that while HttpRequestBase gets the session from the manager, it does not ask for the façade from the

RE: Retrieving session by the ID

2003-07-01 Thread Angus Mezick
You could create your own session manager to do this. Check out the files in C:\ApacheGroup\Tomcat4.1\src\catalina\src\share\org\apache\catalina\sess ion The findSession method in PersistantSessionManagerBase should help you get started. --Angus -Original Message- From: Simha, Kailas

RE: Insufficient quota

2003-07-01 Thread Angus Mezick
Contact your system admin. They should beable to help. --Angus -Original Message- From: Reis, Tom [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 5:07 PM To: 'Tomcat Users List' Subject: RE: Insufficient quota What can be done about it? Thanks. -Original

How to get the container within an instance event?

2003-07-02 Thread Angus Mezick
with how do I change the default port type q's or the one that debates how features should be implemented. Angus Mezick GuideStar - Philanthropic Research Inc. 427 Scotland St. Williamsburg, Virginia 23185 PHONE: (757)299-4631 x35 FAX:(757)229-8912 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED

RE: Storing the SessionID in the Database.

2003-07-03 Thread Angus Mezick
You want to use a VARCHAR. This is because the jvmroute parameter will be appended to the sessionId. This is the suggested table structure for JdbcStore: create table tomcat_sessions ( session_id varchar(100) not null primary key, valid_session char(1) not null, max_inactive int

RE: How many concurrent session in tomcat 4.1.24

2003-07-07 Thread Angus Mezick
As many as your hardware allows. Requests are mainly CPU limited and sessions are mainly memory/disk space (If you are using a persistent manager that swaps sessions out to disk/DB) limited. This also depends on how complex/big your servlets/jsps/sessions are. You can host a LOT more hello

RE: cookie based session sharing among web apps

2003-07-08 Thread Angus Mezick
Not as far as I can tell from digging through the session manager code. It looks like each context has their own session manager which stores a list of active sessions in a hashmap. I think you are going to have to get rather creative with this one. I.E. create a patch that allows all tomcat

RE: Forward with includes

2003-07-08 Thread Angus Mezick
You can ONLY forward when data hasn't been sent to the web browser. Move your forwards as far up your page as possible or go with a model 2 architecture and put all your logic in a servlet and have the jsp only display data. --Angus -Original Message- From: Nick Stuart [mailto:[EMAIL

[OFFTOPIC??] RE: dbcp connection and database restart

2003-07-09 Thread Angus Mezick
Is there a better way of doing this? Even if I 'select 1 from TABLE' I don't like the fact that there is an extra DB communication for every connection I get from the pool. I don't know if there are alternatives to this in DBCP but are there any other ways to ask if a connection in a pool is

RE: [OFFTOPIC??] RE: dbcp connection and database restart

2003-07-10 Thread Angus Mezick
should reconnect before attempting a call with the connection. Andy -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: 09 July 2003 15:53 To: Tomcat Users List Subject: [OFFTOPIC??] RE: dbcp connection and database restart Is there a better way of doing

RE: tracking downloads

2003-07-10 Thread Angus Mezick
You mean, like use the items in the access log? You could always create a valve that watches for certain paths and updates a DB/file entry or some such. --Angus -Original Message- From: Mark F [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 2:15 PM To: Tomcat Users List

RE: Memory usage

2003-07-10 Thread Angus Mezick
Checkout jvmstat on http://developers.sun.com/techtopics/emergingtech/ -Original Message- From: Luc Foisy [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 3:19 PM To: Tomcat User List (E-mail) Subject: Memory usage Is there a quick and easy way to figure out the actual

RE: tracking downloads

2003-07-10 Thread Angus Mezick
, will not only need to || record the download but query the database (or in this case || documentum) in order to check for a specific attribute relevant to || the report. || || justin || || || At 11:38 AM 7/10/2003, you wrote: ||| Angus Mezick wrote: You mean, like use

1 Manager 3 hosts.

2003-07-10 Thread Angus Mezick
. Angus Mezick GuideStar - Philanthropic Research Inc. 427 Scotland St. Williamsburg, Virginia 23185 PHONE: (757)299-4631 x35 FAX:(757)229-8912 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.guidestar.org http://www.guidestar.org

RE: HELP !!!!!

2003-07-11 Thread Angus Mezick
Um, the file isn't loaded? That looks to be the problem. -Original Message- From: Hamidene, Anis Ben [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 3:43 AM To: [EMAIL PROTECTED] Subject: HELP ! Importance: High Hi, i have configured my application to be

RE: help me immediately

2003-07-14 Thread Angus Mezick
1) Please send this request and all future requests to [EMAIL PROTECTED] 2) When wording your request please be aware that you subject line sounds rude to a group of people that have absolutely no requirement to help you but the goodness in their heart. 3) When making help requests please

RE: How do I get the total number of users logged into my app

2003-07-18 Thread Angus Mezick
Look in the manager app. -Original Message- From: Kevin Ritter [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 3:17 PM To: 'Tomcat Users List' Subject: How do I get the total number of users logged into my app I would like to know if there is a parameter or class or JSP

RE: Loosing DBCP object - how to solve it?

2003-07-21 Thread Angus Mezick
Are you using mysql? If so, are you using this as your jdbc url: jdbc:mysql://MACHINE_NAME/DBNAME?autoReconnect=true -Original Message- From: Jose Euclides da Silva Junior - DATAPREVRJ [mailto:[EMAIL PROTECTED] Sent: Saturday, July 19, 2003 1:17 PM To: '[EMAIL PROTECTED]'

CiscoLB jk2 problem

2003-07-31 Thread Angus Mezick
I need to let apache fail nicely when a tomcat instance has crashed, been stopped or is being restarted. Right now this is what happens through the jk2 connector: I stop apache:10061 - Connection refused I stop one tomcat webapp: HTTP Status 404 I stop the tomcat server: 500 Internal

RE: CiscoLB jk2 problem

2003-07-31 Thread Angus Mezick
each apache two or more tomcats to send sessions too. JK2 will see that tomcat A is down and move to tomcat B. Your application monitoring software should then kick of an alert to notify someone that a tomcat is down and might need human intervention. -e On Thu, 31 Jul 2003, Angus

RE: Docs

2003-08-04 Thread Angus Mezick
The Apache Tomcat Bible from Wiley. -Original Message- From: Werner vd Merwe [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 5:27 AM To: Tomcat Users List Subject: Docs Good day, We are moving over from IIS to Jakarta, but my knowledge of the product is null. I

RE: JVM tuning

2003-08-04 Thread Angus Mezick
Wouldn't AdaptiveSizePolicy help? (saves you the work of Java Heap usage analyzing :-) : I use this on my 2x proc machine. -XX:UseParallelGC -XX:+UseAdaptiveSizePolicy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 9:55 AM To:

RE: Some questions

2003-08-04 Thread Angus Mezick
One thing: UPGRADE TOMCAT FAST! 44M isn't much memory, how much do you have available? -Original Message- From: Satish Talim [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 11:04 AM To: Tomcat Users List Subject: Some questions Hello, In our company, we are using

Jvmroute and worker2.properties worker name

2003-08-04 Thread Angus Mezick
Does the name of the JvmRoute in server.xml have to equal the name of the host in worker2.properties when linking apache and tomcat to get proper session affinity? Angus Mezick GuideStar - Philanthropic Research Inc. 427 Scotland St. Williamsburg, Virginia 23185 PHONE: (757)299-4631 x35 FAX:(757

RE: JVM tuning

2003-08-04 Thread Angus Mezick
: Monday, August 04, 2003 1:03 PM To: Tomcat Users List Subject: RE: JVM tuning Isnt the adaptive sizing only relevant to much larger memory configurations (Im running this JVM with a max heap of 1-1.5Gb? Pete Angus Mezick [EMAIL PROTECTED] 04/08/2003 17:51 Please respond

RE: Connection Pooling HELP

2003-08-04 Thread Angus Mezick
Simple solution, don't use the LE version. Use the full version. Your problems will disappear. -Original Message- From: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 2:07 PM To: 'Tomcat Users List' Subject: RE: Connection Pooling HELP I found out you

RE: request/session handling

2003-08-04 Thread Angus Mezick
All requests will keep executing. The user should get the last result. Hitting reload forces the browser to drop its connection and open another one to the server I think. The server doesn't know the connection has gone AWOL until it tries to send data to the client. --Angus -Original

RE: how to suppor 30000 concurrent users

2003-08-05 Thread Angus Mezick
(heavy load) compared to tomcat? thanks and regards Prince - Original Message - From: Angus Mezick [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 6:37 PM Subject: RE: how to suppor 3 concurrent users With that many users you

RE: how to suppor 30000 concurrent users

2003-08-06 Thread Angus Mezick
With that many users you are going to HAVE to cluster if for no other reason than to provide backup for system maintanence. As to how many, the answer is it depends on the hardware you are going to use and the types of load your webapp puts on the system. When you say 30k concurrent users do you

RE: TOMCAT x WSAD

2003-08-07 Thread Angus Mezick
Oscar de Souza Eduardo Coordenador de Projetos tel: 3047-4541 fax: 3047-4550 [EMAIL PROTECTED] === -Mensagem original- De: Angus Mezick [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 7 de agosto de 2003 11:12 Para: Tomcat Users List Assunto: RE

RE: tried alot of searching - caving in and emailing this list now

2003-08-07 Thread Angus Mezick
Um, are you using the JK2 connector to like up apache and tomcat? I don't see it mentioned. If you are, your workers2.propertties, jk2.properties (sp), and server.xml would also be helpful. --Angus -Original Message- From: jherschel [mailto:[EMAIL PROTECTED] Sent: Thursday, August

RE: Custom Tag Lib

2003-08-08 Thread Angus Mezick
It would be best if you went a rewrote your tags not to require release to be called. That change will also bring you in-line with the jsp spec. These links might help: http://www.onjava.com/lpt/a/1248 http://www.onjava.com/lpt/a/1250 http://jakarta.apache.org/taglibs/guidelines.html

RE: how to suppor 30000 concurrent users

2003-08-08 Thread Angus Mezick
Doesn't seem to have that much of an effect. I guess I should profile it though. I don't want to use session persistence because then I would need to use network session clustering. Session clustering is a requirement for my app. I figure using a DB instead of memory to store my sessions is

RE: Multiple Tomcat instances

2003-08-09 Thread Angus Mezick
Can the developers have a tomcat instance running inside of eclipse on their desktops? This will allow them do use the debugger. --Angus -Original Message- From: Christian Hauser [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 9:57 AM To: Tomcat Users List Subject:

RE: how to suppor 30000 concurrent users

2003-08-09 Thread Angus Mezick
having had to persist the session to disk every time any change is made to it? Pete Angus Mezick [EMAIL PROTECTED] 05/08/2003 15:11 Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: how to suppor

RE: is there a way to download a jsp file from server without executing it?

2003-08-09 Thread Angus Mezick
Write a servlet/jsp that goes and gets the jsp you want and displays it to you. -Original Message- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 2:02 PM To: Tomcat Users List Subject: Re: is there a way to download a jsp file from server without

RE: Help! heavy traffic is crapping out our site every 5 min! DBCP exceptions

2003-08-10 Thread Angus Mezick
to the # of connections that sql server knows about? (assuming tomcat is the only user of connections to this db) trying to check my assumptions here. barclay -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 4:00 PM To: [EMAIL PROTECTED

RE: From which apache virtual host did a request come from?

2003-08-14 Thread Angus Mezick
Angus Mezick wrote: Isn't there an Alias tag within Context? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 9:32 AM To: Tomcat Users List Subject: Re: From which apache virtual host did a request come from

RE: security hole on windows Apache - Tomcat?

2003-08-14 Thread Angus Mezick
Ok. I have this problem but it isn't tomcat that is doing the serving of the JSP source. It is apache. This is my workers2.properties uri section: [uri:www.SITENAME.org/*.jsp] group=lbWWW [uri:www.SITENAME.org/*.adp] group=lbWWW [uri:www.SITENAME.org/*.inc] group=lbWWW

RE: security hole on windows Apache - Tomcat?

2003-08-14 Thread Angus Mezick
Here is the redirect that I use in my virtualhost entry in apache: RedirectMatch (.*?)\s+$ http://www.SITENAMEHERE.org$1 Nicely stops the problem of people adding spaces to their url's. (or any other whitespace for that matter) --Angus -Original Message- From: Angus Mezick Sent

RE: hardware recommendation, Tomcat with Apache web server

2003-08-14 Thread Angus Mezick
Hmm, make sure you have at least 2 webservers and the ability to bring down at least one of them at any time except when you have been posted to slashdot :) -Original Message- From: Paul [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 4:35 PM To: Tomcat Users List

RE: tried alot of searching - caving in and emailing this list now

2003-08-14 Thread Angus Mezick
, and if so why? James Herschel Systems Administrator Quarry Integrated Communications (519)570-2020x2489 (519)503-2563 [EMAIL PROTECTED] -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 1:04 PM To: Tomcat Users List Subject: RE

RE: Jvmroute and worker names?

2003-08-14 Thread Angus Mezick
. I don't think the workers names have anything to do with the jvmroute. They can be different. The jvmroute names have to be unique across all engines that are in the load balanced cluster. -e On Tue, 5 Aug 2003, Angus Mezick wrote: Yup, I guess this is more of a JK2 question. Does

RE: TOMCAT x WSAD

2003-08-14 Thread Angus Mezick
Application is in your root directory? You docBase seems to think so. --Angus -Original Message- From: Oscar (Eccox) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 9:11 AM To: [EMAIL PROTECTED] Subject: TOMCAT x WSAD

RE: Front Controller Servlet

2003-08-14 Thread Angus Mezick
Use a different extension or you aren't getting anywhere. -Original Message- From: Sharon Cohen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 8:43 AM To: [EMAIL PROTECTED] Subject: Front Controller Servlet I am trying to build FrontController servlet for a web site

RE: security hole on windows tomcat?

2003-08-14 Thread Angus Mezick
I just saw this with 4.1.24 on win2k as well. EXTREMELY disturbing! -Original Message- From: Mikko Hämäläinen [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 8:18 AM To: Tomcat Users List Subject: Re: security hole on windows tomcat? Hi, I use Tomcat 4.1.18 on win2k

RE: Help! heavy traffic is crapping out our site every 5 min! DBCP exceptions

2003-08-14 Thread Angus Mezick
), can you suggest how i might locate where those connections are not getting released? i have read some stuff about dbcp not being entirely reliable in releasing connections. is that true? argh. thanks again, barclay -Original Message- From: Angus Mezick [mailto:[EMAIL

RE: Help! heavy traffic is crapping out our site every 5 min! DBCP exceptions

2003-08-14 Thread Angus Mezick
All of these connections are being correctly closed, right? --Angus -Original Message- From: rob engstrom [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 2:08 PM To: 'Tomcat Users List' Subject: RE: Help! heavy traffic is crapping out our site every 5 min! DBCP exceptions

RE: NetBeans Debug in JSP Tag Files

2003-08-14 Thread Angus Mezick
in JSP Tag Files Not annoying at all, all advices are welcome... in fact, I'll give it a try... Any suggestions to start (tutorials, samples, whatever - I don't know much about Eclipse)? Regards, Carlos - Original Message - From: Angus Mezick [EMAIL PROTECTED

RE: Custom Tag Lib

2003-08-14 Thread Angus Mezick
. Shawn -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 8:06 AM To: Tomcat Users List Subject: RE: Custom Tag Lib It would be best if you went a rewrote your tags not to require release to be called. That change will also bring

RE: Can I get an answer please -- Re: Why integrate Tomcat with a web server?

2003-08-14 Thread Angus Mezick
If you do run a benchmark don't forget to turn on mod_cache in apache :) -Original Message- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 11:43 AM To: Tomcat Users List Subject: Re: Can I get an answer please -- Re: Why integrate Tomcat with a web

RE: security hole on windows tomcat?

2003-08-14 Thread Angus Mezick
What about your 4.1.2X URLS? Like the current release. I have the latest apache serving to 4.1.27 and I CAN see the jsp code! -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 9:22 AM To: Tomcat Users List Subject: Re: security hole on

RE: security hole on windows Apache - Tomcat?

2003-08-14 Thread Angus Mezick
:45 AM To: Tomcat Users List Subject: RE: security hole on windows Apache - Tomcat? Can you arrange your file layout in a way, that the jsp's aren't under the document root for apache ? (I guess they are, otherwise apache couldn't show them) -Original Message- From: Angus

RE: security hole on windows tomcat?

2003-08-14 Thread Angus Mezick
: security hole on windows tomcat? did you change any mime-mappings in conf/web.xml? could you have a jsp in there somewhere defining it as text? -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 12:15 PM To: Tomcat Users List

RE: how to suppor 30000 concurrent users

2003-08-14 Thread Angus Mezick
[mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 10:52 AM To: Tomcat Users List Subject: Re: how to suppor 3 concurrent users I have always wondered how serious load balancing was done :) Is this technique documented anywhere? I would love to read up on it. Thanks Angus Mezick

RE: Jvmroute and worker names?

2003-08-14 Thread Angus Mezick
tomcat to send the session to in a loadbalanced env. It's sticky that way. I'm not sure about the clustering but I had always thought that jvmroutes had to be unique. That way it wouldn't mistake one server for the other. -e On Tue, 5 Aug 2003, Angus Mezick wrote: Does the name

RE: Custom Tag Lib

2003-08-14 Thread Angus Mezick
TryCatchFinally is probably not only cleaner, but is also more spec friendly. --Angus -Original Message- From: Mike Cherichetti (Renegade Internet) [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 12:42 PM To: Tomcat Users List Subject: RE: Custom Tag Lib I should have

RE: Help! heavy traffic is crapping out our site every 5 min! DBCP exceptions

2003-08-14 Thread Angus Mezick
block //e.printStackTrace(); } -Original Message- From: Angus Mezick Sent: Friday, August 08, 2003 3:26 PM To: 'Tomcat Users List' Subject: RE: Help! heavy traffic is crapping out our site every 5 min! DBCP exceptions Here is a little snippet I use inside

RE: A good book about Tomcat

2003-08-14 Thread Angus Mezick
Isn't wrox toast? -Original Message- From: Mubaraka Arif [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 3:29 PM To: Tomcat Users List Subject: Re: A good book about Tomcat Professional Apache Tomcat - Vivek Chopra, Ben Galbraith, Sing Li, Romin Irani... [Wrox

RE: From which apache virtual host did a request come from?

2003-08-14 Thread Angus Mezick
Isn't there an Alias tag within Context? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 9:32 AM To: Tomcat Users List Subject: Re: From which apache virtual host did a request come from? Mike Curwen wrote: 1) Is it possible to

RE: Help! heavy traffic is crapping out our site every 5 min! DBCP exceptions

2003-08-14 Thread Angus Mezick
this (other than the logical deduction my sysadmin and i are using right now). thanks a million everybody for trying to be so helpful. barclay -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 2:23 PM To: Tomcat Users List Subject

RE: Changing document root for .jsp files?

2003-08-14 Thread Angus Mezick
Can't you just restrict webapp/ to have only index.jsp and directories and then change all your links? --Angus -Original Message- From: Kurt Overberg [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 9:24 AM To: Tomcat Users List Subject: Re: Changing document root for .jsp

RE: [OT] Any Tool to generate servlet mapping from file system files.

2003-08-14 Thread Angus Mezick
http://www.perl.org/ -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 9:11 AM To: Tomcat Users List Subject: Re: [OT] Any Tool to generate servlet mapping from file system files. If you don't mind the security risk, just use

RE: Question about Notify all online user

2003-08-14 Thread Angus Mezick
Net send * message Wall message :) You could have a custom tag that gets data from the application context and another little servlet that populates the application context. Have the take set display a message and set a cookie if a cookie with the appropriate value isn't already set. This

RE: security hole on windows Apache - Tomcat?

2003-08-14 Thread Angus Mezick
I ONLY see the problem in apache. So I think it is a config problem. Will the jk2 URI : [uri:www.SITENAME.org/*.jsp] catch www.SITENAME.org/index.jsp%20 ? When I turn on the accessvalve tomcat doesn't see this request. -Original Message- From: Jeff Tulley [mailto:[EMAIL PROTECTED]

RE: security hole on windows tomcat?

2003-08-14 Thread Angus Mezick
List' Subject: RE: security hole on windows tomcat? can you turn on debug for the defaultservlet - set it to 99 in conf/web.xml and post the log. -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 12:39 PM To: Tomcat Users List

RE: [OT] Some one executing windows commands in Tomcat 4.1.18.

2003-08-14 Thread Angus Mezick
That 404 means they got a page not found error. This is just some script kiddie looking for problems. I wouldn't worry about it. If you want to creat a servlet mapping that grabs these requests and then pipes them off into the lala land of the never-ending-connection, please do. It would help

RE: security hole on windows tomcat?

2003-08-14 Thread Angus Mezick
Charlie, How do you fix this within apache? -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 10:15 AM To: 'Tomcat Users List' Subject: RE: security hole on windows tomcat? do you have apache on the front end and are you only

RE: security hole on windows tomcat?

2003-08-14 Thread Angus Mezick
Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 11:49 AM To: Tomcat Users List Subject: RE: security hole on windows tomcat? Charlie, How do you fix this within apache? -Original Message- From: Cox, Charlie [mailto:[EMAIL

RE: NetBeans Debug in JSP Tag Files

2003-08-14 Thread Angus Mezick
Don't mean to be annoying but this is EXTREMELY easy to do in eclipse. -Original Message- From: Carlos Cajina - Hotmail [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 6:19 PM To: Tomcat Users List Subject: Re: NetBeans Debug in JSP Tag Files Hi Shawn... Do you

RE: A good book about Tomcat

2003-08-14 Thread Angus Mezick
Get the Apache Tomcat Bible from Wiley. It compares nicely to the wrox book. -Original Message- From: John Blanco [mailto:[EMAIL PROTECTED] Sent: Thu 8/14/2003 11:18 PM To: Tomcat Users List Cc: Subject:Re: A good book about Tomcat Wrox sucked anyway. I

RE: Turning off session persistence

2003-08-14 Thread Angus Mezick
Don't know, with the scattered nature of the FM, any one stating RTFM probably should include which part (FP?) of which FM they want you to R. Or at least give you a keyword to search the FM for. --Angus -Original Message- From: Aurele Venet [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: how to suppor 30000 concurrent users

2003-08-14 Thread Angus Mezick
maintainance. In a clustered app server environment, I'm assuming that each node is downed and updated individually while the other nodes support user requests, or perhaps it's done differently. Can you explain, thanks! Raffi -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED

RE: Tomcat Load Balancing w/out Apache

2003-05-29 Thread Angus Mezick
We currently use a jdbc session manager to allow tomcat to share sessions across 5 servers using a pair of local directors. --Angus -Original Message- From: Jeremy Nix [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 8:59 AM To: [EMAIL PROTECTED] Subject: Tomcat Load Balancing

RE: Memory leak on compile

2003-05-29 Thread Angus Mezick
This says fork is true by default. Why then is he seeing a mem leak if he hasn't changed his config (I am assuming this by his lack of knowledge about the howto). --Angus -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:01 AM To: Tomcat

RE: sendRedirect and page buffers

2003-05-30 Thread Angus Mezick
How about using a servlet to do all your processing and then forwarding to a jsp from there? Will save you all sorts of headaches like this one. -Original Message- From: chanan braunstein [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 10:43 AM To: [EMAIL PROTECTED] Subject:

RE: What is the maximum session handling capability

2003-05-30 Thread Angus Mezick
It sucks when the answer really is it depends. What hardware are you using? The only want to get a REALLY accurate answer is to use a stress testing tool from http://www.opensourcetesting.org/performance.php and see what happens using your hardware/application set up. Then do some config file

RE: Tomcat Memory leaks!

2003-06-03 Thread Angus Mezick
How would setting fork to true change anything? I thought it was the default setting. Am I wrong or is the documentation in web.xml wrong? --Angus -Original Message- From: Alex Burton [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 12:30 AM To: Tomcat Users List Subject:

TO SIMONE LEIGH

2003-06-04 Thread Angus Mezick
Please read the whole message(especially the last couple of lines detailing UNSUBSCRIBE instructions) and do it yourself. -Original Message- From: Simone Leigh [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 1:10 PM To: Tomcat Users List Subject: Re: Forms and JSPs

RE: is session id unique across webapps ?

2003-06-05 Thread Angus Mezick
Hmm, I just read those two thread and I didn't see a final solution. Is getJvmRoute() unique across tomcat instances running on 5 web servers all serving the same app using a JDBC session manager. I know session id is unique within a webapp but what about over a cluster of webapps that don't use

RE: is session id unique across webapps ?

2003-06-05 Thread Angus Mezick
ID + number - therefore always unique. -Original Message- From: Angus Mezick [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 9:28 AM To: Tomcat Users List Subject: RE: is session id unique across webapps ? Hmm, I just read those two thread and I didn't see a final

RE: JVM Profilers

2003-06-11 Thread Angus Mezick
Jvmstat at http://developers.sun.com/techtopics/emergingtech/ is rather cute. -Original Message- From: Roman Fail [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 4:11 PM To: [EMAIL PROTECTED] Subject: JVM Profilers I am considering purchase of JProfiler, OptimizeIt

RE: [ANN] Apache Tomcat mod_jk 1.2.4 Web Server Connector released

2003-06-11 Thread Angus Mezick
I am guessing that people are still encouraged to use mod_jk2 if you are running apache 2 as your front end to tomcat 4.1.24. -Original Message- From: Glenn Nielsen [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 7:59 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL

Mod_jk2 for apache 2.0.43

2003-06-11 Thread Angus Mezick
Can I use http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v 2.0.2/bin/win32/mod_jk2-2.0.43.dll in apache 2.0.46 which has security fixes? Or does this mod need to be recompiled? If so, how? (hopefully with cygwin) Ahh the joys of running on windows.

RE: Mod_jk2 for apache 2.0.43

2003-06-12 Thread Angus Mezick
) with apache 2.0.46, tomcat 4.1.24, j2sdk 1.4.1_03 on windows/2000 professional with latest patches. /mde/ just my two cents . . . . --- Angus Mezick [EMAIL PROTECTED] wrote: Can I use http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2 /release/v 2.0.2/bin/win32/mod_jk2

RE: startup error

2003-06-12 Thread Angus Mezick
Ignore the last advice, set it back to allow forking, and fix your code. At http://java.sun.com/j2ee/sdk_1.2.1/techdocs/api/javax/servlet/jsp/PageContext.html it is stated that handlePageException requires a parameter of type Exception, not of Throwable. Exception implements Throwable but not

RE: Directory Listing in Tomcat 4.1.24

2003-06-12 Thread Angus Mezick
Well, if he got REALLY ambitious he could go edit tomcat itself couldn't he? -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 7:23 AM To: Tomcat Users List Subject: Re: Directory Listing in Tomcat 4.1.24 There is no way to change

RE: Network access

2003-06-12 Thread Angus Mezick
Is local caching an option? Any chance that external machine can somehow serve the information directly? Perhaps using an IFRAME element? --Angus -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 4:57 PM To: 'Tomcat-User List'

RE: Java Blog

2003-06-16 Thread Angus Mezick
Blojsom.sf.net -Original Message- From: Stephen Ting [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 5:53 AM To: [EMAIL PROTECTED] Subject: Java Blog Dear Tomcat users, Where can i get an open source Java blog that i can deploy in my intranet? Thanks Regards,

  1   2   >