Hi Sacha,
Thanks for the help! It's working on NFS system in the "3.2.2RC2" release
available!

But I am getting the following ClassCastException in the server log for
3.2.2RC2:
-----------------------------------------------------
09:33:51,658 INFO  [ClusteredHTTPSessionService] Starting
09:33:51,784 WARN  [HAJNDI] Problem restoring state to HA-JNDI
java.lang.ClassCastException
        at org.jboss.ha.jndi.HAJNDI.setCurrentState(HAJNDI.java:101)
        at
org.jboss.ha.framework.server.HAPartitionImpl.setState(HAPartitionImpl.java:
342)
        at
org.javagroups.blocks.MessageDispatcher$ProtocolAdapter.passUp(MessageDispat
cher.java:468)
        at
org.javagroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:294)
        at
org.javagroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher
.java:513)
        at org.javagroups.JChannel.up(JChannel.java:841)
        at org.javagroups.stack.ProtocolStack.up(ProtocolStack.java:302)
        at
org.javagroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:318)
        at org.javagroups.stack.Protocol.passUp(Protocol.java:470)
        at
org.javagroups.protocols.pbcast.STATE_TRANSFER.handleStateRsp(STATE_TRANSFER
.java:316)
        at
org.javagroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:123)
        at org.javagroups.stack.UpHandler.run(Protocol.java:55)
09:33:51,961 INFO  [ClusteredHTTPSessionService] Started
------------------------------------------------------------------------

Can you pls help on this?

Thanks in advance,
Nishant.





-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sacha
Labourey
Sent: Tuesday, July 29, 2003 6:33 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Clustering Problem


I just did exactly that with:
 - 3.2.2RC2
 - Branch_3_2 (future RC3)

And it works as expected. Could you please try again on a non-NFS
filesystem?

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Nishant Aggarwal
> Sent: lundi, 28. juillet 2003 21:24
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] Clustering Problem
>
>
> Hello Sacha,
> Following is the procedure:
> 1.Install JBoss3.2.2RC1 in "/user/sacha/Jboss3.2.2" and
> another instance in
> "/user/sacha/server2/Jboss3.2.2" dir.
> 2.
> a)First,Start server 1(/user/sacha/Jboss3.2.2) jboss instance
> on one Solaris
> machine and
> b)After server 1 comes up,start server 2 jboss
> instance(/user/sacha/server2/Jboss3.2.2) on some other
> Solaris machine on
> the same NFS system.The jboss server deploy mode is "all".
> 3.Now,put the jar(Hello.jar) attached under server 1 "all/farm"
> directory.Server 2 picks it up and it deploys in server 2
> "all/farm" dir
> also.
> 4.Delete the Hello.jar from "all/farm" dir of server 1.It is
> successfully
> undeployed from
> server 1 and server 2.
> 5.Now,put the same jar in "server 2".Only server 2 deploys
> it.Server 1(which
> was brought
> up first) doesn't get any notification of this and its
> oblivious of this
> deployment.
>
> I am attaching the sample jar I used for my testing!
>
> HTH,
> Nishant.
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Sacha
> Labourey
> Sent: Sunday, July 27, 2003 11:16 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] Clustering Problem
>
>
> If you have a small example and procedure (starting from a raw JBoss
> installation) that consistently fails, please send it to me.
>
> Cheers,
>
>
>                       Sacha
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > Nishant Aggarwal
> > Sent: lundi, 28 juillet 2003 18:47
> > To: [EMAIL PROTECTED]
> > Subject: RE: [JBoss-user] Clustering Problem
> >
> >
> > Hi Kevin,
> > Thanks for the info!
> > I don't know if 3.2.2RC2 will sort out this issue.Becaz,the
> > problem seems to be with "order" in which the servers in
> > cluster were started. As asked by you,I had put the jar in
> > server 2 after removing the jar from one of the servers.Thus
> > undeploying it before deploying it!
> >
> > Any help would be appreciated!
> >
> > Thanks & Regards,
> > Nishant.
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of
> > Kevin Duffey
> > Sent: Friday, July 25, 2003 10:10 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [JBoss-user] Clustering Problem
> >
> >
> > Did you put it in node 2 when both were clean?
> > Re-deploying of apps in the /farm dir doesn't seem to
> > work in RC1. You may want to get the very latest RC2
> > that just came out two days or so ago. That may have
> > fixed it, but I haven't tried yet. Anywho, I also note
> > that the only thing that works with farming is if you
> > first deploy it (clean deploy), it propery farms. If
> > you delete it out of one node, it then properly
> > undeletes it out of other nodes. So, as of now, to
> > redeploy, first delete it, then add it again.
> > Shouldn't be this way, so hopefully RC2 fixes that
> > problem.
> >
> > --- Nishant Aggarwal <[EMAIL PROTECTED]>
> > wrote:
> > > Hi All,
> > > I am working on JBoss 3.2.2RC1 and trying out
> > > clustering!
> > > I am running 2 different JBoss on different machines
> > > in clustering mode,ie,
> > > the 2 JBoss servers are started as "run.sh -c all".
> > > Now , I have a simple SLSB "Hello.jar" with
> > > <clustered>true</clustered> specified
> > > in jboss.xml file.
> > >
> > > Now, I tested 2 cases:
> > > 1.I try to put the above jar in the directory
> > > (all/farm) of the server
> > > started "first".The Hello.jar gets deployed in both
> > > the servers and I can
> > > see it in
> > > corresponding "all/farm" dirs.
> > > 2.I try to put the above jar in the directory
> > > (all/farm) of the server
> > > started "second".The Hello.jar gets deployed "only"
> > > in ""second" server and
> > > "first"
> > > server doesn't have any clue!
> > >
> > > Can you pls help me out?Is there concept of
> > > Master/Slave etc?
> > > Thanks in advance,
> > > Nish
> > >
> > >
> > >
> > >
> > -------------------------------------------------------
> > > This SF.Net email sponsored by: Free pre-built
> > > ASP.NET sites including
> > > Data Reports, E-commerce, Portals, and Forums are
> > > available now.
> > > Download today and enter to win an XBOX or Visual
> > > Studio .NET.
> > >
> > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
> > _072303_01/01
> > > _______________________________________________
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > >
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site design
> > software http://sitebuilder.yahoo.com
> >
> >
> > -------------------------------------------------------
> > This SF.Net email sponsored by: Free pre-built ASP.NET sites
> > including Data Reports, E-commerce, Portals, and Forums are
> > available now. Download today and enter to win an XBOX or
> > Visual Studio .NET.
> > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
> _072303_01/01
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites
> including Data
> Reports, E-commerce, Portals, and Forums are available now.
> Download today
> and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
> _072303_01/01
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
> _072303_01/01
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Attachment: Hello.jar
Description: Binary data

Reply via email to