Re: ajp over ssl

2004-08-05 Thread Pete Stokes
Problem with IPSEC / ssh tunnels between two machines is that if someone 
compromises one machine, then you've made their life 500% easier getting 
to the next one. Good stuff to connect your home LAN to office LAN, but 
I wouldn't..

I had trouble with the same thing, and the easy solution I found was to 
ReverseProxy apache to Tomcat and in the proxy directive to simply say 
pass it on to https://, and configure Tomcat with it's keystore and hey 
presto. Deviation from connector scene I know, but it works perfectly.

Pete.

Michael Jürgens wrote:

Ruth, Brice wrote:
That's the best idea I can think of, too. With SSH tunnels using 
public key authentication, you can set it up so that the tunnel is 
setup from a system script, without user intervention.

But what if the tunnel breaks? How can I determine that automaticly?
regards,
Michael
David Smith wrote:
I'm not sure this can be done.  Admittedly I didn't look all that 
hard -- maybe someone who did development work on the connectors can 
anwer.

I can suggest what I did which is setup a tunnel (SSH tunnel in my 
case) between the two machines.  Then they (the servers) can talk 
all they want and it covers all services routed through the tunnel 
-- not just apache and tomcat.  Ipsec would work just as well I 
suspect.

Probably not what you wanted, but it's a suggestion still
--David
Michael Jürgens wrote:

Ruth, Brice wrote:
Michael Jürgens wrote:
Oh sorry I was a little bit tired in the morning.
I want to connect the Apache securesd over an unsecure medium 
(Internet)

An my question ist how to connect AJP 1.3 over SSL (not ssh) with 
jk or jk2.

regards,
Michael

Michael,
I believe you'll want to configure your Apache VirtualHost to 
serve your SSL requests, then use the mod_jk (or jk2) module to 
communicate with Tomcat. Is there any reason that your 
web-application (on Tomcat) needs to be aware of the SSL security? 
You can find documentation on securing Apache via SSL on the main 
Apache site (httpd.apache.org). And communicating betw. Apache and 
Tomcat via JK has abundant documentation as well.

Good luck!
No I want to connect an apache webserver over internet to a tomcat
server. So far I have no problem.
My problem is, how to secure the connection between apache and tomcat.
regards,
Michael

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat 5.0.19 dies unexpectedly

2004-07-07 Thread Pete Stokes
Hi,
We've been using Tomcat 5.0.19 for a long time with no problems, 
yesterday, whilst the application was up for almost 3 hours, 
catalina.out suddenly reported that Address already in use:8080 and 
the server process died.

On other server, we do have multiple Tomcats, and this normally happens 
if we make a mistake and put the same HTTP port on two different 
Tomcats, and it fails exactly like this, but in this case it failed 
without prompting after 3 hours. We did have a seperate Tomcat 5.0.25 on 
port 8081, also Apache 2.0.50 on port 80.

Dell Poweredge 2650, RedHat ES3.
Any ideas are welcome ! Please see the error below.
Thanks,
Pete.
9854- WARN MCGOVERNPA/VM9T0OL0 QLF PRD (?:?) - User : HETHERTONS 
attempted to log on, and failed.
9855- WARN ALLENG/VM9PV2NG QLF PRD (?:?) - Unhandled Exception thrown: 
class java.lang.NullPointerException
9856-Jul 6, 2004 11:53:01 AM org.apache.coyote.http11.Http11Protocol init
9857-SEVERE: Error initializing endpoint
9858:java.net.BindException: Address already in use:8080
9859-   at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:302)
9860-   at 
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:184)
9861-   at 
org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1424)
9862-   at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:633)
9863-   at 
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2415)
9864-   at org.apache.catalina.startup.Catalina.load(Catalina.java:549)
9865-   at org.apache.catalina.startup.Catalina.load(Catalina.java:570)
9866-   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
9867-   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
9868-   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
9869-   at java.lang.reflect.Method.invoke(Method.java:324)
9870-   at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
9871-   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
9872-Jul 6, 2004 11:53:01 AM org.apache.catalina.startup.Catalina load

[EMAIL PROTECTED] wrote:
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: scripts for Workers

2004-07-06 Thread Pete Stokes
If you are talking about workers on the same machine, simply hit each 
startup.sh et al in turn.

If you are talking about workers on many different machines :
(On a central PC)
Do an array of server IP's with a common username (i.e. tomcat) - (and 
tomcat directory - i.e. /usr/local/tomcat).
The workers must have the ssh key of the central PC in each known_hosts 
file.
Simply iterate round your workers array (for each IP) and use ssh to 
execure a remote command, $IP $TOMCAT_HOME/bin/startup.sh

Pete.
Boulay Arnaud wrote:
Hi !
I'm looking for scripts that work like startup.sh and shutdown.sh but with multi tomcat targets (workers). 
those scripts are for linux.
Thanks,
Arnaud

	 

 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: AW: How to increase memory

