This is in the doco. Chapter 5.  Clustering EJB.

in jboss.xml

<jboss>
  <enterprise-beans>
    <session>
      <ejb-name>nextgen.StatelessSession</ejb-name>
      <jndi-name>nextgen.StatelessSession</jndi-name>
      <clustered>True</clustered>
      <cluster-config>
        <partition-name>MyPartition</partition-name>
      </cluster-config>
    </session>
  </enterprise-beans>
</jboss>

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Stefano
> Maestri
> Sent: Thursday, June 05, 2003 11:56 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] http session clustering
> 
> 
> Is possible to use http session clustering in a partition with a name 
> different from "DefaultPartition". If yes, where have I to set 
> the partition 
> name? I didn't find anything in Clustering docs and I take a look 
> to the code 
> but I can't figure where it take the Partition name.
> But if I set a different name for my partition I get this error:
> [ObjectName: jboss:service=ClusteredHttpSession
>  state: CONFIGURED
>  I Depend On:   jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession
> 
>  Depends On Me: , ObjectName: 
> jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession
>  state: FAILED
>  I Depend On:   jboss:service=DefaultPartition
>   jboss:service=invoker,type=jrmp
> 
> 
> Thanks in advance
> -- 
> --------------- all work and no play makes Jack a dull boy 
> --------------- 
> bye Stefano 
>       [EMAIL PROTECTED]
>       www.javalinux.it
>       MSN messanger: [EMAIL PROTECTED] 
>       ICQ uin: 122192578
>       Jabber: canezen
>       Yahoo MSN: canezen
>       #jedit IRC channel as <maeste> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at www.etnus.com.
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to