RE: session de-serialization issue

2008-12-05 Thread Tom Mader
Thank you Chuck! Does the sun-packaged RPM work on CentOS 5.2 ? or do i execute: ./j2sdk-1_4_2_19-linux-i586.bin -localinstall >> 5-Dec-08 7:02:14 PM org.apache.catalina.session.StandardManager doLoad >> SEVERE: IOException while loading persisted sessions: >> java.io.InvalidClassException: inval

Problems with JK connector and IIS5 and tomcat 6

2008-12-05 Thread user080701
Hi, We have an application using tomcat6.0.16 and IIS5 with JK connector. We found that there are so many errors in the IIS connector log file. [Fri Dec 05 09:13:54 2008] [error] jk_isapi_plugin.c (549): HSE_REQ_SEND_RESPONSE_HEADER failed [Fri Dec 05 09:13:54 2008] [error] jk_isapi_plugin.c (6

RE: session de-serialization issue

2008-12-05 Thread Caldarale, Charles R
> From: Tom Mader [mailto:[EMAIL PROTECTED] > Subject: session de-serialization issue > 5-Dec-08 7:02:14 PM org.apache.catalina.session.StandardManager doLoad > SEVERE: IOException while loading persisted sessions: > java.io.InvalidClassException: invalid field type for > testClass in class > Cont

session de-serialization issue

2008-12-05 Thread Tom Mader
Hi- I have an issue with session persistence that I can't figure out. I am running: CentOS 5.2 Tomcat 5.5.23 JDK 1.4.2 I would like my user sessions to be persisted across tomcat restarts. I would like this to happen using the default write-to-file (SESSIONS.ser) method of org.apache.catalina.

Re: [OT] JK Connector problem

2008-12-05 Thread Rainer Jung
Christopher Schultz schrieb: > If you've got "Program Files" already in the path, why not have "Apache > Group" in there as well? ... Germans would love "Apache" Group without spaces ... MS localization translates "Program Files" into "Programme", most likely because in German the words are alway

Re: configure JNDI to avoid error "Last packet sent to the server was xxxxx ms ago"

2008-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, [EMAIL PROTECTED] wrote: > How to configure JNDI in order to avoid the error "Last packet sent > to the server was x ms ago."? I've seen two other errors which > seem to be from the same cause: "Communications link failure

Re: jvm cowardly refuses to print a thread dump

2008-12-05 Thread Leon Rosenberg
On Fri, Dec 5, 2008 at 3:45 PM, Oliver Schoett <[EMAIL PROTECTED]> wrote: > Leon Rosenberg wrote: >> >> You should consider using synchronized lists :-) (for example Vector). >> > > Does not help :-) If you do not put sync. brackets around > > Check some property (e. g., size()); > Do somethin

Client Side TLS Cert in app running under Tomcat

2008-12-05 Thread Steve Cohen
A simple question hopefully: An application running on Tomcat 6.0 on RHEL 5.0 needs is a client of https: protected Web Service that requires a TLS certificate which the Service Vendor will supply. Where and how should the TLS certificate be installed? Is this an OS thing, a Tomcat thing, o

RE: initial memory pool and maximum memory pool in Tomcat 6.x

