incorrect time in the catalina.out logging

2009-03-20 Thread Ghufran
Hi All I am using tomcat 6.0.18 on RHEL 5. The problem is that the time that is printed in the logging of catalina.out is one hour ahead of the server time. For example, when the command line date command said Fri Mar 20 05:57:46 GMT 2009 The time printed in the catalina.out was

Incomplete WAR deployment

2009-03-20 Thread Orson Alvarez
Hello all, We seem to be having the same problem as discussed in this thread: http://marc.info/?l=tomcat-userm=117872182913850w=2 The problem being that Tomcat on rare occasions does not completely unpack a war file. Our install procedure is very cut and dry: 1) stop/kill any running Tomcat

Re: configuration about tomcat for work with mysql/J connector

2009-03-20 Thread Je suis la poubelle
Most Mysql+JSP tutorials found on the web aren't uptodate as they're still teaching people to use org.gjt.mm.mysql.Driver but it's better to use com.mysql.jdbc.Driver, cf: http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html But otherwise it's ok.

AJP Response Header

2009-03-20 Thread Siddharth Shah
Hello, I am using a web resource through NATing I have nated 1.1.1.1: to 2.2.2.2:80, Now when I make http requests to 1.1.1.1:, I can able to access to resources over 2.2.2.2:80 In response.sendRedirct, response send to 1:1:1:1 with 80 poet (Nated IP but Port is not updated-sends

Re: setAlias() for connector object.

2009-03-20 Thread Bhuvanesh Pattanashetti
Hi all, Still i was not able to resolve the below one.. I can see that , Http11Protocol protocol has the public void *setKeyAlias* (java.lang.String keyAlias) where as Http11NioProtocol does not have the same. I m using tomcat 6.0. or do i need to use setAttribute(keyAlias, aliasname); ?

Re: form parameters

2009-03-20 Thread André Warnier
Joseph Millet wrote: Maybe I'm missing something but from the little knowledge I have, I'd think an HTML form is posted encoded in the form enclosing HTML document charset specified in the sent Server headers. So that you settle a page encoded in iso-8859-2, you wouldn't expect a form present in

mysql + tomcat work already but I need to reconfigurate the tomcat for load the examples in other location of the hard driver

2009-03-20 Thread Tomas Rodriguez
Hi everyone Thanks for the help. I have mysql server + tomcat 6.0 running together already, but now I have a problem. my page jsp example I save in the directory c:/tomcat6.0/webapps/examples/jsp, because I tried to copy for other location in the server W2K and dosen't work when I load in the

Re: Applets with IE - difference between Tomcat and plain HTML?

2009-03-20 Thread herbert
Hi, Christopher Schultz-2 wrote: Maybe I'm just not reading this right: when does it work? When does it not work? Does it ever work in MSIE? Under what conditions? Do Java applets work on other websites when you use MSIE? Ok, I'll start a new try to explain the problem: 1)

Re: help building a proxy

2009-03-20 Thread André Warnier
Richard Langly wrote: Hey all, I'm searching for a way to make a proxy server to: - receive a request from a web-browser. - allows me to grab the URL and build a web page. - then forward the request to the destination. - and then allows me to store and access the response

Re: Applets with IE - difference between Tomcat and plain HTML?

2009-03-20 Thread herbert
...another strange thing: The IE just stops showing the HTML-file, when the applet-tag is reached in the source-code of the HTML-file, that is, every HTML-Tag before the applet-tag is shown on the screen, every HTML-Tag after the applet-tag is not shown on the screen. If I ask the browser, to

Re: Applets with IE - difference between Tomcat and plain HTML?

2009-03-20 Thread André Warnier
herbert wrote: ...another strange thing: The IE just stops showing the HTML-file, when the applet-tag is reached in the source-code of the HTML-file, that is, every HTML-Tag before the applet-tag is shown on the screen, every HTML-Tag after the applet-tag is not shown on the screen. If I ask

Re: help building a proxy

2009-03-20 Thread Gregor Schneider
Richard: Are you looking for a transparent proxy? I.e., circumvent some censorship? Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

