All Questions
117 questions
0
votes
1
answer
144
views
How to connect to cloud sql when using app engine instance in java 21 runtime?
I have a java ee 8 application which I have migrated to a jakarta 10 application. I use google app engine standard server. I recently migrated it to java 17 runtime and it was connecting to the cloud ...
0
votes
0
answers
103
views
Unable to load class [com.mysql.jdbc.GoogleDriver]
We have just migrated to java 11 from java 8 for our appengine application. While deploying the application to appengine we are getting the following exception.
Initial SessionFactory creation failed....
0
votes
1
answer
175
views
Cloud SQL connect from Appengine
I want to coonnect to cloud sql mysql instance in gcp from my java appengine project.
I am not able to under stand what this is INSTANCE_UNIX_SOCKET in the configuration section.
I want to connect to ...
0
votes
0
answers
3k
views
java.lang.NoClassDefFoundError: Could not initialize class com.blacklight.common.DBManager
I am trying to connect my service file to cloud sql instance. But I am geeting java.lang.NoClassDefFoundError: Could not initialize class com.blacklight.common.DBManager
Here is my class
package com....
0
votes
0
answers
56
views
Connect springboot application to cloud SQL
db.driverName=com.mysql.jdbc.Driver
db.instanceName=<PROJECT_ID>:<REGION_ID>:<INSTANCE_ID>
db.url=jdbc:mysql:///some_db
db.username=xxxxx
db.password=xxxxx
db.maxPoolSize=50
db....
2
votes
0
answers
209
views
Issue With App Engine and Spring Boot : Request is missing required authentication credential. Expected OAuth 2 access token,
I'm developping an App Engine application, that is basically an API. So it's a backend application I started this project approximately one year ago, and I had no issue deploying it on App Engine.
But ...
1
vote
2
answers
1k
views
Can't get Spring Boot application to work on Google Cloud Platform Flexible Environment
I'm having trouble deploying my Spring Boot application on the Google Cloud Platform Flexible environment.
I run the following command to deploy: mvn clean compile package -DskipTests appengine:...
0
votes
2
answers
504
views
Google APP Engine and cloud sql :: Unable to connect Spring boot app in Google cloud sql (my sql)
I am getting this error while connecting my Spring boot APP inside APP engine in Google cloud sql.
Below I have attached code from application.properties
spring.datasource.driverClassName=com.mysql....
0
votes
1
answer
437
views
Why Hikari construct a bad database url?
I have problem using HikariCP and Google App Engine for JEE.
When trying to access site, i have the logged error :
com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to ...
0
votes
2
answers
2k
views
How to configure Java Hibernate for Google Cloud SQL?
I am using Hibernate + Java + Jersey + MYSql and it's working fine on local machine. However I am unable to create a connection to MySql on Google Cloud.
I think MYSql configuration and instance ...
3
votes
1
answer
480
views
Uncaught exception from servlet java.lang.RuntimeException: Driver org.hsqldb.jdbc.JDBCDriver claims to not accept jdbcUrl, jdbc:mysql:///iworks_db
I am working on a Java Google App Engine app, and when I deploy my app and open it on my browser I get the above error. iworks_db is the name of my database, and for some reason my app fails to ...
0
votes
1
answer
1k
views
Timeout in connection between Cloud SQL and App Engine
My java web app, which could successfully connect to my Postgresql database hosted on Google cloud sql, was deployed to Google App Engine. Now, everytime it tries to access the very same database, I ...
0
votes
1
answer
251
views
How to reuse the pool of connections in each method of the google cloud endpoints frameworks v2?
I am developing a cloud endpoints frameworks API with java 8 and appengine standard environment. I trying to retrieve some information from Cloud SQL and right now is ok, but each method create a new ...
0
votes
0
answers
69
views
Google Cloud Sql/GAE latency
Today I'm experiencing latency in all of my GCP, using GAE and cloud sql. The SQL updates are taking much time than usual, which causes the HTTP requests to be delayed from 1 second to around 1 minute,...
1
vote
2
answers
2k
views
Unable to connect to Cloud SQL from different project on App Engine flex Java
Here's the exception that's thrown:
javax.servlet.ServletException: javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: com.mysql.jdbc.exceptions.jdbc4....