[jboss-user] [Clustering/JBoss] - Initial state transfer failed: Channel.getState() returned f

2008-09-25 Thread niefeng
We have a cluster with two nodes (JBOSS4.0.5 CP10) deployed in Solaris 10 with JRE150_10 Sparc edition. We found the following error when the second node being started up. Below is the console msg we found in the 2nd node. We are puzzle why the cluster initial can form properly, however when

[jboss-user] [Clustering/JBoss] - Re: Initial state transfer failed: Channel.getState() return

2008-09-25 Thread niefeng
The following DEBUG message is from 2nd node. It has tried to send the sending are-you-alive msg to the Main node; however eventually it still not able to join the group. The complete stack trace can be viewed here http://myspace2020.googlepages.com/2ndNode.log | [25:09:08-19:45:12,803]

[jboss-user] [Clustering/JBoss] - Re: Initial state transfer failed: Channel.getState() return

2008-09-25 Thread niefeng
The following showed the DEBUG log message from Main node when the second node is being started up. Look at those highlighted in Bold (starting from time [25:09:08-19:45:15,121] till [25:09:08-19:45:15,132], it look like the Main node is receiving the state request from 2nd node, and preparing

[jboss-user] [Clustering/JBoss] - Re: Initial state transfer failed: Channel.getState() return

2008-09-25 Thread niefeng
We have also tried to ensure that the UDP packet can flow through properly within the network. Below output of the testing of multicast and UDP port. Both server can communicate to each other. Can someone enlighten me what happen to the setup, could it be due to the network structure or the

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: some question on the classloader

2008-04-09 Thread niefeng
Hi all, Did I miss out any info that i didn't provide to let you better undertand my problem? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4142673#4142673 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4142673

[jboss-user] [Installation, Configuration DEPLOYMENT] - some question on the classloader

2008-04-08 Thread niefeng
We have migrated from JBOSS4.0.5 GA to JBOSS4.2.2, and we encounter the class loader issue. We have packaged the java mail.jar in our application archive (due to our application archive can be deployed in different AS, so we include that instead of depending the existing mail.jar in

[jboss-user] [Clustering/JBoss] - Re: The need to cluster a Stateless session bean

2007-12-31 Thread niefeng
Thanks for the reply, Since the Jboss AS has build in the logic to detect the invocation is within the same VM, so the EJB call we make default is set to not using remote invocation. Thus, we dun really need to mark the session bean as clusterable. View the original post :

[jboss-user] [Clustering/JBoss] - The need to cluster a Stateless session bean

2007-12-15 Thread niefeng
Hi all, If the SLSB is only accessed within the ear file or other ear file (all of the ear files are deployed in the same server), do I need to mark the session bean as Clusterable? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113166#4113166 Reply

[jboss-user] [Installation, Configuration DEPLOYMENT] - Enforce dependency on LocalHome interface?

2007-12-01 Thread niefeng
Hi all, I have the scenario that module A (contain a session bean A) is depending on module B (contain a sessionbean B) meaning during shutdown of the AP server, module A need to be undeploy first prior B. After google it, I found out that the we can use the add the tag

[jboss-user] [Messaging, JMS JBossMQ] - Re: JMS msg get redelivered although setting retry to 0

2007-10-18 Thread niefeng
Hi Adrian, Thanks for the explanation on the problem. I will give it a try for that patch. Could I know where should I get it? Will the solution you suggested (update the redelivery status prior the msg delivery to the client) be applied to the latest Jboss AS also? or it is a temporary

[jboss-user] [Messaging, JMS JBossMQ] - Re: JMS msg get redelivered although setting retry to 0

2007-10-13 Thread niefeng
Hi Adrian, thanks for your reply. Below is the sysout of the jms message. 1st received msg | [13:10:07-16:16:22,461][JMS SessionPool Worker-19][ INFO][GN.APP.WORKFLOW][]Msg received: org.jboss.mq.SpyObjectMessage { | Header { |jmsDestination : QUEUE.sendSignalQueue |

[jboss-user] [Messaging, JMS JBossMQ] - Re: JMS msg get redelivered although setting retry to 0

2007-10-11 Thread niefeng
Hi all, Did I omit something in my description or the information I provided is not sufficient for the case? Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4093945#4093945 Reply to the post :

[jboss-user] [Messaging, JMS JBossMQ] - JMS msg get redelivered although setting retry to 0

2007-10-09 Thread niefeng
Hi all, I have some problem on the JMS msg redelivery after the main node has been down abnormally. I would like to disable such a redelivery due to some business logic requirement. My box has the following setup: version: JBOSS 4.0.5 GA OS: Sun Solaris 10 JRE: JRE 1.5.10 Deploy env: Two

[jboss-user] [Clustering/JBoss] - Re: HA JMS message selector

2007-06-24 Thread niefeng
here is the exception i got in node1 | org.jboss.mq.SpyXAException: Resource manager error during prepare; - nested throwable: (javax.jms.IllegalStateException: The connection is closed) | at org.jboss.mq.SpyXAException.getAsXAException(SpyXAException.java:72) | at

[jboss-user] [Clustering/JBoss] - HA JMS message selector

2007-06-14 Thread niefeng
Hi all, I have configured the queue as the HA JMS which will be running in the master node. In my topology, i have two nodes within the cluster. My box is jboss 4.0.5 GA. OS solaris 10. DB Oracle 10g. JVM: JRE 1.5.10 Could I know the behaviour of the jms msg by specifying the message

[jboss-user] [Management, JMX/JBoss] - Re: Lookup Singleton MBean

2007-06-12 Thread niefeng
Ops, forgot to mention the jboss version i am running. The version is 4.05 GA. The following is the mbean configuration file | mbean code=test.ASingletonService | name=jboss.test:service=ASingleton |/mbean | |mbean code=org.jboss.ha.singleton.HASingletonController

[jboss-user] [Management, JMX/JBoss] - Re: Lookup Singleton MBean

2007-06-12 Thread niefeng
Hi all, I have searched the answer in the jboss clustering forum, thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4053767#4053767 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053767

[jboss-user] [Management, JMX/JBoss] - Lookup Singleton MBean

2007-06-11 Thread niefeng
Hi all, I followed the configuration as specified on the OnJava.com (http://www.onjava.com/pub/a/onjava/2003/08/20/jboss_clustering.html) to configure a singleton MBean within the cluster env. However, i have problem on locating the singleton MBean. Below is my excerpt of my code on getting

[jboss-user] [Beginners Corner] - HSQL fail to close data file

2006-12-10 Thread niefeng
Dear all, Did anyone encounter the following error before ? [JMSSender.sendMessageToTopic] Error org.jboss.mq.SpyJMSException: Could not store message: 18837 msg=282 hard NOT_STORED PERSISTENT queue=TOPIC.fromRouter.ID:7.-2147483648 priority=4 lateClone=false hashCode=31865957; - nested

[jboss-user] [Beginners Corner] - Connection Refused

2006-11-08 Thread niefeng
Dear all, I have deployed a sevlet in the JBoss3.2.2 server; however, sometimes the client get the java.net.ConnectException: Connection refused: connect exception while accessing the sevlet. The incident happened intermitent . Could I know the reason why this can happen? Is it because too