Slightly OT: Who is attending the Tomcat courses on Monday & Tuesday

2009-03-21 Thread Pieter Temmerman
Hi List, Just wondering, anyone from the list who is attending the Tomcat training? I'm flying to Amsterdam tomorrow, in case somebody is in for some beers, just let me know! :) Cheers. Pieter

RE: JSESSIONID hijacking

2009-03-13 Thread Pieter Temmerman
> > However, as the jsessionid URL rewriting is defined in the servlet > > specification, I would expect this to be secure. > > Why, out of interest? I don't know. It just seemed way to easy to hijack a session, so I supposed it must be secure. > It's completely normal. Other frameworks have ex

JSESSIONID hijacking

2009-03-13 Thread Pieter Temmerman
Hi list. I've got an issue which I would like to share with you guys. My webapp requires a user to login, which on his turn creates a session for that user. Now, when I browse my webapp the address bar shows the current URL with a JSESSIONID. Let's say: http://testweb/testpageaction.do;jsessioni

Re: Slightly OT: ApacheCon - Mark Thomas

2009-03-02 Thread Pieter Temmerman
i, 2009-02-27 at 20:12 +, Mark Thomas wrote: > Pieter Temmerman wrote: > > Hi list, > > > > Actually this question is more a question for Mark Thomas than for the > > list, but please feel free to respond with your input. > > > > I'm trying

Slightly OT: ApacheCon - Mark Thomas

2009-02-27 Thread Pieter Temmerman
Hi list, Actually this question is more a question for Mark Thomas than for the list, but please feel free to respond with your input. I'm trying to convince my bosses to let me attend to the upcoming ApacheCon. I'm mainly interested in the Tomcat topics as this is what I touch regularly in my wo

Re: very slow class loading on initial JSP/servlet request after restart

2009-02-26 Thread Pieter Temmerman
came into play, clearly a VERY specific > scenario. > > THANKS, EVERYONE! I think we've solved this riddle! I owe you all beers, or > your beverage of choice! > > > ----- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional

Re: very slow class loading on initial JSP/servlet request after restart

2009-02-25 Thread Pieter Temmerman
> Thanks, Juha. Actually Pieter suggested it a little while ago, and I've been > trying to get some information out of > strace. The best I can do is to put strace in front of the java command > that's inside catalina.sh. That's the command > that shows with ps -ef when Tomcat is running.

Re: [OT] very slow class loading on initial JSP/servlet request afterrestart

2009-02-24 Thread Pieter Temmerman
it started a few days before Christmas (8 ?).. > That must be telling us something, we're just not smart enough yet to > figure it out. > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >

RE: LifecycleException: No UserDatabase component found under keyUserDatabase by Tomcat 6

2009-02-16 Thread Pieter Temmerman
Didn't see this one. Suppose that was the problem. -Mensaje original- De: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Enviado el: lun 16/02/2009 15:26 Para: Tomcat Users List Asunto: RE: LifecycleException: No UserDatabase component found under keyUserDatabase by Tomcat 6

RE: LifecycleException: No UserDatabase component found under keyUserDatabase by Tomcat 6

2009-02-16 Thread Pieter Temmerman
Would you mind telling us the solution? -Mensaje original- De: thomas2004 [mailto:thomas200...@yahoo.de] Enviado el: lun 16/02/2009 15:55 Para: users@tomcat.apache.org Asunto: RE: LifecycleException: No UserDatabase component found under keyUserDatabase by Tomcat 6 Hi all, I solve t

RE: Tomcat installation for Flyswatter

2009-02-13 Thread Pieter Temmerman
> If you want to keep the directory name for your webapp as ParticleBoard, then > do not put it under Tomcat's webapps directory, but do remove the existing > ROOT directory there. Put your webapp somewhere outside of Tomcat's > directory structure, and create the file conf/Catalina/localhost/

Re: Hello

2009-02-13 Thread Pieter Temmerman
elieve that this definitely needs at least a HowTo on the Tomcat > site. I'll get to it. > Unfortunately, I think that the current structure of the downloadable > versions does not make this really easy to explain. > I posted another message a couple of days ago that asked why the

Recommendation # webapps

2009-02-13 Thread Pieter Temmerman
Hi list, I realize my question may be very dependent on the environment, requirements and scope, but I was wondering if you guys recommend the use one Tomcat instance per webapp (on the same server), or rather several webapps in one Tomcat? Note that I'm talking about applications in production,

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Pieter Temmerman
n for one or two days and stop > unexpectedly > > 2009/2/12 Pieter Temmerman > > > What about attaching strace to the tomcat process? > > Try executing "strace ./bin/catalina.sh run" > > > > On Thu, 2009-02-12 at 18:01 +0100, Adlane ACHAB

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Pieter Temmerman
--- > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > > -- Pieter Temmerman email: ptemmerman@sadiel.es skype: ptemmerman.sadiel SADIEL TECNOLOGÍAS DE LA INF

