Re: [JBoss-user] Load Balancing & Failover For JMX RMIAdapter - Solved - But One More Thing...

2003-11-12 Thread Adrian Brock
Hi, You will find an example for load balancing an MBean in the jmx tests in the testsuite of 3.2.2 There is now a generic HA proxy factory extending the one described in Chapter 2 of the admin docs. To avoid your particular problem, you'll need something similar to the clean shutdown interceptor

Re: [JBoss-user] Load Balancing & Failover For JMX RMIAdapter - Solved - But One More Thing...

2003-11-12 Thread Nicholas
I figured out what I was doing wrong after some drifting through the source code. Anyways, now it load balances fine. (Instead of sourceObject.getClass(), I used org.jboss.jmx.adaptor.rmi.RMIAdaptor.class.) However, I observed that when I tried to test the failover by stopping one of my servers,

Re: [JBoss-user] load-balance polices

2003-09-20 Thread Adrian Brock
On Fri, 2003-09-19 at 10:47, Rafal Kedziorski wrote: > hi, > > in the latest (2003-08-03) payed clustering documentation on page 37 > listing 5-5 and 5-6 shows how poxies works. > > Now my question. We workinf with JBoss 3.2.2RC2 and 3.2.2RC4 and start to > develop an application which will run

Re: [JBoss-user] load-balance polices

2003-09-20 Thread Scott M Stark
If you always want the ejb calls to ignore any colocated beans you would need to replace the org.jboss.invocation.InvokerInterceptor in the proxy-factory-config for the bean to use a variation that bypassed the colocation check. Its invoke method would simply be: public Object invoke(Invocation

Re: [JBoss-user] load-balance polices

2003-09-20 Thread Bob Cotton
Two things, I think you can set a LoadBalance policy on home lookups. xdoclet tags: * @jboss.cluster-config * partition-name="MyCluster" * home-policy="org.jboss.ha.framework.interfaces.RoundRobin" * bean-policy="org.jboss.ha.framework.interfaces.RoundRobin" The other way is not to cal

RE: [JBoss-user] Load-Balancing Problems

2003-08-18 Thread Sacha Labourey
gt; is in Branch_3_2. > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On > > Behalf Of > > > Simone Milani > > > Sent: lundi, 18. août 2003 18:16 > > > To: [EMAIL PROTECTED] > &

RE: [JBoss-user] Load-Balancing Problems

2003-08-18 Thread Kevin Duffey
imone Milani > > Sent: lundi, 18. août 2003 18:16 > > To: [EMAIL PROTECTED] > > Subject: Re: [JBoss-user] Load-Balancing Problems > > > > > > Hi Sacha, > > > > Thanks again! Yes is very easy to check it > provided that > > you know ho

RE: [JBoss-user] Load-Balancing Problems

2003-08-18 Thread Sacha Labourey
] On Behalf Of > Simone Milani > Sent: lundi, 18. août 2003 18:16 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Load-Balancing Problems > > > Hi Sacha, > > Thanks again! Yes is very easy to check it provided that > you know how > to check it :) &

Re: [JBoss-user] Load-Balancing Problems

2003-08-18 Thread Simone Milani
Hi Sacha, Thanks again! Yes is very easy to check it provided that you know how to check it :) Cheers Simone - Original Message - From: "Sacha Labourey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 16, 2003 7:20 AM Subject: RE: [JBos

RE: [JBoss-user] Load-Balancing Problems

2003-08-15 Thread Sacha Labourey
> Thanks very much! It works. > Would it not be a good idea then to throw an error when using > a clustered declared EJB within a non cluster enabled container? Well, what is not easy is how to determine that a stack is a non-clustered stack? You could implement your own invoker, etc. and th

Re: [JBoss-user] Load-Balancing Problems

2003-08-15 Thread Simone Milani
CTED]> Sent: Friday, August 15, 2003 1:58 PM Subject: RE: [JBoss-user] Load-Balancing Problems Yes, you have changed the configuration-name and build your own which is now incompatible with clustering! You should extend the clustered configuration when building "Standard Stateless Sess

Re: [JBoss-user] Load-Balancing Problems

2003-08-15 Thread Simone Milani
tPrime @ position "+ i +": " + myPrime); } And all the calls get sent to the same member. Any idea? Thanks Simone - Original Message - From: "Sacha Labourey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 14, 2003 5:07 PM S

RE: [JBoss-user] Load-Balancing Problems

