RE: Suppress "Connection reset by peer: socket write error".

2005-10-13 Thread Robert Graf-Waczenski
Hi Dola, right off of my head, i can't come up with a smart configuration solution that would selectively swallow the message as our approach does. Our app has two shared JSPs that are included in every JSP, one at the top and one at the bottom. The top-included JSP opens the try block (making it

RE: Suppress "Connection reset by peer: socket write error".

2005-10-13 Thread Dola Woolfe
Hi Robert, What a truly fantastic answer! Very detailed and educational. Your timeis deeply appreciated. What I'd like to know is: do I have to do it in every JSP (I have hundreds). And is there a configuration solution as was alluded by Bill previously? Once again, very many thanks!!! Dola --

RE: Suppress "Connection reset by peer: socket write error".

2005-10-13 Thread Robert Graf-Waczenski
Hi! First, some background: The exception your app actually gets internally is a SocketException with the text you mention below. It occurs if the client browser prematurely cancels an http request before tomcat has completed sending the full response data to the client. Another manifestation may

Tomcat hangs with lots of DBCP "Object.wait" processes

2005-10-13 Thread Richard Mixon
I have a customer running Tomcat 4.0.18. About twice a week their system is locking up - obviously we don't know why or I would not be asking. Symptoms 1) CPU usage per TOP is not very high. 2) When requesting the main web page, the page goes white and never returns. When this happened yesterday

Re: JRockIt, Jikes

2005-10-13 Thread Jerome Jar
Yeah, I use JRocket 5 on my develop machine, the performance is improved indeed but not so significantly. I think the performance will differ when deploying applications on real servers. 2005/10/14, Pau Garcia i Quiles <[EMAIL PROTECTED]>: > Hello, > > What's people experience with JRockIt (BEA's

Re: RMI call fails if there is a space in tomcat home path.

2005-10-13 Thread Lyndon Tiu
Sucks. Perhaps you should upgrade (if possible) like what some of the posts in bugzilla mentioned? On Thu, 13 Oct 2005 21:34:59 -0700 (PDT) [EMAIL PROTECTED] wrote: > I tried the first one in your list, > didn't work .. > > -Sanjay > > --- Lyndon Tiu <[EMAIL PROTECTED]> wrote: > > > On Thu,

Re: RMI call fails if there is a space in tomcat home path.

2005-10-13 Thread sanjay paithankar
I tried the first one in your list, didn't work .. -Sanjay --- Lyndon Tiu <[EMAIL PROTECTED]> wrote: > On Thu, 13 Oct 2005 20:49:38 -0700 (PDT) > users@tomcat.apache.org wrote: > > I search on "Bugzilla" got following bug > > > http://issues.apache.org/bugzilla/show_bug.cgi?id=13983 > > > >

Re: RMI call fails if there is a space in tomcat home path.

2005-10-13 Thread Lyndon Tiu
On Thu, 13 Oct 2005 20:49:38 -0700 (PDT) users@tomcat.apache.org wrote: > I search on "Bugzilla" got following bug > http://issues.apache.org/bugzilla/show_bug.cgi?id=13983 > If the workarounds in the bugzilla don't work for you, I would try these three: 1) c:\progra~1\abc 2) C:\\Program\ File

Re: RMI call fails if there is a space in tomcat home path.

2005-10-13 Thread Lyndon Tiu
On Thu, 13 Oct 2005 20:49:38 -0700 (PDT) users@tomcat.apache.org wrote: > I search on "Bugzilla" got following bug > http://issues.apache.org/bugzilla/show_bug.cgi?id=13983 Did you read the bugzilla? In there were a few workarounds and suggested solutions. Did you try them? -- Lyndon Tiu -

RMI call fails if there is a space in tomcat home path.

2005-10-13 Thread sanjay paithankar
Hello Team, Using 4.1.29 tomcat, in project we have to use RMI call, but when user install the product in a path containing space ( like C:\Program Files\abc\) then RMI call fails. I search on "Bugzilla" got following bug http://issues.apache.org/bugzilla/show_bug.cgi?id=13983 but do you face s

Re: Help figuring out Virtual Hosts

2005-10-13 Thread Hassan Schroeder
Dola Woolfe wrote: > All I want is for the user to be able to enter > "serverA" in his/her browser and be forwarded to > "http://server/appA/index.jsp"; and the enter "serverB" > and be forwarded to "http://server/appB/index.jsp";. There is no "forwarding" to be done. You have two hosts, 'server

RE: XP Pro x64 Edition

