|
Well that answer leads to another. What do you use to pull statistics from your apache logs? WebTrends? Do you know of a good open-source alternative? TIA - Jeff
That one gives the execution time in microseconds (1 second = 1,0000,00 microseconds). I added that one in when we were getting complaints of one of our web services being slow (of course, the problem was with the consuming app). Having that in the log makes it easy to use something like Analog to spit out performance statistics for various requests.On 3/5/2009 at 11:46 AM, "Haas, Matt (CL Tech Sv)" <matt.haas@xxxxxxxxxxx> wrote:
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Dean.Eshleman@xxxxxxxxxxxxxx
Sent: Thursday, March 05, 2009 11:15 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] log all traffic go to our web app server
Hi Matt,
I was reviewing our config file to see what we have specified. Our
LogFormat line doesn't include the "%D". Do you know what the %D gives
you? TIA
Dean Eshleman,
Software Development Architect
Mennonite Mutual Aid, Inc.
Phone: (574) 533-9511 x528
"Haas, Matt (CL Tech Sv)" <matt.haas@xxxxxxxxxxx>
Sent by: web400-bounces@xxxxxxxxxxxx
03/04/2009 06:58 PM
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
To
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
cc
Subject
Re: [WEB400] log all traffic go to our web app server
Put an HTTP server in front of it. When you use the new server wizard, it
will provide a pretty nice log format. One of the things I've added to one
of the busier HTTP servers I manage is the execution time. This is nice if
you want to troubleshoot certain requests. To add that, use this log
format:
LogFormat "%h %l %u %t \"%r\" %>s %b %D \"%{Referer}i\"
\"%{User-Agent}i\"" combined
There probably isn't a native plug-in for jBoss but you can set up a proxy
to do this. You'll need to make jBoss listen on a different port and
create an HTTP server on the port it is currently listening on.
Once that is done, add the following to your httpd.conf file:
LoadModule proxy_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule proxy_http_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule proxy_connect_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
LoadModule proxy_ftp_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
ProxyReverse On
ProxyPass / http://localhost: ( http://localhost/ )<jBoss port>/
ProxyPreserveHost On
If you have a lot of static data (images, css, etc..), you can easily
configure the HTTP server to serve them instead of jBoss which will
improve site performance and scalability (the app server is going to use a
thread for each of these items so the more you off load to something else,
the more real work it can do). There are a couple of ways to do this. You
can either specify a list of virtual directories (these would match the
app context) to proxy (my example proxies the entire site) or use a
special syntax on ProxyPass that excludes certain directories. You can
read more about ProxyPass at
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypass. There are
several other proxy settings you may need to specify depending upon what
your app requires. The link I gave lists them all.
Matt
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Lim Hock-Chai
Sent: Wednesday, March 04, 2009 6:27 PM
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] log all traffic go to our web app server
does any one know if there is a way to catch all the traffics send to
our web-apps server? We uses JBOSS.
thanks
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
______________________________________________________________________
Confidentiality Notice: This information is intended only for the individual or entity named. If you are not the intended recipient, do not use or disclose this information. If you received this e-mail in error, please delete or otherwise destroy it and contact us at (800) 348-7468 so we can take steps to avoid such transmissions errors in the future. Thank you.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
This message has been scanned for viruses by MailControl - www.mailcontrol.com
Click https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== to report this email as spam
If the reader of this email is not the intended recipient(s), please be advised that any dissemination, distribution or copying of this information is strictly prohibited. Johnson Matthey PLC has its main place of business at 40-42 Hatton Garden, London (020 7269 8400).
Johnson Matthey Public Limited Company
Registered Office: 40-42 Hatton Garden, London EC1N 8EE
Registered in England No 33774
Whilst Johnson Matthey aims to keep its network free from viruses you should note that we are unable to scan certain emails, particularly if any part is encrypted or password-protected, and accordingly you are strongly advised to check this email and any attachments for viruses. The company shall NOT ACCEPT any liability with regard to computer viruses transferred by way of email.
Please note that your communication may be monitored in accordance with Johnson Matthey internal policy documentation.
This message has been scanned for viruses by MailControl - www.mailcontrol.com
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.