2008-12-05 Thread Caldarale, Charles R
> From: Tuan Quan [mailto:[EMAIL PROTECTED] > Subject: Re: initial memory pool and maximum memory pool in Tomcat 6.x > > but the question really is the relationship between Memory > Pool and Permgen, since some time my app will run out of Permgen. PermGen size is set separately from the Java heap,

configure JNDI to avoid error "Last packet sent to the server was xxxxx ms ago"

2008-12-05 Thread removeps-groups
How to configure JNDI in order to avoid the error "Last packet sent to the server was x ms ago."? I've seen two other errors which seem to be from the same cause: "Communications link failure" and "Connection.close90 has already been called". This is what I've come up with, but wonder if i

Re: initial memory pool and maximum memory pool in Tomcat 6.x

2008-12-05 Thread Tuan Quan
Thanks, Leon My limitation is on RAM. but the question really is the relationship between Memory Pool and Permgen, since some time my app will run out of Permgen. thanks.   From: Leon Rosenberg <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Thursday, December

Re: AW: AW: java.io.IOException: Stream closed

2008-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan, Schuster Stefan wrote: > The code reading the stream is generated by XMLBeans. > > Is there something that I should not do with the stream? For example > closing it or something like that? You shouldn't have to do anything like that. > <<>

Re: [OT] JK Connector problem

2008-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: > Folder/directory/file names with spaces in them are evil, and should be > forbidden in any new OS, by unanimous decision of the UN Security > Council, US Supreme Court and EU Commission. The developers who first > allowe

Re: mixed html and jsp site using ProxyPass

2008-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Goodenough wrote: > ProxyPass ajp://127.0.0.1:8009/jsp Can't you do something like this: ProxyPass (/*.jsp) ajp://127.0.0.1:8009/jsp$1 ?? This is one of the reasons that I like using mod_jk: there's actual documentation for how to us

Re: Login config

2008-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christophe, FARNIER Christophe wrote: > Yes it's a problem for the links in my login page. I explain this in > my previous mail [below:] > It makes problems for link in my login page. For the moment I just > change the links by introducing request.g

Re: Create Virtual Host without shutting down tomcat

2008-12-05 Thread Milan Cvejic
Thanks, sorry, did't see it... Caldarale, Charles R wrote: From: Milan Cvejic [mailto:[EMAIL PROTECTED] Subject: Re: Create Virtual Host without shutting down tomcat I need this... Is any way to add new VirtualHost without restarting tomcat? This question was just answered a few hours ag

Re: jvm cowardly refuses to print a thread dump

2008-12-05 Thread Oliver Schoett
Leon Rosenberg wrote: You should consider using synchronized lists :-) (for example Vector). Does not help :-) If you do not put sync. brackets around Check some property (e. g., size()); Do something according to the property value you lose, because the property may have changed

RE: Create Virtual Host without shutting down tomcat

