Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JPPF 5.9 - java.io.EOFException #6

Open
pparthenhs opened this issue Mar 6, 2020 · 0 comments
Open

JPPF 5.9 - java.io.EOFException #6

pparthenhs opened this issue Mar 6, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@pparthenhs
Copy link

I am using Dockerized version of JPPF 5.2.9. The driver is working perfectly but the nodes cannot connect successfully.

In more details on jppf-node:

  1. On docker logs
node process id: 35, uuid: BFBA493E-B1B7-3A43-1E52-8C1B5CB326FF
Attempting connection to the class server at 212.101.173.60:11111
RemoteClassLoaderConnection: Reconnected to the class server
JPPF Node management initialized on port 12001
Attempting connection to the node server at 212.101.173.60:11111
Reconnected to the node server
Node successfully initialized
resetting with stopJmx=true
resetting with stopJmx=true
node process id: 35, uuid: BFBA493E-B1B7-3A43-1E52-8C1B5CB326FF
... (again and again)
  1. On jppf-node.logs
2020-03-06 15:39:17,561 [INFO ][org.jppf.classloader.ClassLoaderRequestHandler.run(156)]: maxBatchSize = 1
2020-03-06 15:39:17,569 [INFO ][org.jppf.execute.AbstractExecutionManager.<init>(111)]: running 1 processing thread
2020-03-06 15:39:17,569 [INFO ][org.jppf.execute.AbstractExecutionManager.createThreadManager(137)]: Using default thread manager
2020-03-06 15:39:17,646 [ERROR][org.jppf.server.node.JPPFNode.run(143)]: could only read 0 bytes out of 4
java.io.EOFException: could only read 0 bytes out of 4
	at org.jppf.serialization.SerializationUtils.readToBuf(SerializationUtils.java:453)
	at org.jppf.serialization.SerializationUtils.readInt(SerializationUtils.java:259)
	at org.jppf.comm.socket.AbstractSocketWrapper.readInt(AbstractSocketWrapper.java:241)
	at org.jppf.io.SocketWrapperInputSource.readInt(SocketWrapperInputSource.java:85)
	at org.jppf.io.IOHelper.readData(IOHelper.java:110)
	at org.jppf.io.IOHelper.unwrappedData(IOHelper.java:188)
	at org.jppf.server.node.remote.RemoteNodeIO.deserializeObjects(RemoteNodeIO.java:70)
	at org.jppf.server.node.AbstractNodeIO.readObjects(AbstractNodeIO.java:108)
	at org.jppf.server.node.AbstractNodeIO.readTask(AbstractNodeIO.java:82)
	at org.jppf.server.node.JPPFNode.processNextJob(JPPFNode.java:194)
	at org.jppf.server.node.JPPFNode.perform(JPPFNode.java:177)
	at org.jppf.server.node.JPPFNode.run(JPPFNode.java:137)
	at org.jppf.node.NodeRunner.main(NodeRunner.java:144)
2020-03-06 15:39:17,649 [WARN ][org.jppf.classloader.AbstractClassLoaderConnection.sendCloseChannelCommand(105)]: error sending close channel command : java.io.EOFException: could only read 0 bytes out of 4

In other hand on jppf-driver

  1. On docker logs
driver process id: 29, uuid: 797C5F7B-E187-6F5B-D74F-D4D5BD8C8B44
ClientClassServer initialized
NodeClassServer initialized
ClientJobServer initialized
NodeJobServer initialized
management initialized and listening on port 11198
Acceptor initialized
-  accepting plain connections on port 11111
- accepting secure connections on port 11443
JPPF Driver initialization complete
  1. On jppf-driver.logs
2020-03-06 15:49:25,012 [WARN ][org.jppf.nio.StateTransitionTask.run(89)]: error on channel SelectionKeyWrapper[id=1272, readyOps=1, interestOps=0, context=RemoteNodeContext[channel=SelectionKeyWrapper[id=1272], state=WAIT_INITIAL_BUNDLE, uuid=BFBA493E-B1B7-3A43-1E52-8C1B5CB326FF, connectionUuid=null, peer=false, ssl=false]] : java.lang.ArrayIndexOutOfBoundsException: 1

The most recent ISSUE I found is the following but I am not sure if that is still relevant https://www.jppf.org/forums/index.php?topic=7930.0

Any ideas or suggestions are welcome.

@pparthenhs pparthenhs added the bug Something isn't working label Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant