[
https://issues.jboss.org/browse/ISPN-1506?page=com.atlassian.jira.plugin....
]
Glen Taylor commented on ISPN-1506:
-----------------------------------
Here's what I get from the failing client on 5.1.0.BETA3 (with TRACE enabled on
org.infinispan.client). Notice the "ISPN004004" errors -it seems to get them on
every protocol message, but those don't occur in BETA2.
{code}
0 [main] DEBUG org.jboss.logging - Logging Provider:
org.jboss.logging.Log4jLoggerProvider
29 [main] DEBUG org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory -
Statically configured servers: [/172.23.3.150:11223, /172.23.3.150:11222]
30 [main] DEBUG org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory -
Load balancer class:
org.infinispan.client.hotrod.impl.transport.tcp.RoundRobinBalancingStrategy
30 [main] DEBUG org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory -
Tcp no delay = true; client socket timeout = 5000 ms
34 [main] TRACE
org.infinispan.client.hotrod.impl.transport.tcp.PropsKeyedObjectPoolFactory - maxActive
property not specified, using default value (-1)
34 [main] TRACE
org.infinispan.client.hotrod.impl.transport.tcp.PropsKeyedObjectPoolFactory - maxTotal
property not specified, using default value (-1)
35 [main] TRACE
org.infinispan.client.hotrod.impl.transport.tcp.PropsKeyedObjectPoolFactory - maxIdle
property not specified, using default value (-1)
35 [main] TRACE
org.infinispan.client.hotrod.impl.transport.tcp.PropsKeyedObjectPoolFactory -
whenExhaustedAction property not specified, using default value (1)
35 [main] TRACE
org.infinispan.client.hotrod.impl.transport.tcp.PropsKeyedObjectPoolFactory -
testOnBorrow property not specified, using default value (false)
35 [main] TRACE
org.infinispan.client.hotrod.impl.transport.tcp.PropsKeyedObjectPoolFactory -
testOnReturn property not specified, using default value (false)
35 [main] TRACE
org.infinispan.client.hotrod.impl.transport.tcp.PropsKeyedObjectPoolFactory -
timeBetweenEvictionRunsMillis property not specified, using default value (120000)
35 [main] TRACE
org.infinispan.client.hotrod.impl.transport.tcp.PropsKeyedObjectPoolFactory -
minEvictableIdleTimeMillis property not specified, using default value (300000)
35 [main] TRACE
org.infinispan.client.hotrod.impl.transport.tcp.PropsKeyedObjectPoolFactory -
numTestsPerEvictionRun property not specified, using default value (3)
36 [main] TRACE
org.infinispan.client.hotrod.impl.transport.tcp.PropsKeyedObjectPoolFactory -
testWhileIdle property not specified, using default value (true)
36 [main] TRACE
org.infinispan.client.hotrod.impl.transport.tcp.PropsKeyedObjectPoolFactory - minIdle
property not specified, using default value (1)
36 [main] TRACE
org.infinispan.client.hotrod.impl.transport.tcp.PropsKeyedObjectPoolFactory - lifo
property not specified, using default value (true)
46 [main] TRACE
org.infinispan.client.hotrod.impl.transport.tcp.RoundRobinBalancingStrategy - New server
list is: [/172.23.3.150:11223, /172.23.3.150:11222]
91 [main] TRACE org.infinispan.client.hotrod.impl.RemoteCacheImpl - Creating remote
cache:
94 [main] TRACE
org.infinispan.client.hotrod.impl.transport.tcp.RoundRobinBalancingStrategy - Returning
server: /172.23.3.150:11223
107 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory
- Created tcp transport:
TcpTransport{socket=Socket[addr=/172.23.3.150,port=11223,localport=58998],
serverAddress=/172.23.3.150:11223, id =1}
107 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory
- Executing first ping!
109 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport - Wrote
byte 160
110 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport - Wrote
byte 11
110 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport - Wrote
byte 23
110 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport - Wrote 0
bytes
110 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport - Wrote
byte 3
111 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport - Wrote
byte 0
111 [main] TRACE org.infinispan.client.hotrod.impl.protocol.Codec10 - Wrote header for
message 1. Operation code: 0x17. Flags: 0x0
113 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport - Flushed
socket: Socket[addr=/172.23.3.150,port=11223,localport=58998]
179 [main] ERROR org.infinispan.client.hotrod.impl.protocol.Codec10 - ISPN004004:
Invalid message id. Expected 1 and received 0
5179 [main] TRACE org.infinispan.client.hotrod.impl.protocol.Codec10 - Socket dump:
5085001E6A6176612E6C616E672E4E756C6C506F696E746572457863657074696F6E
5181 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory
- Fetching from pool: TcpTransport{socket=Socket[unconnected],
serverAddress=/172.23.3.150:11223, id =1}
5181 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory -
For server /172.23.3.150:11223: active = 1; idle = 0
5181 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport - Wrote
byte 160
5181 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport - Wrote
byte 11
5182 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport - Wrote
byte 23
5182 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport - Wrote 0
bytes
5182 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport - Wrote
byte 3
5182 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport - Wrote
byte 0
5182 [main] TRACE org.infinispan.client.hotrod.impl.protocol.Codec10 - Wrote header for
message 2. Operation code: 0x17. Flags: 0x0
5182 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory -
Dropping connection as it is no longer valid: TcpTransport{socket=Socket[unconnected],
serverAddress=/172.23.3.150:11223, id =1}
5182 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory
- About to destroy tcp transport: TcpTransport{socket=Socket[unconnected],
serverAddress=/172.23.3.150:11223, id =1}
5183 [main] TRACE org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport -
Successfully closed socket: Socket[unconnected]
{code}
HotRod broken in 5.1beta3
-------------------------
Key: ISPN-1506
URL:
https://issues.jboss.org/browse/ISPN-1506
Project: Infinispan
Issue Type: Bug
Affects Versions: 5.1.0.BETA3
Environment: Windows7x64, standalone servers, Sun/Oracle JDK6 32-bit
Reporter: Glen Taylor
Assignee: Manik Surtani
Labels: hotrod
Fix For: 5.1.0.BETA4
Java Hotrod client gets errors trying to talk to basic distributed server cluster. Same
code works in 5.1.0.BETA2. All endpoints and clients on local machine (different ports).
Cluster seems to form fine, just client gets errors. Detailed log output will be attached
in comments.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira