[Persistence, JBoss/CMP, Hibernate, Database] - Re: JPQL:
by negora
For ethnarch: First of all, excuse my late answer. Also thanks for spending your time trying to help me.
I think that I should have chosen a more generic example, since that one of numbers ending in five was only to get an approximation to my problem in real terms. As you stated it could be solved using a mathematic function even with more efficiency.
My real need is to know if there's a way to compare a column of type numeric against a text string, using the LIKE comparator without tricks like the one which I mentioned above.
Let's think about a comparison which can't be solved using mathematic functions (at least, of my knowledge). let's suppose that I need to get every price which at least has the sequence 23 in it, such as 2394.34, 388231.00, 323.10, 0.235, etc.
I would use this JPQL query:
anonymous wrote : SELECT p FROM Products p WHERE p.price LIKE '%23%'
However this would cause an exception if I used an input parameter instead of typing that expression literally, since EJB needs that both, the parameter and the column, must be of the same type:
anonymous wrote : SELECT p FROM Products p WHERE p.price LIKE ?
Where ? is the String %23% passed as parameter. This causes an error.
So I would need to use the TRIM trick to avoid the exception:
anonymous wrote : SELECT p FROM Products p WHERE TRIM (p.price) LIKE ?
Doing that change I could even pass just the string % as parameter to choose every record, without having to alter the query dynamically (a true problem when they're static, inserted into every entity, as my personal case in this project).
I'm frightened that this trick can't be used in the future, when a new release of JBoss forces the TRIM argument to be a String and can't be a number, as the Sun documentation states.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227030#4227030
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227030
15 years, 7 months
[Remoting] - Re: Problems after Migration from WebSphere to JBoss (Broken
by dahm
Which is also suspicious is the message
2009-04-26 08:00:15,229 WARN [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] A problem has been detected with the connection to remote c
lient a2l153c-xvcn8h-ftwnj949-1-ftyrxubq-1j, jmsClientID=f-d5jjnwtf-1-949jnwtf-h8ncvx-c351l2a. It is possible the client has exited without closing its co
nnection(s) or the network has failed. All associated connection resources will be cleaned up.
| 2009-04-26 08:00:15,124 DEBUG [org.jboss.remoting.InvokerRegistry] removed SocketClientInvoker[67006700, bisocket://10.93.41.120:2077474083] from registry
| 2009-04-26 08:00:15,125 TRACE [org.jboss.remoting.ConnectionNotifier] Client disconnected (session id = a2l1532-vedftv-ftx1lgyf-1-ftyrxy97-1g
| 2009-04-26 08:00:15,128 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[67006700, bisocket://10.93.41.120:2077474
| 083] disconnecting ...
| 2009-04-26 08:00:15,128 TRACE [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[67006700, bisocket://10.93.41.120:2077474083] disconnectin
| g ...
| 2009-04-26 08:00:15,148 TRACE [org.jboss.remoting.ConnectionNotifier] Client disconnected (session id = a2l153c-xvcn8h-ftwnj949-1-ftyrxubq-1j
| 2009-04-26 08:00:15,163 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,173 TRACE [org.jboss.remoting.transport.socket.SocketWrapper] ClientSocketWrapper[Socket[addr=/10.93.41.120,port=3426,localport=13385]
| .14811481] closing socket
| 2009-04-26 08:00:15,173 TRACE [org.jboss.remoting.transport.socket.SocketWrapper] ClientSocketWrapper[Socket[addr=/10.93.41.120,port=3426,localport=13385]
| .14811481] closed socket
| 2009-04-26 08:00:15,218 TRACE [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[67006700, bisocket://10.93.41.120:2077474083] disconnected
| 2009-04-26 08:00:15,218 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] ServerInvokerCallbackHandler[a2l153c-xvcn8h-ftwnj949-1-ftyrxubq-1
| j+a2l153c-xvcn8h-ftwnj949-1-ftyrxud0-1o] shut down
| 2009-04-26 08:00:15,229 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,229 DEBUG [org.jboss.remoting.InvokerRegistry] removed org.jboss.remoting.transport.local.LocalClientInvoker@8840884 from registry
| 2009-04-26 08:00:15,229 WARN [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] A problem has been detected with the connection to remote c
| lient a2l153c-xvcn8h-ftwnj949-1-ftyrxubq-1j, jmsClientID=f-d5jjnwtf-1-949jnwtf-h8ncvx-c351l2a. It is possible the client has exited without closing its co
| nnection(s) or the network has failed. All associated connection resources will be cleaned up.
| 2009-04-26 08:00:15,233 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,256 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,256 DEBUG [org.jboss.remoting.ServerInvoker] ServerInvoker (SocketServerInvoker[192.168.231.17:173216532]) removing client callback ha
| ndler with session id of 5c4o6fh-iuij0f-ftwxi8xn-1-ftyrxmns-1z6+5c4o6fh-iuij0f-ftwxi8xn-1-ftyrxmuk-1za.
| 2009-04-26 08:00:15,256 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] unrecognized listener ID: 5c4o6fh-iuij0f-ftwxi8xn-1-ftyrxmuk-1
| za
| 2009-04-26 08:00:15,256 DEBUG [org.jboss.remoting.InvokerRegistry] removed org.jboss.remoting.transport.local.LocalClientInvoker@711c711c from registry
| 2009-04-26 08:00:15,265 TRACE [org.jboss.remoting.transport.Connector] org.jboss.remoting.transport.Connector@609b609b shutting down server invoker
| 2009-04-26 08:00:15,304 DEBUG [de.bwb.ubi.technik.JMSUtility] Nachricht versandt: delegator->JBossMessage[0]:NON-PERSISTENT, deliveryId=0
| 2009-04-26 08:00:15,304 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,304 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,304 DEBUG [org.jboss.remoting.InvokerRegistry] decremented org.jboss.remoting.transport.local.LocalClientInvoker@10581058's count, cur
| rent count 2
| 2009-04-26 08:00:15,304 DEBUG [org.jboss.remoting.InvokerRegistry] removed SocketClientInvoker[5ec35ec3, bisocket://10.93.41.110:1526924472] from registry
| 2009-04-26 08:00:15,304 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[5ec35ec3, bisocket://10.93.41.110:1526924
| 472] disconnecting ...
| 2009-04-26 08:00:15,304 TRACE [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[5ec35ec3, bisocket://10.93.41.110:1526924472] disconnectin
| g ...
| 2009-04-26 08:00:15,305 TRACE [org.jboss.remoting.transport.socket.SocketWrapper] ClientSocketWrapper[Socket[addr=/10.93.41.110,port=2694,localport=13385]
| .46604660] closing socket
| 2009-04-26 08:00:15,305 TRACE [org.jboss.remoting.transport.socket.SocketWrapper] ClientSocketWrapper[Socket[addr=/10.93.41.110,port=2694,localport=13385]
| .46604660] closed socket
| 2009-04-26 08:00:15,322 DEBUG [de.bwb.ubi.kn.infrastruktur.service.ejbimpl.EjbJMSVersandServiceBean] Nachricht verschickt.
| 2009-04-26 08:00:15,322 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,343 TRACE [org.jboss.remoting.Lease] removed lease:a2l153c-xvcn8h-ftwnj949-1-ftyrxubq-1l
| 2009-04-26 08:00:15,343 TRACE [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[5ec35ec3, bisocket://10.93.41.110:1526924472] disconnected
| 2009-04-26 08:00:15,343 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] ServerInvokerCallbackHandler[a2l1532-vedftv-ftx1lgyf-1-ftyrxy97-1
| g+a2l1532-vedftv-ftx1lgyf-1-ftyrxyai-1l] shut down
| 2009-04-26 08:00:15,344 DEBUG [org.jboss.remoting.InvokerRegistry] decremented org.jboss.remoting.transport.local.LocalClientInvoker@21172117's count, cur
| rent count 2
| 2009-04-26 08:00:15,565 DEBUG [org.jboss.remoting.callback.DefaultCallbackErrorHandler] DefaultCallbackErrorHandler[SocketServerInvoker[ubitest:14457]] ig
| noring the callback error
| 2009-04-26 08:00:15,565 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] Error handling callback
| java.lang.Exception: Can not make remoting client invocation due to not being connected to server.
| at org.jboss.remoting.Client.invoke(Client.java:1729)
| at org.jboss.remoting.Client.invoke(Client.java:629)
| at org.jboss.remoting.Client.invokeOneway(Client.java:678)
| at org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallback(ServerInvokerCallbackHandler.java:835)
| at org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallbackOneway(ServerInvokerCallbackHandler.java:708)
| at org.jboss.jms.server.endpoint.ServerSessionEndpoint.performDelivery(ServerSessionEndpoint.java:1454)
| at org.jboss.jms.server.endpoint.ServerSessionEndpoint.handleDelivery(ServerSessionEndpoint.java:1366)
| at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.handle(ServerConsumerEndpoint.java:327)
| at org.jboss.messaging.core.impl.RoundRobinDistributor.handle(RoundRobinDistributor.java:119)
| at org.jboss.messaging.core.impl.MessagingQueue$DistributorWrapper.handle(MessagingQueue.java:583)
| at org.jboss.messaging.core.impl.ClusterRoundRobinDistributor.handle(ClusterRoundRobinDistributor.java:79)
| at org.jboss.messaging.core.impl.ChannelSupport.deliverInternal(ChannelSupport.java:638)
| at org.jboss.messaging.core.impl.MessagingQueue.deliverInternal(MessagingQueue.java:506)
| at org.jboss.messaging.core.impl.ChannelSupport$InMemoryCallback.afterCommit(ChannelSupport.java:971)
| at org.jboss.messaging.core.impl.tx.Transaction.commit(Transaction.java:228)
| at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:490)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionA
| dvised.java:101)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext(ConnectionAdvised$sendTransaction_N3268
| 650789275322226.java)
| at org.jboss.jms.server.container.SecurityAspect.handleSendTransaction(SecurityAspect.java:195)
| at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| at java.lang.reflect.Method.invoke(Method.java:618)
| at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext(ConnectionAdvised$sendTransaction_N3268
| 650789275322226.java)
| at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext(ConnectionAdvised$sendTransaction_N3268
| 650789275322226.java)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.sendTransaction(ConnectionAdvised.java)
| at org.jboss.jms.wireformat.ConnectionSendTransactionRequest.serverInvoke(ConnectionSendTransactionRequest.java:82)
| at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
| at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
| at org.jboss.remoting.Client.invoke(Client.java:1724)
| at org.jboss.remoting.Client.invoke(Client.java:629)
| at org.jboss.remoting.Client.invoke(Client.java:617)
| at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
| at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate.org$jboss$jms$client$delegate$ClientConnectionDelegate$sendTransaction$aop(ClientConnect
| ionDelegate.java:221)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N3268650789275322226.invokeNext(ClientConnectionDelegate$sendTransaction
| _N3268650789275322226.java)
| at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
| at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N3268650789275322226.invokeNext(ClientConnectionDelegate$sendTransaction
| _N3268650789275322226.java)
| at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N3268650789275322226.invokeNext(ClientConnectionDelegate$sendTransaction
| _N3268650789275322226.java)
| at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
| at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N3268650789275322226.invokeNext(ClientConnectionDelegate$sendTransaction
| _N3268650789275322226.java)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java)
| at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:667)
| at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:367)
| at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:255)
| at org.jboss.resource.adapter.jms.JmsXAResource.commit(JmsXAResource.java:98)
| at org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.commit(JcaXAResourceWrapper.java:53)
| at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelOnePhaseCommit(XAResourceRecord.java:636)
| at com.arjuna.ats.arjuna.coordinator.BasicAction.onePhaseCommit(BasicAction.java:2619)
| at com.arjuna.ats.arjuna.coordinator.BasicAction.End(BasicAction.java:1779)
| at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:88)
| at com.arjuna.ats.arjuna.AtomicAction.end(AtomicAction.java:216)
| at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commit(TransactionImple.java:240)
| at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:501)
| at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:361)
| at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
| at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
| at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
| at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
| at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
| at org.jboss.ejb.Container.invoke(Container.java:960)
| at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| at java.lang.reflect.Method.invoke(Method.java:618)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:231)
| at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| at java.lang.reflect.Method.invoke(Method.java:618)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:216)
| at $Proxy15.invoke(Unknown Source)
| at org.jboss.remoting.ServerInvocationHandlerWrapper.invoke(ServerInvocationHandlerWrapper.java:77)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
| at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)
| 2009-04-26 08:00:15,884 DEBUG [org.jboss.remoting.ServerInvoker] SocketServerInvoker[192.168.231.17:1452030437] did not find server socket factory configu
| ration as mbean service or classname. Creating default server socket factory.
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)
| 2009-04-26 08:00:15,884 DEBUG [org.jboss.remoting.ServerInvoker] SocketServerInvoker[192.168.231.17:1452030437] did not find server socket factory configu
| ration as mbean service or classname. Creating default server socket factory.
| 2009-04-26 08:00:15,818 INFO [de.bwb.ubi.kn.boot.GISKeepAliveJob] Starte GIS-Anfragen
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.ServerInvoker] SocketServerInvoker[192.168.231.17:1452030437] created server socket factory javax.net.De
| faultServerSocketFactory@5bd65bd6
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] SocketServerInvoker[192.168.231.17:1452030437] setting pingFre
| quency to 60000
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] SocketServerInvoker[192.168.231.17:1452030437] setting pingWin
| dowFactor to 2
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.transport.Connector] org.jboss.remoting.transport.Connector@786c786c started
| 2009-04-26 08:00:15,910 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.ServerInvoker] ServerInvoker (SocketServerInvoker[192.168.231.17:1452030437]) added client callback hand
| ler CallbackManager[62476247] with session id of 5c4o6fh-iuij0f-ftwxi8xn-1-ftzbzvqq-2kz+5c4o6fh-iuij0f-ftwxi8xn-1-ftzbzw9y-2l6 and callback handle object
| of null.
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.InvokerRegistry] removed org.jboss.remoting.transport.local.LocalClientInvoker@266f266f from registry
| 2009-04-26 08:00:15,910 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] Session id for callback handler is 5c4o6fh-iuij0f-ftwxi8xn-1-ftzb
| zvqq-2kz+5c4o6fh-iuij0f-ftwxi8xn-1-ftzbzw9y-2l6
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] ServerInvokerCallbackHandler[5c4o6fh-iuij0f-ftwxi8xn-1-ftzbzvqq-2
| kz+5c4o6fh-iuij0f-ftwxi8xn-1-ftzbzw9y-2l6] using callbackTimeout value 10000
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.callback.DefaultCallbackErrorHandler] DefaultCallbackErrorHandler[UNITIALIZED] setting server invoker to
| SocketServerInvoker[ubitest:14457]
| 2009-04-26 08:00:15,911 DEBUG [org.jboss.remoting.callback.DefaultCallbackErrorHandler] DefaultCallbackErrorHandler[SocketServerInvoker[ubitest:14457]] se
| tting callback handler to ServerInvokerCallbackHandler[5c4o6fh-iuij0f-ftwxi8xn-1-ftzbzvqq-2kz+5c4o6fh-iuij0f-ftwxi8xn-1-ftzbzw9y-2l6]
| 2009-04-26 08:00:15,911 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227026#4227026
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227026
15 years, 7 months
[JBoss Messaging] - Re: Problems after Migration from WebSphere to JBoss (Broken
by dahm
Yes, this happens, too:
| 2009-04-26 08:00:15,124 DEBUG [org.jboss.remoting.InvokerRegistry] removed SocketClientInvoker[67006700, bisocket://10.93.41.120:2077474083] from registry
| 2009-04-26 08:00:15,125 TRACE [org.jboss.remoting.ConnectionNotifier] Client disconnected (session id = a2l1532-vedftv-ftx1lgyf-1-ftyrxy97-1g
| 2009-04-26 08:00:15,128 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[67006700, bisocket://10.93.41.120:2077474
| 083] disconnecting ...
| 2009-04-26 08:00:15,128 TRACE [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[67006700, bisocket://10.93.41.120:2077474083] disconnectin
| g ...
| 2009-04-26 08:00:15,148 TRACE [org.jboss.remoting.ConnectionNotifier] Client disconnected (session id = a2l153c-xvcn8h-ftwnj949-1-ftyrxubq-1j
| 2009-04-26 08:00:15,163 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,173 TRACE [org.jboss.remoting.transport.socket.SocketWrapper] ClientSocketWrapper[Socket[addr=/10.93.41.120,port=3426,localport=13385]
| .14811481] closing socket
| 2009-04-26 08:00:15,173 TRACE [org.jboss.remoting.transport.socket.SocketWrapper] ClientSocketWrapper[Socket[addr=/10.93.41.120,port=3426,localport=13385]
| .14811481] closed socket
| 2009-04-26 08:00:15,218 TRACE [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[67006700, bisocket://10.93.41.120:2077474083] disconnected
| 2009-04-26 08:00:15,218 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] ServerInvokerCallbackHandler[a2l153c-xvcn8h-ftwnj949-1-ftyrxubq-1
| j+a2l153c-xvcn8h-ftwnj949-1-ftyrxud0-1o] shut down
| 2009-04-26 08:00:15,229 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,229 DEBUG [org.jboss.remoting.InvokerRegistry] removed org.jboss.remoting.transport.local.LocalClientInvoker@8840884 from registry
| 2009-04-26 08:00:15,229 WARN [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] A problem has been detected with the connection to remote c
| lient a2l153c-xvcn8h-ftwnj949-1-ftyrxubq-1j, jmsClientID=f-d5jjnwtf-1-949jnwtf-h8ncvx-c351l2a. It is possible the client has exited without closing its co
| nnection(s) or the network has failed. All associated connection resources will be cleaned up.
| 2009-04-26 08:00:15,233 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,256 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,256 DEBUG [org.jboss.remoting.ServerInvoker] ServerInvoker (SocketServerInvoker[192.168.231.17:173216532]) removing client callback ha
| ndler with session id of 5c4o6fh-iuij0f-ftwxi8xn-1-ftyrxmns-1z6+5c4o6fh-iuij0f-ftwxi8xn-1-ftyrxmuk-1za.
| 2009-04-26 08:00:15,256 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] unrecognized listener ID: 5c4o6fh-iuij0f-ftwxi8xn-1-ftyrxmuk-1
| za
| 2009-04-26 08:00:15,256 DEBUG [org.jboss.remoting.InvokerRegistry] removed org.jboss.remoting.transport.local.LocalClientInvoker@711c711c from registry
| 2009-04-26 08:00:15,265 TRACE [org.jboss.remoting.transport.Connector] org.jboss.remoting.transport.Connector@609b609b shutting down server invoker
| 2009-04-26 08:00:15,304 DEBUG [de.bwb.ubi.technik.JMSUtility] Nachricht versandt: delegator->JBossMessage[0]:NON-PERSISTENT, deliveryId=0
| 2009-04-26 08:00:15,304 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,304 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,304 DEBUG [org.jboss.remoting.InvokerRegistry] decremented org.jboss.remoting.transport.local.LocalClientInvoker@10581058's count, cur
| rent count 2
| 2009-04-26 08:00:15,304 DEBUG [org.jboss.remoting.InvokerRegistry] removed SocketClientInvoker[5ec35ec3, bisocket://10.93.41.110:1526924472] from registry
| 2009-04-26 08:00:15,304 DEBUG [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[5ec35ec3, bisocket://10.93.41.110:1526924
| 472] disconnecting ...
| 2009-04-26 08:00:15,304 TRACE [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[5ec35ec3, bisocket://10.93.41.110:1526924472] disconnectin
| g ...
| 2009-04-26 08:00:15,305 TRACE [org.jboss.remoting.transport.socket.SocketWrapper] ClientSocketWrapper[Socket[addr=/10.93.41.110,port=2694,localport=13385]
| .46604660] closing socket
| 2009-04-26 08:00:15,305 TRACE [org.jboss.remoting.transport.socket.SocketWrapper] ClientSocketWrapper[Socket[addr=/10.93.41.110,port=2694,localport=13385]
| .46604660] closed socket
| 2009-04-26 08:00:15,322 DEBUG [de.bwb.ubi.kn.infrastruktur.service.ejbimpl.EjbJMSVersandServiceBean] Nachricht verschickt.
| 2009-04-26 08:00:15,322 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,343 TRACE [org.jboss.remoting.Lease] removed lease:a2l153c-xvcn8h-ftwnj949-1-ftyrxubq-1l
| 2009-04-26 08:00:15,343 TRACE [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[5ec35ec3, bisocket://10.93.41.110:1526924472] disconnected
| 2009-04-26 08:00:15,343 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] ServerInvokerCallbackHandler[a2l1532-vedftv-ftx1lgyf-1-ftyrxy97-1
| g+a2l1532-vedftv-ftx1lgyf-1-ftyrxyai-1l] shut down
| 2009-04-26 08:00:15,344 DEBUG [org.jboss.remoting.InvokerRegistry] decremented org.jboss.remoting.transport.local.LocalClientInvoker@21172117's count, cur
| rent count 2
| 2009-04-26 08:00:15,565 DEBUG [org.jboss.remoting.callback.DefaultCallbackErrorHandler] DefaultCallbackErrorHandler[SocketServerInvoker[ubitest:14457]] ig
| noring the callback error
| 2009-04-26 08:00:15,565 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] Error handling callback
| java.lang.Exception: Can not make remoting client invocation due to not being connected to server.
| at org.jboss.remoting.Client.invoke(Client.java:1729)
| at org.jboss.remoting.Client.invoke(Client.java:629)
| at org.jboss.remoting.Client.invokeOneway(Client.java:678)
| at org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallback(ServerInvokerCallbackHandler.java:835)
| at org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallbackOneway(ServerInvokerCallbackHandler.java:708)
| at org.jboss.jms.server.endpoint.ServerSessionEndpoint.performDelivery(ServerSessionEndpoint.java:1454)
| at org.jboss.jms.server.endpoint.ServerSessionEndpoint.handleDelivery(ServerSessionEndpoint.java:1366)
| at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.handle(ServerConsumerEndpoint.java:327)
| at org.jboss.messaging.core.impl.RoundRobinDistributor.handle(RoundRobinDistributor.java:119)
| at org.jboss.messaging.core.impl.MessagingQueue$DistributorWrapper.handle(MessagingQueue.java:583)
| at org.jboss.messaging.core.impl.ClusterRoundRobinDistributor.handle(ClusterRoundRobinDistributor.java:79)
| at org.jboss.messaging.core.impl.ChannelSupport.deliverInternal(ChannelSupport.java:638)
| at org.jboss.messaging.core.impl.MessagingQueue.deliverInternal(MessagingQueue.java:506)
| at org.jboss.messaging.core.impl.ChannelSupport$InMemoryCallback.afterCommit(ChannelSupport.java:971)
| at org.jboss.messaging.core.impl.tx.Transaction.commit(Transaction.java:228)
| at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:490)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionA
| dvised.java:101)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext(ConnectionAdvised$sendTransaction_N3268
| 650789275322226.java)
| at org.jboss.jms.server.container.SecurityAspect.handleSendTransaction(SecurityAspect.java:195)
| at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| at java.lang.reflect.Method.invoke(Method.java:618)
| at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext(ConnectionAdvised$sendTransaction_N3268
| 650789275322226.java)
| at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext(ConnectionAdvised$sendTransaction_N3268
| 650789275322226.java)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.sendTransaction(ConnectionAdvised.java)
| at org.jboss.jms.wireformat.ConnectionSendTransactionRequest.serverInvoke(ConnectionSendTransactionRequest.java:82)
| at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
| at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
| at org.jboss.remoting.Client.invoke(Client.java:1724)
| at org.jboss.remoting.Client.invoke(Client.java:629)
| at org.jboss.remoting.Client.invoke(Client.java:617)
| at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
| at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate.org$jboss$jms$client$delegate$ClientConnectionDelegate$sendTransaction$aop(ClientConnect
| ionDelegate.java:221)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N3268650789275322226.invokeNext(ClientConnectionDelegate$sendTransaction
| _N3268650789275322226.java)
| at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92)
| at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N3268650789275322226.invokeNext(ClientConnectionDelegate$sendTransaction
| _N3268650789275322226.java)
| at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N3268650789275322226.invokeNext(ClientConnectionDelegate$sendTransaction
| _N3268650789275322226.java)
| at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
| at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N3268650789275322226.invokeNext(ClientConnectionDelegate$sendTransaction
| _N3268650789275322226.java)
| at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java)
| at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:667)
| at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:367)
| at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:255)
| at org.jboss.resource.adapter.jms.JmsXAResource.commit(JmsXAResource.java:98)
| at org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.commit(JcaXAResourceWrapper.java:53)
| at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelOnePhaseCommit(XAResourceRecord.java:636)
| at com.arjuna.ats.arjuna.coordinator.BasicAction.onePhaseCommit(BasicAction.java:2619)
| at com.arjuna.ats.arjuna.coordinator.BasicAction.End(BasicAction.java:1779)
| at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:88)
| at com.arjuna.ats.arjuna.AtomicAction.end(AtomicAction.java:216)
| at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commit(TransactionImple.java:240)
| at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:501)
| at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:361)
| at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
| at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
| at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
| at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
| at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
| at org.jboss.ejb.Container.invoke(Container.java:960)
| at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| at java.lang.reflect.Method.invoke(Method.java:618)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:231)
| at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| at java.lang.reflect.Method.invoke(Method.java:618)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:216)
| at $Proxy15.invoke(Unknown Source)
| at org.jboss.remoting.ServerInvocationHandlerWrapper.invoke(ServerInvocationHandlerWrapper.java:77)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
| at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)
| 2009-04-26 08:00:15,884 DEBUG [org.jboss.remoting.ServerInvoker] SocketServerInvoker[192.168.231.17:1452030437] did not find server socket factory configu
| ration as mbean service or classname. Creating default server socket factory.
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)
| 2009-04-26 08:00:15,884 DEBUG [org.jboss.remoting.ServerInvoker] SocketServerInvoker[192.168.231.17:1452030437] did not find server socket factory configu
| ration as mbean service or classname. Creating default server socket factory.
| 2009-04-26 08:00:15,818 INFO [de.bwb.ubi.kn.boot.GISKeepAliveJob] Starte GIS-Anfragen
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.ServerInvoker] SocketServerInvoker[192.168.231.17:1452030437] created server socket factory javax.net.De
| faultServerSocketFactory@5bd65bd6
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] SocketServerInvoker[192.168.231.17:1452030437] setting pingFre
| quency to 60000
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] SocketServerInvoker[192.168.231.17:1452030437] setting pingWin
| dowFactor to 2
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.transport.Connector] org.jboss.remoting.transport.Connector@786c786c started
| 2009-04-26 08:00:15,910 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.ServerInvoker] ServerInvoker (SocketServerInvoker[192.168.231.17:1452030437]) added client callback hand
| ler CallbackManager[62476247] with session id of 5c4o6fh-iuij0f-ftwxi8xn-1-ftzbzvqq-2kz+5c4o6fh-iuij0f-ftwxi8xn-1-ftzbzw9y-2l6 and callback handle object
| of null.
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.InvokerRegistry] removed org.jboss.remoting.transport.local.LocalClientInvoker@266f266f from registry
| 2009-04-26 08:00:15,910 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] Session id for callback handler is 5c4o6fh-iuij0f-ftwxi8xn-1-ftzb
| zvqq-2kz+5c4o6fh-iuij0f-ftwxi8xn-1-ftzbzw9y-2l6
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] ServerInvokerCallbackHandler[5c4o6fh-iuij0f-ftwxi8xn-1-ftzbzvqq-2
| kz+5c4o6fh-iuij0f-ftwxi8xn-1-ftzbzw9y-2l6] using callbackTimeout value 10000
| 2009-04-26 08:00:15,910 DEBUG [org.jboss.remoting.callback.DefaultCallbackErrorHandler] DefaultCallbackErrorHandler[UNITIALIZED] setting server invoker to
| SocketServerInvoker[ubitest:14457]
| 2009-04-26 08:00:15,911 DEBUG [org.jboss.remoting.callback.DefaultCallbackErrorHandler] DefaultCallbackErrorHandler[SocketServerInvoker[ubitest:14457]] se
| tting callback handler to ServerInvokerCallbackHandler[5c4o6fh-iuij0f-ftwxi8xn-1-ftzbzvqq-2kz+5c4o6fh-iuij0f-ftwxi8xn-1-ftzbzw9y-2l6]
| 2009-04-26 08:00:15,911 TRACE [org.jboss.remoting.transport.local.LocalClientInvoker] Using local client invoker for invocation.
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227025#4227025
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227025
15 years, 7 months