2005-10-13 Thread Richard Mixon
It works for me just fine. Here are my environment settings: setTomcatEnv.bat - Input parms: C:\jdk1.5.0_05_x64 c:\apache-tomcat-5.5.12 setTomcatEnv.bat - Third parameter (CATALINA_BASE) not supplied, defaulting to CATALINA_HOME setTomcatEnv.bat - JAVA_HOME=C:\jdk1.5.0_05_x64 setTomcatEnv.bat

Re: Suppress "Connection reset by peer: socket write error".

2005-10-13 Thread Dola Woolfe
Hi Bill, Thanks for your answer and sorry for the delay in my reply! I'm using standalong Tomcat 5.5 listening on port 80. I'm using jdk 1.5 on WinXP. I'm not using any special logging. I'm running Tomcat in a console, simply by typing "startup" in tomcat/bin. What I don't want happening is for

Re: Help figuring out Virtual Hosts

2005-10-13 Thread Dola Woolfe
Hi, Getting back to this on a delay because: I just can't figure it out!!! This is probably because I'm dumb, but it's just too complicated for me. Can someone please provide an example that would illustrate how to do this? All I want is for the user to be able to enter "serverA" in his/her bro

Re: Systems Architecture Pros and Cons

2005-10-13 Thread Peter Johnson
And you did :-) I'm sorry if my reply sounded grumpy (did it?). I guess I misinterpreted your intention for open discussion. No wasn't grumpy I was a little frustrated as the discussion had gone off the bat from the beginning :( The reason why I said two TCs is, well, it would be nice to h

Re: Systems Architecture Pros and Cons

2005-10-13 Thread Peter Johnson
If you measure the resource util on the apache boxes while under load, you may find that you can get by with A single apache instance and 4 tomcat instances (each on it's own box). You may be able to but you lose the ability to load balance across the Apache instances for high-availability.

Re: XP Pro x64 Edition

2005-10-13 Thread Matt Whisenhunt
Hmrp! This is what is showing up in my logs... I dont know how to attempt a start to get more verbose errors: [2005-10-13 16:10:48] [173 javajni.c] [error] The specified module could not be found. [2005-10-13 16:10:48] [924 prunsrv.c] [error] Failed creating java B:\Tomcat\jre\bin\server\jvm.

Re: XP Pro x64 Edition

2005-10-13 Thread Victor Star
Sound like today is x64 day :) I've just asked a question about connecting Tomcat with IIS. Tomcat itself installed fine on Windows 2003 x64 (Intel). Runs no problem on it's 8080 port. But looks like there is no isapi_redirect.dll build for Intel x64 Windows platform :( > Has anyone gotten tomcat

XP Pro x64 Edition

2005-10-13 Thread Matt Whisenhunt
Has anyone gotten tomcat running on MS Window XP Professional x64 Edition? Is there any documented procedure of how to work such magic? Thanks, Sorry if I repeated someone, I am not really good at searching archived mail lists, -Matt --

Re: Re[2]: Jakarta Isapi Redirector on x64 Windows 2003 server / IIS 6.0

2005-10-13 Thread Lyndon Tiu
Perhaps you should consider compiling it on the machine from source if you can get a hold of VS .Net 64 bit. One thing I found is that isapi_redirect.dll is very finicky. Works for one machine, doesn't work on another with the exact same specs. I had issues with idapi_redirect.dll on "some" 32

JRockIt, Jikes

2005-10-13 Thread Pau Garcia i Quiles
Hello, What's people experience with JRockIt (BEA's JVM, http://www.bea.com/framework.jsp?CNT=index.htm&FP=/content/products/jrockit)? Is it any good? Is it better than Sun's? The same question for Jikes: is it worth to replace Jasper with Jikes? Will it improve Tomcat performance significantly?

Re[2]: Jakarta Isapi Redirector on x64 Windows 2003 server / IIS 6.0

2005-10-13 Thread Victor Star
Hi Lyndon, >> No error messages anywhere. > When you said no error messages anywhere, did you mean to include the Windows > Event Viewer? Yes. For 64-bit AMD build there are errors. One about dll wanting AMD and another just saying ISAPI filter can't be loaded - just after the first one. But f

Re: How to re-direct Tomcat output from console to file?

2005-10-13 Thread Lyndon Tiu
One way is to run Tomcat as a Windows service. This way, all log output messages go to catalina.out. On Thu, 13 Oct 2005 22:08:23 0200 users@tomcat.apache.org wrote: > you can find tomcat logs in $CATALINA_HOME/logs/catalina.out > > Mauricio Fernández A. > Ingeniero de Sistemas > U. Autónoma de

Re: Jakarta Isapi Redirector on x64 Windows 2003 server / IIS 6.0

2005-10-13 Thread Lyndon Tiu
On Thu, 13 Oct 2005 16:30:50 -0400 users@tomcat.apache.org wrote: > No error > messages anywhere. When you said no error messages anywhere, did you mean to include the Windows Event Viewer? -- Lyndon Tiu - To unsubscribe, e-

Jakarta Isapi Redirector on x64 Windows 2003 server / IIS 6.0

2005-10-13 Thread Victor Star
Hi guys, I've been using different versions of Tomcat for a few years now. All on windows machines. Used to get IIS and Tomcat working together with Jakarta Isapi Redirector. Now I'm setting up a new server that runs on x64 flavor of Windows 2003 server, Intel CPU. Spent half day but can't make

RE: How to search in Tomcat Mailing list archive?

2005-10-13 Thread GB Developer
I kinda like : http://marc.theaimsgroup.com/?l=tomcat-user&r=1&w=2 Doesn't seem to have anything from today. Must be the new email address. > -Original Message- > From: Philip Chang [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 13, 2005 2:20 PM > To: users@tomcat.apache.org > Subje

RE: How to search in Tomcat Mailing list archive?

2005-10-13 Thread Mauricio Fernandez A.
hhh few days ago I was reading a lot becouse it seems is not way to search, so if there is once it is good idea somebody post it Mauricio Fernández A. Ingeniero de Sistemas U. Autónoma de Manizales -Mensaje original- De: Philip Chang [mailto:[EMAIL PROTECTED] Enviado el: jueves, 13 oc

RE: How to re-direct Tomcat output from console to file?

2005-10-13 Thread Mauricio Fernandez A.
you can find tomcat logs in $CATALINA_HOME/logs/catalina.out Mauricio Fernández A. Ingeniero de Sistemas U. Autónoma de Manizales -Mensaje original- De: Philip Chang [mailto:[EMAIL PROTECTED] Enviado el: jueves, 13 octubre, 2005 21:10 Para: users@tomcat.apache.org Asunto: How to re-direct

Re: Compiling mod_jk on FreeBSD

2005-10-13 Thread Mike Stevens
--- Randy Kunkee <[EMAIL PROTECTED]> wrote: >Haven't looked at the code, but probably "t" is not an int. If it's a >pointer, you're in for trouble. > >Just to take a stab at it, try just casting the t instead of the >whole expression. The following should compile and might even work: > >

How to search in Tomcat Mailing list archive?

2005-10-13 Thread Philip Chang
Hello, Maybe I am missing something obvious, but when I visited the following Tomcat mailing list archive: http://mail-archives.apache.org/mod_mbox/jakarta-tomcat-user/ I could not find any "search" option...The webpage only displayed a list of monthly archives, from 2000 to 2005. How c

Re: Windows Installer for 5.5.12 leaves out Scripts in /bin

2005-10-13 Thread David Kerber
That would be fine, too, but all I'm really asking for is that this difference actually be mentioned on the page which discusses what's in each download. It doesn't seem to be mentioned _anywhere_ that I can find; see my post below... Seak, Teng-Fong wrote: I'd rather like an option to

How to re-direct Tomcat output from console to file?

2005-10-13 Thread Philip Chang
Hello, I am running Tomcat 5.0.27 on Windows 2000 Pro. When I start Tomcat via C:\Tomcat 5.0\bin\startup.bat Tomcat would dump out many trace messages to the Windows Command Prompt, such as: usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming

Re: Windows Installer for 5.5.12 leaves out Scripts in /bin

2005-10-13 Thread Seak, Teng-Fong
I'd rather like an option to install these extra files while using the installer, which is far more easier to use than the zip file. Not everyone would need those batch files, for example. [EMAIL PROTECTED] wrote: >I agree. Who do we tell? > > >-Original Message- >From: David Kerber

Re: Compiling mod_jk on FreeBSD

2005-10-13 Thread Randy Kunkee
Haven't looked at the code, but probably "t" is not an int. If it's a pointer, you're in for trouble. Just to take a stab at it, try just casting the t instead of the whole expression. The following should compile and might even work: int tid = (int)t & 0x; Randy On Oct 13, 200

Re: Tomcat 4.1.31 hangs after 2 days .. any idea on what going on .. ?... please help

2005-10-13 Thread David Gagnon
Thanks for your help guys ! I try to inspect the thread to find where they are blocked! Regards /David GB Developer wrote: You could try getting a thread dump. KILL -3 is the pid of your tomcat process. The output of this command should be in catalina.out, or wherever you have (re)direct

Tomcat shutdown fails

2005-10-13 Thread Mauricio Fernandez A.
Hi I have a strange situation with tomcat shutdown command, always when I run it I can see the tomcat stop message, however if i try to navigate to a web application I can, it is like another tomcat instances are running too, so to stop it I have to use this kill -9 `ps ax | grep java | grep -v g

RE: Tomcat 4.1.31 hangs after 2 days .. any idea on what going on .. ?... please help

2005-10-13 Thread GB Developer
You could try getting a thread dump. KILL -3 is the pid of your tomcat process. The output of this command should be in catalina.out, or wherever you have (re)directed stderr. Look into this output for threads you've created (or tomcat processing threads) that seem to be hung up on code you've

Re: Tomcat 4.1.31 hangs after 2 days .. any idea on what going on .. ?... please help

2005-10-13 Thread David Gagnon
Thanks for your answer ! I'll check for that but like I said : In my webapp I have a thread that look into the db .. I know that this thread is still working properly. Is someone have any idea on what So sound to me that the problem is elsewhere. But I will check for that anyway! Thanks f

RE: Tomcat 4.1.31 hangs after 2 days .. any idea on what going on .. ?... please help

2005-10-13 Thread Matt Wiseley
David, Are you using a JDBC connection pool? I've seen Tomcat "hang" in this way when there is a mismanaged connection pool (i.e. connections are being left open until the pool runs out). Something to check any way... Matt -Original Message- From: David Gagnon [mailto:[EMAIL PROTECTED]

Compiling mod_jk on FreeBSD

2005-10-13 Thread Mike Stevens
I’m trying to compile mod_jk 1.2.14 under FreeBSD 5.3. I have searched the tomcat archives for the last 6 months, and done some googling as well, to no avail. I am getting the following error building mod_jk with gcc 3.4.2 and gmake 3.80: Making all in common gmake[1]: Entering directory `/u

Tomcat 4.1.31 hangs after 2 days .. any idea on what going on .. ?... please help

2005-10-13 Thread David Gagnon
Hi all, I have tomcat server in production and after some time (maybe 2 or 3 days) it stops answering request. When I acces the login page with my browser it just waits indefinitly for the page to load.. nothing happen. In my webapp I have a thread that look into the db .. I know that this

Re: filter: How to set browser encoding?

2005-10-13 Thread Mark
Latest news! I find out that after removing resp.setContentType("text/html"); from the doPost() method everything starts working!!! By reading servlet spec, I figure out that doFilter get called before Servlets' doPost() Serlet 2.3 spec about filtering: QUOTE When the container receives an incomi

Application hanging

2005-10-13 Thread Leung, Kin M
I got a hang on my webapp, and the JBoss-Tomcat status page shows me this http-0.0.0.0-8080 Max threads: 150 Min spare threads: 25 Max spare threads: 75 Current thread count: 25 Current thread busy: 9 Max processing time: 35141 ms Processing time: 155 s Request count: 138 Error count: 12 Byt

HTTPS securing of manager web app and basic authentication

2005-10-13 Thread David Wall
I've just installed TC 5.5.12 and have configured it to allow for HTTPS with the standard test port of 8443 and the redirect port on the 8080 connector pointing to it. Then, in the server/webapps/manager/WEB-INF/web.xml file, I added the following lines below the security constraint that comes

RE: REMOVE YOUR SUPPORT EMAIL ADDRESS FROM THE LIST: Re: Re: AW: rueh:Problem with charsets with apache,tomcat, mysql --> Ref #[1M8BRAAIQT5hlre]

2005-10-13 Thread Tracy Spratt
I am getting these emails by mistake, I believe. I have nothing to do with Juno. Tracy Spratt Lariat Technology, Inc. -Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Thursday, October 13, 2005 11:07 AM To: [EMAIL PROTECTED]; tomcat-user@jakarta.apache.org Subject:

REMOVE YOUR SUPPORT EMAIL ADDRESS FROM THE LIST: Re: Re: AW: rueh:Problem with charsets with apache,tomcat, mysql --> Ref #[1M8BRAAIQT5hlre]

2005-10-13 Thread Wade Chandler
--- [EMAIL PROTECTED] wrote: > > Dear Wade Chandler <[EMAIL PROTECTED]>, > > Thank you for contacting the Juno Help Center. > > Please be advised that this is an automated response > aimed at assisting you with some common issues. If > your concern is not addressed, please write back to > us wi

Re: AW: rueh:Problem with charsets with apache,tomcat, mysql

2005-10-13 Thread Wade Chandler
--- "rueh hänä" <[EMAIL PROTECTED]> wrote: > Hi. > > I used de_DE, too, same effect.. I dont know, whats > happening. The best > setting until now was UTF-8, because at least the > html-sites were displayed > correctly. The old server uses de_DE, too, and the > configs are set to > iso-8859-15. N

Re: AW: rueh:Problem with charsets with apache,tomcat, mysql

2005-10-13 Thread rueh hänä
Hi. I used de_DE, too, same effect.. I dont know, whats happening. The best setting until now was UTF-8, because at least the html-sites were displayed correctly. The old server uses de_DE, too, and the configs are set to iso-8859-15. Now i set this setting once again, to be secure. But as i expec

RE: Sudden JVM crashes - a Tomcat problem?

2005-10-13 Thread George Sexton
I was running Suse 9.2 w/ 1.4.2_08 and no issues. I upgraded to 9.3 with JDK 1.5.0_03 because there were some MAJOR performance improvements. I'm running that combo with about 60 virtual hosts on one machine and no issues. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9

RE: Systems Architecture Pros and Cons

2005-10-13 Thread Matthew Clark
> -Original Message- > From: Peter Johnson [mailto:[EMAIL PROTECTED] > Sent: 13 October 2005 10:03 > To: Tomcat Users List > Subject: Re: Systems Architecture Pros and Cons > > > It will depend a great deal on the nature of your application and how > > many end users you think you may ha

C#.Net Usercontrol as dll placed in Tomcat Server is not getting downloaded in IE...

2005-10-13 Thread krishnans
Hi!, Wishes. I have created and compiled a dll( that has a user control in it) using the .Net Framework ( Class Library Template ). Then Created a HTML Page embedding the .Net user controls in HTML object tag. But the user control is not getting downloaded in IE 6.0 The dll is placed alo

Re: The query string

2005-10-13 Thread David Tonhofer, m-plify S.A.
Yes. Try the HttpServletRequest.getRequestURI() and HttpServletRequest.getQueryString() or something like that. --On Thursday, October 13, 2005 11:15 PM +1000 Kyle <[EMAIL PROTECTED]> wrote: Aren't these just ServletRequest parameters, so request.getParameter(string) should do it shouldn't it

Re: effects of defining twice

2005-10-13 Thread sudip shrestha
Just wanted to mention, cpu usage and memory usage just look fine and there is no output/exception on any of the log files during the lock up period. -- Forwarded message -- From: sudip shrestha <[EMAIL PROTECTED]> Date: Oct 13, 2005 9:04 AM Subject: effects of defining twice To:

RE: upgrade from 5.0.28

2005-10-13 Thread Caldarale, Charles R
> From: Mark [mailto:[EMAIL PROTECTED] > Subject: upgrade from 5.0.28 > > Can somebody recommend the version for upgrade from tomcat 5.0.28 > that will use java 1.4.2. All Tomcat 5.5 versions run on JRE 1.4.2 when the Compat.zip download is installed. Version 5.5.12 has just recently been marke

effects of defining twice

2005-10-13 Thread sudip shrestha
Configuration: Tomcat 5.5.7 + JDK 1.5.0_01 + Struts 1.2.7 + Hibernate 2.1.8+ Debian Sarge + Kernel 2.6.9 + Apache 2.0.53 I found that my administrator had forgotten to remove element from the server.xml file when I had META-INF/context.xml (which in effect creates the webAppName.xml file in tomca

upgrade from 5.0.28

2005-10-13 Thread Mark
Hello, Can somebody recommend the version for upgrade from tomcat 5.0.28 that will use java 1.4.2. Thank you, Mark. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ---

RE: Sudden JVM crashes - a Tomcat problem?

2005-10-13 Thread Caldarale, Charles R
> From: Joakim Ahlén [mailto:[EMAIL PROTECTED] > Subject: Re: Sudden JVM crashes - a Tomcat problem? > > I am not a JVM-guru, but I'm guessing here. Tomcat 5.5 > demands, as far as i know, jdk 1.5. That's simply not true. Tomcat 5.5 runs fine on a 1.4 JRE once the Compat.zip download is insta

Re: Sudden JVM crashes - a Tomcat problem?

2005-10-13 Thread David Delbecq
Joakim Ahlén a écrit : > Hi, > > I am not a JVM-guru, but I'm guessing here. Tomcat 5.5 demands, as far > as i know, jdk 1.5. You're not stating which version of tomcat you're > using so this might not even be the case for you. Or java 1.4 with an additional support pacakge, as tomcat state when

Re: The query string

2005-10-13 Thread cristi
The solution proposed by David is convenient in some cases, but if my servlet makes a forwarding to a .jsp then it doesn't work. cristi Hello all If a client makes the following request to a servlet container : http://localhost:8080/cont/admin/page.jsp?doc=1002003&id=ZTJ006P1005 is it poss

Re: Sudden JVM crashes - a Tomcat problem?

2005-10-13 Thread Joakim Ahlén
Hi, I am not a JVM-guru, but I'm guessing here. Tomcat 5.5 demands, as far as i know, jdk 1.5. You're not stating which version of tomcat you're using so this might not even be the case for you. I'm not sure if this can cause a JVM crash like this, but my idea is that class files compiled wi

RE: The query string

2005-10-13 Thread Matt Wiseley
Cristi, Take look at http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSer vletRequest.html Using a combination of getRequestURL().toString() and request.getQueryString() should give you what you're looking for. Matt -Original Message- From: Kyle [mailto:[EMAIL PROTE

RE: Systems Architecture Pros and Cons

2005-10-13 Thread Philippe Waltregny-Dengis
Hello, As you're speaking about architecture with several Apache and Tomcat instances, do you know whether a central manager exists to administrate (deploy, start, stop, Web plug-in update, ...) Web applications at first on a single node of the architecture, and then to propagate the changes to ev

AW: rueh:Problem with charsets with apache,tomcat, mysql

2005-10-13 Thread Marcus Franke
Hi, have the "same" problem with a RHEL WS4. Try using de_DE as your locale not the UTF-8 Version > -Ursprüngliche Nachricht- > Von: "rueh hänä" [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 13. Oktober 2005 15:32 > An: tomcat-user@jakarta.apache.org > Betreff: rueh:Problem with cha

rueh:Problem with charsets with apache,tomcat, mysql

2005-10-13 Thread rueh hänä
HI folks Soon i get desperate. I have a FC4 webserver, that runs apache 2.0.54 and tomcat 5.5, mysql 4.1. This server will be the replacement of our old FC2 webserver, that runs apache 2.0.48 and tomcat 5.0.18, mysql 3.23. What ive done: I took the old config from the FC2 server and adapted it f

Re: The query string

2005-10-13 Thread Kyle
Aren't these just ServletRequest parameters, so request.getParameter(string) should do it shouldn't it? cristi wrote: Hello all If a client makes the following request to a servlet container : http://localhost:8080/cont/admin/page.jsp?doc=1002003&id=ZTJ006P1005 is it possible to have acce

Configuration problem

2005-10-13 Thread Kanagasabapathy
Hi, I am trying to setup a secured website for my company. I have also imported the SSL certificate into the server. Am using Suse linux enterprise server version 9 in the server and tomcat version 4.0 as the webserver, Now my question is that How to configure port 443 through a connector in th

RE: Windows Installer for 5.5.12 leaves out Scripts in /bin

2005-10-13 Thread anthony
I agree. Who do we tell? -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thu 10/13/2005 2:09 PM To: Tomcat Users List Subject: Re: Windows Installer for 5.5.12 leaves out Scripts in /bin Why isn't that difference mentioned on the download pages? I just looked at

Re: Windows Installer for 5.5.12 leaves out Scripts in /bin

2005-10-13 Thread David Kerber
Why isn't that difference mentioned on the download pages? I just looked at the descriptions on the web site, and here are what it says (leaving out the *x versions): # apache-tomcat-[version].zip or .tar.gz: base distro, all non-embedded users download this. # apache-tomcat-[version].exe: Wi

Re: AccessLogValve with POST

2005-10-13 Thread Tim Funk
You can't. I doubt you want post data in your acess log since POST data can be large (very large, megabytes large). -Tim Peter Menzel wrote: Hi there, I configured a AccessLogValve in the of my webapp with the common pattern: prefix="mywebapp" suffix=".log" pattern="common" /> Unfortun

RE: Windows Installer for 5.5.12 leaves out Scripts in /bin

2005-10-13 Thread anthony
Thanks Robert. It is fair enough given the messy load of file that used to be in the /bin directyory. What is less sensible is that this is not documented anywhere. When I found *nothing* on google, I assumed it was something funny about my machine or that I had missed something major. I looked at

Re: 3GP and MPEG-4

2005-10-13 Thread ALEX HYDE
Hahaha. Cheers for that then. --- Jon Wingfield <[EMAIL PROTECTED]> wrote: > To simply serve the content, no. > I needed to know about it so I could extract the > metadata, and because I > felt the need to know - must get out more ;) > > Jon > > ALEX HYDE wrote: > > Thanks Jon. That's really u

Re: The query string

2005-10-13 Thread David Delbecq
cristi a écrit : > > Hello all > > > If a client makes the following request to a servlet container : > > http://localhost:8080/cont/admin/page.jsp?doc=1002003&id=ZTJ006P1005 > > is it possible to have access to this string directly ? I am not sure. The best i know about is: request.getRequestUR

RE: Windows Installer for 5.5.12 leaves out Scripts in /bin

2005-10-13 Thread Longson, Robert
Anthony, this is covered in http://issues.apache.org/bugzilla/show_bug.cgi?id=36289 and http://issues.apache.org/bugzilla/show_bug.cgi?id=36329 Best regards Robert. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 13 October 2005 12:03 To: users@tomcat.apache

AccessLogValve with POST

2005-10-13 Thread Peter Menzel
Hi there, I configured a AccessLogValve in the of my webapp with the common pattern: prefix="mywebapp" suffix=".log" pattern="common" /> Unfortunately it only logs the parameters of GET requests, i.e. the query string. How can I configure the Valve to log POST parameters, too ? Regards, P

Re: 3GP and MPEG-4

2005-10-13 Thread Jon Wingfield
To simply serve the content, no. I needed to know about it so I could extract the metadata, and because I felt the need to know - must get out more ;) Jon ALEX HYDE wrote: Thanks Jon. That's really useful. I didn't realise it could just serve other types with so little involved. That's really

The query string

2005-10-13 Thread cristi
Hello all If a client makes the following request to a servlet container : http://localhost:8080/cont/admin/page.jsp?doc=1002003&id=ZTJ006P1005 is it possible to have access to this string directly ? Thx Cristi - To uns

Re: Sudden JVM crashes - a Tomcat problem?

2005-10-13 Thread Nikola Milutinovic
Robert Sösemann wrote: Hello, we have a really tricky problem while running our web-application: The JVM crashes from time to time for no apparent reason. There seems to be no direct relation to any user-action, method-call or whatever. We've checked the JVM crash dumps, but were not able

Re: Sudden JVM crashes - a Tomcat problem?

2005-10-13 Thread David Delbecq
Did you try downgrading your jvm to 1.4.2_08? also it may be that doomdark uuid class mess something in memory, but if i recall well, the only jni call in it is to read the network card mac adress. Could it be it contains jni calls to a 32 bit library while your system is running a 64 bit jvm? Rob

Re: Systems Architecture Pros and Cons

2005-10-13 Thread Tim Funk
Personally - I prefer the 2 apache + 3 tomcat approach. With 2 apache's you have your needed redundancy. The apaches can also be used to use the many modules for decorating any requests. (Such as mod_headers to add selectively add cache-control headers) Since the tomcats will probably need mo

Re: 3GP and MPEG-4

2005-10-13 Thread ALEX HYDE
Thanks Jon. That's really useful. I didn't realise it could just serve other types with so little involved. That's really good news. Do I need to know about the 'box model' or can I just take it as given and use it as is? Thanks again. Regards --- Jon Wingfield <[EMAIL PROTECTED]> wrote: > Sur

Sudden JVM crashes - a Tomcat problem?

2005-10-13 Thread Robert Sösemann
Hello, we have a really tricky problem while running our web-application: The JVM crashes from time to time for no apparent reason. There seems to be no direct relation to any user-action, method-call or whatever. We've checked the JVM crash dumps, but were not able to find something suspiciou

Windows Installer for 5.5.12 leaves out Scripts in /bin

2005-10-13 Thread anthony
Hi Has anyone else notices that apache-tomcat-5.5.12.exe does not do a full install: only 5 files make it into the /bin directory ? My solution has been to copy the balance of the files in from the zip, which I downloaded. Anthony Holland --

Re: Systems Architecture Pros and Cons

2005-10-13 Thread Nikola Milutinovic
Peter Johnson wrote: Nix, I am fully aware of all of this (regarding security permissions etc) ... I am not trying to solve a problem but rather open a discussion with the community on how people prefer to structure their systems. Some run only Tomcat, some run multiple servers with Apache an

Re: 3GP and MPEG-4

2005-10-13 Thread Jon Wingfield
Sure. You just need to add the correct mime-types to the web.xml in $TOMCAT_HOME/conf and tomcat's default servlet will serve them. http://www.iana.org/assignments/media-types/ audio/mp4 audio/3gpp video/mp4 video/3gpp video/3gpp2 The video ones are probably the ones to go for. The 3gpp and m

3GP and MPEG-4

2005-10-13 Thread ALEX HYDE
Dear All, Please can someone tell me whether I can configure Tomcat to serve 3GP and MPEG-4 for mobile devices. And possibly a small explanation. Thanks very much. Regards Alex Hyde ___ To help you stay safe and secure

Re: Systems Architecture Pros and Cons

2005-10-13 Thread Peter Johnson
Nix, I am fully aware of all of this (regarding security permissions etc) ... I am not trying to solve a problem but rather open a discussion with the community on how people prefer to structure their systems. Some run only Tomcat, some run multiple servers with Apache and Tomcat, some tier the

Re: Systems Architecture Pros and Cons

2005-10-13 Thread Nikola Milutinovic
Peter Johnson wrote: It is possible for Apache to be compromised without Tomcat being compromised e.g. an overflow in Apache. So if Apache (or other service on the front box) is compromised and the systems are tiered then the intruder can only impersonate local actions. If all tiers reside on

Re: Systems Architecture Pros and Cons

2005-10-13 Thread Peter Johnson
Let's just say there are complex rewrite rules and funky virtual hosting happening with some requests being proxied through to Tomcat. Yes yes mod_jk or mod_jk2 should be being used however apparently when they were originally testing the connectors they found them to continually fall over afte

Re: Systems Architecture Pros and Cons

2005-10-13 Thread Peter Johnson
It will depend a great deal on the nature of your application and how many end users you think you may have. Also, how will you manage your storage/database (internal to the 5 boxes, external array, two extra boxes on fail-over etc)? Is your application read heavy or write heavy? Why? This dis

Re: Systems Architecture Pros and Cons

2005-10-13 Thread Leon Rosenberg
Then Option 1. But just out of the interest, what do you need the apache for? And if you do, why don't you separate your "i-need-an-apache-to-manage-this" webfarm, from your "java-web-app+static+content" webfarm? leon On 10/13/05, Peter Johnson <[EMAIL PROTECTED]> wrote: > > > Leon Rosenberg wrot

Re: Systems Architecture Pros and Cons

2005-10-13 Thread Peter Johnson
It is possible for Apache to be compromised without Tomcat being compromised e.g. an overflow in Apache. So if Apache (or other service on the front box) is compromised and the systems are tiered then the intruder can only impersonate local actions. If all tiers reside on the same server then b

Re: Systems Architecture Pros and Cons

2005-10-13 Thread Peter Johnson
Leon Rosenberg wrote: Option 3. All 5 run tomcats. What do you need apache for? I thought this might be a response hence the comment "assuming that both Apache and Tomcat are used" Apache is utilised heavily and removing it isn't an option.

RE: Systems Architecture Pros and Cons

2005-10-13 Thread Matthew Clark
> Hi All, > > I was discussing with someone two common system architectures for a web > application environment and thought I'd extend it to the Tomcat > community to see their views / thoughts. > > If we consider that there are 5 servers available, what is the best way > to utilise them assuming

Re: Where does tomcat loads classes from? Mysterious classes loaded....

2005-10-13 Thread David Delbecq
David Delbecq a écrit : >Finally i found out old xslt classes are provided along the 1.4 jvm, >unfortunately, to replace them, i need to put crimson at the top > > **sorry** please read saxon, not crimson :) >of tomcat, in the endorsed libs. If someone has a smarter solution, >I'd like to know

Re: Where does tomcat loads classes from? Mysterious classes loaded....

2005-10-13 Thread David Delbecq
Finally i found out old xslt classes are provided along the 1.4 jvm, unfortunately, to replace them, i need to put crimson at the top of tomcat, in the endorsed libs. If someone has a smarter solution, I'd like to know about it! David Delbecq a écrit : >Hi, to be short, tomcat send me an error i

Re: Systems Architecture Pros and Cons

2005-10-13 Thread Leon Rosenberg
On 10/13/05, Peter Johnson <[EMAIL PROTECTED]> wrote: >Pro: - enhanced security due to tiers Why? If tomcat has a security hole, putting an apache in front of it, wouldn't change anything, since the security hole would be as exposed as with standalone tomcat. leon --

Re: Systems Architecture Pros and Cons

2005-10-13 Thread Leon Rosenberg
Option 3. All 5 run tomcats. What do you need apache for? On 10/13/05, Peter Johnson <[EMAIL PROTECTED]> wrote: > Hi All, > > I was discussing with someone two common system architectures for a web > application environment and thought I'd extend it to the Tomcat > community to see their views / t