Tomcat CPU 100%

2009-03-20 Thread MSerraInsiel
Hi all, We have a java web application (deployed on Tomcat 5.5 with java 1.4) that has never had CPU problems. Some days ago we deployed a new version, that had non significant differences, and since this deploy we got frequent CPU 100% usage. users could not work and we needed to rollback to

Re: Applets with IE - difference between Tomcat and plain HTML?

2009-03-20 Thread herbert
Hi! awarnier wrote: applet type=application/x-java-applet width=600 height=350 .. Great post, I've used applet code=Applet.class ... width=90% height=90% / before, if I use applet code=Applet.class ... width=90 height=90 / it works out in IE. I don't have to understand this. ;)

Re: How to make Tomcat serve/listen to one more port?

2009-03-20 Thread Je suis la poubelle
I must admit that I'm lost, despite hours of readings I have to add that Tomcat documentation is never very clear and comprehensible. I can't see how a host can use such and such connector!? I mean, the connector's doc at

Issue with SSL server/ network configuration

2009-03-20 Thread i_am_superman
Hi y'all, I have a fairly complex issue regarding Tomcat server configuration, so I'll try to explain: I have two web applications that need to run in one Tomcat server. Application 1 needs client certificates, so I need to configure an SSL connector with 'clientAuth=yes' Application 2 needs

RE: Issue with SSL server/ network configuration

2009-03-20 Thread i_am_superman
Peter Crowther wrote: From: i_am_superman [mailto:ee...@objectivation.nl] is there a simple way to map one domain name to two different SSL connectors? I don't think there is, unless you want part of your application to be accessible from a different port. So the part that doesn't

RE: Issue with SSL server/ network configuration

2009-03-20 Thread Peter Crowther
From: i_am_superman [mailto:ee...@objectivation.nl] is there a simple way to map one domain name to two different SSL connectors? I don't think there is, unless you want part of your application to be accessible from a different port. So the part that doesn't need certs might be at

Re: Issue with SSL server/ network configuration

2009-03-20 Thread i_am_superman
Gregor Schneider wrote: How about a self-seigned cert? A nasty browser-window will pop up once, however, the users could import the server-cert into their browser, and then they#re done It's gonna be a public government website, so a self-signed certificate will not be an option :-)

Re: Issue with SSL server/ network configuration

2009-03-20 Thread André Warnier
i_am_superman wrote: It's gonna be a public government website, so a self-signed certificate will not be an option :-) Considering the amount of taxpayer money that governments are currently pumping into failed financial institutions and car makers, I'm sure they could afford a 400 €

RE: incorrect time in the catalina.out logging

2009-03-20 Thread Ghufran
Got it here http://www.mail-archive.com/tomcat-u...@jakarta.apache.org/msg145602.html _ From: Ghufran [mailto:ghufra...@vopium.com] Sent: Friday, March 20, 2009 11:07 AM To: 'Tomcat Users List' Subject: incorrect time in the catalina.out logging Hi All I am using tomcat

RE: Issue with SSL server/ network configuration

2009-03-20 Thread Peter Crowther
From: i_am_superman [mailto:ee...@objectivation.nl] I don't think my client will allow me to run a public SSL website any port but 443 (firewalls). Then you'll also need a second IP address on the server, as I'm sure you've already realised. - Peter

Re: Issue with SSL server/ network configuration

2009-03-20 Thread i_am_superman
awarnier wrote: i_am_superman wrote: It's gonna be a public government website, so a self-signed certificate will not be an option :-) Considering the amount of taxpayer money that governments are currently pumping into failed financial institutions and car makers, I'm sure they

Re: mod_jk and 304

2009-03-20 Thread André Cruz
Rainer Jung rainer.jung at kippdata.de writes: On 09.03.2009 18:07, Anthony J. Biacco wrote: Download the latest, configure, make, make install, check for new/deprecated directives in the jk docs, modify configs accordingly, reload apache. I'm running apache 2.2.9, mod_jk 1.2.27 and

