Re: Session id is invalid occurs randomly

2010-02-24 Thread Tsirkin Evgeny
I guess changing the cookie name can help here: org.apache.catalina.SESSION_COOKIE_NAME See: http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html Note that this is per jvm setting ,so all the apps on the given server will get this cookie name . Which in turn is probably NOT a problem as

Re: Is it possible to replace the HttpSession implementation in Tomcat?

2010-02-23 Thread Tsirkin Evgeny
On Tue, Feb 23, 2010 at 8:08 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tsirkin, On 2/23/2010 1:51 AM, Tsirkin Evgeny wrote: What we did - override session object using filter.On each request start it would read it's

Re: Is it possible to replace the HttpSession implementation in Tomcat?

2010-02-23 Thread Tsirkin Evgeny
On Tue, Feb 23, 2010 at 11:50 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- What's flow-resuming is ?How a request can be resumed ?Doesn't this goes againt the idea of http is staitless ,that's vrey interesting? So,the flow-resuming you

Re: Is it possible to replace the HttpSession implementation in Tomcat?

2010-02-22 Thread Tsirkin Evgeny
Just in case somebody will google for a solution for replacing session. I have done this . First of all ,why: We have cluster of 2 machines . Each have a separate db on it . The machines are sharing information using nfs mounting fs. Each machine runs it's own apache server ,(no apache balancer in

Re: Tomcat dies suddenly

2010-02-13 Thread Tsirkin Evgeny
Carl , At this point it is probably would be much simpler for you to just move away from Slackware . Building jvm from source ,debugging with strace - this is a very hard path . And once you find the bug - there is nothing that you can do with it. You are not going to fix jvm/libc bugs ,right? You

Re: Tomcat dies suddenly

2010-02-04 Thread Tsirkin Evgeny
Just an advise . I don't know what the problem is,however suppose that this is OOM killer - why not just add some GB of swap disk spae is even chiper then RAM Evgeny On Thu, Feb 4, 2010 at 9:04 PM, Carl c...@etrak-plus.com wrote: Chuck and Dan, First, some housekeeping to respond to your

Re: More on Tomcat Sessions - limiting cluster session replication to sessions that will last longer than 'n' duration

2010-01-12 Thread Tsirkin Evgeny
Did you think about a possibility instead of get rid of the session overwriting the manager - getting rid of the data stored in session? If I understand correctly Tapestry needs the session for the page creation time ,which means that you don't need all the data stored there after the page was

Re: Http session lost b/w struts actions on Linux but not in Win

2009-12-23 Thread Tsirkin Evgeny
As Johan already pointed (or almost pointed ) out. check the domain path of the JSESSIONID cookie . If those are different then that's why you get 2 of them. Evgeny On Wed, Dec 23, 2009 at 10:52 AM, Johan Thorselius johan.thorsel...@gmail.com wrote: Hi Ron, Actually, there is an Apache in

Re: sessions on tomcat restart in cluster

2009-10-27 Thread Tsirkin Evgeny
:10 AM, Tsirkin Evgeny wrote: Instead, it's a simple case of choosing a single node to act as the controller for the cluster. Just add a configuration parameter to the Cluster element to identify one server as the controller and have /that/ one manage the sessions when the cluster is shut down

sessions on tomcat restart in cluster

2009-10-25 Thread Tsirkin Evgeny
Hi all! Does the cluster DeltaManager supports storing the session in a file on restarts? It seems to me that when closing both servers in my cluster and then starting them again the sessions are not restored .What is a solution for that . (P.S. tomcat 6.0 apache 2) Thanks EVgeny

Re: sessions on tomcat restart in cluster

2009-10-25 Thread Tsirkin Evgeny
to other nodes?) open. However even if some session got _ not _ to be replicated after a restart - this is far less a problem then a case of _ all _ session not to be restored after a restart. Does anybody knows a solution for that? Thanks Evgeny On Sun, Oct 25, 2009 at 1:23 PM, Tsirkin Evgeny tsir

Re: jvmRoute usage

2009-10-23 Thread Tsirkin Evgeny
But the jvmRoute is optional if i don't care about stickyness,right? Now looking again into docs i think it is there : _ If you want to use session stickiness _, you must set different jvmRoute attributes in the Engine element in Tomcat's server.xml. Furthermore the names of the workers which

jvmRoute usage

2009-10-22 Thread Tsirkin Evgeny
Hi list! I am configuring tomcat cluster in the following env. : 2 servers having apache/mod_jk in front and tomcat 6 in the back end. There _is_ a load balancer in front of all this, however the session stickiness does not always works _and_ there is always a question - what if one of the servers

