Hi, all
Sometimes I will get the following error at the moment of our application startup. The RMI call "SchemaDataExternalAccessService.getAllTypeDefinitions()" will just fetch schema data from mySQL database. Normally or most of time the call is fine and no any errors. But sometimes...it will fail with the following exceptions. I cannot find any other clues on why it will happen. There are no any issues for the client and server side of the RMI call. The mySQL database is running well also.
Can anyone please help provide me any comments?
Thanks in advanced.
java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:304)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
at com.ntx.cdma.service.dataservice.dac.SchemaDataExternalAccessService_Stub.getAllTypeDefinitions(Unknown Source)
at com.ntx.cdma.ddf.access.SchemaLoaderThread.run(SchemaLoaderThread.java:104)
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:267)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:246)
... 4 more