2003-08-15 Thread Sacha Labourey
Hello Simone, > Apologies if I am confusing things. I have a Stateless > Session EJB > declared now as > true. > The code I am running is the following: > > TestHome testHome = (TestHome) javax.rmi.PortableRemoteObject.narrow( >ctx.lookup("EJB/Session/Test"), >TestHome.clas

RE: [JBoss-user] Load-Balancing Problems

2003-08-15 Thread Sacha Labourey
ginal Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Simone Milani > Sent: vendredi, 15. août 2003 14:41 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Load-Balancing Problems > > > Hi Sasha, > > That was what I thought as

Re: [JBoss-user] Load-Balancing Problems

2003-08-15 Thread Simone Milani
Hi Sacha, It is a SLSB and here is the stack trace of the call: 10:43:21,773 ERROR [LogInterceptor] RuntimeException: java.lang.RuntimeException: Test at com.db.gm.mercury.ejb.session.test.TestBean.getPrimeAtPosition(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invo

RE: [JBoss-user] Load-Balancing Problems

2003-08-15 Thread Sacha Labourey
ilani > Sent: vendredi, 15. août 2003 11:46 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Load-Balancing Problems > > > Hi Sacha, > > It is a SLSB and here is the stack trace of the call: > > 10:43:21,773 ERROR [LogInterceptor] RuntimeException: >

Re: [JBoss-user] Load-Balancing Problems

2003-08-15 Thread Simone Milani
- From: "Sacha Labourey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 15, 2003 12:57 PM Subject: RE: [JBoss-user] Load-Balancing Problems OK, so check your JBoss.xml file as in the current setup you are *not* using clustering: the invoker is the standard JR

RE: [JBoss-user] Load-Balancing Problems

2003-08-14 Thread Sacha Labourey
: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Load-Balancing Problems > > > I am using 3.2.2RC2 ... > > Chris > > Sacha Labourey wrote: > > >... Or use 3.2.x which removes this issue. > > > > > > > >>-Original Message- >

RE: [JBoss-user] Load-Balancing Problems

2003-08-14 Thread Sacha Labourey
Behalf Of > Simone Milani > Sent: jeudi, 14. août 2003 18:56 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Load-Balancing Problems > > > Opppss, sorry. I had the bean tagged as > false. > > Thanks > > Simone > - Original Message -

RE: [JBoss-user] Load-Balancing Problems

2003-08-14 Thread Sacha Labourey
What kind of EJB is that? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Simone Milani > Sent: jeudi, 14. août 2003 16:52 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Load-Balancing Problems > > > Hi, &

Re: [JBoss-user] Load-Balancing Problems

2003-08-14 Thread Nicholas
ould like to do the > lookup and the create > only one and do round robin after that. Is it > possible? > > Thanks! > > Simone > - Original Message - > From: "Sacha Labourey" > <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Se

Re: [JBoss-user] Load-Balancing Problems

2003-08-14 Thread Simone Milani
! Simone - Original Message - From: "Sacha Labourey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 13, 2003 8:28 AM Subject: RE: [JBoss-user] Load-Balancing Problems Then that is very strange as with 3.2.x you should be able to re-create you

Re: [JBoss-user] Load-Balancing Problems

2003-08-14 Thread Christofer Dutz
I am using 3.2.2RC2 ... Chris Sacha Labourey wrote: ... Or use 3.2.x which removes this issue. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Brock Sent: mardi, 12 août 2003 17:50 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Load

RE: [JBoss-user] Load-Balancing Problems

2003-08-14 Thread Sacha Labourey
... Or use 3.2.x which removes this issue. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Adrian Brock > Sent: mardi, 12 août 2003 17:50 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Load-Balancing Problems > >

RE: [JBoss-user] Load-Balancing Problems

2003-08-14 Thread Srinivas Malladi
I'm getting same problem. Is round-robin loadbalance works or not? -Original Message- From: Christofer Dutz [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 6:18 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Load-Balancing Problems I am using 3.2.2RC2 ... Chris

Re: [JBoss-user] Load-Balancing Problems

2003-08-14 Thread Simone Milani
Opppss, sorry. I had the bean tagged as false. Thanks Simone - Original Message - From: "Simone Milani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 14, 2003 3:51 PM Subject: Re: [JBoss-user] Load-Balancing Problems > Hi, >

Re: [JBoss-user] Load-Balancing Problems

2003-08-14 Thread Adrian Brock
You are probably doing sessionHome.create() on every request? This creates a new remote interface proxy, which will round-robin all servers. However if you only do one invocation it will always use the first server and never get to the others. You can get similar problems with other patterns in y

Re: [JBoss-user] Load Failed Error on Simple Bean

2002-03-18 Thread Peter Shillan
Hi Eric (et all), I am using JBoss "out of the box" so I'm using Hypersonic SQL as the database. The tables were created by JBoss deployment and the statements used look fine. I generated the whole lot (CMP Bean, ejb-jar.xml, JBoss XML) using xdoclet 1.2.2. Perhaps now I need to post up the EA

RE: [JBoss-user] Load Failed Error on Simple Bean

2002-03-16 Thread Eric Jain
> A couple of extracts are included below from the files Eric mentions. Looks OK. What database are you using? Did you create the tables by hand? -- Eric Jain ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo

Re: [JBoss-user] Load Failed Error on Simple Bean

2002-03-15 Thread Peter Shillan
A couple of extracts are included below from the files Eric mentions. Thanks, Peter. On Fri, 15 Mar 2002 14:30:14 +0100 "Eric Jain" <[EMAIL PROTECTED]> wrote: > > Any idea what's going on? > > Perhaps the primary-key declaration in your ejb-jar.xml is faulty, or more > likely there is an erro

RE: [JBoss-user] Load Failed Error on Simple Bean

2002-03-15 Thread Eric Jain
> Any idea what's going on? Perhaps the primary-key declaration in your ejb-jar.xml is faulty, or more likely there is an error in the declaration of the findByPrimaryKey() method in the bean's home interface, so if you could post those excerpts... -- Eric Jain ___

Re: [JBoss-user] load failed exception

2001-10-30 Thread Frank Morton
Thanks Michael for getting me started down the right track. I had used a utility to generate the list of instance variables in the Bean class which neglected to declare them all "public." Set them all to public and all back to normal. Frank > I have an CMP entity bean running with 2.4.3 and my

Re: [JBoss-user] load II

2001-06-26 Thread Michael Bilow
It depends upon what your concerns are. If the system thread supply is exhausted, our experience is that jBoss will wedge completely to the point where it will have to be killed at the operating system level. As long as the demand for threads does not exceed supply, we have been able to stress j

RE: [JBoss-user] load

2001-06-24 Thread marc fleury
Interesting |1. We ran jBoss/Tomcat on Linux using a creaking old 166MHz Pentium with |64MB RAM and 256MB swap space. This configuration thrashed noticeably and here I was discussing my latest 1.4 Ghz Athlon with half a gig of RAM linux desktop :) |because of memory limitations, but we tested

Re: [JBoss-user] load

2001-06-24 Thread Michael Bilow
1. We ran jBoss/Tomcat on Linux using a creaking old 166MHz Pentium with 64MB RAM and 256MB swap space. This configuration thrashed noticeably because of memory limitations, but we tested with our load simulator and the system never fell over. Enormous amounts of memory are consumed by the Hyper

Re: [JBoss-user] load a config file

2001-05-04 Thread Burkhard Vogel
There were several posts not long ago, describing exactly who to use the ClassLoader (as far as I remember) to load config files, search the archive ;-) Burkhard - Original Message - From: "Xavier deheul" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 03, 2001 1:05 PM Sub

