gwt - java.sql.SQLException: URL is not in the correct format -
i using tomcat, java gwt. when try connect db applcation spews following error. same driver information running on stand alone application.
java.sql.sqlexception: url not in correct format: jdbc:timesten:client:dsn=xxxx_cachedb_devc;uid=xxxx;pwd=xxxxx @ com.google.cloud.sql.jdbc.internal.exceptions.driverurlnotincorrectformat(exceptions.java:103) @ com.google.cloud.sql.jdbc.driver.connect(driver.java:47) @ com.google.cloud.sql.jdbc.driver.connect(driver.java:24) @ java.sql.drivermanager.getconnection(drivermanager.java:582) @ java.sql.drivermanager.getconnection(drivermanager.java:207)
may know how can on come problem.
looks either trying deploy app engine or somehow how appengine jars in runtime classpath. if not planning deploy application @ google app engine, remove app engine sdk jars project.
on other hand, if want deploy app engine, know gae not yet support connecting external databases. can use in-memory sql databases hsqldb. connection url needs conform hsqldb connection url pattern in-memory databases.
Comments
Post a Comment