[JBoss-user] [Clustering/JBoss] - Re: Load Balancing using Apache2.x, mod_jk1.2.x

2005-12-09 Thread markbres8
Thanks Jerry:
I have resolved the issue. Our problem was that we couldn't use anything but 
version 4.0.0 so I obtained the patch for the JvmRouteFilter class, plugged it 
into the JAR file and it worked!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911779#3911779

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911779


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load Balancing using Apache2.x, mod_jk1.2.x

2005-12-08 Thread JerryGauth
Load balancing and failover should normally work if configured properly.  Have 
you reviewed the instructions provided on the wiki page at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911495#3911495

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911495


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load Balancing using Apache2.x, mod_jk1.2.x

2005-12-08 Thread markbres8
Yes, I believe the issue is around the true
line in the XML file. 

This produces an exception. I believe there is a fix but I do not know how to 
access the fix (something about the JVMRouteFilter class failing because its 
referring to an Abstract class rather than a regular class, but I don't know 
how to obtain the Java class and rebuild it with the fixes. 
Does anyone know how to do this?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911543#3911543

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911543


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load Balancing using Apache2.x, mod_jk1.2.x

2005-12-08 Thread markbres8
Sorry the line I cut and pasted didn't come through apparently.  Its the
true

line.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911544#3911544

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911544


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load Balancing using Apache2.x, mod_jk1.2.x

2005-12-08 Thread markbres8
Damn it still didn't come through. I guess its illegal to put XML in these 
entries! Here goes again:

attribute=UseJK true

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911545#3911545

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911545


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load Balancing using Apache2.x, mod_jk1.2.x

2005-12-08 Thread JerryGauth
Do you have a reference to the reported problem or fix (e.g., a JBoss JIRA 
issue)?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911555#3911555

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911555


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load Balancing using Apache2.x, mod_jk1.2.x

2005-12-08 Thread markbres8
Yes:

Yes on the Sourceforge site:
[ 1037726 ] JvmRouteFilter crashes in init() method for clustered webapp
Bug details:

During JBoss startup JvmRouteFilter.init() method
throws an exception
JvmRouteFilter.init(): No AbstractJBossManager found
for clustering support.

this happens because the code

...
manager_ = (AbstractJBossManager)
filterConfig.getServletContext().getAttribute(AbstractJBossManager.class.getName());
...

returns null, there is no object registered with the key 
org.jboss.web.tomcat.tc5.session.AbstractJBossManager

the manager is registered under key
org.jboss.web.tomcat.tc5.session.JBossManager


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911566#3911566

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911566


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load Balancing using Apache2.x, mod_jk1.2.x

2005-12-08 Thread JerryGauth
What version of JBoss are you using?  Sourceforge issue 1037726 corresponds to 
JBoss JIRA issue JBAS-1103.  According to the JIRA issue, this problem was 
fixed in JBoss 4.0.1.

A similar issue is reported and open per JBCLUSTER-73.  It's possible that the 
thisis a duplicate and the issue has been fixed.

Both JIRA issues indicate that the problem was observed in 4.0.0.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3911571#3911571

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911571


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-12-05 Thread craigduncan
We associate the SLSB to the custom-rmi-invoker in our jboss.xml file:


  |   session
  |  ejb-nameOptimizerPilot/ejb-name
  |  jndi-nameOptimizerPilotBean/jndi-name
  |  local-jndi-nameOptimizerPilotLocal/local-jndi-name
  |  configuration-nameSniffer Stateless 
SessionBean/configuration-name
  |  invoker-bindingsinvoker
  |  
invoker-proxy-binding-namecustom-rmi-invoker/invoker-proxy-binding-name
  |  /invoker/invoker-bindings
  |   clusteredtrue/clustered
  | 
  | method-attributes
  | /method-attributes
  |   /session
  | 
  | 

From looking at the snippet of the server.log in my previous post I can see 
that it is calling the ClientInterceptorSniffer class which is listed in the 
custom-rmi-invoker client interceptor list.  But I do not see any debug 
tracing where it is calling any of the classes listed in the 
client-interceptors HOME section.  With the org.jboss.invocation TRACE 
turned on I expect to see some TRACE lines when it hits the InvokerInterceptor.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3910674#3910674

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3910674


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-12-03 Thread [EMAIL PROTECTED]
The custom-rmi-invoker has not been associated with any container (certainly 
not the Sniffer Stateless SessionBean shown here. See the 
invoker-proxy-binding-name in the jboss_4_0.dtd:


  | !ELEMENT container-configuration (container-name , call-logging?,
  |  invoker-proxy-binding-name?, sync-on-commit-only?,
  |  insert-after-ejb-post-create?, call-ejb-store-on-clean?, 
container-interceptors? ,
  |  instance-pool? , instance-cache? ,  persistence-manager? , 
web-class-loader? ,
  |  locking-policy? ,  container-cache-conf? , container-pool-conf? ,
  |  commit-option? , optiond-refresh-rate? , security-domain?, cluster-config?,
  |  depends*)
  | 
  | !-- The invoker-proxy-binding-name elements maps to the name element of
  | an invoker-proxy-binding definition.
  | 
  |   Used in: container-configuration, invoker
  | --
  | !ELEMENT invoker-proxy-binding-name (#PCDATA)
  | 
  | 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3910471#3910471

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3910471


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-12-02 Thread craigduncan
I have done some more testing on this. 

I turned on the TRACE for org.jboss.invocation and found some strange results.  
I see the TRACE logging when JBoss is starting up but when my Servlet is called 
and does the service lookup and subsequent call on the SLSB I do not see any 
TRACE code for org.jboss.transaction.

Here is a snippet from the server.log:

  | 2005-12-02 16:06:09,232 DEBUG 
[com.invisioninc.optimizer.web.MessageServlet] Entering doGet(request, 
response) 
  | 2005-12-02 16:06:09,263 DEBUG [com.invisioninc.optimizer.web.Utils] 
Entering extractMethodName(request)
  | 2005-12-02 16:06:09,263 DEBUG [com.invisioninc.optimizer.web.Utils] 
Returning: TestMessage
  | 2005-12-02 16:06:09,263 DEBUG [com.invisioninc.optimizer.web.Utils] Exiting 
extractMethodName(request)
  | 2005-12-02 16:06:09,263 DEBUG [com.invisioninc.optimizer.web.Utils] 
Entering extractXmlRequest(request) 
  | 2005-12-02 16:06:09,279 DEBUG [com.invisioninc.optimizer.web.Utils] in: 
[EMAIL PROTECTED]
  | 2005-12-02 16:06:09,279 DEBUG [com.invisioninc.optimizer.web.Utils] 
xmlRequest is null or empty, looking for parameter
  | 2005-12-02 16:06:09,279 DEBUG [com.invisioninc.optimizer.web.Utils] 
Entering extractSoapBody(soapMessage)
  | 2005-12-02 16:06:09,279 DEBUG [com.invisioninc.optimizer.web.Utils] Found 
Body begin: 0
  | 2005-12-02 16:06:09,279 DEBUG [com.invisioninc.optimizer.web.Utils] 
Extracted Soap Body: Jaguar
  | 2005-12-02 16:06:09,279 DEBUG [com.invisioninc.optimizer.web.Utils] Exiting 
extractSoapBody(soapMessage)
  | 2005-12-02 16:06:09,279 INFO  
[com.invisioninc.optimizer.web.POMessageService] Getting InitialContext
  | 2005-12-02 16:06:09,279 INFO  
[com.invisioninc.optimizer.web.POMessageService] Using this for jndi url: 
localhost:1200,localhost:1300
  | 2005-12-02 16:06:09,279 INFO  
[com.invisioninc.optimizer.web.POMessageService] InitialContext established.
  | 2005-12-02 16:06:09,388 DEBUG 
[com.invisioninc.arch.services.BaseStatelessBean] ENTERING void 
com.invisioninc.arch.services.BaseStatelessBean.setSessionContext(SessionContext)
 [EMAIL PROTECTED]
  | 2005-12-02 16:06:09,388 DEBUG 
[com.invisioninc.arch.services.BaseStatelessBean] EXITING  void 
com.invisioninc.arch.services.BaseStatelessBean.setSessionContext(SessionContext)
 
  | 2005-12-02 16:06:09,388 DEBUG 
[com.invisioninc.arch.services.BaseStatelessBean] ENTERING void 
com.invisioninc.arch.services.BaseStatelessBean.ejbCreate() ARGS={}
  | 2005-12-02 16:06:09,388 DEBUG 
[com.invisioninc.arch.services.BaseStatelessBean] EXITING  void 
com.invisioninc.arch.services.BaseStatelessBean.ejbCreate() 
  | 2005-12-02 16:06:09,388 DEBUG 
[com.invisioninc.arch.data.ClientInterceptorSniffer] In the client interceptor.
  | 2005-12-02 16:06:09,388 DEBUG [com.invisioninc.arch.data.InvThread] Current 
user value is: null
  | 2005-12-02 16:06:09,388 DEBUG 
[com.invisioninc.arch.data.ClientInterceptorSniffer] Here is userid: null
  | 2005-12-02 16:06:09,388 DEBUG 
[com.invisioninc.arch.services.ServerInterceptorSniffer]- Username : null
  | 2005-12-02 16:06:09,388 DEBUG 
[com.invisioninc.arch.services.ServerInterceptorSniffer]- User id : null
  | 2005-12-02 16:06:09,388 DEBUG [com.invisioninc.arch.data.InvThread] Setting 
current user to: null
  | 2005-12-02 16:06:09,404 DEBUG 
[com.invisioninc.arch.data.HibernateInterceptor] Invoked Method: public 
abstract java.lang.String 
com.invisioninc.optimizer.data.OptimizerPilot.testMessage() throws 
com.invisioninc.arch.data.InvisionException,java.rmi.RemoteException
  | 2005-12-02 16:06:09,404 DEBUG 
[com.invisioninc.arch.data.HibernateInterceptor] right before invocation
  | 2005-12-02 16:06:09,404 DEBUG [net.sf.hibernate.impl.SessionImpl] opened 
session
  | 2005-12-02 16:06:09,404 DEBUG [com.invisioninc.arch.data.ServiceLocator] 
Attempting to retrieve value for: HibernateFactory
  | 2005-12-02 16:06:09,404 DEBUG [com.invisioninc.arch.data.ServiceLocator] 
Returning string value: java:/HibernateFactoryOptimizer
  | 2005-12-02 16:06:09,404 DEBUG 
[net.sf.hibernate.impl.SessionFactoryObjectFactory] JNDI lookup: 
HibernateFactoryOptimizer
  | 2005-12-02 16:06:09,404 DEBUG 
[net.sf.hibernate.impl.SessionFactoryObjectFactory] lookup: 
uid=402882f507ed35690107ed356d6d
  | 2005-12-02 16:06:09,404 DEBUG 
[com.invisioninc.arch.data.HibernateInterceptor] Created Here? true
  | 2005-12-02 16:06:09,404 DEBUG 
[com.invisioninc.optimizer.services.OptimizerPilotBean] ENTERING String 
com.invisioninc.optimizer.services.OptimizerPilotBean.testMessage() ARGS={}
  | 2005-12-02 16:06:09,982 DEBUG 
[com.invisioninc.optimizer.services.OptimizerBo]   ENTERING void 
com.invisioninc.optimizer.services.OptimizerBo.sendTestMessage(String) 
ARGS={c:\jboss-4.0.2\server\clusterNode2}
  | 

I am using a custom-rmi-invoker and an extension of the container configuration 
for a Stateless Session Bean.  Below is a snippet from my jboss.xml deployment 
descriptor:


  | 
  |  invoker-proxy-bindings
  |   

[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-11-01 Thread craigduncan
I think I am having a similar problem to you.  I have servlet that looks up the 
SLSB on HA-JNDI.  The behaviour I see is that the only SLSB that gets called is 
the one living on the same JBoss instance as the servlet.

My guess is that the reason for this is the optimization that JBoss does when 
calling EJB's in the same JVM.  Even though you attempt to do a remote call it 
sees that there is an EJB in the local environment and calls that one instead.

In my case, if I want load balancing of my SLSB I need to front my jboss 
cluster with a HTTP load balancer.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3904654#3904654

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3904654


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-11-01 Thread craigduncan
Scott,

Thanks for the response.  I looked at the comments for JBAS-1442 but I am still 
a little confused.  I am using jboss4.0.2.  The comments by Adrian Brock on 22 
Feb 05 seem to indicate that this problem was fixed, but I am still seeing the 
incorrect behavior.  To get the correct behavior do I need to use one of the 
workarounds?

BTW, we have a support account with JBoss and when I asked this question there 
the response was that the only fix would be to disable the jboss otpimization 
altogether with the caveat that it could degrade performance.

Craig


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3904671#3904671

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3904671


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-11-01 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBAS-1442


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3904656#3904656

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3904656


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-11-01 Thread [EMAIL PROTECTED]
Certainly disabling the call by reference invoker will fix the issue, but this 
should be working with the default invoker interceptor in 4.0.2. There is a 
org.jboss.test.cluster.test.CrossServerCallsUnitTestCase that validates 
repeated calls to a SLSB from a server in a cluster does in fact result in 
calls to both the local and peer deployment of the SLSB. The details of how the 
SLSB is lookedup/used would be neede to understand how load balancing might be 
failing to work properly. TRACE level logging of the org.jboss.invocation 
category should shed light on what is going on as well.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3904762#3904762

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3904762


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-10-31 Thread joff
[EMAIL PROTECTED] wrote : Have you tried to test just SLSB clustering first 
without MDB? Check out the example there.
  | http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHA
  | 

I've done this - instead of calling the SLSB from the MDB (in my basic test 
example I linked to earlier), I'm calling it from the servlet 
round-robining of the SLSB still  doesn't work; I'm only creating the remote 
interface once, and then calling the method on it repeatedly...

Any further ideas as to where I should look?

anonymous wrote : 
  | I suspect it is just some setup problem. But if you are really pressed for 
time for production, you should consider subsribe to JBoss support.
  | 
OT:
I'm trying to push my boss in that direction :)
We've already gone into production, but i'd still like to get this working in 
time for the next revision :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3904530#3904530

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3904530


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-10-26 Thread SiOfUmbar
OK, I know it is only being run on one node at a time, but what I'm suggesting 
is that if you change the attribute for ReceiversImpl to use the 
ReceiversImplLinkedList for the queue or ConnectionManager, you can make each 
message get handled on a different node, each node in turn.

In my own case, I have an MDB calling an SLSB, and so long as the MDB that 
handles the message is running on a different node for each message in the 
queue, the SLSB will run on the same node as that MDB.

The default ReceiversImpl implementation makes all messages get handled on the 
same machine as the queue untill the load is too high there. See 
http://jboss.org/index.html?module=bbop=viewtopict=67524. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3903448#3903448

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3903448


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-10-26 Thread SiOfUmbar
Just so we're clear, this round-robin MDB handling is running using 
HAJMA/HASingleton, so fail-over works too.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3903469#3903469

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3903469


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-10-25 Thread SiOfUmbar
You don't make it clear if the MDB is being run on the different nodes in 
round-robin fashion. Is it? (Have you specified one of the List-based 
ReceiversImpl implementations that makes round-robin work?)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3903171#3903171

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3903171


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-10-25 Thread joff
The MDB is run on just one node at a time, using HAJMA/HASingleton


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3903311#3903311

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3903311


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-10-25 Thread joff
toadie wrote : joff wrote : (via a loadbalancing device in front of them) 
  |   | 
  | can't you use the same device to round-robin the request for the ejb client 
stub for you? especially since your bean is stateless
I'm afraid not, the loadbalancer is only there to handle requests from the 
outside.. the requests are quite infrequent, but result in a long-running task, 
which I want to balance the load of, across the JBoss nodes

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3903334#3903334

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3903334


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-10-21 Thread toadie
joff wrote : (via a loadbalancing device in front of them) 
  | 

can't you use the same device to round-robin the request for the ejb client 
stub for you? especially since your bean is stateless

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3902510#3902510

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3902510


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-10-21 Thread [EMAIL PROTECTED]
Have you tried to test just SLSB clustering first without MDB? Check out the 
example there.
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHA

I suspect it is just some setup problem. But if you are really pressed for time 
for production, you should consider subsribe to JBoss support.

Forum post does not give you guranteed response time (if at all).

-Ben

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3902595#3902595

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3902595


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load balancing w/ Apache mod_jk - java.net.BindException

2005-10-18 Thread nitesh
Hi,

We still havent found a solution to the problem. I increased the max connection 
setting of Apache from default of 150 to 500. Turned off the keepAlive setting. 
The throughput more than doubled, but about 10% of the requests are still 
getting java.net.BindException. I've tried the load tests with Grinder and 
JMeter and get the same problem with both the tools, so it is definitely not 
some bug in the load tool.

The environment is:

Apache 2.0.54 running on Red Hat Enterprise Linux ES release 4 (Nahant)
Two JBoss 4.0.2 instances running on separate machines with Java 1.5.0_05 on 
Red Hat Enterprise Linux ES release 4 (Nahant)

Apache and one JBoss instance are on the same machine.

Any pointer will be helpful. If you're running Apache load balancer with JBoss 
in production, please let me know if you needed to tweak something in Apache or 
JBoss/Tomcat.

The detailed error stack trace is:

java.net.BindException: Address already in use: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.(Unknown Source)
at java.net.Socket.(Unknown Source)
at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3264)
at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:2994)
at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2801)
at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2593)
at HTTPClient.HTTPConnection.Post(HTTPConnection.java:1095)
at net.grinder.plugin.http.HTTPRequest$6.doRequest(HTTPRequest.java:647)
at 
net.grinder.plugin.http.HTTPRequest$AbstractRequest.getHTTPResponse(HTTPRequest.java:827)
at net.grinder.plugin.http.HTTPRequest.POST(HTTPRequest.java:644)
at net.grinder.plugin.http.HTTPRequest.POST(HTTPRequest.java:544)
at net.grinder.plugin.http.HTTPRequest.POST(HTTPRequest.java:527)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at 
net.grinder.engine.process.TestPyJavaInstance.access$001(TestPyJavaInstance.java:35)
at 
net.grinder.engine.process.TestPyJavaInstance$1.call(TestPyJavaInstance.java:67)
at 
net.grinder.engine.process.ThreadContextImplementation.invokeTest(ThreadContextImplementation.java:155)
at net.grinder.engine.process.TestData.dispatch(TestData.java:79)
at 
net.grinder.engine.process.TestPyJavaInstance.dispatch(TestPyJavaInstance.java:48)
at 
net.grinder.engine.process.TestPyJavaInstance.invoke(TestPyJavaInstance.java:64)
...


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3901758#3901758

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3901758


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load balancing w/ Apache mod_jk - java.net.BindException