2004-07-02 Thread Pete Stokes
CATALINA_OPTS=%CATALINA_OPTS% -Xms1024m -Xmx2048m   note quotes (need that 
ammendment in Linux, try something similar for Window$e if needed..)
Also, if you put a -Xloggc:/usr/local/tomcat/logs/gc.log (check syntax with java 
-X help)
do Xloggc before and after changing memory size, then have a look if gc cycles change. 
You can use HPjtune to graphically see the cycles. Do you need to include the -server 
in the above string depending on your JVM ?  You want 3-10% max of cpu time in gc and 
periodic cycles. I'd say start from very low initial heap with a decent max setting 
and look at gc.
Anyway, 1GIG initial heap is massive - why u need it so big? I've got a very intensive 
app, and initial heap of 80m, max heap of 768 works fine. Remember, it's a combination 
of initial heap and max heap that determine your apps gc cycles.
Try look at using incremental gc ?? 

Whilst you are testing your app, check cpu usage to see it's not being killed, if so 
get better box.
Pete.



Gunnar Pörschke wrote:
Where do I have to add this? Also in the catalina.bat?
I tested set CATALINA_OPTS=%CATALINA_OPTS% -Xms1024m -Xmx2048m in
Catalona.bat as mentioned from Thilo Krawietz' email.
Still it seems to be very slow.
Thank you
Gunnar
-Ursprüngliche Nachricht-
Von: alu, artifex [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 1. Juli 2004 16:59
An: Tomcat Users List
Betreff: Re: How to increase memory

by setting the environment variable JAVA_OPTS to something like this: 
-Xms32m -Xmx512m
this will cause the vm to allocate 32m at startup and limits the maximum
java heap memory size to 512mb.

you can set the environment variable by adding the following command
somewhere at the beginning of startup.bat:
set JAVA_OPTS=-Xms32m -Xmx512m
art
Gunnar Pörschke wrote:
 

where and how do I increase memory (win2003Srv) for tomcat (4.1.30)?


   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat process memory growth

2004-06-30 Thread Pete Stokes
Question regarding tomcat connectors to apache :
I've experimented with jk jk2 etc, but always found performance to be 
degraded noticably when using apache in front of tomcat with connectors, 
but with tomcat alone it's fine. I've done a reverse proxy from apache 
to tomcat and that flies, so have other people experience the same with 
connectors ?

I know connectors are good for load balancing, but connecting a single 
apache to a single tomcat performance wise, does it work 

Pete.

Adrian Barnett wrote:
On Wed, 30 Jun 2004 18:05:01 +0530, Surendra Kumar 
[EMAIL PROTECTED]  wrote:

Hi
I am using Tomcat 4.1.29 and JDK 1.4.2_04 in my application.  
The  total memory of the process ( VM + Real Memory)
keeps on increasing.  The heap size of VM is not increasing  ( 
verified by printing the free memory) , but the total memory
used by the process increasing.
   Any ideas on how to fix it ?

Are you using mod_jk2 to connect to Apache?
If so, try adding the line
request.registerRequests=false
to your jk2.properties file.
I was also getting a memory-creep until I set that flag.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Apache2 mod_ssl cert error to Tomcat

2004-04-24 Thread Pete Stokes
Hi.

I am trying to get Apache to reverse proxy (thru SSL) to Tomcat5 on a 
different box.

I have a thawte cert, and both Apache / Tomcat work fine with SSL, but 
when trying to pass an SSL session from Apache to Tomcat, Apache reports:

[Sat Apr 24 21:50:09 2004] [error] Certificate Verification: Error (20): 
unable to get local issuer certificate
[Sat Apr 24 21:50:09 2004] [error] (20014)Error string not specified 
yet: proxy: request failed to 10.2.0.62:443 (10.2.0.62)

On the Tomcat side, I am using the Thawte certificate (in a keystore), 
and have also tried the Apache server cert/key that I've generated from 
my own CA in it's place, but I get a similar error.

If any one can help, it's appreciated.

Conversely, if any1 knows how to encrypt packets between two Linux PC's 
(apart from IPsec because that seems bust in RedHat ES3), that'd do me.

Thanks,
Pete.
***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Apache2 encryption to Tomcat5

2004-04-22 Thread Pete Stokes
Hi,

I've got Apache2 reverse proxing to Tomcat5 on a different box 
(Linux's), accepting SSL to Apache and using the SSLProxyXXX directives 
to terminate the SSL connection.

What I need is to provide a low grade encryption between the Apache2 and 
Tomcat5 boxes.

I know in Tomcat conf to uncomment the SSL HTTP/1.1 connector, using the 
SSLServerSocketFactory, but what I can't work out is how to get Apache 
to forward requests to this connector, encrypted.

The reverse proxy is nice and simple, so I hope I can get this to work 
without having to try jk2 connectors.

Any ideas would be great.

Thanks,
Pete.


***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


jk2 connectivity options

2004-04-19 Thread Pete Stokes
Hi.

I'm assuming that JK2 over AF_UNIX socket is meant for apache / tomcat 
on the same box?

Thx.
Pete.


***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat does not start !

2004-04-19 Thread Pete Stokes
locaslhost should be localhost.

if that's an email typo, look in the tomcat logs and see what it says.

Pete.



[EMAIL PROTECTED] wrote:

Hi,
I have installed Tomcat  on my windows machine and set the CATALINA_HOME 
and JAVA_HOME as per installation instruction
 when i try to start my tomcat ser ver i get following  output in the 
 dos prompt and  a new window get initiate d and that get exited 
 instantly.
can anyone tell me what can be the problem
i cant see anthing when i access http://locaslhost:8080

the output on the dos prompt is :--

*C:\Tomcat\catalina\src\binstartup*
*Using CATALINA_BASE:   C:\Tomcat\catalina\src*
*Using CATALINA_HOME:   C:\Tomcat\catalina\src*
*Using CATALINA_TMPDIR: C:\Tomcat\catalina\src\temp*
*Using JAVA_HOME:   C:\jsdk1.4.2*
*C:\Tomcat\catalina\src\bin*
*what can be the problem *
*thanks *
*/rgds /*
Birendar Singh Waldiya



*Ralph Einfeldt [EMAIL PROTECTED]*

19-04-04 05:44 PM
Please respond to
Tomcat Users List [EMAIL PROTECTED]

To
Tomcat Users List [EMAIL PROTECTED]
cc

Subject
RE: Tomcat , APache , Jserv
	





- Tomcat is a servlet and jsp engine.

- Tomcat can be used as a stand alone webserver

- Apache is a webserver (with different features than tomcat,
 if it is better depends on the requirements)
- Apache can be integrated with tomcat by mod_jk[2]
 (So Apache replaces tomcats own http stack)
- jserv is a predessor of tomcat (historical,
 only in parts technical) and had no own http stack.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, April 19, 2004 2:03 PM
To: Tomcat Users List
Subject: Tomcat , APache , Jserv
1. Is Tomcat a separate servlet engine and  webserver ?
2. Is Apache a webserver only ?
3. Can  we integrate Tomcat and Apache ??
 
What i  understood was  Tomcat is a separate webser  servlet engine , 
Apache is a better webserver , we can have use  Tomcat  servlet engine 
and Apache Web server ,
And waht is Jserve???
 
It will help me in making my basic strong

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ForwardSourceID:NT4506



DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery
of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. 
Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services on any subject matter.
Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message 
that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat 4.1.29v5.0.18 performance

2004-02-19 Thread Pete Stokes
I've just got my app load balanced between Apache 1.3  2xTomcat 4.1.29, 
JK, SunJDK1.4.2, all seperate boxes. I have set heap site (JVM settings) 
same as my Tomcat 5.0.18, and guessed minProcessors=100 and 
maxProcessors=300 for server.xml's - config different to 5.0.18.

It's appears about 3x as slow as a single 5.0.18.

I have three questions re this:

1) Has any1 experienced this and found a solution?
2) If I can't get T4.1.29 up2speed, and want to loadbalance with T5.0.18 
/ Apache 2, do people actually use this in production without any major 
issues?
3) If I go point 2, then the only way I've found to provide loadbalancer 
redundancy for those versions is LinuxVirtualServer. Is that correct?

Any comments would be appreciated.

Pete.

***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat 4.1.29v5.0.18 performance

2004-02-19 Thread Pete Stokes
Remy,

With just 1 user, it appears 3x as slow. I understand the max throughput 
will be better, but did not expect this performance degredation with 
just 1 user, I'd assumed slight degredation overall and a lower max users.

Don't suppose you could answer my questions 2  3 ?

Thanks,
Pete.


Remy Maucherat wrote:

Pete Stokes wrote:

I've just got my app load balanced between Apache 1.3  2xTomcat 
4.1.29, JK, SunJDK1.4.2, all seperate boxes. I have set heap site (JVM 
settings) same as my Tomcat 5.0.18, and guessed minProcessors=100 and 
maxProcessors=300 for server.xml's - config different to 5.0.18.

It's appears about 3x as slow as a single 5.0.18.

I have three questions re this:

1) Has any1 experienced this and found a solution?
2) If I can't get T4.1.29 up2speed, and want to loadbalance with 
T5.0.18 / Apache 2, do people actually use this in production without 
any major issues?
3) If I go point 2, then the only way I've found to provide apache
loadbalancer redundancy for those versions is LinuxVirtualServer. Is 
that correct?

Any comments would be appreciated.


If you're comparing with 5.0.18 with the HTTP connector, I'd like to 
point out that the HTTP connector has a higher max throughtput than 
using AJP with a native webserver (esp if TC and the native webserver 
are running on the same server).
If you want to compare the two releases, you should probably be using 
the same configurations ;)



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


lb worker issue

2004-02-19 Thread Pete Stokes
Hi.

I've got load balancing working with Tomcat 5 (Apache 1.3x), but when I 
set the lbfactor to 100 for both Tomcat workers, I get all requests to 
the first defined worker.

If I up the lbfactor of the second box, everything goes to that box.

Whilst using the same apache with Tomcat 4, I had it distributing load, 
but it's seems to have stopped unless it will do the first x sessions to 
one box then swap to the other.

Pete.

***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


TEST

2004-02-18 Thread Pete Stokes
TEST

sorry bout this - new spam filter is blocking me!



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat 5 Apache 1.3x JK still problems

2004-02-12 Thread Pete Stokes
Does the combo of Tomcat 5, Apache 1.3x, and JK work? I can't get it to 
work. If I use the Connector syntax from Tomcat 4 for the ajp13 in 
sever.xml, it can't find the class.

I'd prefer this combo because Tomcat 5 offers easy view of treads/jvm 
memory, and I'd assume it's got better performance than Tomcat 4, but if 
 this does not work I suppose I have to use Tomcat 4 - I need Apache 
1.3x for mod_backhand to provide Apache redundancy.

Thanks,
Pete.
11/02/2004 17:00
Hi.
I've been following docs on setting this up (Apache 1.3x Tomcat 5.0.18, 
jk) for the Tomcat examples, but I get File does not exist: 
/wwwroot/htdocs/examples/ in apache logs. I have Apache and Tomcat on 
different boxes. I am not fussed about serving static content as I will 
eventually use Apache for load balancing.

I must be missing something! Any ideas are appreciated.
Pete.
NB Ta for the stuff on web monitoring.
My Tomcat server.xml snippet is:
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector port=8009 enableLookups=false redirectPort=8443 
debug=0 protocol=AJP/1.3 /

My Apache httpd.conf snippet is:
LoadModule jk_module  libexec/mod_jk.so
AddModule mod_jk.c
JKWorkersFile /wwwroot/conf/workers.properties
JKLogFile /wwwroot/logs/mod_jk.log
JKLogLevel info
JKLogStampFormat [%a %b %d %H:%M%:%S %Y] 
JKRequestLogFormat %w %V %T
JKMount /examples/*.jsp worker1
JKMount /examples/servlet/* worker1
My workers.properties is (apache machine):
ps=/
worker.list=worker1
# Settings for worker1
worker.worker1.port=8009
worker.worker1.host=10.2.0.72
worker.worker1.type=ajp13




***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Web Activity Monitoring

2004-02-11 Thread Pete Stokes
Does an1 know of open source stuff that will monitor hits (distribution 
over day/week///), browser type, etc ?

Similar to www.speed-trap.com

Thanks,
Pete.


***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Web Activity Monitoring

2004-02-11 Thread Pete Stokes
also if we can capture the conversion ratio/stats of users and at what 
point they drop out of an ordering process.

Pete.

Pete Stokes wrote:
Does an1 know of open source stuff that will monitor hits (distribution 
over day/week///), browser type, etc ?

Similar to www.speed-trap.com

Thanks,
Pete.


*** 

This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please notify the 
system manager.
This footnote also confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.
*** 

For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Apache / Tomcat JK problem

2004-02-11 Thread Pete Stokes
Hi.

I've been following docs on setting this up (Apache 1.3x Tomcat 5.0.18, 
jk) for the Tomcat examples, but I get File does not exist: 
/wwwroot/htdocs/examples/ in apache logs. I have Apache and Tomcat on 
different boxes. I am not fussed about serving static content as I will 
eventually use Apache for load balancing.

I must be missing something! Any ideas are appreciated.

Pete.

My Tomcat server.xml snippet is:
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector port=8009 enableLookups=false redirectPort=8443 
debug=0 protocol=AJP/1.3 /

My Apache httpd.conf snippet is:
LoadModule jk_module  libexec/mod_jk.so
AddModule mod_jk.c
JKWorkersFile /wwwroot/conf/workers.properties
JKLogFile /wwwroot/logs/mod_jk.log
JKLogLevel info
JKLogStampFormat [%a %b %d %H:%M%:%S %Y] 
JKRequestLogFormat %w %V %T
JKMount /examples/*.jsp worker1
JKMount /examples/servlet/* worker1
My workers.properties is (apache machine):
ps=/
worker.list=worker1
# Settings for worker1
worker.worker1.port=8009
worker.worker1.host=10.2.0.72
worker.worker1.type=ajp13


***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Snooping on Session data

2004-02-10 Thread Pete Stokes
Hi.

If I have a running Tomcat, am I able to view the actual data in user's 
sessions? Similar to the functionality provided by WebSphere Snoop / ATG 
Dynamo management.

Pete.



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat Manager/Admin authentication

2004-02-10 Thread Pete Stokes
Does any1 know how to turn off the Tomcat prompting for u/p when trying 
to access manager / admin applications ?

Thanks,
Pete.


***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


tldCache.ser

2004-02-10 Thread Pete Stokes
Hi.

What is this file / what does it do ?

Thanks,
Pete.
***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat, Apache, JK/JK2, mod_backhand

2004-02-10 Thread Pete Stokes
I'm currently playing about with the above bits, and mod_backhand needs
Apache 1.x, so I'm wondering if any1 can save me a little time by
telling me if I'm using Apache 1.3.x with Tomcat 5.0.18, which is the
best connector to use, jk / jk2 for a production environment ?

The jk docco on jakarta tell me loads but don't seem to make a real
distinction ?

Thanks
Pete.


***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Connection timing out *annoying*

2004-02-05 Thread Pete Stokes
I have checked the amount of free file descriptors, and I never lose too 
many. I start getting the socket exceptions before file descriptors even 
get down to 200 free.

This should be my last hurdle to getting a decent load test before going 
home to sleep so if any1 can help it would be appreciated !

Tx.
Pete.


Using netstat -a, I see loads of tcp connection in a TIME_WAIT state. 
Accoring to man, this socket is waiting after close to handle packets 
still in the network, so does this mean I have some limitation in the 
linux kernel or tomcat ?

Pete.

Pete Stokes wrote:

 Hi.

 Currently performing a load test, 150 users, and I am getting the below
 error, for 15 simulated users.

 I have
 maxThreads=3000
 minSpareThreads=25
 maxSpareThreads=400
 acceptCount=10
 connectionTimeout=-1
 Xms=64m, Xmx=768m

 Connection timed out from client (Grinder). As I have -1 connection 
timeout, any1 have an idea why I get this message ?

 Thanks,
 Pete.

 5/04 5:55:11 AM (thread 4 run 0): Aborted run, script threw class
 java.net.ConnectException: Connection timed out: connect
 java.net.ConnectException: Connection timed out: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(Unknown Source)
 at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
 at java.net.PlainSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at java.net.Socket.init(Unknown Source)
 at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3212)
 at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:2970)
 at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2792)
 at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2584)







***
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please notify the 
system manager.
This footnote also confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Script for Tomcat monitoring

2004-02-04 Thread Pete Stokes
Hi.

I want to get / write a big brother script for Tomcat to monitor items 
like how many threads are busy, mem free, number of sessions etc. Does 
any1 know of a script in existance (tried deadcat.net), and also does 
anyone know a quick and easy way to get the stats out from the manager 
page in Tomcat?

Thanks,
Pete.
***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Connection timing out *annoying*

2004-02-04 Thread Pete Stokes
Hi.

Currently performing a load test, 150 users, and I am getting the below
error, for 15 simulated users.
I have
maxThreads=3000
minSpareThreads=25
maxSpareThreads=400
acceptCount=10
connectionTimeout=-1
Xms=64m, Xmx=768m
Connection timed out from client (Grinder). As I have -1 connection 
timeout, any1 have an idea why I get this message ?

Thanks,
Pete.
5/04 5:55:11 AM (thread 4 run 0): Aborted run, script threw class
java.net.ConnectException: Connection timed out: connect
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.init(Unknown Source)
at java.net.Socket.init(Unknown Source)
at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3212)
at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:2970)
at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2792)
at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2584)




***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Connection timing out *annoying*

2004-02-04 Thread Pete Stokes
Using netstat -a, I see loads of tcp connection in a TIME_WAIT state. 
Accoring to man, this socket is waiting after close to handle packets 
still in the network, so does this mean I have some limitation in the 
linux kernel or tomcat ?

Pete.

Pete Stokes wrote:

Hi.

Currently performing a load test, 150 users, and I am getting the below
error, for 15 simulated users.
I have
maxThreads=3000
minSpareThreads=25
maxSpareThreads=400
acceptCount=10
connectionTimeout=-1
Xms=64m, Xmx=768m
Connection timed out from client (Grinder). As I have -1 connection 
timeout, any1 have an idea why I get this message ?

Thanks,
Pete.
5/04 5:55:11 AM (thread 4 run 0): Aborted run, script threw class
java.net.ConnectException: Connection timed out: connect
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.init(Unknown Source)
at java.net.Socket.init(Unknown Source)
at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3212)
at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:2970)
at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2792)
at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2584)





***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


multiple apache instances load balancing tomcat

2004-02-03 Thread Pete Stokes
Hi.

I've finally got Apache load balancing with Tomcat, but want to provide 
redundancy to the Apache instance, is there a way to do this so if one 
goes down the second one takes over seamlessly / works concurrently ?

Thanks,
Pete.
***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: multiple apache instances load balancing tomcat

2004-02-03 Thread Pete Stokes
Hi John.

Investigating cost of point 2.
For point 3, I'd assume that all users would then lose their sessions? 
I'd be after sticky sessions, so I guess I'd need memory-memory 
replication between the two apache's, is this possible?

Tx.
Pete.
[EMAIL PROTECTED] wrote:

Pete,
For redundancy in apache the following options are open to you :
1) Use a http sprayer in front of the apache webservers
2) Use a load balancing software such as Stonebeat Webcluster
3) Manual failover. This is where you have two instances of apache
configured and running using the same ip, but only have one of the
up. When your primary node fails down its interface and up the
secondary.
John


Hi.

I've finally got Apache load balancing with Tomcat, but want to provide
redundancy to the Apache instance, is there a way to do this so if one
goes down the second one takes over seamlessly / works concurrently ?
Thanks,
Pete.
***
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: multiple apache instances load balancing tomcat

2004-02-03 Thread Pete Stokes
David,

Problem with using the Tomcat 5 session replication, this 3rd party app 
cannot be clustered that way, it fails. Therefore my only choice is 
sticky sessions.

Pete.

David Rees wrote:

Pete Stokes wrote, On 2/3/2004 8:09 AM:
  [EMAIL PROTECTED] wrote:
  For redundancy in apache the following options are open to you :
  1) Use a http sprayer in front of the apache webservers
  2) Use a load balancing software such as Stonebeat Webcluster
  3) Manual failover. This is where you have two instances of apache
  configured and running using the same ip, but only have one of the
  up. When your primary node fails down its interface and up the
  secondary.
 
For point 3, I'd assume that all users would then lose their sessions? 
I'd be after sticky sessions, so I guess I'd need memory-memory 
replication between the two apache's, is this possible?


If you're clustering multiple Tomcats instances with replicated sessions 
on different machines behind multiple Apache instances on different 
machines, if one of the Apache instances dies you won't lose any 
sessions as your Tomcat instances have not been affected.

With TC 5, you don't even need to use sticky sessions if you're using 
session replication, but I would recommend it anyway.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: multiple apache instances load balancing tomcat

2004-02-03 Thread Pete Stokes
yup, but the app developers say they will address this issue at a future 
point.

Pete.

Rob Augustinus wrote:

does it fail because of placing objects in the session which lack the 
Serializable interface?

Pete Stokes wrote:

David,

Problem with using the Tomcat 5 session replication, this 3rd party 
app cannot be clustered that way, it fails. Therefore my only choice 
is sticky sessions.

Pete.

David Rees wrote:

Pete Stokes wrote, On 2/3/2004 8:09 AM:
  [EMAIL PROTECTED] wrote:
  For redundancy in apache the following options are open to you :
  1) Use a http sprayer in front of the apache webservers
  2) Use a load balancing software such as Stonebeat Webcluster
  3) Manual failover. This is where you have two instances of apache
  configured and running using the same ip, but only have one of the
  up. When your primary node fails down its interface and up the
  secondary.
 
For point 3, I'd assume that all users would then lose their 
sessions? I'd be after sticky sessions, so I guess I'd need 
memory-memory replication between the two apache's, is this possible?




If you're clustering multiple Tomcats instances with replicated 
sessions on different machines behind multiple Apache instances on 
different machines, if one of the Apache instances dies you won't 
lose any sessions as your Tomcat instances have not been affected.

With TC 5, you don't even need to use sticky sessions if you're using 
session replication, but I would recommend it anyway.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



*** 

This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error please notify 
the system manager.
This footnote also confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.
*** 

For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat / WebSphere Performance

2004-02-01 Thread Pete Stokes
Following up from my earlier post re Tomcat performance on different 
platforms, I have 3rd party results on comparing Tomcat and WebSphere on 
different platforms for their app, obviously I don't have intricate 
details about this test.

   Tomcat  WAS Win 2K   WAS iSeries
Overall Average Response time  873ms  680ms22206ms
Overall Trans Average Response 1610ms 1200ms  -
How does this compare to people's experiences, speed comparison, etc as 
per same application in different appservers / os's ?

(Noting WAS=WebSphere app server 4.0.7), Tomcat *probably* 4.1.29. JDK 
for Tomcat unknown.

Any comments would be greatly useful.

Pete.



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat performance

2004-01-30 Thread Pete Stokes
Hi all.

I am wondering about Tomcat performance on different platforms. Any 1 
know which is best / figures, running a standard Java webapp, nothing 
fancy (with JTOpen to an iSeries DB if this makes any difference - 
looking for 1200 users) ???

Tomcat 5.0.18 on

Win2k,
Linux (Intel desktop / Xeon / AMD64)
Sun (Linux / Solaris)
Opinions are appreciated !
Pete.


***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat performance

2004-01-30 Thread Pete Stokes
Thinking more about people experiences running their bits on different 
os's etc, if they got much better results with a different combination etc.

Pete.

Shapira, Yoav wrote:

Howdy,
I'll give my stock opinion: any benchmarks given to you by others are at
best interesting and at worst misleading, the latter being far more
likely.  There's no such thing as a standard webapp, and you have to
benchmark your own webapp against your own expected user load.
Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Pete Stokes [mailto:[EMAIL PROTECTED]
Sent: Friday, January 30, 2004 9:34 AM
To: Tomcat Users List
Subject: Tomcat performance
Hi all.

I am wondering about Tomcat performance on different platforms. Any 1
know which is best / figures, running a standard Java webapp, nothing
fancy (with JTOpen to an iSeries DB if this makes any difference -
looking for 1200 users) ???
Tomcat 5.0.18 on

Win2k,
Linux (Intel desktop / Xeon / AMD64)
Sun (Linux / Solaris)
Opinions are appreciated !
Pete.


***



This email and any files transmitted with it are confidential and
intended

solely for the use of the individual or entity to whom they are
addressed.

If you have received this email in error please notify the system
manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
***



For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender.  Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: verbose gc

2004-01-29 Thread Pete Stokes
Unable to create native thread - I had a quick crack at this one and you 
can up the amount of Threads available to Tomcat in server.xml. You can 
also pass in a -Xss parameter to the JVM re the thread stack size - 
these fixed my identical problem. No worries since. (Tomcat 5.0.1x though).

Pete.





Mohammed Javid - CTD, Chennai. wrote:

Hi,

Thanks for all the help.

We did loadtesting of our application running on tomcat 4.1.27 with jdk1.4
on solaris, we enabled the GC stack to get details of how GC works, we ran
for 1 users with 5 users logging every 30 secs. We set min and max heap
size as 512mb The test ran perfectly for first 2 hours and total heap
ocupied was only 10448K out of total of  519168K , later as test case
progessed for around 10 hours the tomcat stopped responding and it has
thrown OutOfMemoryError , but as can be seen from GC output before
outofmemory error 
the total heap occupied was only 30846K, though we have lot of more space on
heap still tomcat crashed and give connectiontimeout for remaining pages.
When we see the size occupied from top command , when tomcat is started it
was 622Mb and at time of crash it was 723MB.

We are looking for following clarifications
1 What could be the reason for tomcat to crash though we have lot of heap
remaining.
2 Why the memory occupied as seend from top command increased though there
was lot of space on heap
3 We noticed that though heap has space when size seen from top command
reached 720 to 270 mb tomcat crashes.
4 How to make tomcat running without crash , certianly heap is not problem
in this case
5 Is this a known issue, Any optimization to be done to avoid this problem.
The below is the output of the GC after which we get outofmemory error

[GC 55404.101: [DefNew Desired survivor size 2621440 bytes, new threshold 31
(max 31)
- age   1: 359488 bytes, 359488 total
- age   2: 314104 bytes, 673592 total
: 167034K-657K(169600K), 0.2717012 secs] 197223K-30846K(519168K),
0.2745516 secs]
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at
org.apache.catalina.connector.http.HttpProcessor.threadStart(HttpProcessor.j
ava:1178)
at
org.apache.catalina.connector.http.HttpProcessor.start(HttpProcessor.java:12
62)
at
org.apache.catalina.connector.http.HttpConnector.newProcessor(HttpConnector.
java:937)
at
org.apache.catalina.connector.http.HttpConnector.createProcessor(HttpConnect
or.java:868)
at
org.apache.catalina.connector.http.HttpConnector.run(HttpConnector.java:1075
)
   at java.lang.Thread.run(Thread.java:534)

thanks and regards,
Javid

-Original Message-
From: 	Mohammed Javid - CTD, Chennai.  
Sent:	Wednesday, January 14, 2004 10:00 PM
To:	'[EMAIL PROTECTED]'
Subject:	RE: verbose gc

we are using tomcat 4.1 withjdk1.3, we have folowing clarifications

1) [Full GC 34521K-15504K(38328K), 0.5953540 secs]
[GC 27533K-16335K(38328K), 0.0396336 secs]
is the statements got in catalina.out by adding -server -verbose:gc  in
catalina.sh
2) what does the above statements got in catalina.out means, is garbage
collection active. 
When i execute top command on solaris and see the memory it shows  size
and resisdent memory , what is the diference between the two.

3) I see that gc statements are logged to catalina.out but the memory
usage keeps increasing, does it mean there is problem with
garbage collection,
4) can we get more information like how many obejcts created / objects
destroyed during a gc run, what options to pass to get that information
thanks
	 -Original Message-
	From: 	Mohammed Javid - CTD, Chennai.  
	Sent:	Wednesday, January 14, 2004 2:18 PM
	To:	'[EMAIL PROTECTED]'
	Subject:	verbose gc

	Hi,

  When we give verbose:gc in cataline.sh during startup of tomcat
where does
the gc information get logged.
  I am not seeing any information in catalina.out.
	thanks.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


production settings for Tomcat

2004-01-29 Thread Pete Stokes
Hi.

I've had differing comments about certain setting for Tomcat in 
production, namely:

server.xml,
(under default connector port 8080),
how can I guestimate good settings for the maxThreads, 
min/maxSpareThreads looking at a reasonable size app but thinking about 
the RAM etc on the box so that the box gives it all but doesn't give too 
much!

and for JVM options,
-server
-Xss (thread stack size)
Any comments would be useful.

Thanks,
Pete.


***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Really DUMB question...

2004-01-29 Thread Pete Stokes
[EMAIL PROTECTED]

to: and cc:

Robert Keddie wrote:

trying to make rules for the emails form this list and I looked at
headers...
Which dang address are these emails coming from?! Thanks.
Robert Keddie
Web Development
Board of County Commissioners
Marion County Florida




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Are there problems/issues running tomcat with dual Xeon proce ssors and Redhat?

2004-01-28 Thread Pete Stokes
What performance do you get from that box? As in users etc for your 
application ?

Pete.



Hamilton Andrew wrote:

I run it on Dual Xeons and Redhat.  No problems.

-Original Message-
From: tom ly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 2:58 PM
To: [EMAIL PROTECTED]
Subject: Are there problems/issues running tomcat with dual Xeon
processors and Redhat?
My company might have dual Xeon processors and Linux Redhat during
production, are there issues/problem I should be aware of?
-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!


***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Urgent-Java webservers on iSeries and other platforms

2004-01-21 Thread Pete Stokes
Thanks for all your help.

Pete.



Peter Lin wrote:

My friend works at a shop that is heavily IBM centric. They use solaris, and iSeries. they had a similar issue with memory going crazy and not getting cleared correctly. Once they patched the VM, the memory issues went away.

it's possible you may have found a new GC issue, which has no fix yet. The problem he discovered was patched last year. I don't know the details, but the behavior you described sounded very similar to his experience.

this behavior sounds similar to other GC issues. sorry I can't provide more details about my friend's environment, since that information is beyond my reach. I believe he is using jdk1.3.1, since they are very slow with upgrades and typically wait a long time.

peter lin





Pete Stokes [EMAIL PROTECTED] wrote:
Peter,
Apparently we are fully PTF'd up, os, websphere, the works.

Did your friend get it working or did they move platforms?

If your friend whom had similar experiences could share them, it would 
be great to hear what they did. Anything would help because it's got to 
the point of IBM throwing RAM at us. I'm sure at this stage of the game 
we could try and get a finders fee from IBM! ;) (they're throwing RAM 
modules at 8k a pop for nothing so it's worth a go!!)

Regards,
Pete.
Peter Lin wrote:

 

I asked around and a close friend encountered a similar problem a year back. Try patching the VM and the problem should go away.

peter lin

Peter Stokes wrote:
Hi,
I'm on a site where a third party application has been put on WebSphere 4.0.5 on an iSeries 820/V5R2. We have had horrendous performance / stability problems even with 10 users and even IBM cannot seem to help.

Production is currently sitting pretty on a rushed install of SuSE 9 on a Dell desktop with 1gig RAM and Tomcat.

What I am after is opinions / a comparason someone has done (weblink?) / docco about Java webservers performance looking at iSeries, Intel, Sparcs etc. They are into the iSeries/WebSphere 4.0.5 mindset, but no one can answer why this was the recommended setup and they seem to be fixed on this route, but no-one can make it work!

There is nothing else on WebSphere other than this app, so if I can get some info, I then actually have some stats / papers to help recommendations, if IBM cannot fix this in the next couple of days (they've had level 1 guys on it for 6 weeks).

Anything would be a great help.

Pete.



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
   



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Documentation

2004-01-20 Thread Pete Stokes
http://jakarta.apache.org/tomcat/

Gaurav Kadyan wrote:

Hi All,
Could some body tell me where to find documentation for -
1.Realm
2.Filter
3.Valve
4.Container
5.Connector
6.MBean
7.Pipeline
8.LifeCycle
9.Jasper
Thanks in advance,
Gaurav Kadyan
 



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Urgent-Java webservers on iSeries and other platforms

2004-01-20 Thread Pete Stokes
The app is really a basic war file - it uses JTOpen to connect to 
iSeries. Nothing fancy, a few patterns used, no EJBs etc.

Production was rushed onto Tomcat 5.0.16 on a standard Dell desktop with 
1gig RAM running SuSE 9, load tested to 150 users. It flies! Page to 
page times (DB everytime) are incrediblely fast, basically instant even 
under 150 user load test.

On the iSeries, we get over (live objects) 2million Vector object, 
2million PCMLDocuments, and a whole host of other big figures. I used 
JProfiler on the app (Tomcat) and we get nothing like that. IBM seem now 
to say that we need to *dedicate* 2 processors, 4-6gig of RAM to 
continue to test the app on an iSeries (820). We are also totally 
patched up on the iSeries.

Interesting figure is that when the iSeries/WebSphere hangs, we shut off 
the load test and it recovers after 20-30mins with a collected object gc 
figure of 25million+ compared to a normal 5million. The gc cycles also 
intermingle. GC cycle 19 starts, and GC 20 then starts before 19 has 
finished.

I have collected loads of info - if you need anything else give me a shout.

Regards,
Pete.




Peter Lin wrote:

That sounds a bit odd to me. A well designed webapp or ejb shouldn't have horrible performance for 10 concurrent users. If you're using stateful EJB's you may want to profile it first. Without knowledge of what the app does, my first guess is something in the app is eating up all the CPU and memory.

If the app has been profiled aggressively and you know it's not the app itself, i would say install the app on JBoss and compare the performance. If you have hard numbers with the same app, it is much easier to get people to listen.

you can also d/l weblogic and see how it performs. keep in mind weblogic has a limit of 10 concurrent connections, so if you need to load test with more than 10 connections, you'll have to smooze the BEA sales guys. You should be able to get them to give you a temporary one month license with unlimited connections, since they are trying to win customers from IBM.

there are several old benchmarks comparing various servlet containers, which may or may not help. If you use ejb, those results won't do much for you. if you provide more details, you'll get better help :)

peter lin





Peter Stokes [EMAIL PROTECTED] wrote:
Hi,
I'm on a site where a third party application has been put on WebSphere 4.0.5 on an iSeries 820/V5R2. We have had horrendous performance / stability problems even with 10 users and even IBM cannot seem to help.

Production is currently sitting pretty on a rushed install of SuSE 9 on a Dell desktop with 1gig RAM and Tomcat.

What I am after is opinions / a comparason someone has done (weblink?) / docco about Java webservers performance looking at iSeries, Intel, Sparcs etc. They are into the iSeries/WebSphere 4.0.5 mindset, but no one can answer why this was the recommended setup and they seem to be fixed on this route, but no-one can make it work!

There is nothing else on WebSphere other than this app, so if I can get some info, I then actually have some stats / papers to help recommendations, if IBM cannot fix this in the next couple of days (they've had level 1 guys on it for 6 weeks).

Anything would be a great help.

Pete.



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Urgent-Java webservers on iSeries and other platforms

2004-01-20 Thread Pete Stokes
Peter,

Apparently we are fully PTF'd up, os, websphere, the works.

Did your friend get it working or did they move platforms?

If your friend whom had similar experiences could share them, it would 
be great to hear what they did. Anything would help because it's got to 
the point of IBM throwing RAM at us. I'm sure at this stage of the game 
we could try and get a finders fee from IBM!  ;)   (they're throwing RAM 
modules at 8k a pop for nothing so it's worth a go!!)

Regards,
Pete.
Peter Lin wrote:

I asked around and a close friend encountered a similar problem a year back. Try patching the VM and the problem should go away.

peter lin

Peter Stokes [EMAIL PROTECTED] wrote:
Hi,
I'm on a site where a third party application has been put on WebSphere 4.0.5 on an iSeries 820/V5R2. We have had horrendous performance / stability problems even with 10 users and even IBM cannot seem to help.

Production is currently sitting pretty on a rushed install of SuSE 9 on a Dell desktop with 1gig RAM and Tomcat.

What I am after is opinions / a comparason someone has done (weblink?) / docco about Java webservers performance looking at iSeries, Intel, Sparcs etc. They are into the iSeries/WebSphere 4.0.5 mindset, but no one can answer why this was the recommended setup and they seem to be fixed on this route, but no-one can make it work!

There is nothing else on WebSphere other than this app, so if I can get some info, I then actually have some stats / papers to help recommendations, if IBM cannot fix this in the next couple of days (they've had level 1 guys on it for 6 weeks).

Anything would be a great help.

Pete.



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]