RE: Problem Running Tomcat on Russian MS Windows

2005-07-29 Thread Peter Crowther
From: CW Lee [mailto:[EMAIL PROTECTED] 1) Why doesn't Tomcat work on Russian MS Windows? 2) Is there anything i can do for Tomcat to run on Russian MS Windows? 2) Is there any other solution which allows me to run JSP off Russian MS Windows? CW, have you successfully installed and run

Error message in isapi.log of jk-connector IIS/Tomcat

2005-07-29 Thread Ingo Rockel
Hi, on a customer system we have the following error message written into the log very often: [Thu Jul 28 14:27:52 2005] [error] write::jk_isapi_plugin.c (619): WriteClient failed with 2746 What does this message mean? What might be the problem causing this error? And what could I do

Re: HTTP/1.1 GZIP compression and its impact on server

2005-07-29 Thread Ronald Klop
Ethernet uses packets of 1500 bytes, this includes some headers. So if your html is smaller than about 1400 bytes your are sending the same number of packets over your network with or without compression. If the size of the html is larger you are winning some packets/sec with compression. But

RE: HTTP/1.1 GZIP compression and its impact on server

2005-07-29 Thread Peter Crowther
From: Ronald Klop [mailto:[EMAIL PROTECTED] Ethernet uses packets of 1500 bytes, this includes some headers. So if your html is smaller than about 1400 bytes your are sending the same number of packets over your network with or without compression. Not entirely true, as for Internet use

Session Security

2005-07-29 Thread Jagadeesha T
Hi All, Cookie information goes to the server in a clear text I think. I don't know it can be configured to send as a cypher text. When it goes in the network to browser, If not ssl enabled, Cookie;Jsessionid;value can be seen through Ethereal and also copied, If anybody tries with

Re: Session Security

2005-07-29 Thread Martin Bromley
Simple solution: use SSL for all pages that have a session. AFAIK there's no way to keep a session secure without it all being over SSL. So the login process must be over SSL, and then everything until log-out should be over SSL also (I'm making the assumption that you're only using sessions

Re: Re: Tomcat Struts Datasource problem

2005-07-29 Thread Anoop kumar V
Another link - describing a similar problem as yours: http://www.theserverside.com/discussions/thread.tss?thread_id=25459 Check it out. Anoop On 7/29/05, Kristofer Le Bras [EMAIL PROTECTED] wrote: Thank you for your answer Anoop ;) but I already see website of jakarta (it dosen't work)

Can't use packed WARs with embedded Tomcat?

2005-07-29 Thread Spammed TooMuch
Hi, Appreciate a little help. I am using 4.1 Tomcat's Embedded class. I have worked most things but but can not get it to use packed WAR files. I have the context's set up, I think, because if I expand the war file the index.html file in the resulting directory is found. Is Embedded suppose to

Strange mrf files generated in tomat temp directory

2005-07-29 Thread Holly, Michael
I am using Tomcat 4.1.29 on solaris 9. I have files uploaded to my site and then I write them to the temp dir using File.createTempFile() in anticipation of moving them elsewhere. I have noticed that somthing else is writing very larg files to this directory as well. Some of the files are 3GB.

RE: apache jk_mod connecor to tomcat; threads not being released

2005-07-29 Thread Guernsey, Byron \(GE Consumer Industrial\)
Mark, Try setting the connectionTimeout in your server.xml: Connector port=8009 address=127.0.0.1 maxThreads=350 minSpareThreads=25 maxSpareThreads=75 acceptCount=100 enableLookups=false redirectPort=443 protocol=AJP/1.3 connectionTimeout=6 / Its in

RE: Best Way to Share Webapps?

2005-07-29 Thread Guernsey, Byron \(GE Consumer Industrial\)
Use cascading style sheets that reside on the web server to set the look/feel for any jsp output. With a jk1 connector, you can use the same app server in many different web servers. I'd suggest setting up an ajp13 connector in the server.xml for each different web server you wish to connect

WARs not being unpacked in Embedded Tomat?

2005-07-29 Thread Spammed TooMuch
Hi, Appreciate a little help. I am using 4.1 Tomcat's Embedded class. I have worked most things but but can not get it to use packed WAR files. I have the context's set up, I think, because if I expand the war file the index.html file in the resulting directory is found. Is Embedded suppose to

timeout, but not session

2005-07-29 Thread joelsherriff
We've got a servlet problem that we're trying to track down. The problem causes one of the threads to spin. Until we can solve the problem, can anyone suggest anything that can timeout these out-of-control threads? Session timeouts timeout on inactivity, correct? I don't know if that will

DeltaManager for Clustering

2005-07-29 Thread Dennis
Is there documentation on using the DeltaManager for clustering? In the javadoc there is this statement: --CUT-- Correct behavior of session storing and reloading depends upon external calls to the start() and stop() methods of this class at the correct times. --END-- The tomcat clustering

setting application variables

2005-07-29 Thread Josh Howe
Hi, I'm very new to Tomcat and JSP. Can anybody tell me how I can initialize some application variables from a file so that they are available to all of the asp pages in my application as soon as it starts? Thanks!

RE: setting application variables

2005-07-29 Thread Mufaddal Khumri
You could have a ContextListener for your web application. You could then read the properties from your property file and put them in the application context so that all your JSP pages have access to them. In order to implement a ContextListener you need to write a class that implements the

Re: DeltaManager for Clustering

2005-07-29 Thread Rainer Jung
Hi Dennis, assuming you have a valid cluster config you don't need to start/stop the DeltaManager yourself. Session attributes are only replicated, if they are serializable and the changes to the attributes are applied via setAttribute. If your attribute e.g. is a HashMap and you change an entry

RE: setting application variables

2005-07-29 Thread Josh Howe
I'll look into ContextListeners. Thanks! -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Sent: Friday, July 29, 2005 4:16 PM To: Tomcat Users List Subject: RE: setting application variables You could have a ContextListener for your web application. You could then

Re: setting application variables

2005-07-29 Thread Frank W. Zammetti
I can even save you some time: http://javawebparts.sourceforge.net There you will find an AppConfigListener that I think will do the trick nicely for you. Frank Josh Howe wrote: I'll look into ContextListeners. Thanks! -Original Message- From: Mufaddal Khumri [mailto:[EMAIL

Re: setting application variables

2005-07-29 Thread Ben Souther
Look up context init-params and servlet init-params. I have some demo apps that demonstrate the use of these: http://simple.souther.us On Fri, 2005-07-29 at 16:14, Josh Howe wrote: Hi, I'm very new to Tomcat and JSP. Can anybody tell me how I can initialize some application

Re: DeltaManager for Clustering

2005-07-29 Thread Dennis
Rainer Jung wrote: Hi Dennis, assuming you have a valid cluster config you don't need to start/stop the DeltaManager yourself. Good, that's what I thought. Session attributes are only replicated, if they are serializable and the changes to the attributes are applied via setAttribute. If

Re: DeltaManager for Clustering

2005-07-29 Thread Rainer Jung
See, the thing is, we have a 3rd party library that saves information in the session. It doesn't call setAttribute every time it changes the data. DeltaManager appears to ignore the useDirtyFlag. With SimpleTcpReplicationManager, I can set useDirtyFlag to false and we get the desired

Re: DeltaManager for Clustering

2005-07-29 Thread Dennis
Rainer Jung wrote: No, DeltaManager doesn't use that flag. It would somehow not make sense, because the whole pupose of DeltaManager is to only replicate changed attributes of a session and the flag tries to replicate every session accessed. So if you would impement it with DeltaManager it would

jsp:include params

2005-07-29 Thread Patrick Thomas
Hi All, When jsp:include-ing a page, I see that params from the calling page are also passed on to the called page. Example: caller.jsp: (hypothetically called with param1 = val1) jsp:include page=callee.jsp param name=param2 value=val2 /jsp:include callee.jsp: Sees request variables

turning all logging off

2005-07-29 Thread Kolev, Nik
Hi, I am switching from Tomcat 3.2.X to Tomcat 4.1.18 (yeah, I know these are old, but that's what a 3rd party software vendor requires for their servlet). I do not need any of the Tomcat/servlets' logs and in Tomcat 3.2.X have modified the conf/server.xml Logger tags to contain the attribute

RE: How to Configure IIS/Tomcat to perform basic authentication

2005-07-29 Thread Ikonne, Ike
Hi Ben, Thanks for responding to my question, here is my operating environment: IIS 5.0 Tomcat 5.5.9 Note also that I have tried this setup with tomcat/apache and everything works, my problem comes when I do similar thing with IIS/Tomcat and I get HTTP 401 error message. Thanks, Ike

Re: HTTP/1.1 GZIP compression and its impact on server

2005-07-29 Thread David Rees
On 7/29/05, Ronald Klop [EMAIL PROTECTED] wrote: Compressing images is useless. We compress css and javascript and don't have problems with it, but our customers use quite new browsers, because the application doesn't work in pre-mozilla/pre-ie-5.5 at all. I've had problems with

Trouble Starting Tomcat

2005-07-29 Thread Mark McKay
I'm trying to run Tomcat on a dumbed-down distor of Debian on a virtual linux I'm using to host my website. I've downloaded and unzipped Tomcat 5.5.9 and set JAVA_HOME and CATALINA_HOME. I start Tomcat by typing $CATALINA_HOME/bin/startup.sh. Strangely, Tomcat only succesfully starts about

RE: Trouble Starting Tomcat

2005-07-29 Thread David Shapiro
Perhaps an issue with your random device or there is not enough entrophy in your random device. -Original Message- From: Mark McKay [mailto:[EMAIL PROTECTED] Sent: Friday, July 29, 2005 9:02 PM To: tomcat-user@jakarta.apache.org Subject: Trouble Starting Tomcat I'm trying to run Tomcat

Newbie: Installing Admin on Tomcat

2005-07-29 Thread Bruce E. Stemplewski
I am running Tomcat 5.5.9 on XP. I want to install Admin. I think I found the correct download here: http://www.mirrormonster.com/apache.org/jakarta/tomcat-5/v5.5.10-alpha/bin/jakarta-tomcat-5.5.10-admin.zip But how do I install it? Waht directory should I unzip it to? The server

Tomcat, getRequestURI(), and URL fragments

2005-07-29 Thread Kito D. Mann
I've noticed an interest consequence of getRequestURI() with Tomcat -- getRequestURI() doesn't return the URL fragment (the part after the #). So, if the URL is http://www.foo.com/page.html#blah, getRequestURI() only returns /page.html, as opposed to /page.html#blah. Apache, however, knows the

Part time resources for JSP programming

2005-07-29 Thread Medha Parathasarathy
Hi I am looking out for part time jsp programmer for my project my-lending.homelinux.com Interested person please get in touch REgards Medha -- http://www.fastmail.fm - Or how I learned to stop worrying and love email again