Re: [JBoss-user] Load exception

2001-04-04 Thread Åsmund Hjulstad
I have experienced the same problem, and noted this: I had an entity bean with a boolean (primitive) member variable. If I added data to the database using psql without setting the boolean field, jaws failed with the same error message you got. I solved it by making sure I entered a value (no

Re: [JBoss-user] Load exception

2001-04-04 Thread Dan Christopherson
That's often caused by having a NULL in a database column that's mapped to a primitive type (int, long). Either make the field NOT NULL in the database or change the type of the ejb field to a wrapper class (Integer, Long) On Wed, 4 Apr 2001, fractals wrote: > Hi, > > I dunno understand this

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Alexander Jerusalem
Yes that works perfectly well. At 18:09 04.04.01, you wrote: >Can you successfully look up the EJBs in your doGet method? > >On Wed, 4 Apr 2001, Shahar Solomianik wrote: > > > do you create InitialContext in the servlet init method ? > > > > -Original Message- > > From: [EMAIL PROTECTED]

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Shahar Solomianik
If you cant find the standard way for startup actions, and you still want to use load-on-startup servlet, maybe try to forward the EmbeddedTomcat entry in jboss.jcml , since : ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Tahir Awan
I did the same thing in WL5.1 and it worked super. Tahir > -Original Message- > From: Alexander Jerusalem [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 04, 2001 12:36 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] load-on-startup Servlet can't find EJB

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Shahar Solomianik
l 04, 2001 6:36 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] load-on-startup Servlet can't find EJB I can't put it in the service method because I want that code to run automatically every time JBoss starts up. thanks, Alexander Jerusalem At 18:23 04.04.01, you wrote: >so

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Alexander Jerusalem
uot; , can anyone >comment on this ? > >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]]On Behalf Of Alexander >Jerusalem >Sent: Wednesday, April 04, 2001 5:58 PM >To: [EMAIL PROTECTED] >Subject: RE: [JBoss-user] load-on-startup Servlet can&#x

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Dan Christopherson
Can you successfully look up the EJBs in your doGet method? On Wed, 4 Apr 2001, Shahar Solomianik wrote: > do you create InitialContext in the servlet init method ? > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Alexander > Jerusalem > Sent: We

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Shahar Solomianik
8 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] load-on-startup Servlet can't find EJB Yes and my codes works when I put it in the service method and call the Servlet via a browser. Only if the same code is in init does the JNDI lookup fail. Alexander Jerusalem At 17:38 04.04.01, you w

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Alexander Jerusalem
Yes and my codes works when I put it in the service method and call the Servlet via a browser. Only if the same code is in init does the JNDI lookup fail. Alexander Jerusalem At 17:38 04.04.01, you wrote: >do you create InitialContext in the servlet init method ? > >-Original Message-

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Shahar Solomianik
do you create InitialContext in the servlet init method ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alexander Jerusalem Sent: Wednesday, April 04, 2001 4:11 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] load-on-startup Servlet can't find EJB Hi,