2005-10-17 Thread [EMAIL PROTECTED]
This sounds like a limitation on the machine you're running the Grinder on.

Can you generate the same load and point the grinder directly to a JBoss 
instance?  Does this work?

The other problem could be a max connections setting in Apache, but this should 
only result in your request waiting in a queue until Apache can handle the 
request - not a Bind exception.  :S

Apache1.3:

http://httpd.apache.org/docs/1.3/mod/core.html#maxclients

For Apache2.0, this depends on your platform:

http://httpd.apache.org/docs/2.0/mpm.html

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3901478#3901478

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3901478


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load balancing w/ Apache mod_jk - java.net.BindException

2005-10-17 Thread nitesh
When I generate the same load and point the Grinder directly to a JBoss 
instance, the instance is able to handle the load without any problem. Still 
unsure what the problem is ...

Thanks,

Nitesh

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3901530#3901530

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3901530


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load balancing and Failover

2005-10-02 Thread mikefinn
Gunjan - did you ever resolve this? I am seeing something similar happening w/ 
4.0.2. At least in my case, jvmRoute is not being set ( I think on the Tomcat 
side ). I have 3.2.2 servers defined in my LB as well, and everything works 
perfect when I map to those. As soon as I map back to 4.0.2 servers, no workie.

Without the jvmRoute being passed, the browser - LB cannot determine proper 
node to send the request to, so it goes to the 'next' node, (in my case) 
causing a second login page. Look in the returned HTTP headers and see if the 
jvmRoute is being returned.