Re: jvmRoute usage

2009-10-22 Thread Tsirkin Evgeny
Hi Rainer! Thanks a lot for taking a time to answer . However i failed to explained my configuration :). I have 2 physical server each running httpd which connects (via mod_jk) to one tomcat that is running on the same host (2 tomcats). The 6 in tomcat meant to say that i have tomcat of version 6

Re: Tomcat 5.5 logging-config elegant? Not so much, I think.

2009-10-20 Thread Tsirkin Evgeny
I didn't get it : Are you trying to get tomcat internal log to be logged somewhere or are we talking about your application's logs? Evgeny On Tue, Oct 20, 2009 at 12:42 AM, larrydlefever larrydlefe...@gmail.comwrote: I just killed most of the afternoon trying (and failing) to get Tomcat 5.5

Re: Tomcat 5.5.26 hangs

2009-10-15 Thread Tsirkin Evgeny
On Wed, Oct 14, 2009 at 6:15 PM, Mark Thomas ma...@apache.org wrote: Have you tried JkOptions +DisableReuse And if that solves the problem setup connection timeout . http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html Evgeny

Re: tomcat5.5 can't start

2009-10-12 Thread Tsirkin Evgeny
looks like you are using ubuntu or debian but it installs tomcat 5.5 which is an old version . maybe you should upgrade your distrib? anyway your question probably belongs to the debian/ubuntu lists not here. also from my personal exper. ,thought i installed successfully tomcat on ubuntu it is

Re: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-07 Thread Tsirkin Evgeny
What Chuck means is that you need docBase=/var/lib/tomcat5/webapps/alfresco On Wed, Oct 7, 2009 at 8:51 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Maciej Zabielski [mailto:m...@tessel.pl] Subject: mod_jk problem related to multiple hosts on Apache and Tomcat Tomcat

tomcat and cgi

2009-09-14 Thread Tsirkin Evgeny
Hi list! Does anybody have an experience running cgi programs under tomcat? We have a very high load ahead of us and one of my co workers suggestied to run the cgi program using a tomcat in place of apache . What we have one spare server that we can connect behind our main server using one of the

Re: An unexpected error has been detected by Java Runtime Environment:

2009-09-05 Thread Tsirkin Evgeny
It's possible. What is your architecture? Solaris 9.Sparc. Do you have physical access? Can you run a memory tester on it? Unfortunatly this is not possible. Thanks Evgeny - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla -

Re: An unexpected error has been detected by Java Runtime Environment:

2009-09-04 Thread Tsirkin Evgeny
Why SIGBUS is Cool? What is strange is that running 32 bit java helped. Of course i can explain it that the 32 have less address space and it does not get to the bad RAM ,but still ... Evgeny On Fri, Sep 4, 2009 at 12:32 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN

Re: redirect paramter in the jk_workers file

2009-09-03 Thread Tsirkin Evgeny
I think you can achieve something simular just using longer timeouts on mod_jk one of those: http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html * use_server_errors* And use ErrorDocument in apache for custom error page Evgeny On Thu, Sep 3, 2009 at 8:54 AM, Dhiraj Rajput

An unexpected error has been detected by Java Runtime Environment:

2009-09-03 Thread Tsirkin Evgeny
environment : Apache Tomcat/6.0.18 Solaris 9 64 bit jdk1.6.0_13 On one of the servers we are today getting constantly errors: An unexpected error has been detected by Java Runtime Environment. Here are some of those:

Re: An unexpected error has been detected by Java Runtime Environment:

2009-09-03 Thread Tsirkin Evgeny
I don't think so: 1. Why would it break jvm? 2. this same app. works fine for 1/2 year + it works fine on another server. Thanks Evgeny On Thu, Sep 3, 2009 at 12:51 PM, Rainer Jung rainer.j...@kippdata.dewrote: On 03.09.2009 11:42, Tsirkin Evgeny wrote: environment : Apache Tomcat/6.0.18

Re: An unexpected error has been detected by Java Runtime Environment:

2009-09-03 Thread Tsirkin Evgeny
peter.crowt...@melandra.comwrote: 2009/9/3 Tsirkin Evgeny tsir...@gmail.com 2. this same app. works fine for 1/2 year + it works fine on another server. Has your data changed? Does running the same app *with the same data* on the other server trigger the error? Have you got a creeping

Re: Clearing the catalina.out file

2009-08-16 Thread Tsirkin Evgeny
George ,your observations are still correct for truncating file. At least at Sun OS (Solaris) 9.If you truncate catalina.out : echo -n catalina.out you will see the file becoming 0 bytes long .But once tomcat writes another byte into output it will become the same size it was before truncation. I

