• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Java Error

Status
Not open for further replies.
Skilled Illusionist
Joined
Nov 25, 2010
Messages
341
Reaction score
32
Maybe one of you know more about java could give me a hand. Got server all set up on CentOS 4.7 after fighting with repos and numerous other things now got this issue with Java

java.sql.SQLException: Callable statements not supported.
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
at com.mysql.jdbc.Connection.prepareCall(Connection.java:4683)
at com.mysql.jdbc.Connection.prepareCall(Connection.java:4631)
at application.procedure.handler.execute(handler.java:189)
at com.goldhuman.account.storage.clearOnlineRecords(storage.java:849)
at protocol.AnnounceZoneid3.Process(Unknown Source)
at com.goldhuman.IO.Protocol.Task.run(Unknown Source)
at com.goldhuman.Common.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)

Anyone know what that means or how to fix it?
 
Junior Spellweaver
Joined
Aug 28, 2012
Messages
142
Reaction score
23
Maybe one of you know more about java could give me a hand. Got server all set up on CentOS 4.7 after fighting with repos and numerous other things now got this issue with Java

java.sql.SQLException: Callable statements not supported.
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
at com.mysql.jdbc.Connection.prepareCall(Connection.java:4683)
at com.mysql.jdbc.Connection.prepareCall(Connection.java:4631)
at application.procedure.handler.execute(handler.java:189)
at com.goldhuman.account.storage.clearOnlineRecords(storage.java:849)
at protocol.AnnounceZoneid3.Process(Unknown Source)
at com.goldhuman.IO.Protocol.Task.run(Unknown Source)
at com.goldhuman.Common.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)

Anyone know what that means or how to fix it?

idk if this will help you but I was able to ask someone quickly

he said

"sounds like stored procedures aren't supported on the server
or buildable statements (more secure query construction) isn't supported in that java sql client probably needs to upgrade to newer mysql client library needs at least a 5.0 mysql server to support prepared statements"

He also gave me this link.


Hope it helps
 
Skilled Illusionist
Joined
Nov 25, 2010
Messages
341
Reaction score
32
Ok Ill check ty

Ok found the issue, it is because the mysql is too old bs problem is thats all the old CentOS will install so I guess Ill HAVe TO use lampp to get around it which sucks
 
Junior Spellweaver
Joined
Aug 28, 2012
Messages
142
Reaction score
23
Ok Ill check ty

Ok found the issue, it is because the mysql is too old bs problem is thats all the old CentOS will install so I guess Ill HAVe TO use lampp to get around it which sucks

I pm'd my Skype ID to you, hopefully I can get some more help for you later tonight.
 
Skilled Illusionist
Joined
Nov 25, 2010
Messages
341
Reaction score
32
it was the mysql version being incompatible with the newer java, used lampp and solve dit
 
Status
Not open for further replies.
Back
Top