Also, I don't see the domain attribute being set in your workers.properties, 
which sets the jvmRoute name that is associated with a LB node.

I saw a reference in 4.0.3 RC release notes about a fix in the jvmRoute stuff, 
so am going to try 4.0.3RC2.

Mike



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3898489#3898489

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898489


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load balancing and IIOP

2005-09-27 Thread awmzek
any update if clustering features are available for rmi/iiop?

thanks
r.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3897315#3897315

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897315


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load balancing

2005-09-21 Thread srinath9999
what application mapping did u do in uriworkers.properties?

In mod-jk.conf you specified JkMount /application/* loadbalancer 

so in uriworkers.properties did u used application anywhere?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3896215#3896215

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896215


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-09-06 Thread joff
Hi - the next version of my app is about to go into production, but this issue 
is still unresolved, and it runs jobs that can take up to a couple of hours to 
run - being able to balance the load of these jobs across my app servers will 
be a major help. can anyone shed any light as to why the stateless session 
beans aren't load balancing?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3893296#3893296

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893296


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-09-06 Thread joff
i've also just added in 
configuration-nameClustered Stateless SessionBean/configuration-name
for my EJB DDs, but still no joy :-/

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3893301#3893301

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893301


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load balancing and Failover

2005-08-30 Thread gunjan_iitk
Hi,
I think this problem is due to JAAS related configurations on node 2 because 
this problem occurs when the request goes on node2 then the login page is 
displayed correctly but when i login the request goes to node 1.
My login-config.xml on node 2 is
?xml version='1.0'?
!DOCTYPE policy PUBLIC
  -//JBoss//DTD JBOSS Security Config 3.0//EN
  http://www.jboss.org/j2ee/dtd/security_config.dtd;

!-- The XML based JAAS login configuration read by the
org.jboss.security.auth.login.XMLLoginConfig mbean. Add
an application-policy element for each security domain.

The outline of the application-policy is:
application-policy name=security-domain-name
  
login-module code=login.module1.class.name flag=control_flag
  module-option name = option1-nameoption1-value/module-option
  module-option name = option2-nameoption2-value/module-option
  ...
/login-module

login-module code=login.module2.class.name flag=control_flag
  ...
/login-module
...
  
/application-policy

$Revision: 1.12.2.2 $
--


!-- Used by clients within the application server VM such as
mbeans and servlets that access EJBs.
--
application-policy name = client-login
   
  login-module code = org.jboss.security.ClientLoginModule
 flag = required
  /login-module
   
/application-policy

!-- Security domain for JBossMQ --
application-policy name = jbossmq
   
  login-module code = 
org.jboss.security.auth.spi.DatabaseServerLoginModule
 flag = required
 module-option name = 
unauthenticatedIdentityguest/module-option
 module-option name = dsJndiNamejava:/DefaultDS/module-option
 module-option name = principalsQuerySELECT PASSWD FROM 
JMS_USERS WHERE USERID=?/module-option
 module-option name = rolesQuerySELECT ROLEID, 'Roles' FROM 
JMS_ROLES WHERE USERID=?/module-option
  /login-module
   
/application-policy

!-- Security domain for JBossMQ when using file-state-service.xml
application-policy name = jbossmq
   
  login-module code = org.jboss.mq.sm.file.DynamicLoginModule
 flag = required
 module-option name = 
unauthenticatedIdentityguest/module-option
 module-option name = 
sm.objectnamejboss.mq:service=StateManager/module-option
  /login-module
   
/application-policy
--

!-- Security domains for testing new jca framework --
application-policy name = HsqlDbRealm
   
  login-module code = 
org.jboss.resource.security.ConfiguredIdentityLoginModule
 flag = required
 module-option name = principalsa/module-option
 module-option name = userNamesa/module-option
 module-option name = password/module-option
 module-option name = 
managedConnectionFactoryNamejboss.jca:service=LocalTxCM,name=DefaultDS/module-option
  /login-module
   
/application-policy

application-policy name = JmsXARealm
   
  login-module code = 
org.jboss.resource.security.ConfiguredIdentityLoginModule
 flag = required
 module-option name = principalguest/module-option
 module-option name = userNameguest/module-option
 module-option name = passwordguest/module-option
 module-option name = 
managedConnectionFactoryNamejboss.jca:service=TxCM,name=JmsXA/module-option
  /login-module
   
/application-policy

!-- A template configuration for the jmx-console web application. This
  defaults to the UsersRolesLoginModule the same as other and should be
  changed to a stronger authentication mechanism as required.
--
application-policy name = jmx-console
   
  login-module code=org.jboss.security.auth.spi.UsersRolesLoginModule
 flag = required
   module-option 
name=usersPropertiesprops/jmx-console-users.properties/module-option
   module-option 
name=rolesPropertiesprops/jmx-console-roles.properties/module-option
  /login-module
   
/application-policy

!-- A template configuration for the web-console web application. This
  defaults to the UsersRolesLoginModule the same as other and should be
  changed to a stronger authentication mechanism as required.
--
application-policy name = web-console
   
  login-module code=org.jboss.security.auth.spi.UsersRolesLoginModule
 flag = required
 module-option 
name=usersPropertiesweb-console-users.properties/module-option
 module-option 
name=rolesPropertiesweb-console-roles.properties/module-option
  /login-module
   
/application-policy

!-- A template configuration for the JBossWS web application (and 
transport layer!).
  This defaults to the UsersRolesLoginModule the same as other and should be
  changed to a stronger 

[JBoss-user] [Clustering/JBoss] - Re: Load balancing and Failover

2005-08-29 Thread davewebb
Please post you tc5-cluster-service.xml file.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3892085#3892085

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3892085


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load balancing and Failover

2005-08-29 Thread gunjan_iitk
Hi David,
Thanks for your reply.
My tc5-cluster-service.xml is
?xml version=1.0 encoding=UTF-8?

!-- = --
!--   --
!--  Customized TreeCache Service Configuration for Tomcat 5 Clustering   --
!--   --
!-- = --





!--  
--
!-- Defines TreeCache configuration  
--
!--  
--



jboss:service=Naming
jboss:service=TransactionManager

!-- Configure the TransactionManager --
org.jboss.cache.JBossTransactionManagerLookup

!--
Isolation level : SERIALIZABLE
  REPEATABLE_READ (default)
  READ_COMMITTED
  READ_UNCOMMITTED
  NONE
--
REPEATABLE_READ

!--
 Valid modes are LOCAL, REPL_ASYNC and REPL_SYNC
--
REPL_ASYNC

!-- Name of cluster. Needs to be the same for all clusters, in order
 to find each other
--
Tomcat-Cluster

!-- JGroups protocol stack properties. Can also be a URL,
 e.g. file:/home/bela/default.xml
   
--


!--
The default UDP stack:
- If you have a multihomed machine, set the UDP protocol's 
bind_addr attribute to the
appropriate NIC IP address, e.g bind_addr=192.168.0.2.
- On Windows machines, because of the media sense feature being 
broken with multicast
(even after disabling media sense) set the UDP protocol's loopback 
attribute to true
--

UDP mcast_addr=230.1.2.7 mcast_port=45577
ip_ttl=8 ip_mcast=true 
mcast_send_buf_size=15 mcast_recv_buf_size=8
ucast_send_buf_size=15 ucast_recv_buf_size=8
loopback=true bind_addr=10.1.1.131/
PING timeout=2000 num_initial_members=3
up_thread=false down_thread=false/
MERGE2 min_interval=1 max_interval=2/
FD_SOCK/
VERIFY_SUSPECT timeout=1500
up_thread=false down_thread=false/
pbcast.NAKACK gc_lag=50 
retransmit_timeout=600,1200,2400,4800
max_xmit_size=8192 up_thread=false down_thread=false/
UNICAST timeout=600,1200,2400 window_size=100 
min_threshold=10
down_thread=false/
pbcast.STABLE desired_avg_gossip=2
up_thread=false down_thread=false/
FRAG frag_size=8192
down_thread=false up_thread=false/
pbcast.GMS join_timeout=5000 join_retry_timeout=2000
shun=true print_local_addr=true/
pbcast.STATE_TRANSFER up_thread=true down_thread=true/


   !-- Alternate TCP stack: customize it for your environment, change 
bind_addr and initial_hosts --
   !--
   
  TCP bind_addr=thishost start_port=7810 loopback=true/
  TCPPING initial_hosts=thishost[7810],otherhost[7810] 
port_range=3 timeout=3500
 num_initial_members=3 up_thread=true down_thread=true/
  MERGE2 min_interval=5000 max_interval=1/
  FD shun=true timeout=2500 max_tries=5 up_thread=true 
down_thread=true /
  VERIFY_SUSPECT timeout=1500 down_thread=false 
up_thread=false /
  pbcast.NAKACK down_thread=true up_thread=true gc_lag=100
 retransmit_timeout=3000/
  pbcast.STABLE desired_avg_gossip=2 down_thread=false 
up_thread=false /
  pbcast.GMS join_timeout=5000 join_retry_timeout=2000 
shun=false
 print_local_addr=true down_thread=true up_thread=true/
  pbcast.STATE_TRANSFER up_thread=true down_thread=true/
   
   --



!-- Max number of milliseconds to wait for a lock acquisition --
15000






View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3892087#3892087

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3892087


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf

[JBoss-user] [Clustering/JBoss] - Re: Load balancing

2005-08-26 Thread JerryGauth
I think your web requests need to be directed to the Apache server where you 
have mod_jk configured.  The requests will then be distributed per your 
configuration.

e.g., http://your_apache_server:8080/xlWebApp 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3891795#3891795

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891795


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load balancing

2005-08-26 Thread davewebb
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3891800#3891800

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891800


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load balancing

2005-08-26 Thread gunjan_iitk
Hi Jerry,
Thanks for your reply.
As i have my apache running on 10.1.1.131 that is my node1
so the url should now be http://10.1.1.131:8080/xlWebApp
now the request is directed to node 1 ie my jboss running on 10.1.1.131
but if i close my this jboss instance then the request is not redirected to my 
node2 ie 10.1.1.69
Do I need to make any other configuration chnages.
Please advice me.
Thanks and Regards,
Gunjan


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3891803#3891803

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891803


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load balancing

2005-08-26 Thread gunjan_iitk
yes apache is running on port 80
I tries that http://10.1.1.131:80/xlwebapp
but it gives page cannot be found error.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3891805#3891805

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891805


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load balancing

2005-08-26 Thread JerryGauth
Are you directing the requests to the port on which Apache is running?  If node 
1 is running on port 8080 and Apache is running on port 80, the requests need 
to be directed to port 80 on the Apache server.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3891804#3891804

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891804


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load balancing

2005-08-26 Thread gunjan_iitk
Hi All,
I got the solution
actually I havenot done my application mappings in uriworkers.properties file.

Thanks
gunjans

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3891826#3891826

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891826


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-07-31 Thread joff
*bump*

Is anyone able to help me here? I'm no closer to finding the solution...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887605#3887605

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887605


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load balancing wrt request information

2005-07-11 Thread roates
As a further thought, could the cluster-config ... method-attributes tag in 
jboss.xml help in this context?

rgds
richard

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3884352#3884352

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884352


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-07-10 Thread joff
Hi Ben

At the URL below is an EAR containing a minimal test case for my problem. It's 
basically a servlet for triggering the operation, an MDB to receive the JMS 
message, which calls a SLSB ten times

Souce is also included

http://joff.googlehax.com/LBTest.zip

PS. You will either need to add a queue/HordeExecuteBatch queue, or change the 
deployment to use a different queue name.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3884327#3884327

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884327


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-07-07 Thread [EMAIL PROTECTED]
If you still have a problem, can you attach a sample client and jar file to 
troubleshoot it?

-Ben

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3884116#3884116

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884116


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-07-05 Thread joff
Oops, hit 'submit' instead of 'preview' anyway.. to continue:

the jboss.xml for the SLSB is:
session
  |  ejb-nameTransactionConductor/ejb-name
  |  jndi-nameTransactionConductor/jndi-name
  |  local-jndi-nameTransactionConductorLocal/local-jndi-name
  |  clusteredTrue/clustered
  |  cluster-config
  | partition-nameDefaultPartition/partition-name
  | home-load-balance-policy
  | org.jboss.ha.framework.interfaces.RoundRobin
  | /home-load-balance-policy
  | bean-load-balance-policy
  | org.jboss.ha.framework.interfaces.RoundRobin
  | /bean-load-balance-policy 
  |  /cluster-config
  |   /session

The HAJNDI section of my cluster-config.xml is:
   mbean code=org.jboss.ha.jndi.HANamingService
  |   name=jboss:service=HAJNDI
  |   
dependsjboss:service=${jboss.partition.name:DefaultPartition}/depends
  |   attribute name=PartitionNameDefaultPartition/attribute
  |   !-- attribute name=BindAddress${jboss.bind.address}/attribute 
--
  |   attribute name=BindAddress192.168.225.245/attribute
  |   attribute name=Port1100/attribute
  |   attribute name=Backlog50/attribute
  |   depends optional-attribute-name=LookupPool
  |  proxy-type=attributejboss.system:service=ThreadPool/depends
  | 
  |   attribute name=DiscoveryDisabledfalse/attribute
  |   attribute 
name=AutoDiscoveryBindAddress${jboss.bind.address}/attribute
  |   attribute name=AutoDiscoveryAddress230.0.0.4/attribute
  |   attribute name=AutoDiscoveryGroup1102/attribute
  |   attribute name=AutoDiscoveryTTL16/attribute
  |  
  |   attribute name=RmiPort0/attribute
  |/mbean
  | 

As far as I can tell, multicast is working - the DefaultPartition, etc is 
working with multicast, and I can ping 230.0.0.4 and get responses back from 
both nodes

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3883768#3883768

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3883768


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load balancing and IIOP

2004-07-14 Thread Sacha Labourey
no, it is not (yet?). It uses RMI/JRMP today.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3842018#3842018

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842018


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing in container

2004-03-24 Thread slaboure
This is per-design: when the target is available in the same JVM as the client, we 
by-pass the remoting layers and do a direct Java call, hence by-passing the 
load-balancing layers as well.

Cheers,

sacha

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827236#3827236;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827236Reply 
to the post/a


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing in container

2004-03-24 Thread kturner75
Sasha, thanks for the reply.

Hopefully, there is a work-around for this.  My process will generate work units to 
enable concurrent processing.  For each work unit, I will send a JMS message which 
will be processed by a Message-Driven Bean.  The Message-Driven Bean will then invoke 
the clustered Session Bean to do the work.  I would like for this work to be 
distributed among the nodes for performance reasons.  Based on your reply, it sounds 
like this is not possible.  Please let me know if there is a work-around or a better 
approach.

Thanks.
Kevin Turner
ACTEK, Inc.

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827270#3827270;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827270Reply 
to the post/a


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-08 Thread hendrik_sticher
I have the same question. I am also trying to load-balance a SLSB in RoundRobin 
fashion, but get something different when clustering on three nodes(70%, 20%, 10%).

The Initial Context gets created by

  jndiProperties = new Hashtable();
  jndiProperties.put(Context.PROVIDER_URL, providerUrl);
  jndiProperties.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  jndiProperties.put(Context.URL_PKG_PREFIXES, jboss:naming:org.jnp.interfaces);

  initialContext = new InitialContext(jndiProperties);

providerUrl is : appserver1:1100, apperserver2:1100, appserver3:1100


I cached the RemoteHome and created the Remote on every request.
-did not work for me as expected

Creating RemoteHome and Remote on every Request.
- didn't work 

BTW: The jboss.xml and ejb-jar.xml is configured correctly, trans-attribute is set 
to Required


Maybe some hinst on how to Debug things? Some code snippet or hint about
how to apply caching or not would also be nice. I am using jboss-3.2.3 and
believe that something is wrong in the way i am using this feature.


Best regards


Hendrik













a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3824727#3824727;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3824727Reply 
to the post/a


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-03 Thread timfraser
Glyn

Problem solved. I removed the following assembly descriptor from my ejb declaration:

container-transaction
  | method
  | ejb-nameTestEJB/ejb-name
  | method-name*/method-name
  | /method 
  | trans-attributeNotSupported/trans-attribute
  | /container-transaction
seems to have been causing the problems, though not entirely sure why... Any insight 
would be welcomed!

Can now load balance with cached home/remote. Fantastic.

Thanks for your help on this. Much appreciated.

Tim


a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3823968#3823968;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823968Reply 
to the post/a


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-03 Thread glyn_walters
There are some threads on this. Transaction must be Required, RequiresNew or 
Mandatory. See here http://www.jboss.org/index.html?module=bbop=viewtopict=45327.

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3823977#3823977;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823977Reply 
to the post/a


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-03 Thread glyn_walters
Or indeed here http://www.jboss.org/index.html?module=bbop=viewtopict=45327.

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3823979#3823979;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823979Reply 
to the post/a


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-02 Thread glyn_walters
It works for me. I've got the home load balance policy and the bean load balance 
policy set to RoundRobin and I cache the home reference. The only difference is that I 
specify Context.PROVIDER_URL for the HA-JNDI servers rather than using autodiscovery. 
The SLSB load balances round robin perfectly.

Perhaps its worth trying PROVIDER_URL for your HA-JNDI servers to ensure your SLSB 
isn't just binding to the local JNDI?


a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3823850#3823850;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823850Reply 
to the post/a


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-02 Thread timfraser
Glynn

I've tried the following:

props.put(Context.PROVIDER_URL, 10.129.133.141:1100,10.129.133.143:1100);

