Hi!
I'm using CloudSQL with Hibernate (v 4.1.7), and sometimes opening new
connection to CloudSQL takes too much time. More specific, the problem is
in initialization of Bytecode provider. Usually it takes about 5 seconds,
but sometimes up to 40-50 seconds! This problem causes
DeadlineExceededException for such requests. I was unable to find any
information regarding this type of problem.
Could someone please help me with this problem? Our app id is "teamwork-ms".
Here is a part of the log entry (notice the time for records in bold):
I2013-02-13 22:15:17.586
com.teamwork.tms.server.api.WarmupServlet init: Initiate Google CloudSQL
database connection on startup
I2013-02-13 22:15:20.761
org.hibernate.annotations.common.Version <clinit>: HCANN000001: Hibernate
Commons Annotations {4.0.1.Final}
I2013-02-13 22:15:20.865
org.hibernate.Version logVersion: HHH000412: Hibernate Core {4.1.7.Final}
I2013-02-13 22:15:20.871
org.hibernate.cfg.Environment <clinit>: HHH000206: hibernate.properties not
found
I*2013-02-13 22:15:20.876*
*org.hibernate.cfg.Environment buildBytecodeProvider: HHH000021: Bytecode
provider name : javassist*
W*2013-02-13 22:16:11.152*
*org.hibernate.mapping.RootClass checkCompositeIdentifier: HHH000038:
Composite-id class does not override equals():
com.teamwork.tms.server.sql_entities.auxiliary.pk.ApplicationCompanyScopePK*
W2013-02-13 22:16:11.153
org.hibernate.mapping.RootClass checkCompositeIdentifier: HHH000039:
Composite-id class does not override hashCode():
com.teamwork.tms.server.sql_entities.auxiliary.pk.ApplicationCompanyScopePK
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.