Friday, October 25, 2013

Re: connect to multiple cloud sql instances/databases from dev server?

so I've looked into this more, and it doesn't look possible.

the problem is, if i try to connect like an external app via the dev environment, i get the following error:

"java.lang.NoClassDefFoundError: java.util.prefs.Preferences is a restricted class. Please see the Google  App Engine developer's guide for more details."

So because Preferences is restricted in GAE, and because you need to use this to set properties to access like an external app, it [accessing multiple instances from dev environmen] can't be done.

Can someone please comment if this is correct and a limitation of the GAE dev environment??

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/a63a878b-5fa6-4a2f-b70f-2ed9dd1d7540%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment