Most strict / conservative setting for SimpleTcpCluster - channelSendOptions

2017-07-25 Thread Clemens Eisserer
Hi there, What is the strictest / most conservative setting for channelSendOptions when using SimpleTcpCluster for session replication (synchronous + ack + ??) ? I have a web-app where each request dependes on the session-state of the previous one and unfortunatelyI have to deploy in an environmen

Re: Class.forName doesn't find classes located in WEB-INF/lib

2011-06-06 Thread Clemens Eisserer
Hi Martin, > 3)webapp (everything found in WEB-INF/lib and WEB-INF/classes) > > you are using system classloader to loaf WEB-INF/lib jar > use the webapp classloader So according to this, the servlet as well as the classes from WEB-INF/lib are loaded with the same classloader? What I did in the s

Class.forName doesn't find classes located in WEB-INF/lib

2011-06-06 Thread Clemens Eisserer
Hi, I have a servlet which dynamically loads classes from jar-files located in WEB-INF/lib/, however tomcat somehow seems to ignore those jar-files. in WEB-INF/lib/Notepad.jar there is a class Notepad.class (without any package), however loading that class yields: Loading Application Class: Note

Does Tomcat ignore jsessionID URL's when usually cokies are used for session handling?

2009-07-06 Thread Clemens Eisserer
Hi, I have to integrate an applet into a larger html-based webapp. The html-based application uses cookies for session management, however the applet uses url-rewriting (jsessionid=...). My plan would be to pass the session-id to the applet as an applet-tag parameter, and simply re-write the appl

Howto enable SSL/https for the tomcat-embedded version?

2009-07-04 Thread Clemens Eisserer
Hello, To do some development/testing I would like to enable SSL/https for my embedded tomcat version. The SSL tutorial suggests to modify server.xml, however this version of tomcat doesn't seem to have this file - instead all the configuration seems to be done by the ant build.xml file which is u

Re: Using tomcat to hold many open connections.

2008-10-06 Thread Clemens Eisserer
Jetty has a special api to allow exactly this kind of request efficiently. The thread is not kept assignd to the "sleeping" connection, but is re-used. lg Clemens 2008/10/6 Kees Jan Koster <[EMAIL PROTECTED]>: > Dear Uprooter, > >> I'm looking for a server that has to hold many (web services) rem

Re: Tomcat with support for asyn servlets (3.0)?

2008-10-06 Thread Clemens Eisserer
> There is a draft 3.0 spec but no APIs at present. Once there is a draft > with some APIs I image there will be a Tomcat 7 branch that will remain > alpha at least until the spec is final. Thanks :) lg Clemens - To start a new t

Tomcat with support for asyn servlets (3.0)?

2008-10-05 Thread Clemens Eisserer
Hi, Is there some version of tomcat which implements support for suspend/resume servlet functionality currently discussed in the JSR? I know Jetty6/NIO has a proprietary API for this, but if possible I would prefer to build it arround the expected standard way. Thank you in advance, Clemens

Re: Differentiate Tomcat 6.x with Tomcat 5.x

2007-09-09 Thread Clemens Eisserer
> Now that was just plain unnecessary. Sure it was a lazy question, but > you could always just delete it. Sorry it was absolutly not my intention to send this mail to the list I guess it was just an over-reaction caused by all those over-spammed forum.java.sun.com forums :-/ lg Clemens ---

Re: Differentiate Tomcat 6.x with Tomcat 5.x

2007-09-06 Thread Clemens Eisserer
Hohoho, Happy Christmas! By the way: Read the fucking manual! lg Clemens 2007/9/3, MOHD SUFIAN BIN ZAKARIAH ZAKARIAH <[EMAIL PROTECTED]>: > Hello > > I have something question about Tomcat version. I want to know that Tomcat > 6.x have difference with Tomcat 5.x and other. Can give explainati

Re: Tomcat on Plesk

2007-08-07 Thread Clemens Eisserer
as far as I know this is not possible with Plesk. To be honest I had very ugly experiences with Plesk+Tomcat, I've to use it but I personally hate it, and it does not work very well. (Uploaded servlets take ages till they become "active", status report is wrong, non-existent logging in plesk itsel

Re: How to run a .exe file from a web application in tomcat

2007-03-22 Thread Clemens Eisserer
By the way using an "exe-drawing tool" is maybe a bad idea because this would mean your clients all need to be win32/i386 computers. I guess something like that should not be too hard to do with an Java-based drawing tool you could embed as applet and you write the Http upload/download code. lg

Re: Are there frameworks for in-cluster communication?