RE: Issue with SSL server/ network configuration

2009-03-20 Thread Darren Kukulka
Why not opt for a wildcard certificate for the domain, if that's applicable (e.g. *.yourcompany.com) -Original Message- From: i_am_superman [mailto:ee...@objectivation.nl] Sent: 20 March 2009 11:52 To: users@tomcat.apache.org Subject: Re: Issue with SSL server/ network configuration

Re: Issue with SSL server/ network configuration

2009-03-20 Thread Gregor Schneider
On Fri, Mar 20, 2009 at 12:10 PM, i_am_superman ee...@objectivation.nl wrote: If anyone else has another idea, please respond. How about a self-seigned cert? A nasty browser-window will pop up once, however, the users could import the server-cert into their browser, and then they#re done Rgds

RE: Issue with SSL server/ network configuration

2009-03-20 Thread i_am_superman
Darren Kukulka wrote: Why not opt for a wildcard certificate for the domain, if that's applicable (e.g. *.yourcompany.com) Hi Darren, Interesting idea! What are the restrictions on wildcard certificates? If I have two subdomains with one wildcard certificate, do I still need the two IP

RE: Issue with SSL server/ network configuration

2009-03-20 Thread Peter Crowther
From: i_am_superman [mailto:ee...@objectivation.nl] we have 3 environment (test, accept, prod) so we need 3 extra certificates. No big deal indeed, but I need to be sure that I really need them. Get a wildcard certificate? They're about 3 times the price of a regular cert, and can

RE: Issue with SSL server/ network configuration

2009-03-20 Thread Peter Crowther
From: i_am_superman [mailto:ee...@objectivation.nl] What are the restrictions on wildcard certificates? Some very old browsers don't understand them. Probably not a problem in your environment, but check your client's browser support requirements. If I have two subdomains with one wildcard

RE: Issue with SSL server/ network configuration

2009-03-20 Thread i_am_superman
Peter Crowther wrote: Or is the IP address tied to the (wildcard) certificate? IP addresses are never tied to certificates. Certificates allow browsers to authenticate based on the common name in the certificate, and the hostname that the browser is using to access the site. Yep, I

RE: Question on Executor and maxThreads reported by Manager

2009-03-20 Thread Matt Brown
Actually yes, in our case the image content is not already sufficiently compressed by the content provider - we're seeing a sizeable decrease in the size of the images delivered after enabling gzip on them. Good question though, thank you. -Matt -Original Message- From: Christopher

Re: Issue with SSL server/ network configuration

2009-03-20 Thread Gregor Schneider
On Fri, Mar 20, 2009 at 12:36 PM, André Warnier a...@ice-sa.com wrote: Considering the amount of taxpayer money that governments are currently pumping into failed financial institutions and car makers, I'm sure they could afford a 400 € certificate, no ? Or is it that bad ? +1 Cheers

Re: Issue with SSL server/ network configuration

2009-03-20 Thread Gregor Schneider
Peter, On Fri, Mar 20, 2009 at 2:05 PM, i_am_superman ee...@objectivation.nl wrote: I just don't understand it; how do hosting companies host 2 sites on one box with a certificate each? That'll be a lot of IP address juggling.. Well, we f.e. do have a box 8ok, actually two boxes behind a

Fw: Tomcat 5 with HADR

2009-03-20 Thread Tyson Beffa
Hello- Do you have any suggestions for setting up db2 High-Availability Disaster Recovery with tomcat5. Right now tomcat works with websphere commerce which uses db2. We are in the process of implementing HADR and will need this for tomcat. Is there a new jar file that will be needed or do you

Re: AJP Response Header

