java.sql.SQLException: Could not retrieve transation read-only status server

GitHub | kratz74 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Problem with JDBC connection after server was not active

    GitHub | 7 months ago | kratz74
    java.sql.SQLException: Could not retrieve transation read-only status server
  2. 0

    Hibernate-Mapping of one object type in two sets is not working

    Stack Overflow | 4 years ago | Sören
    org.hibernate.exception.GenericJDBCException: could not execute statement
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    how to map Many to Many with composite key

    Stack Overflow | 1 year ago | user2529173
    org.hibernate.exception.LockTimeoutException: could not execute statement
  5. 0

    Migration From 6.2 GA2 7.0 GA2 - Forums | Liferay

    liferay.com | 9 months ago
    com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: java.sql.SQLException: Incorrect string value: '\xEC\x84\xB8\xEA\xB3\x84...' for column 'name' at row 3
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.EOFException

    Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.

    at com.mysql.jdbc.MysqlIO.readFully()
  2. MySQL jdbc
    PreparedStatement.executeUpdate
    1. com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3143)
    2. com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3597)
    3. com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3586)
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4131)
    5. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2597)
    6. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2758)
    7. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2820)
    8. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2769)
    9. com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1569)
    10. com.mysql.jdbc.ConnectionImpl.isReadOnly(ConnectionImpl.java:3961)
    11. com.mysql.jdbc.ConnectionImpl.isReadOnly(ConnectionImpl.java:3938)
    12. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2295)
    13. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2262)
    14. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2246)
    14 frames
  3. mytown.new_datasource
    MyTownUniverse.newTown
    1. mytown.new_datasource.MyTownDatasource.saveTown(MyTownDatasource.java:582)
    2. mytown.new_datasource.MyTownUniverse.configureTown(MyTownUniverse.java:86)
    3. mytown.new_datasource.MyTownUniverse.newTown(MyTownUniverse.java:51)
    3 frames
  4. mytown.commands
    CommandsOutsider.newTownCommand
    1. mytown.commands.CommandsOutsider.newTownCommand(CommandsOutsider.java:152)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  6. mypermissions.command.core
    CommandModel.func_71515_b
    1. mypermissions.command.core.entities.CommandTreeNode.commandCall(CommandTreeNode.java:100)
    2. mypermissions.command.core.entities.CommandTree.commandCall(CommandTree.java:40)
    3. mypermissions.command.core.entities.CommandModel.func_71515_b(CommandModel.java:46)
    3 frames
  7. net.minecraft.command
    CommandHandler.func_71556_a
    1. net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:94)
    1 frame
  8. Minecraft
    NetworkSystem.func_151269_c
    1. net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:739)
    2. net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:718)
    3. net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:37)
    4. net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:9)
    5. net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
    6. net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)
    6 frames
  9. MC Server
    MinecraftServer.func_71217_p
    1. net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
    2. net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
    3. net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
    3 frames
  10. fastcraft
    H.aq
    1. fastcraft.at.a(F:978)
    2. fastcraft.H.aq(F:36)
    2 frames
  11. MC Server
    MinecraftServer$2.run
    1. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:396)
    2. net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
    2 frames