Google Cloud SQL unofficial blog --- Google Cloud SQL is a fully-managed database service that makes it easy to set-up, maintain, manage and administer your relational MySQL databases
Tuesday, January 31, 2012
Re: Performance for a big application
Performance for a big application
Re: Postgres
Re: Terrible performance when deployed to GAE
Monday, January 30, 2012
Postgres
reason why I use the GAE ;)
But it is possible to integrate Postgres as Cloud SQL Database with
MySQL or are there no plans for other Database-Systems?
Regards,
Markus
Re: Desarrollo
Re: Desarrollo
me mandaste, pero entonces no podre implementar tal cual mi archivo de
conexion en formato .php
tengo que cargar toda una clase ya sea de java o phyton para lograr
una conexion?
Desarrollo
appengine y cloud sql.
Resulta que cuando me conectaba a mysql de forma local no tenia ningun
problema, para esto yo contaba con un archivo .php para realizar la
conexion.
Ahora que tengo todo en appengine y google cloud sql necesito que
alguien me guie de como conectar mi aplicacion con la nube sql para
que funcione con la base de datos...
les agradesco mucho la ayuda!
upgrade - broken stored proc
Re: Terrible performance when deployed to GAE
Terrible performance when deployed to GAE
Not Able to connect Google cloud sql from local system
I tried to connect from Google cloud sql from local system with
bellow URL but i am getting the error
can anyone help me for the same.
connection string is
DriverManager.registerDriver(new AppEngineDriver());
con = DriverManager.getConnection("jdbc:google:rdbms://
xyz.com:teamgapputility:teammysql/gapp","userid","password");
error details:
he API package 'rdbms' or call 'OpenConnection()' was not found.
com.google.apphosting.api.ApiProxy$CallNotFoundException: The API
package 'rdbms' or call 'OpenConnection()' was not found.
at com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:98)
at com.google.appengine.api.rdbms.RdbmsApiProxyClient
$ApiProxyBlockingInterface.makeSyncCall(RdbmsApiProxyClient.java:89)
at com.google.appengine.api.rdbms.RdbmsApiProxyClient
$ApiProxyBlockingInterface.openConnection(RdbmsApiProxyClient.java:75)
at
com.google.cloud.sql.jdbc.internal.SqlProtoClient.openConnection(SqlProtoClient.java:
58)
at com.google.cloud.sql.jdbc.Driver.connect(Driver.java:59)
at com.google.cloud.sql.jdbc.Driver.connect(Driver.java:26)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at
com.gapp.utility.util.connectionMGR.getConnection(connectionMGR.java:
14)
at com.gapp.utility.util.connectionMGR.main(connectionMGR.java:29)
Re: LOG_FATAL_DEATH
Re: LOG_FATAL_DEATH
Sunday, January 29, 2012
Re: LOG_FATAL_DEATH
I can't think of a workaround to do these operation until we fix it.
Re: LOG_FATAL_DEATH
database: gb_support2
steps: execute DELETE FROM email;
schema:
CREATE TABLE IF NOT EXISTS `email` (
`id` char(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`time` datetime NOT NULL,
`from` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`to` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`subject` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`comment` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`text` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
KEY `time` (`time`),
FULLTEXT KEY `email_full_text` (`text`,`from`,`to`,`subject`,`comment`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
Table have 76514 items.
Re: migrating to 5.5
thanks' for reply.
i didn't do it. do you know where can i get a step-by-step description
of the migration?
thanx again
Re: LOG_FATAL_DEATH
Re: migrating to 5.5
LOG_FATAL_DEATH
migrating to 5.5
i tried to migrate my 5.1 instance to 5.5 as asked by google.
i created a cloud storage api account and tried to export the existing
data in my mysql project by means of actions->export data commands in
the gui. unfortunately i get an error in the logs:
Failed to back up to gs://bucketabc/fileabc.gz: Does not exist
plz help.
Re: No api proxy found for service "rdbms"
Cheers,
CellNetworks, University of Heidelberg, Germany
http://www.russelllab.org/people/leo/
Saturday, January 28, 2012
Re: No api proxy found for service "rdbms"
Tuesday, January 24, 2012
Support Kanji Characters
Characters on uploaded site by Cloud SQL with Java.
But on Development stage which use local MySQL Instance, it occures
bafflegab on all Japanese Kanji Characters, even CRUD operation is
also no broblem.
I want to know how to avoid bafflegab of Japanese Kanji Characters.
And also want to know current Cloud SQL support UTF-8 Kanji
Characters or not on Eclipse Development stage.
Monday, January 23, 2012
Re: Error while deployment in Google Cloud SQL
Error while deployment in Google Cloud SQL
success.
I have enabled Google Cloud SQL in the project properties and
configured them.
Also I haven't disabled "local HRD support" and "Use datanucleus JDO/
JPA to access datastore"
This is the error I'm getting:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this
error message and the query that caused it.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is the log from the server:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2012-01-23 23:20:27.466 /wooosbee.jsp 500 260ms 0kb Mozilla/5.0
(Windows NT 6.1; WOW64) AppleWebKit/534.35 (KHTML, like Gecko) Chrome/
13.0.763.0 Safari/534.35
117.214.19.247 - - [23/Jan/2012:23:20:27 -0800] "GET /wooosbee.jsp
HTTP/1.1" 500 0 - "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/
534.35 (KHTML, like Gecko) Chrome/13.0.763.0 Safari/534.35"
"wooosbee.appspot.com" ms=261 cpu_ms=187 api_cpu_ms=0 cpm_usd=0.005225
instance=00c61b117ccf89f6820a1624a2d80af812e1
C 2012-01-23 23:20:27.464
Uncaught exception from servlet
java.lang.UnsupportedClassVersionError: wooosbee/WooosbeeServlet :
Unsupported major.minor version 51.0
at com.google.appengine.runtime.Request.process-
abdb151eb4bc6421(Request.java)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:616)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at org.mortbay.util.Loader.loadClass(Loader.java:91)
at org.mortbay.util.Loader.loadClass(Loader.java:71)
at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:73)
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
242)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:
685)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
1250)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
467)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at com.google.tracing.TraceContext
$TraceContextRunnable.runInContext(TraceContext.java:449)
at com.google.tracing.TraceContext$TraceContextRunnable
$1.run(TraceContext.java:455)
at com.google.tracing.TraceContext.runInContext(TraceContext.java:
695)
at com.google.tracing.TraceContext
$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:
333)
at com.google.tracing.TraceContext
$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:
325)
at com.google.tracing.TraceContext
$TraceContextRunnable.run(TraceContext.java:453)
at java.lang.Thread.run(Thread.java:679)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thursday, January 19, 2012
Change of plans for tomorrow
Re: Access with "multiaccount function" on problem
Re: Issues making JDO work with MySQL
The Socket class is a restricted class in appengine, thats why you are getting this error.
The classes that are allowed in appengine are listed in this white list:
http://code.google.com/appengine/docs/java/jrewhitelist.html
How are you making connection to the cloud sql database?
---Abhishek
Wednesday, January 18, 2012
Re: System property rdbms.driver must be set
Rob
Re: Dev environment returning String for generated key Object type
Thanks,
Rob
Re: System property rdbms.driver must be set
and then add the driver jar to your eclipse project as external jar.
I think this is the only problem you have. Otherwise,
then make sure all DB connection data such as database instance, user/password etc all correct.
Google is great!
Xiping
Re: Dev environment returning String for generated key Object type
Tuesday, January 17, 2012
Re: System property rdbms.driver must be set
Re: System property rdbms.driver must be set
Re: System property rdbms.driver must be set
System property rdbms.driver must be set
exception.
I've set these system properties from the command line and verified
that they are set before I try and get a connection:
-Drdbms.server=local -Drdbms.driver=com.mysql.jdbc.Driver -
Drdbms.url=jdbc:mysql://localhost:3306/admindb?user=xxx;password=yyy
I've also downloaded the mysql-connector-java-5.1.18-bin jar and added
it to my application and classpath.
Also, I'm not using Eclipse.
Can anyone tell me how to get rid of this exception?
Thanks,
Tom
[java] java.lang.IllegalStateException: System property rdbms.driver
must be set.
[java] at
com.google.appengine.api.rdbms.dev.LocalRdbmsServiceLocalDriver.registerDriver(LocalRdbmsServiceLocalDriver.java:
80)
[java] at
com.google.appengine.api.rdbms.dev.LocalRdbmsServiceLocalDriver.init(LocalRdbmsServiceLocalDriver.java:
73)
[java] at
com.google.appengine.api.rdbms.dev.LocalRdbmsService.init(LocalRdbmsService.java:
85)
[java] at
com.google.appengine.tools.development.ApiProxyLocalImpl.startServices(ApiProxyLocalImpl.java:
581)
[java] at
com.google.appengine.tools.development.ApiProxyLocalImpl.access
$700(ApiProxyLocalImpl.java:46)
[java] at
com.google.appengine.tools.development.ApiProxyLocalImpl
$2.run(ApiProxyLocalImpl.java:564)
[java] at
com.google.appengine.tools.development.ApiProxyLocalImpl
$2.run(ApiProxyLocalImpl.java:562)
[java] at java.security.AccessController.doPrivileged(Native
Method)
[java] at
com.google.appengine.tools.development.ApiProxyLocalImpl.getService(ApiProxyLocalImpl.java:
561)
[java] at
com.google.appengine.tools.development.ApiProxyLocalImpl.resolveDeadline(ApiProxyLocalImpl.java:
233)
[java] at
com.google.appengine.tools.development.ApiProxyLocalImpl.doAsyncCall(ApiProxyLocalImpl.java:
214)
[java] at
com.google.appengine.tools.development.ApiProxyLocalImpl.makeSyncCall(ApiProxyLocalImpl.java:
147)
[java] at
com.googlecode.objectify.cache.ListenableHook.makeSyncCall(ListenableHook.java:
116)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at
com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:
104)
[java] at com.googlecode.objectify.cache.ListenableHook
$1.invoke(ListenableHook.java:172)
[java] at $Proxy38.makeSyncCall(Unknown Source)
[java] at
com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:101)
[java] at com.google.appengine.api.rdbms.RdbmsApiProxyClient
$ApiProxyBlockingInterface.makeSyncCall(RdbmsApiProxyClient.java:89)
[java] at com.google.appengine.api.rdbms.RdbmsApiProxyClient
$ApiProxyBlockingInterface.openConnection(RdbmsApiProxyClient.java:75)
[java] at
com.google.cloud.sql.jdbc.internal.SqlProtoClient.openConnection(SqlProtoClient.java:
58)
[java] at com.google.cloud.sql.jdbc.Driver.connect(Driver.java:
59)
[java] at com.google.cloud.sql.jdbc.Driver.connect(Driver.java:
26)
[java] at
java.sql.DriverManager.getConnection(DriverManager.java:582)
[java] at
java.sql.DriverManager.getConnection(DriverManager.java:207)
[java] at com.kintris.kiim.entity.IS
$Stat.getDBConnection(IS.java:550)
[java] at com.kintris.kiim.entity.IS$Stat.getDbItemCount(IS.java:
841)
[java] at
com.kintris.kiim.rest.resources.StatsResource.getStats(StatsResource.java:
55)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at
com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:
104)
[java] at com.sun.jersey.spi.container.JavaMethodInvokerFactory
$1.invoke(JavaMethodInvokerFactory.java:60)
[java] at
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider
$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:
185)
[java] at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:
75)
[java] at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:
288)
[java] at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:
108)
[java] at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:
147)
[java] at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:
84)
[java] at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:
1469)
[java] at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:
1400)
[java] at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:
1349)
[java] at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:
1339)
[java] at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:
416)
[java] at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:
537)
[java] at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:
699)
[java] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[java] at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
[java] at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1166)
[java] at
com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:
35)
[java] at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
[java] at
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:
60)
[java] at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
[java] at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
43)
[java] at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
[java] at
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:
122)
[java] at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
[java] at
com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java:
97)
[java] at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
[java] at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
388)
[java] at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
[java] at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
182)
[java] at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
765)
[java] at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
[java] at
com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:
78)
[java] at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
[java] at
com.google.appengine.tools.development.JettyContainerService
$ApiProxyHandler.handle(JettyContainerService.java:362)
[java] at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
[java] at org.mortbay.jetty.Server.handle(Server.java:326)
[java] at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
542)
[java] at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:923)
[java] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:
547)
[java] at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
[java] at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[java] at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
409)
[java] at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:582)
Dev environment returning String for generated key Object type
if (!(key instanceof Number)) {
throw new DataRetrievalFailureException(
"The generated key is not of a supported numeric type. " +
"Unable to cast [" + (key != null ? key.getClass().getName() : null) +
"] to [" + Number.class.getName() + "]");
}
Access with "multiaccount function" on problem
I have activated the multiaccount function in my Google account, i am
logged with my personal account and with my company's google apps
account, but i can't access to Google Cloud SQL menu in the Google
APIs Console. When i try to acces, I receive the message "An
unexpected error has occurred. We're looking into it.".
If I turn off the multiaccount function then i can access. I think
that it is a bug in Google APIs Console.ole.
Re: Google Cloud SQL Service equested
How to change the project ID of cloud SQL?
I would like to change my cloud SQL' project ID,
cause my current ID was same with instance'
Could I reset the project ID?
Issues making JDO work with MySQL
I am trying to migrate a very simple JDO application on appengine
using google sql. I am having issues making Google SQL work with JDO.
When I tried with datanucleus-rdbms-1.1.5.jar & datanucleus-
rdbms-3.0.5.jar, but I get the error message:
Jan 17, 2012 2:35:20 PM org.datanucleus.store.rdbms.RDBMSManager
<init>
SEVERE: Failed initialising database.
java.lang.NoClassDefFoundError: java.net.Socket is a restricted class.
Please see the Google App Engine developer's guide for more details.
org.datanucleus.exceptions.NucleusDataStoreException:
java.lang.NoClassDefFoundError: java.net.Socket is a restricted class.
Please see the Google App Engine developer's guide for more details.
at org.datanucleus.store.rdbms.ConnectionFactoryImpl
$ManagedConnectionImpl.getConnection(ConnectionFactoryImpl.java:554)
at org.datanucleus.store.rdbms.RDBMSManager.<init>(RDBMSManager.java:
297)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
com.google.appengine.tools.development.agent.runtime.Runtime.newInstance_(Runtime.java:
116)
at
com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java:
124)
at
org.datanucleus.plugin.NonManagedPluginRegistry.createExecutableExtension(NonManagedPluginRegistry.java:
572)
at
org.datanucleus.plugin.PluginManager.createExecutableExtension(PluginManager.java:
300)
at
org.datanucleus.store.FederationManager.initialiseStoreManager(FederationManager.java:
168)
at
org.datanucleus.store.FederationManager.<init>(FederationManager.java:
70)
at
org.datanucleus.ObjectManagerFactoryImpl.initialiseStoreManager(ObjectManagerFactoryImpl.java:
153)
at
org.datanucleus.jdo.JDOPersistenceManagerFactory.freezeConfiguration(JDOPersistenceManagerFactory.java:
526)
at
org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFactory.getPersistenceManagerFactory(DatastoreJDOPersistenceManagerFactory.java:
127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:
104)
at javax.jdo.JDOHelper$16.run(JDOHelper.java:1956)
at java.security.AccessController.doPrivileged(Native Method)
at javax.jdo.JDOHelper.invoke(JDOHelper.java:1951)
at
javax.jdo.JDOHelper.invokeGetPersistenceManagerFactoryOnImplementation(JDOHelper.java:
1159)
at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:
803)
at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:
1086)
at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:
914)
at dao1.PMF.getPersistenceManagerFactory(PMF.java:35)
at dao1.BaseDAO.saveOrUpdate(BaseDAO.java:38)
or Bundle "org.datanucleus.store.rdbms" requires "org.datanucleus"
version "3.0.5" but the resolved bundle has version "3.0.5" which is
outside the expected range while using rdbms3.0.5.jar.
Wonder if someone in google can write clear instruction on how to make
JDO work with Google SQL.
Thanks,
Shweta
Monday, January 16, 2012
Re: No Response
No Response
any response.
What is going on and what is the expected response time?
Thanks
Narayanan
Google Cloud SQL Service equested
Sunday, January 15, 2012
Re: Accessing with JPA
Thursday, January 12, 2012
MySQL 5.1
A reminder that we will be removing support for Cloud SQL instances
running MySQL version 5.1 from February this year, at which point
those instances will stop running. We encourage users currently
running older instances (version 5.1) to upgrade; a step-by-step guide
is available here:
http://code.google.com/apis/sql/docs/upgrade.html
Let us know if you have any questions
J
--
Joe Faith | Product Manager | Google Cloud SQL
Re: SQuirreL Client Error
SQuirreL Client Error
Accessing with JPA
But I've tried to do the same for JPA and am getting this error:
org.datanucleus.exceptions.NucleusUserException: There is no available StoreManager of type "rdbms". Please make sure you have specified "datanucleus.storeManagerType" correctly and that all relevant plugins are in the CLASSPATH
I'm using these DataNucleus references:
http://www.datanucleus.org/products/accessplatform/jpa/emf.html
http://www.datanucleus.org/products/accessplatform/persistence_properties.html
And here's the relevant part of my persistence.xml:
<persistence-unit name="pu-searchindex-1">
<provider>org.datanucleus.api.jpa.PersistenceProviderImpl</provider>
<properties>
<property name="javax.persistence.jdbc.driver" value="com.google.appengine.api.rdbms.AppEngineDriver"/>
<property name="datanucleus.ConnectionURL" value="jdbc:google:rdbms://commentous.com:web-prod:searchindex-1/ctssearchidx"/>
<property name="datanucleus.autoCreateTables" value="true"/>
<property name="datanucleus.storeManagerType" value="rdbms"/>
<property name="datanucleus.jpa.level" value="JPA1"/>
<property name="datanucleus.jpa.addClassTransformer" value="false"/>
</properties>
</persistence-unit>
Tuesday, January 10, 2012
Re: You need permission to access this project.
Monday, January 9, 2012
You need permission to access this project.
I am getting the following message when I click on the link provided
"You need permission to access this project.". Can someone help me
with this?
Thanks,
Buddha
Re: Unexpected Error.... what?
Re: disk usage by new instance
disk usage by new instance
Dashboard for Instance gbsupportemails:rekby-test-0
Properties
Status: Running
Version: MySQL 5.5
Replication Type: Synchronous
Disk Usage: 274 MB / 1.0 GB
--
Blog: www.rekby.ru
Re: Crash table.
Re: Unexpected Error.... what?
w.it will be available for heavier usage.
Re: Unexpected Error.... what?
SQL.
The project ID was 23654910366 I think.
Waiting for news...
Sunday, January 8, 2012
Crash table.
About 3 days ago I have error in my appengine mapreduce code (library
out of memory limit) and I have very high rate of "REPLACE ..." query
for MyISAM table with fulltext index.
Now I find error in my appengine applicatin:
DatabaseError: 145: Table
'/sfs/gbsupportemails/gbsupport-mysql5-5/data/gb_gbsupport2/email' is
marked as crashed and should be repaired.
I try repair table from command line sql tool.
sql> repair table email;
Missing cached payload in retry response.
sql>
->
-> select count(*) from email;
Instance has too many concurrent requests: 100
sql> select count(*) from email;
Instance has too many concurrent requests: 100
sql> select count(*) from email;
Instance has too many concurrent requests: 100
I can't export sql dump and restart MySQL-instance now
Instance gbsupportemails:gbsupport-mysql5-5.
--
Blog: www.rekby.ru
Saturday, January 7, 2012
Re: Stored procs disappearing on site version num change
it's not due to version num changes.
I'll keep an eye on it, but there's some reason out there to explain
why the stored proc has disappeared on me twice now.
The first time it disappeared (a few days ago) I thought I was just
going crazy and/or getting sloppy and assumed I'd forgotten to load it
into production and never tested the code. But I didn't think that was
likely. When it disappeared again yesterday I knew I wasn't crazy.
Theory #1 shot down. I'll post an update if it happens again.
Friday, January 6, 2012
Re: Stored procs disappearing on site version num change
Changing your GAE application version should have no effect on your
cloud sql instance. Are you able to reproduce this consistently?
Stored procs disappearing on site version num change
is to blame:
- Did a CREATE PROCEDURE call via the google_sql_tool and code on GAE
was able to access it just fine.
- Pushed updated code to GAE along with a version num increment for my
site. Switched GAE to make the new version the default.
- The stored proc was no longer accessible ("PROCEDURE myProcedure
does not exist").
I'm not much of a mySQL expert so this might not be a Cloud SQL issue
at all. Is it possible that my stored proc is only living within a
shared GAE connection and maybe somehow isn't fully committed into the
DB? That's NOT the case on my local mySQL dev instance, but it would
explain why a new version in GAE would lose the stored proc.
Thursday, January 5, 2012
Re: Unexpected Error.... what?
Re: ER Modelling Plugin
I will use http://ermaster.sourceforge.net/ cause it is a Eclipse
Plugin and seems to be very comfortable.
Regards,
Markus
Wednesday, January 4, 2012
Re: ER Modelling Plugin
Best wishes!
Xiping
Re: Google Cloud SQL - Security Hole ????
j
Re: ER Modelling Plugin
Re: Unexpected Error.... what?
Ok guys, I just started trying out Google Cloud SQL, following the first step of the introduction tutorial. I came up with the error you can see in the picture."An unexpected error has occurred" while creating a simple small istance, my first one.Even if I add a GAE authorized applications I get the same, awful red error message.What's up?
Re: Unexpected Error.... what?
Tuesday, January 3, 2012
Unexpected Error.... what?
Ok guys, I just started trying out Google Cloud SQL, following the first step of the introduction tutorial. I came up with the error you can see in the picture.
"An unexpected error has occurred" while creating a simple small istance, my first one.
Even if I add a GAE authorized applications I get the same, awful red error message.
What's up?
ER Modelling Plugin
Is there a ER Modelling Tool integrated in the Google Eclipse Plugin
or another way to design a mysql database into the Cloud SQL?
Regards,
Markus
Monday, January 2, 2012
Is it even possible to run Wordpress on GAE?
import com.google.appengine.api.rdbms.AppEngineDriver;
import java.io.IOException;
import java.sql.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
or...? And would quercus handle/translate all the rest? Thanks for your help!! : )