2007-03-22 Thread Clemens Eisserer
Hello, Terracotta? http://www.terracotta.org/ Thanks a lot for your answer. Wow teracotta really looks impressive and very powerful- however its too heavy for my use. It needs servers and clients started and so on which is problematic because I don't have any control over the servers :-/ I t

Are there frameworks for in-cluster communication?

2007-03-22 Thread Clemens Eisserer
Hello, I know this question is a bit off-topic, but I can't resist to ask directly where all the cluster-specialists are ;) Are there special (best would be open-source) frameworks for in-cluster communication? I have to make a large servlet-based solution cluster-ready and it seems to be really

Howto ensure session consistency in a cluster?

2007-01-28 Thread Clemens Eisserer
Hello, I've some questions about servlets and session management in a clustered tomcat installation: - The servlet I've developed is really sensitive to session-consistency because it uses some extra encryption (not https), it supports many other backends (among servlet) where https may not be a

Should I manually buffer my streams I get from the servlet-container?

2006-12-15 Thread Clemens Eisserer
Hello, I wonder wether I should manually buffer the streams I get from HttpRequest/HttpResponse by wrapping it in an BufferedStream? Is does Tomcat (and whats about other servlet containers) take care about Buffereing? Furthermore are the streams provided by Tomcat synchronized? Thank you i

Re: Suddenly server only throws ClientAbortException :-/

2006-11-03 Thread Clemens Eisserer
realistic when looking at the logfiles. I'll see wether it happens again, thanks for your help and your suggestions. Thanks, lg Clemens 2006/11/3, Caldarale, Charles R <[EMAIL PROTECTED]>: > From: Clemens Eisserer [mailto:[EMAIL PROTECTED] > Subject: Suddenly server only throws Cli

Re: Suddenly server only throws ClientAbortException :-/

2006-11-03 Thread Clemens Eisserer
Hi again, Could this have something todo with missing free heap space? Some lines later in my log-file I see a OufOfMemoryException happen, although between there have been some sucessful requests. lg Clemens 2006/11/3, Clemens Eisserer <[EMAIL PROTECTED]>: Hello, One of our users is

Suddenly server only throws ClientAbortException :-/

2006-11-03 Thread Clemens Eisserer
Hello, One of our users is using Tomcat 4.1.29/java-1.4.2 on w2k3 server, and he has strange problems with our webservice. Tomcat suddenly throws at every request a ClientAbortException, like the following: ERROR 2006-10-30 07:21:17,736 - ClientAbortException: java.net.SocketException: Connectio

Re: Scaliability question (locking on Vector)

2006-03-24 Thread Clemens Eisserer
Hi again, > find . -name *.java -exec grep Vector {} \; -print > > then you see we use vector but I also think you analyse must > start with WebappClassLoader Well the way of detecting where locking happens worked quite well, display the class-names of the objects where locking happens using Be

Re: Scaliability question (locking on Vector)

2006-03-23 Thread Clemens Eisserer
Hi again, > Some rarely used (and old) code is still using some vectors, but I > doubt you're using them (or your application is really doing odd > stuff). The two less unusual places are range requests for static > files, and WebappClassLoader.findResources. My code does not use Vectors nore does

Scaliability question (locking on Vector)

2006-03-23 Thread Clemens Eisserer
Hello, I just recently discovered the JRA-Tool from Bea which is capable to display the type and the count of locking on objects of different classes. (It basically shows the name of the class the object which has been locked on was an instance of). I found some parts of my application that caus

Re: Tomcat and Threads

2006-03-19 Thread Clemens Eisserer
Hi again, > There's some good, in-depth discussion in the archives. It > needs some updating, but: > http://www.distributopia.com/servlet_stuff/background_threads.html > > is also reasonably informative. Thanks a lot for mentioning this article - wow i think i could have caused troubles on my

Tomcat and Threads

2006-03-18 Thread Clemens Eisserer
Hello, I've created a servlet wich creates some threads for doing background stuff. Till now I never worried about these thread since I was runnning this servlet only on my own servers. However now I subscribed to a servlet-hosting service which uses a shared tomcat enviroment. How does tomcat ha

Re: Troubles with commons-logging and Log4J

2006-03-18 Thread Clemens Eisserer
Did no one ever experience these problems, or similar stuff? I hardly can imaging that... Please help, its driving me crazy :-/ Thank you in advance, lg Clemens 2006/3/17, Clemens Eisserer <[EMAIL PROTECTED]>: > Hello, > > for evaluation I use the embedded version of tomcat (th

Troubles with commons-logging and Log4J

2006-03-17 Thread Clemens Eisserer
Hello, for evaluation I use the embedded version of tomcat (that one that can be started via ant) and I have major troubles using Log4J in my project. I would prefer having my own copy of Log4J on the lib-directory, so I would not have to worry about older/newer versions installed on various appl