Re: [JBoss-user] Async replication messages possible?

2003-09-25 Thread Joao Clemente
ages possible? > Which repl are you referring to ? > > Session (Tomcat, Jetty) ? > EJBs ? > > I think replis async by default. > > > Joao Clemente wrote: > > >Hi. > >(This message is in particular for Bela, but others feedback is welcome) > > > >I

[JBoss-user] Async replication messages possible?

2003-09-22 Thread Joao Clemente
m assuming it's because of a overhead of Jgroups "ack'ing" the replication before letting the master node reply to the user. (question for bela) Can it be? If so, can I put jgroups in "async" mode, either delaying the replication message or not waiting for the "

Re: [JBoss-user] Cluster "replica" absurd memory usage ?!?

2003-09-17 Thread Joao Clemente
quot; absurd memory usage ?!? That the memory usage is bigger is logical as many more objects are created when using clustering compared to the non-clustered case. Furthermore, it is up to the JVM GC to decide when to reclaim that memory. Maybe the memory is used but could be reclaimed. > Jo

Re: [JBoss-user] Clustering memory usage, can we use more agressiveGC settings?

2003-09-17 Thread Joao Clemente
Bela, if you check my thread "Cluster replica absurd memory usage" I figured out I am doing a 1.6 requests per second to the cluster. If every request issued 10-20 interactions between my application components, it yould be 16-32 cluster msgs/sec, way far from being too much I guess... Thank you bu

Re: [JBoss-user] Cluster "replica" absurd memory usage ?!?

2003-09-17 Thread Joao Clemente
gt; Maybe because you are creating new sessions every request and those > sessions haven't timed out? I think the default HTTP session timeout is > 15 minutes. > > Joao Clemente wrote: > > > Ok, trying to figure out what is going wrong with my tests, I decided to do >

[JBoss-user] (Updated) Re: Cluster "replica" absurd memory usage ?!?

2003-09-16 Thread Joao Clemente
point exactly where.. Oh, btw, I'm using jboss 3.0.8 with j2sdk 1.4.1_01 on windows 2000. - Original Message - From: "Joao Clemente" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 4:33 AM Subject: [JBoss-user] Cluster "replica

[JBoss-user] Cluster "replica" absurd memory usage ?!?

2003-09-16 Thread Joao Clemente
machine... 2 - why is the replica memory usage getting larger and larger each run of the test? It seems to grow about 60 Mb per run... -- Joao Clemente - jpcl at rnl ist utl pt --- This sf.net email is sponsored by:ThinkGeek Welcome to g

Re: [JBoss-user] Clustering memory usage, can we use more agressive GC settings?

2003-09-16 Thread Joao Clemente
Bela, could you point me to some documentation or provide a little better explanation of what to do? I'm a bit lost here... : I downloaded javagroups 2.1.1, found a fc.xml file inside (btw, there's a flow-control.xml file aswell, that seems to be a copy of fc.xml), checked what was inside my cluste

Re: [JBoss-user] Clustering memory usage, can we use more agressive GC settings?

2003-09-15 Thread Joao Clemente
the JGroups distro, and modify you cluster-service.xml. > > Joao Clemente wrote: > > >Hi! Load testing my application ( with Jboss 3.0.8 ) I had these strange > >results: > > > >If using 1 jboss node, with cluster settings active but without another > >machi

[JBoss-user] Clustering memory usage, can we use more agressive GC settings?

2003-09-15 Thread Joao Clemente
y do I triple the memory available to java and it still goes to maximum usage, and after hours of not loading the server the memory usage does not decrease? - Could I set more aggressive memory settings to java that could free more memory, making my app work without the "

[JBoss-user] jndi first access in a Cluster environment question

2003-09-07 Thread Joao Clemente
there is the need to explicilty provide a servername to do jndi queries, we'll not have HA or LB in that client interactions with the cluster... or can we? Thank you -- Joao Clemente - jpcl at rnl ist utl pt --- This sf.net email is sponsore

Re: [JBoss-user] Configuration for JBoss Startup

2003-09-01 Thread Joao Clemente
- Original Message - From: "Sheldon Hearn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> > On (2003/09/01 09:57), Neal Sanche wrote: > > > Another option would be to investigate Pre-Compiling your JSPs so that > > the compilation time won'[t affect the first user on the system. > > I've d

(ignore last message) Re: [JBoss-user] Configuration for JBoss Startup

2003-09-01 Thread Joao Clemente
Sorry for the last message.Forget it. I had just read "Build optimized Jboss version" message and I tough you're answering to it. I only notisted the mistake after double-checking the subjects. Sorry. --- This sf.net email is sponsored by:Think

Re: [JBoss-user] don't get load blancing to run