tomcat cluster security

2009-08-13 Thread Tsirkin Evgeny
Hi list! I am trying to setup a tomcat cluster with 2 members (2 different machines ). On each machine there is an apache tomcat connected to it via mod_jk For whatever reason the session stickiness does not works well - this is the reason for cluster. As much as i understand setting cluster

Re: mod_jk does not recognize extension

2009-06-17 Thread Tsirkin Evgeny
Actually i guess Rule extensions were added in mod_jk 1.2.17. Is probably enough .Just make it underlined or bold. Evgeny On Wed, Jun 17, 2009 at 1:09 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 6/16/2009 1:05 PM,

Re: Serving images from classes directory

2009-06-17 Thread Tsirkin Evgeny
What is your OS? If this a *nix - then you have make sure that Web-INF is readable for the world, this is NOT good .On the other hand you could just create a soft link to whatever they have there... Evgeny On Wed, Jun 17, 2009 at 9:20 PM, Susan G. Conger sus...@bfcassociates.comwrote: I

Re: mod_jk does not recognize extension

2009-06-16 Thread Tsirkin Evgeny
Thanks It worked If just it would be mentioned in documention it would save me several ours of debugging Should i report a bug or i have missed it? Evgeny On Fri, Jun 12, 2009 at 10:24 AM, Tsirkin Evgeny tsir...@gmail.com wrote: On Fri, Jun 12, 2009 at 1:25 AM, Rainer Jung rainer.j

Re: mod_jk does not recognize extension

2009-06-12 Thread Tsirkin Evgeny
Thanks I will try this Evgeny On Fri, Jun 12, 2009 at 1:25 AM, Rainer Jung rainer.j...@kippdata.dewrote: On 11.06.2009 14:26, Tsirkin Evgeny wrote: Hi list! I have mod_jk 1.2.26 configured and working fine. However i want to set a special reply_timeout for a special url , i am getting

mod_jk does not recognize extension

2009-06-11 Thread Tsirkin Evgeny
Hi list! I have mod_jk 1.2.26 configured and working fine. However i want to set a special reply_timeout for a special url , i am getting strange errors in log and the rule is ignored . Once i add this line: /dataj_mid/controller/finance/*=dataj_mid;reply_timeout=12 (see the full config

Re: strange ssl tomcat response

2006-12-14 Thread Tsirkin Evgeny
I have did yet another try,now on windows machine . The same problem! Here are the steps to reproduce : [1] Do a regular (vanilla) installation of tomcat (Linux and Windows i have already tried) . [2] Setup ssl: Uncomment the ssl setup in server.xml create a key with the following:

Re: strange ssl tomcat response

2006-12-14 Thread Tsirkin Evgeny
On 12/14/06, Martin Heiden [EMAIL PROTECTED] wrote: It's pretty valid! I don't think so.Just checked out the TLS rfc and found this (TLS ver. 1.0): These goals are achieved by the handshake protocol, which can be summarized as follows: The client sends a client hello message to which

strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
Hi list! Hope this will not be posted twice. I have setted up a tomcat to listen to ssl on 8443 port. When i use url https://myhost:8443/ everything works fine. However when pointing my browser to http://myhost:8443/ I am getting strange response . It looks something like this in text

Re: strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
for the answer! Hope you will be able to help me. Evgeny. On 12/13/06, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Tsirkin Evgeny [mailto:[EMAIL PROTECTED] Subject: strange ssl tomcat response Hope this will not be posted twice. My first post did not work ,so i was afraid that i am

Re: strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
do that on the first place: I am trying to setup a production server and a bit worried about security. Thanks for response . Evgeny. On 12/13/06, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Evgeny, Tsirkin Evgeny wrote: I have setted up a tomcat

Re: strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
On TLS i am getting the same result. How do i check for an APR existens ? Chuck suggested that this is the problem. However I don't know where to look . I am using 5.5.20 could that be a problem? Thanks. Evgeny. On 12/13/06, Hassan Schroeder [EMAIL PROTECTED] wrote: On 12/13/06, Tsirkin Evgeny

Re: strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
. Escape character is '^]'. kfglfkmvlf  Connection closed by foreign host. - The strange response bits are what i got here just befor Connection closed. Thanks again. Evgeny. On 12/13/06, Tsirkin Evgeny [EMAIL PROTECTED] wrote: On TLS i am getting

Re: strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
with strange bits when telneting to the ssl port. Anybody please? Evgeny. On 12/13/06, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Tsirkin Evgeny [mailto:[EMAIL PROTECTED] Subject: Re: strange ssl tomcat response How do i check for an APR existens ? Since this is a Linux box and you did