2009-03-20 Thread Rainer Jung
On 20.03.2009 09:11, Siddharth Shah wrote: I am using a web resource through NATing I have nated 1.1.1.1: to 2.2.2.2:80, Now when I make http requests to 1.1.1.1:, I can able to access to resources over 2.2.2.2:80 In response.sendRedirct, response send to 1:1:1:1 with 80 poet (Nated IP

How to monitor a Tomcat Java server in case of problems?

2009-03-20 Thread ujjain
What preparations have YOU made to ensure good monitoring of Java threads, etc. in case of problems, memory leaks, etc. I am looking to use Java Servlets for a website with a lot of visitors, but I wish to have made the right preparations in case some programming code causes major outages. --

Re: How to make Tomcat serve/listen to one more port?

2009-03-20 Thread André Warnier
Hi poubelle. (J'ai toujours rêvé de pouvoir écrire ca sans être impoli..). Je suis la poubelle wrote: Currently, I access the Tomcat's default website using an URL like this: http://myservername:x/ All I want to do is to have another website using an URL like this:

RE: How to make Tomcat serve/listen to one more port?

2009-03-20 Thread Caldarale, Charles R
From: Je suis la poubelle [mailto:laps...@gmail.com] Subject: Re: How to make Tomcat serve/listen to one more port? I can't see how a host can use such and such connector!? You can't, nor do you need to. All Host elements share all Connectors within a Service. The content of the URL

Re: Applets with IE - difference between Tomcat and plain HTML?

2009-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 3/20/2009 4:45 AM, André Warnier wrote: applet type=application/x-java-applet That reminds me of something: applet is deprecated in favor of object. Maybe you ought to try object as another alternative. Glad you got it working. Good

Re: Question on Executor and maxThreads reported by Manager

2009-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt, On 3/20/2009 9:10 AM, Matt Brown wrote: Actually yes, in our case the image content is not already sufficiently compressed by the content provider - we're seeing a sizeable decrease in the size of the images delivered after enabling gzip on

Re: mod_jk and 304

2009-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 3/20/2009 8:02 AM, André Cruz wrote: I'm running apache 2.2.9, mod_jk 1.2.27 and tomcat 6.0.18 and I get this problem as well: GET /shibboleth-idp/SSO HTTP/1.1 [snip] HTTP/1.1 302 Moved Temporarily Date: Fri, 20 Mar 2009 11:11:24

Re: Applets with IE - difference between Tomcat and plain HTML?

2009-03-20 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 3/20/2009 4:45 AM, André Warnier wrote: applet type=application/x-java-applet That reminds me of something: applet is deprecated in favor of object. Maybe you ought to try object as another alternative. Yes,

RE: Need Help With Clustered Tomcat Sessions

2009-03-20 Thread Alston, Brian (US SSA)
I feel I must apologise. Upon closer examination, it appears I am having the same problem with my Linux load-balancer as well. It looks like I may a compound issue. The initial confusion started with the different way that Linux and Windows Apache servers handle the trailing slash for a URL.

Re: Applets with IE - difference between Tomcat and plain HTML?

2009-03-20 Thread Andrei Tchijov
This is very very true. I spend eons mocking around with all kind of object/embed combinations, but in the end applet is the only way to do it in cross-browser way. On Mar 20, 2009, at 10:15 , André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: mysql + tomcat work already but I need to reconfigurate the tomcat for load the examples in other location of the hard driver

2009-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 3/20/2009 4:21 AM, Tomas Rodriguez wrote: but now I wanna have in other directory my web pages examples, for instance in d:\websites\examplesJSP, what variable I need to change in the apache tomcat for work?, what files in the server

RE: Question on Executor and maxThreads reported by Manager

2009-03-20 Thread Matt Brown
Here are some quick numbers (provided by YSlow) from the home page of this webapp: Without gzip compression on image/png,image/jpeg,image/gif: 133.1K 12 Images With gzip compression: 1.7K 12 Images ..,Actually now that I'm looking in detail at the numbers reported for each individual image

Re: Tomcat CPU 100%

2009-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 MSerraInsiel, On 3/20/2009 5:40 AM, MSerraInsiel wrote: Hi all, We have a java web application (deployed on Tomcat 5.5 with java 1.4) that has never had CPU problems. Take thread dumps while the CPU is pegged. You didn't mention your Java version,

Re: Tomcat CPU 100%

2009-03-20 Thread MSerraInsiel
java is 1.4.2, the SO is Linux, but we could not dump the comsuming thread because of teh -Xrs option. Now we removed it, but we have old libraries and no CPU problem. In an identical test environment the same problem does not arise, even with -Xrs option and new libraries version. Any ideas?

Re: Tomcat CPU 100%

2009-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 MSerraInsiel, On 3/20/2009 10:48 AM, MSerraInsiel wrote: java is 1.4.2, the SO is Linux, but we could not dump the consuming thread because of the -Xrs option. Now we removed it, but we have old libraries and no CPU problem. In an identical test

very off topic marketing question

2009-03-20 Thread Jason Pyeron
I have a client that is confused why we are giving them a J2EE product and they are concerned with performance and scalability. (IE/Tomcat 5.5/struts 2.1/hibernate 3.x/oracle 10g) Note the system will never see more than 50 users/sessions with 7500 hits per day on a lan. As such we don't see any

RE: mysql + tomcat work already but I need to reconfigurate the tomcat for load the examples in other location of the hard driver

2009-03-20 Thread Caldarale, Charles R
From: Tomas Rodriguez [mailto:admhards...@yahoo.ca] Subject: mysql + tomcat work already but I need to reconfigurate the tomcat for load the examples in other location of the hard driver but now I wanna have in other directory my web pages examples, for instance in

RE: very off topic marketing question

2009-03-20 Thread Caldarale, Charles R
From: Jason Pyeron [mailto:jpye...@pdinc.us] Subject: very off topic marketing question PHP by itself is very fast. Much faster than ASP or JSP running on the same type of server. This is because it has very little overhead compared to its competitors and it pre-compiles all of its

RE: very off topic marketing question

2009-03-20 Thread Matt Brown
I would ask for benchmarks and evidence to back up that assertion. -Original Message- From: Jason Pyeron [mailto:jpye...@pdinc.us] Sent: Friday, March 20, 2009 11:04 AM To: 'Tomcat Users List' Subject: very off topic marketing question I have a client that is confused why we are

RE: very off topic marketing question

2009-03-20 Thread Peter Crowther
From: Jason Pyeron [mailto:jpye...@pdinc.us] PHP by itself is very fast. Much faster than ASP or JSP running on the same type of server. This is because it has very little overhead compared to its competitors and it pre-compiles all of its code before it runs each script How would others

Re: very off topic marketing question

2009-03-20 Thread Mark Thomas
Jason Pyeron wrote: I have a client that is confused why we are giving them a J2EE product and they are concerned with performance and scalability. (IE/Tomcat 5.5/struts 2.1/hibernate 3.x/oracle 10g) Note the system will never see more than 50 users/sessions with 7500 hits per day on a

RE: very off topic marketing question

2009-03-20 Thread Peter Crowther
From: Matt Brown [mailto:matt.br...@citrixonline.com] I would ask for benchmarks and evidence to back up that assertion. There are plenty out there, but mostly old (... PHP4 promises to...). The IBM reference I've posted is relatively new and appears on an initial read to have a reasonable

FW: very off topic marketing question

2009-03-20 Thread Ilya Kazakevich
Number of users is not the only one thing, you need to think about, when you are choosing technology. PHP is a _scripting_ language with out of _static typization_, multi-threading, full OOP support and its API is pretty weak too. Also it is _not_ designed for servlet ideology: each request runs

Parameterizing log4j.properties/xml files

2009-03-20 Thread Ken Bowen
All, Apologies if I've missed the answer to this in the Logging HowTo, the FAQ, or Andre's collection of the logging discussion. Env: TC 6.0.18 + Java 1.5 The issue: I want to have several instances of the same webapp running on the same Tomcat as myapp1, myapp2, etc. That's easy. I'm

Re: FW: very off topic marketing question

2009-03-20 Thread Gregor Schneider
Just ask them to google for security-issues linked to PHP and issues linked to any servlet-container (aka Tomcat). If they want it more specific, ask them to read through some relevant mailing-list-archives such as full-disclosure. OK, that's not about performance, but we f.e. do not use PHP due

RE: very off topic marketing question

2009-03-20 Thread Martin Gainty
Good Afternoon Peter: Apache is hamstrung by the number of prefork processes it can spawn.. http://httpd.apache.org/docs/2.0/misc/perf-tuning.html from what I gather at http://httpd.apache.org/docs/2.0/misc/perf-tuning.html in httpd.conf for mpm_prefork_module determine the size of your average

[OT] RE: very off topic marketing question

2009-03-20 Thread Peter Crowther
From: Martin Gainty [mailto:mgai...@hotmail.com] Apache is hamstrung by the number of prefork processes it can spawn.. Yes. For this job, it's hamstrung by the PHP process being single-threaded and therefore having to spawn and keep multiple copies (each with its own address space) to handle

Re: very off topic marketing question

2009-03-20 Thread Taylan Develioglu
and it pre-compiles all of its code before it runs each script For starters, I'd point out the jsp page compiler does this as well... Then redirect the person to this thread to get lynched. (seriously, aside from the lynching this is a good idea)

RE: very off topic marketing question

2009-03-20 Thread Ilya Kazakevich
For starters, I'd point out the jsp page compiler does this as well... 1) BTW, you do not have to use JSP. I have a very big app, which gives XML as output. I do not need JSP to generate XML, so I use sevlet output directly. 2) You can precompile JSP (well, you can precompile PHP too, see Zend

reversed proxy stopped working with tomcat cluster

2009-03-20 Thread János Löbb
Hi, I have two real machines. One of them is a Windows XP running Apache 2.2.10 + mod_jk /release date of 10/30/2008/ + Tomcat 6.0.16. The other one is a Mac with OSX 10.5.6 with Apache 2.2.9 + mod_jk 1.2.26 and Tomcat 6.0.16. The XP machine runs one instance of Tomcat /node4/. The

Re: How to make Tomcat serve/listen to one more port?

2009-03-20 Thread Je suis la poubelle
On Fri, Mar 20, 2009 at 2:57 PM, André Warnier a...@ice-sa.com wrote: Hi poubelle. (J'ai toujours rêvé de pouvoir écrire ca sans être impoli..). OT: :D Parce que cette adresse-ci est créée pour recevoir des cochonneries comme les pubs, les listes de diffusions, etc. C'est pas mon adresse

RE: How to make Tomcat serve/listen to one more port?

2009-03-20 Thread Caldarale, Charles R
From: Je suis la poubelle [mailto:laps...@gmail.com] Subject: Re: How to make Tomcat serve/listen to one more port? Unfortunately, I really need (b). It's very easy to do (b) in IIS6, but it doesn't seem to be the case in Tomcat (no flame intended, just a pure comparison :p ) I already

RE: How to make Tomcat serve/listen to one more port?

2009-03-20 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: How to make Tomcat serve/listen to one more port? I already told you how: create a second Service, and put the second Connector and another Host inside that. If that's not clear, send me your server.xml, and I'll update it. Should take less than a

Re: Tomcat CPU 100%

2009-03-20 Thread Pid
MSerraInsiel wrote: Hi all, We have a java web application (deployed on Tomcat 5.5 with java 1.4) that has never had CPU problems. Some days ago we deployed a new version, that had non significant differences, and since this deploy we got frequent CPU 100% usage. users could not work

Re: very off topic marketing question

2009-03-20 Thread Pid
Taylan Develioglu wrote: and it pre-compiles all of its code before it runs each script For starters, I'd point out the jsp page compiler does this as well... Not if you precompile your application. So you could, if you're in the mood to use the same arguments, state somewhat

job announcement - Senior Technical Operations Leader

2009-03-20 Thread Michael Osofsky
Senior Technical Operations Leader Location: Mountain View, CA NetBase, a well-funded, fast growing company with an impressive roster of top-tier Fortune 500 companies, seeks to grow its team with a hands-on senior technical operations leader. NetBase delivers Content Intelligence solutions

job announcement - Software Architect

2009-03-20 Thread Michael Osofsky
Software Architect Location: Mountain View, CA NetBase, a well-funded, fast growing company with an impressive roster of top-tier Fortune 500 companies, seeks to grow its team with a hands-on software architect. NetBase delivers Content Intelligence solutions that harness value and insight from

Re: Apache/mod_jk serves random files from tomcat

2009-03-20 Thread SQ
Rainer, Rainer Jung-3 wrote: I guess you mean the lines with the 503 are the bad responses? But those do not indicate, that the probe gets back the page requested by someone else, it shows that the web server or Tomcat throw an HTTP error, namely 503. In this case I would guess, that

Re: Question on Executor and maxThreads reported by Manager

2009-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt, On 3/20/2009 10:34 AM, Matt Brown wrote: Here are some quick numbers (provided by YSlow) from the home page of this webapp: Without gzip compression on image/png,image/jpeg,image/gif: 133.1K 12 Images With gzip compression: 1.7K 12

Re: Need Help With Clustered Tomcat Sessions

2009-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 3/20/2009 10:21 AM, Alston, Brian (US SSA) wrote: When I go to http://192.168.1.100/examples (no trailing slash), I actually get forwarded to a Tomcat server and end up at http://192.168.1.110:8080/examples . If this happens, the Session

Re: very off topic marketing question

2009-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 3/20/2009 11:43 AM, Peter Crowther wrote: When implementing a web server system which will never experience high load, or in which performance, throughput, and reliability under high load is not an issue, then the use of any of the

Re: very off topic marketing question

2009-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 3/20/2009 11:46 AM, Mark Thomas wrote: More seriously, whilst performance should be a factor in technology selection it isn't the only one. Given the the low volume I would suggest that supportability is far more important. If the client

Re: FW: very off topic marketing question

2009-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ilya, Don't get me wrong... I loves me some Java. But... On 3/20/2009 11:55 AM, Ilya Kazakevich wrote: If you are going to move to php, be ready to: 1) loose tools like log4j. log4p? 2) meet API, 10% of which uses OOP and exceptions, and 90% is

Re: [OT] Parameterizing log4j.properties/xml files

2009-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 3/20/2009 12:08 PM, Ken Bowen wrote: But is there any parameter syntax that would allow me to grab the context name and write one log4j.properties with something like this:

Re: How to make Tomcat serve/listen to one more port?

2009-03-20 Thread Je suis la poubelle
On Fri, Mar 20, 2009 at 7:04 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Je suis la poubelle [mailto:laps...@gmail.com] Subject: Re: How to make Tomcat serve/listen to one more port? Unfortunately, I really need (b). It's very easy to do (b) in IIS6, but it doesn't

Re: Parameterizing log4j.properties/xml files

2009-03-20 Thread Rusty Wright
I was doing something like this with LogBack (successor to log4j more or less), but I'm no longer using it and don't remember how I set it up. The class starts as follows: public final class InitLogback extends HttpServlet { @Override public void init() { final String pathPrefix

Re: FW: very off topic marketing question

2009-03-20 Thread Jonathan Mast
Meh. Most Java webapps aren't multithreaded anyway in the sense that each request lives in its own little world and usually runs start to finish with no other threading involved. Just this week I added threading to a component of my web-app. I had some what dreaded it, but found that it took me

Re: help building a proxy

2009-03-20 Thread Richard Langly
Well, that's exactly what I want to do, build a web page from within the proxy server that will be viewed at a later time, and also further pass on the request and expect to get a page back which will also be viewed at a later time. This all happens from the proxy server. 1) receive URL from

Re: help building a proxy

2009-03-20 Thread Richard Langly
If you mean that there are no modifications to the original request or even the response, then yes. It's to be a transparent proxy. On Fri, Mar 20, 2009 at 4:18 AM, Gregor Schneider rc4...@googlemail.comwrote: Richard: Are you looking for a transparent proxy? I.e., circumvent some censorship?