2003-08-29 Thread Joao Clemente
> > If the Session bean is in the same JVM as your MDB then it will not be > > load balanced. THe logic behind this is that local calls will always > > be faster. > > Sounds like that is the solution for my problem. But what can i do when > i wish to not deploy my application in one node that is i

[JBoss-user] java.lang.outofmemoryError?!? My system memory is still free!!!

2003-08-14 Thread Joao Clemente
that be it? Thanks -- Joao Clemente - jpcl at rnl ist utl pt --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX o

Re: [JBoss-user] ejbActivate() and concurrent calls on stateful beans

2003-08-12 Thread Joao Clemente
; Sent: Friday, August 01, 2003 9:49 PM Subject: Re: [JBoss-user] ejbActivate() and concurrent calls on stateful beans > Probably, but the deadlock thread dump is needed to be sure. > > -- > > Scott Stark > Chief Technology Officer > JBoss Group, LLC &g

Re: [JBoss-user] JBoss: Deploying in a different directory

2003-08-11 Thread Joao Clemente
cant you just use "./back_office" ? Why not? I particulary am fond of using the following setup: ./deploy,./myDeploy,../../../myDeploy This gives me a folder at the same level as "deploy" that I can use to pu my own stuff, and a foder at the same level as "jboss-xxx" to put apps when I'm testing wi

Re: [JBoss-user] Pattern advice for ejb recovery wanted

2003-08-01 Thread Joao Clemente
: [JBoss-user] Pattern advice for ejb recovery wanted > Hello Joao, > > Are you using demarcation and saving the transaction state with separate containers? > > > -------Original Message--- > From: Joao Clemente <[EMAIL PROTECTED]> > Sent: 08/01/03 01:11 PM > To: [

[JBoss-user] ejbActivate locks when it should throw "no concurrent calls on stateful beans"

2003-08-01 Thread Joao Clemente
Ok. I've read the spec and I see no reason why interlaced business-method calls triggered by ejbActivate()'s should not throw the referred exception. Using jboss 3.0.8 it locks silently. -- Joao Clemente - jpcl at rnl ist utl pt --

[JBoss-user] Pattern advice for ejb recovery wanted

2003-08-01 Thread Joao Clemente
over situation, if I have a call to EJB1.businessMethod1(), what is the pattern that allows to recover value2 ? -- Joao Clemente - jpcl at rnl ist utl pt --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports,

[JBoss-user] ejbActivate() and concurrent calls on stateful beans

2003-08-01 Thread Joao Clemente
ring here, where I was expecting to obtain an exception ("concurrent calls on stateful beans"). Using this pattern with methods other than ejbActivate we get that exception, so shouldn't it occur here aswell? ejb1 { ejbActivate() { ejb2.someMethod() } } ejb2 { ejbActivate(

SOLVED (Re: [JBoss-user] Cluster failover and "no concurrent calls on stateful beans")

2003-08-01 Thread Joao Clemente
ssible. This would say that the method is harmless to the state of the bean... But this is another story... Hope maybe our bad (old) design will help someone to avoid this mistakes :-) Joao Clemente - Original Message - From: "Joao Clemente" <[EMAIL PROTECTED]> Sent: Monday,

Re: [JBoss-user] Cluster failover and "no concurrent calls on stateful beans"

2003-07-28 Thread Joao Clemente
I'll get you one, but I'm not sure what you want: - The exception stacktrace? - The server stack trace (dump) at the time of the exception? This last one I don't know how to do programatically... - Original Message - From: "Sacha Labourey" <[EMAIL PROTECTED]> Sent: Monday, July 28, 200

[JBoss-user] Cluster failover and "no concurrent calls on stateful beans"

2003-07-28 Thread Joao Clemente
We're changing our app so that we can recover the transient parts of our objects so that we can eventually support failover. One of our recovery methods fails with "Application error: no concurrent calls on stateful beans" and we're being unable to trace what is responsible for this behaviour. We a

Re: [JBoss-user] The Source or not the Source

2003-07-26 Thread Joao Clemente
I've been using the binaries in a university project wich involves clustering. However, I've found and reported bugs/problems that were fixed on cvs. Until the next release was provided, I had to resort to building from CVS to benefit from those fixes. If you don't need something from cvs, I see no

Re: [JBoss-user] NoSuchObjectException: Could not activate; failedto recover session

2003-07-17 Thread Joao Clemente
Have you seen any problem on the way I'm using replication? I am suposed to keep the ejb references on the servlet httpSession , right? - Original Message - From: "Joao Clemente" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 16, 2003 4:22

Re: [JBoss-user] NoSuchObjectException: Could not activate; failedto recover session

2003-07-16 Thread Joao Clemente
- Original Message - From: "Scott M Stark" <[EMAIL PROTECTED]> Sent: Wednesday, July 16, 2003 3:11 PM > This shows that the call is not going through the HA aware proxy. It is going > through the local invoker and bypassing the HA aware proxy because of the > collocation of the caller and