(ip's of my two jboss nodes) but still no luck. The mbean interface on the 
DistributedReplicantManager displays

HAJNDI
10.129.133.141:1099 
10.129.133.143:1099


DCacheBridge-DefaultJGBridge

10.129.133.141:1099
10.129.133.143:1099

So i guess that indicates that the nodes are bound into the HAJNDI.

Know of anything specific in the ejb.jar.xml that can cause problems - mine is 
standard for the SLSB. Just contains 


 BeanTest( Stateless )
 display-nameBeanTest/display-name
 ejb-nameBeanTest/ejb-name
   True
 cluster-config
 partition-nameDefaultPartition/partition-name
 
home-load-balance-policyorg.jboss.ha.framework.interfaces.RoundRobin/home-load-balance-policy
 
bean-load-balance-policyorg.jboss.ha.framework.interfaces.RoundRobin/bean-load-balance-policy
 /cluster-config
 TestEJBHome
 TestEJBRemote
 ejb-classTestEJB/ejb-class
 session-typeStateless/session-type
 transaction-typeContainer/transaction-type
  


Annoying because I can't see anything obviously wrong!




a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3823853#3823853;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823853Reply 
to the post/a


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-02 Thread timfraser
xml not pasted correctly in last post. Had to remove the open/close brackets as wasn't 
viewing properly. Not as readable - sorry!

session
description  BeanTest( Stateless )  description
  display-name   BeanTest   display-name
  ejb-name BeanTest ejb-name
  clustered True clustered
  cluster-config

 partition-name  DefaultPartition  partition-name
 home-load-balance-policyorg.jboss.ha.framework.interfaces.RoundRobin  
home-load-balance-policy

 bean-load-balance-policy
 org.jboss.ha.framework.interfaces.RoundRobin  bean-load-balance-  policy

   cluster-config
  home  TestEJBHome  home
  remote  TestEJBRemote  remote
  ejb-class TestEJB ejb-class
  session-type  Stateless  session-type
  transaction-type Container transaction-type
  session




Still, point is that it seems correct.






a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3823855#3823855;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823855Reply 
to the post/a


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-02 Thread glyn_walters
Tim

Here are my configs:

from jboss.xml

  | session
  | ejb-nameBBClientSessionEJB/ejb-name
  | jndi-nameBBClientSessionHomeRemote/jndi-name
  | ejb-ref
  | ejb-ref-nameejb/BBClientHomeRO/ejb-ref-name
  | jndi-nameBBClientHomeRO/jndi-name
  | /ejb-ref
  | ejb-ref
  | ejb-ref-nameejb/BBClientHomeRW/ejb-ref-name
  | jndi-nameBBClientHomeRW/jndi-name
  | /ejb-ref
  | clusteredTrue/clustered
  | cluster-config
  | partition-nameDefaultPartition/partition-name
  | home-load-balance-policy
  | org.jboss.ha.framework.interfaces.RoundRobin
  | /home-load-balance-policy
  | bean-load-balance-policy
  | org.jboss.ha.framework.interfaces.RoundRobin
  | /bean-load-balance-policy
  | /cluster-config
  | /session
  | 
from ejb-jar.xml

  | session
  | ejb-nameBBClientSessionEJB/ejb-name
  | homecom.brokerbox.bbserver.server.BBClientSessionHomeRemote/home
  | remotecom.brokerbox.bbserver.server.BBClientSessionRemote/remote
  | 
ejb-classcom.brokerbox.bbserver.server.BBClientSessionBean/ejb-class
  | session-typeStateless/session-type
  | transaction-typeContainer/transaction-type
  | ejb-ref
  | ejb-ref-nameejb/BBClientHomeRO/ejb-ref-name
  | ejb-ref-typeEntity/ejb-ref-type
  | homecom.brokerbox.bbserver.server.BBClientHomeRemote/home
  | remotecom.brokerbox.bbserver.server.BBClientRemote/remote
  | /ejb-ref
  | ejb-ref
  | ejb-ref-nameejb/BBClientHomeRW/ejb-ref-name
  | ejb-ref-typeEntity/ejb-ref-type
  | homecom.brokerbox.bbserver.server.BBClientHomeRemote/home
  | remotecom.brokerbox.bbserver.server.BBClientRemote/remote
  | /ejb-ref
  | security-identityuse-caller-identity//security-identity
  | /session
  | session
  | 

I cache the home reference then just get a remote reference from the cached 
clientSessionHome like this:

BBClientSessionRemote clientSession = clientSessionHome.create();

I can't see anything wrong in your config though. Does the remote reference always get 
created in the jvm your client is running in?


a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3823873#3823873;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823873Reply 
to the post/a


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-02 Thread glyn_walters
The other question is what version are you running? Mine is 3.2.3.

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3823874#3823874;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823874Reply 
to the post/a


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSBs on 3.2.3

2004-03-02 Thread glyn_walters
The answer of course being in the subject :)

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3823903#3823903;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823903Reply 
to the post/a


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user