[Clustering/JBoss] - Re: JBoss 4.2 TCP Clustering problem
by agk
Thank you, oozie - this moved me forward a bit. However now I am getting other errors, resulting in DefaultPartition failure:
2008-11-06 09:50:41,351 WARN [org.jgroups.blocks.ConnectionTable] packet from /192.168.5.41:3954 has different version (12338) from ours (4353). This may cause problems
2008-11-06 09:50:41,361 WARN [org.jgroups.blocks.ConnectionTable] exception is java.net.UnknownHostException: addr is of illegal length
2008-11-06 09:50:41,831 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Number of cluster members: 2
2008-11-06 09:50:41,841 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Other members: 1
2008-11-06 09:50:41,841 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Fetching state (will wait for 30000 milliseconds):
2008-11-06 09:50:45,867 WARN [org.jgroups.protocols.pbcast.STATE_TRANSFER] Initiator of flush and state requesting member 192.168.5.42:7800 timed out waiting for flush responses after 4000 msec
2008-11-06 09:50:50,914 WARN [org.jgroups.protocols.pbcast.STATE_TRANSFER] Initiator of flush and state requesting member 192.168.5.42:7800 timed out waiting for flush responses after 4000 msec
2008-11-06 09:50:56,192 WARN [org.jgroups.protocols.pbcast.STATE_TRANSFER] Initiator of flush and state requesting member 192.168.5.42:7800 timed out waiting for flush responses after 4000 msec
2008-11-06 09:51:03,172 WARN [org.jgroups.protocols.pbcast.STATE_TRANSFER] Initiator of flush and state requesting member 192.168.5.42:7800 timed out waiting for flush responses after 4000 msec
2008-11-06 09:51:07,308 WARN [org.jgroups.protocols.pbcast.STATE_TRANSFER] Initiator of flush and state requesting member 192.168.5.42:7800 timed out waiting for flush responses after 4000 msec
2008-11-06 09:51:12,946 WARN [org.jgroups.protocols.pbcast.STATE_TRANSFER] Initiator of flush and state requesting member 192.168.5.42:7800 timed out waiting for flush responses after 4000 msec
2008-11-06 09:51:14,038 WARN [org.jboss.system.ServiceController] Problem starting service jboss:service=DefaultPartition
java.lang.IllegalStateException: Initial state transfer failed: Channel.getState() returned false
.....
And then:
2008-11-06 09:52:22,726 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=DefaultPartition
State: FAILED
Reason: java.lang.IllegalStateException: Initial state transfer failed: Channel.getState() returned false
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187433#4187433
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187433
17 years, 5 months
[EJB 3.0] - Re: Help need to solve the jms not bound error
by PeterJ
You can define a queue by creating a *-service.xml file (say, newmessage-destination-service.xml), with the following content, and place it in the server/default/deploy directory.
<server>
| <mbean code="org.jboss.jms.server.destination.QueueService"
| name="jbia.jms:service=Queue,name=NewMessage"
| xmbean-dd="xmdesc/Topic-xmbean.xml">
| <depends optional-attribute-name="ServerPeer">
| jboss.messaging:service=ServerPeer
| </depends>
| <depends>jboss.messaging:service=PostOffice</depends>
| <attribute name="SecurityConfig">
| <security>
| <role name="vstore" write="true" />
| <role name="vcust" read="true" create="true" />
| </security>
| </attribute>
| </mbean>
| </server>
In addition, you will want to change you queue reference to:
@Resource(mappedName="queue/NewMessage")
| private Queue queue;
That is the queue name based on the configuration file - note that the 'queue' prefix is assumed. I believe this prefix can be changed, but I would have to do some digging and testing to verify. Is is probably best to use the defaults.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187423#4187423
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187423
17 years, 5 months