Hi 
 
We keep getting "Protocol corruption while trying to send command: 0" error.
This causes a hiccup in Hibernate which leads to the system to crash. 
I digged out the Sequoia driver source code related to this error. My
interpretation of this issue is Sequoia Controller is unable to provide more
connections for the driver. 
Does anyone have a fix for this? Thanks!  
 
  /**
   * Before sending a command code, checks that the controller is
   * synchronized/ready to accept it. Then sends it.
   * 
   * @param command to send
   * @throws IOException on socket error
   * @throws DriverSQLException on protocol corruption
   */
 
  private void sendCommand(int command) throws IOException,
DriverSQLException
  {
    if (socketInput.readInt() != Commands.ControllerPrompt)
      throw new DriverSQLException(
          "Protocol corruption while trying to send command: " + command
              + ". Check the previous command");
    socketOutput.writeInt(Commands.CommandPrefix);
    socketOutput.writeInt(command);
  }
 

 

Tyler Shen 

 

_______________________________________________
Sequoia mailing list
[email protected]
http://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to