Re: Weblogic library and Tomcat

2009-02-12 Thread Pieter Temmerman
ously) before the contextDestroyed message appears. I would rather expect my debug message before seeing the app redeploy. any thoughts on that? On Thu, 2009-02-12 at 14:56 +0100, Gregor Schneider wrote: > On Thu, Feb 12, 2009 at 1:19 PM, Pieter Temmerman > wrote: > > > >> I

Re: Weblogic library and Tomcat

2009-02-12 Thread Pieter Temmerman
> Is your Webapp using RMI to communicate with WebLogic? Don't know if this will answer your question, but I see that the following class is loaded: weblogic.iiop.PortableRemoteObjectDelegateImpl |--proDelegate of javax.rmi.PortableRemoteObject [Class]

Re: Weblogic library and Tomcat

2009-02-12 Thread Pieter Temmerman
I'm not the developer of this webapp, so I'm afraid I cannot answer that question. On Thu, 2009-02-12 at 12:44 +0100, Gregor Schneider wrote: > Just a shot from the hip: > > Is your Webapp using RMI to communicate with WebLogic? > > Gregor -- Pieter Temmerman email:

Re: Weblogic library and Tomcat

2009-02-12 Thread Pieter Temmerman
Hi guys, I've been trying YourKit profiler, as Mark suggested. However, I am a little bit stuck. > Tomcat will clear the references it has created but you are responsible for > clearing the references you create. Once all the references are cleared gc > will > remove it. > >> You need to find w

Re: Weblogic library and Tomcat

2009-02-11 Thread Pieter Temmerman
Pieter On Wed, 2009-02-11 at 16:15 +, Mark Thomas wrote: > Pieter Temmerman wrote: > > Is there any documentation I can read to understand this process better, > > or do I rather have to digg into the source code to get a better picture > > of all these Tomcat intern

RE: TC6 gives ArrayIndexOutOfBoundsException when writing large headers

2009-02-11 Thread Pieter Temmerman
t; this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users

Re: Weblogic library and Tomcat

2009-02-11 Thread Pieter Temmerman
Hi Mark, > You are on the right track with a profiler. I use (and highly recommend) > YourKit. I get a free copy as an Apache developer for investigating Tomcat > related issues but it is reasonably priced and I have bought several copies > for > different projects over the years. It usually retu

Re: [OT] Weblogic library and Tomcat

2009-02-11 Thread Pieter Temmerman
Thanks André. Let's say I'm a quick learner :-) On Wed, 2009-02-11 at 13:35 +0100, André Warnier wrote: > Pieter Temmerman wrote: > [...] > > Hear, hear. > Nothing to do with the problem at hand, and I cannot help with that, but > I believe this to be sufficiently

Weblogic library and Tomcat

2009-02-11 Thread Pieter Temmerman
Hello List, A colleague of mine is having an issue with his application deployed in a Tomcat 5.5.27 (jdk1.5.0_15) on a Debian Linux. The application makes a connection to service running on a WebLogic server. Therefor, he needs to include the weblogic.jar library in his application. When redeplo

Re: sessions lost after redeploy

2009-02-06 Thread Pieter Temmerman
The sessions are saved inside $CATALINA_HOME/work/catalina/localhost/APPNAME/sessions.ser In case you deploy a new version of your application or make modifications, I suppose Tomcat sees this as a new application and removes your current APP work-dir, and thus it's sessions.ser file Correct me i

Re: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread Pieter Temmerman
might consider this question a bit obscure too) > > As a secondary question, does the fact of adding such a Listener have > any discernable impact on Tomcat's performance (when JConsole is not in > use) ? > > - > To unsubscri

RE: Thread dump analysis

2009-02-04 Thread Pieter Temmerman
Charles, List, >Hmmm... could be a JVM bug, or might be a conflict with classes in your >webapp. Do you happen to have some XML-related jars in >your webapp or >otherwise visible to that branch of the classloader tree? (I guess you >answered that below.) Well, actually, the developers also i

Re: Thread dump analysis

2009-02-04 Thread Pieter Temmerman
6 and XFire (I haven't found any indications for that). The thing is, using JDK5, I don't see any Xerces threads anymore that are continuously running. Cheers. Pieter On Wed, 2009-01-28 at 18:13 +0100, Pieter Temmerman wrote: > Thanks Chris, > > I just bumped into a very nice plu

Re: AJP vs HTTP connectors?

2009-02-04 Thread Pieter Temmerman
would be among the > very last pieces which I would suspect of being involved in the problem. > > > > - > To unsubscribe, e-mail: users-unsubscr...@t

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread Pieter Temmerman
ed to deploy some thread and memory monitoring setup to get a handle > on this. > > Can someone suggest a path forward here? > > Thanks. > > > - > To unsubscribe, e-mail: users-unsubscr...@tomca

Re: Error in building mod_jk for Apache 2.2.x and Tomcat 4.x

2009-02-03 Thread Pieter Temmerman
test -n '' > + prevarg=mod_jk.lo > + case $arg in > + test -z '' > + echo 'libtool: link: `mod_jk.lo'\'' is not a valid libtool object' > libtool: link: `mod_jk.lo' is not a valid libtool object > + exit 1 > > Could some

Re: Slightly OT: ApacheCon Europe 2009

2009-02-02 Thread Pieter Temmerman
ch I'm sure can be found in Amsterdam. > > More information here : http://en.wikipedia.org/wiki/Trappist_beer > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --

RE: Thread dump analysis

2009-01-28 Thread Pieter Temmerman
Hi Chuck >> Could it be that Tomcat ran out of connectors (maxThreads >> was hit) and after a while they get closed by the timeout? >Depends on how your DB connector pool is configured. I was actually referring to the limit of http connections, set by maxThreads. >> This could be a plausible e

Re: Thread dump analysis

2009-01-28 Thread Pieter Temmerman
> Do I understand you correctly, that after you killed the first tomcat > (in my understanding the one which fires soap requests, tomcat 5) than > all the RUNNABLE threads in the second tomcat (the one that answers > soap, tomcat 6 with xfire) went away and it (tomcat) was idle? No, I did not res

Re: Thread dump analysis

2009-01-28 Thread Pieter Temmerman
Thanks Chris, I just bumped into a very nice plugin for Jconsole called "TopThread". It's a linux top alike and shows the CPU usage of all threads. This only confirms what I figured out before, there are two threads taking up all CPU. See below for their stack trace: com.sun.org.apache.xerces.int

Re: Thread dump analysis

2009-01-28 Thread Pieter Temmerman
>If the threadMax would be too low in the connector, wouldn't the > "freeze" be over once there are free connections? And also, how can a > small threadMax make a thread hang? For example the one that is trying > to read an XML file. As a follow up on my own question. This is what the docs say: A

Re: Thread dump analysis

2009-01-28 Thread Pieter Temmerman
I really appreciate your input Leon. On Wed, 2009-01-28 at 11:07 +0100, Leon Rosenberg wrote: > > "RMI TCP Connection(42)-173.x.x.x" - Thread t...@112 > > java.lang.Thread.State: RUNNABLE > > reading from socket, usually not a problem. > I thought so. Thanks. > > "http-8081-35" - Thread t...

RE: Thread dump analysis

2009-01-28 Thread Pieter Temmerman
76.59514054008152% used I'm quite sure that one of the RUNNING threads of Tomcat 6 is the problem, which will probably be related to the webservice. But I'm puzzled with wath the problem might be. Sorry for the long response, I tried to be as complete as possible. Thanks in advanc

Thread dump analysis

2009-01-26 Thread Pieter Temmerman
Hi all. I've been investigating why one of our applications (running in Tomcat 5.5.7) suddenly freezes after a variable amount of time (sometimes 10min, sometimes 2 hours). Disclaimer: I'm not the developer of the application, nor do I know the exact details of how stuff is implemented. I know..i

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-18 Thread Pieter Temmerman
gt; Just one more question : assuming (just assuming) that I would like to > have a try myself, just for memory's sake, but I don't have the exact > customer system. (I have a Debian Linux 2.6.18 32-bit system) > Does that work, and can I use the result on the customer's Suse Linux > system ? > > &

Re: DeltaManager + Session beans: Do they like eachother?

2008-12-16 Thread Pieter Temmerman
ire session and is > able to capture this scenario > but that is not the way to go, if you change something in the session, > just call setAttribute > > Cart cart = (Cart)session.getAttribute("cart"); > cart.addItem("cucumber"); > session.setAttribute("c

A few clustering related doubts

2008-12-15 Thread Pieter Temmerman
Hi I got a Tomcat cluster set up, which is working for most applications. However, since I am experiencing some problems (See another thread of mine "Deltamanager + Session beans: Do they like eachother?"), I reread the Tomcat clustering documentation. The following are a few things that are not

Re: DeltaManager + Session beans: Do they like eachother?

2008-12-15 Thread Pieter Temmerman
A bit of more information. The session bean is implemented using com.sun.rave.web.ui.appbase.AbstractSessionBean I haven't found any relationship between that class and incompatibilities with Tomcat and/or the DeltaManager. I'm puzzled On Fri, 2008-12-12 at 13:24 +0100, Pieter Temme

DeltaManager + Session beans: Do they like eachother?

2008-12-12 Thread Pieter Temmerman
Hello everybody, First of all, to avoid any misunderstandings, below problems relate to applications that I did not write, neither do I exactly know the implementation of them. Although, if required, I can ask the programmer for more information. That being said, the problem that I am seeing is t

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

Re: Unable to stop SimpleTcpReplicationManager

2008-12-04 Thread Pieter Temmerman
This problem is solved. I replaced the SimpleTcpReplicationManager by the DeltaManager and everything works as expected. On Wed, 2008-12-03 at 23:48 +0100, Pieter Temmerman wrote: > Hi all, > > I'm having two Tomcats which are placed in a cluster. > If I stop and start a co

Unable to stop SimpleTcpReplicationManager

2008-12-03 Thread Pieter Temmerman
Hi all, I'm having two Tomcats which are placed in a cluster. If I stop and start a context (instead of completely stopping/restarting Tomcat), then I see the following error in catalina.out: ERROR: Unable to stop SimpleTcpReplicationManager No other information is specified. I have been Googli

RE: Relation between sessions and server slowlyness

2008-12-02 Thread Pieter Temmerman
My apologies for the misunderstanding. On Tue, 2008-12-02 at 10:18 -0600, Caldarale, Charles R wrote: > I wasn't referring to your question, but rather to my initial terse responses > of "maybe" and "42". > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETA

RE: Relation between sessions and server slowlyness

2008-12-02 Thread Pieter Temmerman
r with all the information I figured out, in case I'm stuck. Thanks again. On Tue, 2008-12-02 at 09:33 -0600, Caldarale, Charles R wrote: > > From: Pieter Temmerman [mailto:[EMAIL PROTECTED] > > Subject: Relation between sessions and server slowlyness > > In the spirit of A

Relation between sessions and server slowlyness

2008-12-02 Thread Pieter Temmerman
Hi. A quick question: My session timeout is set to 45 minutes, so after a while I get a lot of open sessions, although they are not active. Is it possible that my application is slower because of the amount of open sessions? How much memory does a session occupy? Thanks in advance

Re: calculate memory

2008-12-01 Thread Pieter Temmerman
Hi Alberto, I think this is merely "try and error". Maybe jconsole would help as suggested by other people today. I personally have not used it before. Cheers. --- Creo que la única manera de averiguarlo es "prueba y error". Hoy, ya varias personas han mencionado una utilidad que se llama "jcons

Re: Exception in thread

2008-11-27 Thread Pieter Temmerman
il now) On Thu, 2008-11-27 at 04:23 -0800, Christian Poecher wrote: > > > Pieter Temmerman-2 wrote: > > > > The only thing that I think could be related to the problem is listed > > below. > > > > Exception in thread "TP-Processor15" Except

Exception in thread

2008-11-27 Thread Pieter Temmerman
Hi All, I experienced a problem with Tomcat where all applications where inaccessible. (Tomcat just hung, no 404 errors where given or something). The only thing that I think could be related to the problem is listed below. Exception in thread "TP-Processor15" Exception in thread "Cluster-Members

Re: HowTo update tomcat-users.xml without restarting tomcat

2008-11-27 Thread Pieter Temmerman
I think that is not possible. In production, the best option would be to use a database or LDAP directory to store your accounts. On Thu, 2008-11-27 at 10:39 +0100, [EMAIL PROTECTED] wrote: > Hello everybody, > > I need to update the tomcat-users.xml quite often in a productive > environment. T

Re: Tomcat Security

2008-11-27 Thread Pieter Temmerman
It's a pitty das mein Deutsch nicht so gut ist! ;) On Thu, 2008-11-27 at 09:04 +0100, André Warnier wrote: > Rainer, Michael, (*) > > do you know this place ? (in German) > http://www.bsi.bund.de/literat/index.htm > > Look for A (for Apache) and T (for Tomcat). > The one for Tomcat relates to 5.

RE: HELP!!! java.lang.NoClassDefFoundError running CXF-based client inTomcat

2008-11-26 Thread Pieter Temmerman
One such tool is jarFinder (http://www.isocra.com/articles/jarFinder.php) You need Ant to build the tool. Example: java -cp classes com.isocra.utils.jarSearch.DirectorySearcher DIRECTORY org.my.program.class Another explanation could be that the wrong class loader is looking for the class. Can