Re: [JBoss-user] NoSuchObjectException: Could not activate; failed to recover session

2003-07-16 Thread Joao Clemente
ssage - From: "Joao Clemente" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 15, 2003 12:41 PM > - Original Message - > From: "Scott M Stark" <[EMAIL PROTECTED]> > Subject: Re: [JBoss-user] NoSuchObjectException: Could not activ

Re: [JBoss-user] NoSuchObjectException: Could not activate; failed to recover session

2003-07-15 Thread Joao Clemente
- Original Message - From: "Scott M Stark" <[EMAIL PROTECTED]> Subject: Re: [JBoss-user] NoSuchObjectException: Could not activate; failed to recover session > Show the full stacktrace of this error to demonstrate that the request is in > fact going through an HA capable proxy. > Well,

Solved?!? (Re: [JBoss-user] [Cluster test app] fails to recover ejb session?)

2003-07-14 Thread Joao Clemente
Well, I can't explain why, but I've setup my cluster with the a loadbalancer in front, instead of interacting directly with one of the jboss servers, and this way I don't have an exception... If someone has followed the problem I described here, I have an hipoteses for what was happening, but I wou

[JBoss-user] NoSuchObjectException: Could not activate; failed to recover session

2003-07-14 Thread Joao Clemente
s down as my http requests are send directly to JB1) But I'm not sure if this makes a diference or not... - Original Message - From: "Joao Clemente" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 13, 2003 8:21 PM Subject

[JBoss-user] [Cluster test app] fails to recover ejb session?

2003-07-13 Thread Joao Clemente
I'm using JBoss 3.0.8 and testing clustering failover, in particular the recovery of a ejb session. I would like to ask if someone as executed such test and has suceeded with it. (Strangely I was almost sure I had good results in this test some months ago, with a previous JBoss version) I am having

[JBoss-user] Is there a maxNewConnections limit set to +-about 20-30 somewhere?!?

2003-07-04 Thread Joao Clemente
The new problem I'm having: Trying to figure out the maximum number of concurrent connections that my server deals with, I'm being able to open more than 20 connections at a time, and less than 30 connections... The strange thing is that this value only applies to the new connections I'm trying to

Problem after problem... (Re: [JBoss-user] http session clustering)

2003-07-03 Thread Joao Clemente
y tha hell didn't I went for medicine school? what 'tha heck... maybe I can still be a plumber or something... maybe I should just be in bed..." - Original Message - From: "Sacha Labourey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECT

Re: [JBoss-user] http session clustering

2003-06-06 Thread Joao Clemente
- Original Message - From: "Stefano Maestri" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 06, 2003 10:44 AM Subject: Re: [JBoss-user] http session clustering > Thanks, it works. > just a suggestion add this on your very good "JBoss Clustering" docs. > And another thing

Re: [JBoss-user] session bug?

2003-03-27 Thread Joao Clemente
On Wed, Mar 26, 2003 at 07:45:55PM -0500, Dan K. wrote: > I believe there is a bug with getting the session in JBoss 3.0.6 using the > "all" configuration with in web.xml. The behavior is > that every request to my test servlet gets a new session id (new session > is created). > > If I remove t

Re: [JBoss-user] ClusteredHttpSession Question

2002-08-12 Thread Joao Clemente
- On Fri, 09 Aug 2002 14:05:34 -0700 Greg Turner <[EMAIL PROTECTED]> wrote: > I am looking for a free software solution to load balance http requests > to multiple instances of JBoss/Jetty in a cluster inorder to test > ClusteredHttpSessions. Any ideas? What does everyo

[JBoss-user] If http session is replicated.. no need for session affinity?

2002-07-24 Thread Joao Clemente
Hi. As I was looking for a good load balancing solution for JBoss, it just came to my mind this question: If httpSession is replicated, all machines have all session instances in memory... So, there is no need to use a "sticky-session" load balancing algorithm, right? Furthermore, as we do not

Re: [JBoss-user] So simple that I can't find it...

2002-07-21 Thread Joao Clemente
> Did you download just the binaries? If so, go to this URL and download the > source. Then go to build directory and run the build script. Then go to > cluster/output/lib where you will find the sar file. Yes, I downloaded the binaries... Ok, I'll do that > http://prdownloads.sourceforge.

Re: [JBoss-user] So simple that I can't find it...

2002-07-21 Thread Joao Clemente
> You need to copy the jbossha-httpsession.sar into the deploy directory. This > file can be found, in one of the docs subfolders. Sorry but I looked and looked and there is no such file. Maybe it's only on 3.0.1 RC ? Or maybe in the JbossTomcat version? I am using 3.0.0 (with Jetty) -- "Put