2008-12-05 Thread Caldarale, Charles R
> From: Milan Cvejic [mailto:[EMAIL PROTECTED] > Subject: Re: Create Virtual Host without shutting down tomcat > > I need this... Is any way to add new VirtualHost without > restarting tomcat? This question was just answered a few hours ago: http://marc.info/?l=tomcat-user&m=122847474332531&w=2

Re: Create Virtual Host without shutting down tomcat

2008-12-05 Thread Milan Cvejic
I need this... Is any way to add new VirtualHost without restarting tomcat? Rodrigo Asensio wrote: yes, I'm kind of screwed, or play just with the DNS or I change the app server.I will play around with the dns stuff and redirect *.mydomain to my default webapp. I have many customers redirected

RE: SSL/Apache and Proxy

2008-12-05 Thread Doctor Khumalo
Here is my server.xml config. I can see the main localhost but whenever I try to type https://local3, it gives me a 503 Error

Re: jvm cowardly refuses to print a thread dump

2008-12-05 Thread Leon Rosenberg
On Fri, Dec 5, 2008 at 12:37 PM, Oliver Schoett <[EMAIL PROTECTED]> wrote: > Leon Rosenberg wrote: >> >> On Fri, Dec 5, 2008 at 9:50 AM, Oliver Schoett >> <[EMAIL PROTECTED]> wrote: >> >>> >>> Martin Gainty wrote: >>> so the solution is put all updates/inserts to the arraylist into a >>>

Re: Create Virtual Host without shutting down tomcat

2008-12-05 Thread Rodrigo Asensio
yes, I'm kind of screwed, or play just with the DNS or I change the app server.I will play around with the dns stuff and redirect *.mydomain to my default webapp. I have many customers redirected to a single webapp. thanks for the tip. Rodrigo Asensio [EMAIL PROTECTED] http://www.rodrigoasensio

RE: Rogue https threads

2008-12-05 Thread Robert J Morman
Thank you. I was just getting that response from our vendor as well. Bob -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 4:59 PM To: Tomcat Users List Subject: Re: Rogue https threads a simple upgrade to 6.0.18 would most li

Re: Create Virtual Host without shutting down tomcat

2008-12-05 Thread Mikolaj Rydzewski
shoeb wrote: Is it possible to create Virtual Host in tomcat without shutting down tomcat? i need to create virtual host dynamicly. Do you really need new virtual host (like new Host element in conf/server.xml)? Maybe only DNS entry is enough? -- Mikolaj Rydzewski <[EMAIL PROTECTED]>

Re: dinamically adding virtual hosts

2008-12-05 Thread Mark Thomas
Rodrigo Asensio wrote: > thanks mark, I could do the jmx stuff but, what means "it doesn't work at > the minute", You can add an alias but due to a bug it won't have any effect. This should be fixed in the next 6.0.x release. is there a daemon who will reload the host ? with a delay ??? Sorry, n

Re: dinamically adding virtual hosts

2008-12-05 Thread Rodrigo Asensio
thanks mark, I could do the jmx stuff but, what means "it doesn't work at the minute", is there a daemon who will reload the host ? with a delay ??? thanks R Rodrigo Asensio [EMAIL PROTECTED] http://www.rodrigoasensio.com "To err is human, but to really screw up requires the root password." On

Re: dinamically adding virtual hosts

2008-12-05 Thread Mark Thomas
Rodrigo Asensio wrote: > yes, host-manager is what I need, now I saw the html interface and seems > 1 little thing missing.. add alias to existent host... now, I didnt find any > doc!!! not even at the tomcat.apache.org website, do you know about a site > explaining the commands available at th

Re: dinamically adding virtual hosts

2008-12-05 Thread Rodrigo Asensio
yes, host-manager is what I need, now I saw the html interface and seems 1 little thing missing.. add alias to existent host... now, I didnt find any doc!!! not even at the tomcat.apache.org website, do you know about a site explaining the commands available at this app ?? thanks Rodrigo Asen

Re: Trying to run tc from a read-only partition . . .

2008-12-05 Thread Albretch Mueller
>> setting the [Engine > Realm > Host > Valve]:directory with >> the full path to where you want the logs to be sent > > Insufficient, since you didn't change where the vast majority of the logs are > configured, which is in conf/logging.properties. > ~ configuring where those logs should go in c

Re: Session timeout related fixes between Tomcat 5.0 and Tomcat 5.5.x?

2008-12-05 Thread Kranti™ K K Parisa
Hi, We are using tomcat 5.5.25. Seems the same issue is there. Its been fixed in that version 5.5.25? And how could we configure tomcat 5.5.25 to load jsp pages faster?? Regards, Kranti. On Fri, Dec 5, 2008 at 4:50 PM, Oliver Schoett < [EMAIL PROTECTED]> wrote: > andre John Mas wrote: > >> Hi,

Re: jvm cowardly refuses to print a thread dump

2008-12-05 Thread Oliver Schoett
Leon Rosenberg wrote: On Fri, Dec 5, 2008 at 9:50 AM, Oliver Schoett <[EMAIL PROTECTED]> wrote: Martin Gainty wrote: so the solution is put all updates/inserts to the arraylist into a synchronized method? You must synchronize all read and write methods, because nothing may r

Re: Session timeout related fixes between Tomcat 5.0 and Tomcat 5.5.x?

2008-12-05 Thread Oliver Schoett
andre John Mas wrote: Hi, We are currently experiencing session issues with our customer's Tomcat server, in a production environment. Basically what is happening is that, despite the idle time-out being set for 20 minutes we are seeing sessions that have been idle (have not been accessed) f

Re: dinamically adding virtual hosts

2008-12-05 Thread Serge Fonville
On Fri, Dec 5, 2008 at 11:58 AM, Mark Thomas <[EMAIL PROTECTED]> wrote: > Rodrigo Asensio wrote: > > Hello, I'm stick to tomcat and I want to keep using it, I do at linux > with > > native libs and it rocks. Now I found this problem, I want to add virtual > > hosts without restart the server, is t

Re: mod_jk -> ajp hangs indefinitely on some requests

2008-12-05 Thread Rainer Jung
Mark Thomas schrieb: > Roy McMorran wrote: >> Roy McMorran wrote: >>> Despite my misgivings, 1.1.5 seems to have helped. It's run my test >>> script for about 30 minutes now without problems (previously would >>> have hung by minute 3). >>> However! >>> My dev system (which was already running 1.1

Re: dinamically adding virtual hosts

2008-12-05 Thread Rodrigo Asensio
ubuntu 804tomcat 6 jdk 6 config ? 1 virtual host with N alias, I need to add aliases dinamically nothing else yes, I saw that post last night but doesn't help that much, we should extend the manager. I would love to know if there is something by default or not. I guess no, I really want to stic

Re: dinamically adding virtual hosts

2008-12-05 Thread Mark Thomas
Rodrigo Asensio wrote: > Hello, I'm stick to tomcat and I want to keep using it, I do at linux with > native libs and it rocks. Now I found this problem, I want to add virtual > hosts without restart the server, is that possible ? > I didn't found any command at the manager to do this and it is log

Create Virtual Host without shutting down tomcat

2008-12-05 Thread shoeb
Is it possible to create Virtual Host in tomcat without shutting down tomcat? i need to create virtual host dynamicly. Shoeb -- View this message in context: http://www.nabble.com/Create-Virtual-Host-without-shutting-down-tomcat-tp20851638p20851638.html Sent from the Tomcat - User mailing list

Re: dinamically adding virtual hosts

2008-12-05 Thread Serge Fonville
On Fri, Dec 5, 2008 at 11:42 AM, Rodrigo Asensio <[EMAIL PROTECTED]> wrote: > Hello, I'm stick to tomcat and I want to keep using it, I do at linux with > native libs and it rocks. Now I found this problem, I want to add virtual > hosts without restart the server, is that possible ? > I didn't fou

dinamically adding virtual hosts

2008-12-05 Thread Rodrigo Asensio
Hello, I'm stick to tomcat and I want to keep using it, I do at linux with native libs and it rocks. Now I found this problem, I want to add virtual hosts without restart the server, is that possible ? I didn't found any command at the manager to do this and it is logic since the manager belongs to

Re: page-at-a-time or byte-range downloading of Tomcat

2008-12-05 Thread Mark Thomas
Sithu Win wrote: > > > Hi, > could anybody tell me about whether the tomcat 5.5 support the > byte-range downloading or not. It does but doesn't send the headers to tell the Adobe client that it does. > is there any way to test it out? Actually I just would like to use > byteserving

Re: mod_jk -> ajp hangs indefinitely on some requests

2008-12-05 Thread Mark Thomas
Roy McMorran wrote: > Roy McMorran wrote: >> Despite my misgivings, 1.1.5 seems to have helped. It's run my test >> script for about 30 minutes now without problems (previously would >> have hung by minute 3). >> However! >> My dev system (which was already running 1.1.15) still exhibits the >> pr

page-at-a-time or byte-range downloading of Tomcat

2008-12-05 Thread Sithu Win
  Hi,   could anybody tell me about whether the tomcat 5.5 support the byte-range downloading or not. is there any way to test it out?  Actually I just would like to use byteserving  of pdf. Any help is appreciated. Best Regards, NST

AW: AW: java.io.IOException: Stream closed

2008-12-05 Thread Schuster Stefan
Hi Chris, the servlet contains no rocket science, so I am comfortable posting it completely ;) Error arrises on part marked with <<>>. The code reading the stream is generated by XMLBeans. Is there something that I should not do with the stream? For example closing it or something like that?

Re: jvm cowardly refuses to print a thread dump

2008-12-05 Thread Leon Rosenberg
On Fri, Dec 5, 2008 at 9:50 AM, Oliver Schoett <[EMAIL PROTECTED]> wrote: > Martin Gainty wrote: >> >> so the solution is put all updates/inserts to the arraylist into a >> synchronized method? > > You must synchronize all read and write methods, because nothing may run in > parallel with a write m

Re: jvm cowardly refuses to print a thread dump

2008-12-05 Thread Oliver Schoett
Martin Gainty wrote: so the solution is put all updates/inserts to the arraylist into a synchronized method? You must synchronize all read and write methods, because nothing may run in parallel with a write method, and so read methods must be prevented from executing if a write method runs a

Re: access to all sessions

2008-12-05 Thread Pieter Temmerman
LambaProbe's (http://www.lambdaprobe.org) features overview says : "Ability to expire selected sessions". Not sure if this is what you're looking for? Cheers. On Thu, 2008-12-04 at 12:09 -0700, Timothy J Schumacher wrote: > Hi Leon, > > Thanks for the info. So, if I simply wanted to tell TC to