[JBoss Seam] - A4J - Can I refresh a components value without applying the
by loopingrage
I'm knee deep in some Seam/A4J fun and have hit a road block. Is it possible to have A4J refresh the value of a component without going through Apply Request Values?
The attached code demonstrates what I'm trying to accomplish. I'd like to see changes (made outside this form in a different browser) to a person's Manager ID by clicking the the refresh button (cmdRefresh). In a typical web application, I would just have my users refresh the page to view changes but since it's AJAX, I'm essentially looking for is a way to mark a component as read-only for a given AJAX request.
Does this even make sense?
|
|
| <h:form id="DummyForm">
| <h:selectOneMenu id="lstDestination" value="#{BackingBean.managerId}" >
| <f:selectItems value="#{Util.selectItems}" />
| </h:selectOneMenu>
| <a4j:commandButton id="cmdRefresh" value="Refresh" reRender="lstDestination" />
| <a4j:commandButton id="cmdSave" value="Refresh" actionListener="#{BackingBean.save}" />
| </h:form>
|
|
| public class Person {
|
| private String name;
| private String phone;
| private Long managerId;
|
| public Long getManagerId() {
| return managerId;
| }
|
| public void setManagerId(Long managerId) {
| this.managerId = managerId;
| }
|
| }
|
| public class BackingBean {
|
| Person person;
|
| public void setManagerId(Long managerId) {
| this.person.setManagerId(managerId);
| }
|
| public Long getManagerId() {
| return this.person.getManagerId();
| }
|
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044456#4044456
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044456
19 years, 1 month
[JBossCache] - Re: Threading Bug in PojoCache?
by mvlior
Hi,
I've been seeing the same exception in a somewhat different scenario, but perhaps there is a connection, this being the only post mentioning
"null PojoInstance for fqn"...
Basically, I'm running a replciated cache on two different JVMs. One attaches a POJO and then detaches it, while the other tries to acces it within a org.jboss.cache.CacheListener#nodeRemoved() method. AFAIK the notifier call is on the same thread.
The goal was to get a remote notification for POJO creation/deletion.
Below is the exception that occurs whenever this runs:
/**
| * @see org.jboss.cache.CacheListener#nodeRemoved(org.jboss.cache.Fqn, boolean, boolean, java.util.Map)
| */
| public void nodeRemoved(Fqn fqn, boolean pre, boolean isLocal, Map<Object, Object> data) {
| log.info("nodeRemoved " + (pre?"pre ":"post ") + (isLocal?"local ":"remote ") + "fqn=" + fqn + " data:" + data);
| if (pre) {
| log.debug("FQN is: " + fqn + ", and the cache is currently " + cache);
| if (fqn.toString().startsWith("__JBossInternal__")) {
| log.trace("(JBoss internal stuff)");
|
| } else {
| // our object !
| Object object = cache.find("/person/test1"); // causes the exception, returns null
| log.info("\nSomething is about to be removed. Something==" + object + '\n');
| }
| }
| }
Here's the exception, in cotext. If the line "cache.find(....)" is commented-out, everything seems to work just fine.
2007-05-09 22:03:33,906 INFO [ReplicationDest] (Incoming Thread,192.168.0.112:1170) Modified for removal. Checking data:
| 2007-05-09 22:03:33,906 INFO [ReplicationDest] (Incoming Thread,192.168.0.112:1170) Pojo instance is: PI[fqn=null ref=0 class=org.jboss.cache.pojo.test.Person]
| 2007-05-09 22:03:33,906 TRACE [ReplicationDest] (Incoming Thread,192.168.0.112:1170) nodeVisited post fqn=/__JBossInternal__/person/test1/_ID_/5c4o034-mm6a9v-f1i7ypgq-1-f1i7ypo4-3
| 2007-05-09 22:03:33,906 INFO [ReplicationDest] (Incoming Thread,192.168.0.112:1170) nodeRemoved pre remote fqn=/__JBossInternal__/person/test1/_ID_/5c4o034-mm6a9v-f1i7ypgq-1-f1i7ypo4-3 data:{}
| 2007-05-09 22:03:33,921 DEBUG [ReplicationDest] (Incoming Thread,192.168.0.112:1170) FQN is: /__JBossInternal__/person/test1/_ID_/5c4o034-mm6a9v-f1i7ypgq-1-f1i7ypo4-3, and the cache is currently org.jboss.cache.pojo.impl.PojoCacheImpl cache=/__JBossInternal__ 0
| /person 0
| /test1 0
| /_ID_ 0
| /5c4o034-mm6a9v-f1i7ypgq-1-f1i7ypo4-3 0
| /person 0
| /test1 2
| delegate=org.jboss.cache.pojo.impl.PojoCacheDelegate@13043d2 types=0
| 2007-05-09 22:03:33,921 TRACE [ReplicationDest] (Incoming Thread,192.168.0.112:1170) nodeVisited pre fqn=/person/test1
| 2007-05-09 22:03:33,921 TRACE [ReplicationDest] (Incoming Thread,192.168.0.112:1170) nodeVisited post fqn=/person/test1
| 2007-05-09 22:03:33,921 TRACE [ReplicationDest] (Incoming Thread,192.168.0.112:1170) nodeVisited pre fqn=/__JBossInternal__/person/test1/_ID_/5c4o034-mm6a9v-f1i7ypgq-1-f1i7ypo4-3
| 2007-05-09 22:03:33,921 TRACE [ReplicationDest] (Incoming Thread,192.168.0.112:1170) nodeVisited post fqn=/__JBossInternal__/person/test1/_ID_/5c4o034-mm6a9v-f1i7ypgq-1-f1i7ypo4-3
| 2007-05-09 22:03:33,921 TRACE [ReplicationDest] (Incoming Thread,192.168.0.112:1170) nodeVisited pre fqn=/person/test1
| 2007-05-09 22:03:33,921 TRACE [ReplicationDest] (Incoming Thread,192.168.0.112:1170) nodeVisited post fqn=/person/test1
| 2007-05-09 22:03:33,921 TRACE [ReplicationDest] (Incoming Thread,192.168.0.112:1170) nodeVisited pre fqn=/__JBossInternal__/person/test1/_ID_/5c4o034-mm6a9v-f1i7ypgq-1-f1i7ypo4-3
| 2007-05-09 22:03:33,921 TRACE [ReplicationDest] (Incoming Thread,192.168.0.112:1170) nodeVisited post fqn=/__JBossInternal__/person/test1/_ID_/5c4o034-mm6a9v-f1i7ypgq-1-f1i7ypo4-3
| 2007-05-09 22:03:33,984 ERROR [TxInterceptor] (Incoming Thread,192.168.0.112:1170) method invocation failed
| org.jboss.cache.pojo.PojoCacheException: PojoCacheDelegate.getObjectInternal(): null PojoInstance for fqn: /__JBossInternal__/person/test1/_ID_/5c4o034-mm6a9v-f1i7ypgq-1-f1i7ypo4-3
| at org.jboss.cache.pojo.impl.PojoCacheDelegate.getObjectInternal(PojoCacheDelegate.java:338)
| at org.jboss.cache.pojo.impl.PojoCacheDelegate.getObject(PojoCacheDelegate.java:106)
| at org.jboss.cache.pojo.impl.PojoCacheImpl.getObject(PojoCacheImpl.java:211)
| at org.jboss.cache.pojo.impl.PojoCacheImpl.org$jboss$cache$pojo$impl$PojoCacheImpl$find$aop(PojoCacheImpl.java:200)
| at org.jboss.cache.pojo.impl.PojoCacheImpl$JoinPoint_find_N_7063709169143275953.dispatch(PojoCacheImpl$JoinPoint_find_N_7063709169143275953.java)
| at org.jboss.cache.pojo.impl.JoinPoint_find_N_7063709169143275953_2.invokeNext(JoinPoint_find_N_7063709169143275953_2.java)
| at org.jboss.cache.pojo.interceptors.CheckIdInterceptor.invoke(CheckIdInterceptor.java:32)
| at org.jboss.cache.pojo.impl.JoinPoint_find_N_7063709169143275953_2.invokeNext(JoinPoint_find_N_7063709169143275953_2.java)
| at org.jboss.cache.pojo.interceptors.PojoBeginInterceptor.invoke(PojoBeginInterceptor.java:54)
| at org.jboss.cache.pojo.impl.JoinPoint_find_N_7063709169143275953_2.invokeNext(JoinPoint_find_N_7063709169143275953_2.java)
| at org.jboss.cache.pojo.impl.JoinPoint_find_N_7063709169143275953_2.invokeJoinpoint(JoinPoint_find_N_7063709169143275953_2.java)
| at org.jboss.cache.pojo.impl.PojoCacheImpl$PojoCacheImplAdvisor.find_N_7063709169143275953(PojoCacheImpl$PojoCacheImplAdvisor.java)
| at org.jboss.cache.pojo.impl.PojoCacheImpl$PojoCacheImplInstanceAdvisor.find_N_7063709169143275953(PojoCacheImpl$PojoCacheImplInstanceAdvisor.java)
| at org.jboss.cache.pojo.impl.PojoCacheImpl.find(PojoCacheImpl.java)
| at org.jboss.cache.pojo.impl.PojoCacheImpl.find(PojoCacheImpl.java:187)
| at mailvision.ReplicationDest.nodeRemoved(ReplicationDest.java:150)
| at org.jboss.cache.notifications.Notifier.notifyNodeRemoved(Notifier.java:233)
| at org.jboss.cache.CacheImpl._remove(CacheImpl.java:2323)
| at org.jboss.cache.CacheImpl._remove(CacheImpl.java:2257)
| at org.jboss.cache.CacheImpl._remove(CacheImpl.java:2243)
| at org.jboss.cache.CacheImpl._remove(CacheImpl.java:2237)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:330)
| at org.jboss.cache.interceptors.CallInterceptor.invoke(CallInterceptor.java:49)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
| at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:33)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
| at org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:202)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
| at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:34)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
| at org.jboss.cache.interceptors.NotificationInterceptor.invoke(NotificationInterceptor.java:22)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
| at org.jboss.cache.interceptors.TxInterceptor.replayModifications(TxInterceptor.java:497)
| at org.jboss.cache.interceptors.TxInterceptor.handlePessimisticPrepare(TxInterceptor.java:391)
| at org.jboss.cache.interceptors.TxInterceptor.handleRemotePrepare(TxInterceptor.java:249)
| at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:97)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
| at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:168)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
| at org.jboss.cache.interceptors.InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:66)
| at org.jboss.cache.CacheImpl.invokeMethod(CacheImpl.java:3752)
| at org.jboss.cache.CacheImpl._replicate(CacheImpl.java:2675)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:330)
| at org.jboss.cache.marshall.InactiveRegionAwareRpcDispatcher.handle(InactiveRegionAwareRpcDispatcher.java:92)
| at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:624)
| at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:533)
| at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:365)
| at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:721)
| at org.jgroups.JChannel.up(JChannel.java:1050)
| at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:326)
| at org.jgroups.protocols.pbcast.FLUSH.up(FLUSH.java:509)
| at org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER.up(STREAMING_STATE_TRANSFER.java:246)
| at org.jgroups.protocols.FRAG2.up(FRAG2.java:197)
| at org.jgroups.protocols.pbcast.GMS.up(GMS.java:717)
| at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:226)
| at org.jgroups.protocols.UNICAST.up(UNICAST.java:231)
| at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:692)
| at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:527)
| at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:154)
| at org.jgroups.protocols.FD.up(FD.java:328)
| at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301)
| at org.jgroups.protocols.MERGE2.up(MERGE2.java:145)
| at org.jgroups.protocols.Discovery.up(Discovery.java:224)
| at org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1541)
| at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1495)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| at java.lang.Thread.run(Thread.java:595)
What do you think ?
Thanks in advance!
Lior Neuman
R&D Team,
MailVision LTD.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044455#4044455
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044455
19 years, 1 month
[JBoss Messaging] - Re: Message receiver connot reconnect after the messaging se
by cresny
Tim,
I am experiencing the same behavior using either jboss-remoting-2.2.0.SP2 or SP3 (JBoss 4.0.5.GA/JBM 1.2.0.SP1). There was also an issue where an MDB container would get starved/disconnected; this was fixed with remoting 2.2.0.SP2. But the remote client problem exemplified by Gurwinder's test above still does exist.
Below is an abbreviated log from the above test (only top-level traces), annotated with my guesswork. As you can see the connection quickly dies off. I have played with the bisocket parameters (check_connection=true, etc., from the jboss-messaging service config) with no luck.
I understand this is largely a remoting issue and should perhaps be added to JBREM-732, except for one thing: if the MessageConsumer loses its connection, can't an Exception be thrown? this would at least allow for a fallback if remoting fails. Otherwise it's just a silent death!
Set up remote consumer (no timeout on receive)
14:18:35,501 DEBUG [SocketClientInvoker] SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757] setting timeout to 1000
14:18:35,501 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757] constructed
14:18:35,501 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757] setting maxPoolSize to 50
14:18:35,501 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757] setting client socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper
14:18:35,501 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757] setting shouldCheckConnection to true
14:18:35,501 DEBUG [SocketClientInvoker] SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757] setting timeout to 1000
14:18:35,501 DEBUG [MicroRemoteClientInvoker] SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757] connecting
14:18:35,501 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757] added new pool ([]) as ServerAddress[159.125.154.138:4757, NO enableTcpNoDelay timeout 1000 ms]
14:18:35,501 DEBUG [MicroRemoteClientInvoker] SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757] connected
14:18:35,501 DEBUG [ConnectionValidator] ConnectionValidator[SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757], pingPeriod=2000 ms] started
14:18:35,501 DEBUG [MessageIdGeneratorFactory] checked out MessageIdGenerator for 3, reference count is 1
14:18:35,516 DEBUG [ClusteringAspect] ClusteringAspect[ClusteredConnectionFactoryDelegate[SIDs={3}]] got local connection delegate ConnectionDelegate[32598031, ID=3, SID=3]
14:18:35,516 DEBUG [ConsolidatedRemotingConnectionListener] ConnectionState[3].ConsolidatedListener adding delegate listener ConnectionFailureListener[FailoverCommandCenter[ConnectionState[3]]]
14:18:35,516 DEBUG [ClusteringAspect] ClusteringAspect[ClusteredConnectionFactoryDelegate[SIDs={3}]] installed failure listener on ConnectionDelegate[32598031, ID=3, SID=3]
14:18:36,126 DEBUG [JBossSession] attempting to create consumer for destination:JBossQueue[testQueue]
listening
Bring down messaging server. Remoting determines it is orphaned and connection is invalid.
14:19:17,501 DEBUG [SocketWrapper] ClientSocketWrapper[Socket[addr=/159.125.154.138,port=4757,localport=3687].da3772] closing
14:19:18,501 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757] got Exception java.net.SocketTimeoutException: connect timed out, creation attempt took 1000 ms
14:19:18,501 DEBUG [ConnectionValidator] ConnectionValidator failed to ping via SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757]
org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [bisocket://159.125.154.138:4757/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&leasePeriod=10000&leasing=true&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=true&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
Caused by: java.net.SocketTimeoutException: connect timed out
14:19:18,501 DEBUG [ConnectionValidator] ConnectionValidator[SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757], pingPeriod=2000 ms]'s connections is invalid
Attempt to deregister/clean up remote connections(?)
14:19:18,517 DEBUG [InvokerRegistry] removed SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757] from registry
14:19:18,517 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757] disconnecting ...
14:19:18,517 DEBUG [ConsolidatedRemotingConnectionListener] ConnectionState[3].ConsolidatedListener forwarding remoting failure "java.lang.Exception: Could not connect to server!" to ConnectionFailureListener[FailoverCommandCenter[ConnectionState[3]]]
14:19:18,517 DEBUG [ConnectionFailureListener] ConnectionFailureListener[FailoverCommandCenter[ConnectionState[3]]] is being notified of connection failure: java.lang.Exception: Could not connect to server!
14:19:18,517 DEBUG [SocketWrapper] ClientSocketWrapper[Socket[addr=/159.125.154.138,port=4757,localport=3685].738d08] closing
14:19:18,517 DEBUG [FailoverCommandCenter] failure detected by ConnectionFailureListener[FailoverCommandCenter[ConnectionState[3]]]
14:19:18,517 DEBUG [ConnectionValidator] ConnectionValidator[SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757], pingPeriod=2000 ms] stopped, returning true
14:19:18,517 DEBUG [LeasePinger] LeasePinger[SocketClientInvoker[52c6b4, bisocket://159.125.154.138:4757](4f3h4a3u-e9roa5-f1i47q1j-1-f1i47qrk-5)] setting disconnect timeout to: 0
14:19:18,517 DEBUG [InvokerRegistry] removed SocketClientInvoker[52c6b4, bisocket://159.125.154.138:4757] from registry
14:19:18,517 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[52c6b4, bisocket://159.125.154.138:4757] disconnecting ...
14:19:18,517 DEBUG [JMSRemotingConnection] JMSRemotingConnection[bisocket://159.125.154.138:4757/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&leasePeriod=10000&leasing=true&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=true&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat] failed to cleanly remove callback manager from the client
java.lang.Exception: Can not remove callback listener as remoting client is not connected to server.
at org.jboss.remoting.Client.removeListener(Client.java:1090)
Attempt to reestablish?
14:19:18,517 DEBUG [FailoverCommandCenter] FailoverCommandCenter[ConnectionState[3]] starting client-side failover
14:19:18,517 DEBUG [ClusteringAspect] ClusteringAspect[ClusteredConnectionFactoryDelegate[SIDs={3}]] has chosen ConnectionFactoryDelegate[1, SID=3] as target, 1 connection attempts
14:19:18,517 DEBUG [JMSRemotingConnection] JMSRemotingConnection[bisocket://159.125.154.138:4757/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&leasePeriod=10000&leasing=true&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=true&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat] created
14:19:18,517 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[174a6e2, bisocket://159.125.154.138:4757] setting maxPoolSize to 50
14:19:18,517 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[174a6e2, bisocket://159.125.154.138:4757] setting client socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper
14:19:18,517 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[174a6e2, bisocket://159.125.154.138:4757] setting shouldCheckConnection to true
14:19:18,517 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[174a6e2, bisocket://159.125.154.138:4757] constructed
14:19:18,517 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[174a6e2, bisocket://159.125.154.138:4757] setting maxPoolSize to 50
14:19:18,517 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[174a6e2, bisocket://159.125.154.138:4757] setting client socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper
14:19:18,517 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[174a6e2, bisocket://159.125.154.138:4757] setting shouldCheckConnection to true
14:19:18,517 DEBUG [MicroRemoteClientInvoker] SocketClientInvoker[174a6e2, bisocket://159.125.154.138:4757] connecting
14:19:18,517 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[174a6e2, bisocket://159.125.154.138:4757] added new pool ([]) as ServerAddress[159.125.154.138:4757, NO enableTcpNoDelay timeout 0 ms]
14:19:18,517 DEBUG [MicroRemoteClientInvoker] SocketClientInvoker[174a6e2, bisocket://159.125.154.138:4757] connected
14:19:19,439 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[174a6e2, bisocket://159.125.154.138:4757] got Exception java.net.ConnectException: Connection refused: connect, creation attempt took 922 ms
14:19:19,439 DEBUG [JMSRemotingConnection] JMSRemotingConnection[bisocket://159.125.154.138:4757/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&leasePeriod=10000&leasing=true&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=true&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat] closing
14:19:19,439 ERROR [DelegateSupport] Failed
java.lang.RuntimeException: Error setting up client lease upon performing connect.
Caused by: java.lang.Exception: Error setting up client lease
at org.jboss.remoting.MicroRemoteClientInvoker.establishLease(MicroRemoteClientInvoker.java:405)
Caused by: org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [bisocket://159.125.154.138:4757/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&leasePeriod=10000&leasing=true&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=true&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:525)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
14:19:19,439 ERROR [FailoverCommandCenter] Failover failed
org.jboss.jms.util.MessagingJMSException: Failed to invoke
at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:225)
Caused by: java.lang.RuntimeException: Error setting up client lease upon performing connect.
at org.jboss.remoting.Client.connect(Client.java:1445)
Caused by: java.lang.Exception: Error setting up client lease
at org.jboss.remoting.MicroRemoteClientInvoker.establishLease(MicroRemoteClientInvoker.java:405)
Caused by: org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [bisocket://159.125.154.138:4757/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&leasePeriod=10000&leasing=true&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=true&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:525)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
14:19:19,439 DEBUG [FailoverCommandCenter] FailoverCommandCenter[ConnectionState[3]] aborted failover
14:19:19,439 ERROR [ConnectionFailureListener] Caught exception in handling failure
org.jboss.jms.util.MessagingJMSException: Failed to invoke
at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:225)
Caused by: java.lang.RuntimeException: Error setting up client lease upon performing connect.
at org.jboss.remoting.Client.connect(Client.java:1445)
Caused by: java.lang.Exception: Error setting up client lease
at org.jboss.remoting.MicroRemoteClientInvoker.establishLease(MicroRemoteClientInvoker.java:405)
Caused by: org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [bisocket://159.125.154.138:4757/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&leasePeriod=10000&leasing=true&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=true&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:525)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
14:19:29,939 WARN [BisocketServerInvoker] org.jboss.remoting.transport.bisocket.BisocketServerInvoker$ControlMonitorTimerTask@869113: detected failure on control connection Thread[control: Socket[addr=/159.125.154.138,port=3948,localport=3686],5,]: requesting new control connection
14:19:29,939 DEBUG [BisocketServerInvoker] Unable to retrieve client invoker: must have disconnected
14:19:29,939 DEBUG [BisocketServerInvoker] Unable to recreate control connection: InvokerLocator [null://159.125.154.138:3948/null]
org.jboss.remoting.transport.bisocket.BisocketServerInvoker$ClientUnavailableException
at org.jboss.remoting.transport.bisocket.BisocketServerInvoker.createControlConnection(BisocketServerInvoker.java:196)
at org.jboss.remoting.transport.bisocket.BisocketServerInvoker$1.run(BisocketServerInvoker.java:948)
failed, disconnects for good. (messaging listener DOES NOT get exception)
14:19:36,127 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757] disconnecting ...
14:19:36,127 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[137d4a4, bisocket://159.125.154.138:4757] disconnecting ...
14:19:36,127 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[52c6b4, bisocket://159.125.154.138:4757] disconnecting ...
14:19:36,127 DEBUG [MicroSocketClientInvoker] SocketClientInvoker[52c6b4, bisocket://159.125.154.138:4757] disconnecting ...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044450#4044450
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044450
19 years, 1 month