Re: How to Connect MySQL Connection?

2012-05-29 Thread Philippe Lhoste
On 24/05/2012 15:07, Mahe wrote: I am Mahesh, new in GWT and Java. I want to create one application in that. Actually I do basic application like stop-watcher. But now i want connect my database to application and do dynamic application means like store all value in database of user registration

Re: How to Connect MySQL Connection?

2012-05-29 Thread Rob
Hi, These post(s) may help: - http://uptick.com.au/content/working-gwt-jpa-hibernate-and-hsqldb Cheers Rob http://code.google.com/p/gwt-cx/ On May 29, 7:11 pm, Philippe Lhoste phi...@gmx.net wrote: On 24/05/2012 15:07, Mahe wrote: I am Mahesh, new in GWT and Java. I want to create one

How to Connect MySQL Connection?

2012-05-24 Thread Mahe
Hi all, I am Mahesh, new in GWT and Java. I want to create one application in that. Actually I do basic application like stop-watcher. But now i want connect my database to application and do dynamic application means like store all value in database of user registration form and show the the

Re: MySql Connection Problem

2011-12-01 Thread Ahmet Dakoglu
I had the same problem and find out that if you use GAE in your project this error occurs so it is not related with your url format. http://stackoverflow.com/questions/6773186/java-sql-sqlexception-url-is-not-in-the-correct-format On Wed, Nov 30, 2011 at 4:01 PM, mpp4manu mp4...@att.com wrote:

Re: MySql Connection Problem

2011-11-30 Thread mpp4manu
I am new to GWT and Java programming in general. I have am using Apache Geronimo to set up database pools. Once I understood how to use them, my database connectivity issues went away. Here is part 1 of a 2 part tutorial on GWT, Geronimo and MySQL:

Re: MySql Connection Problem

2011-11-06 Thread Brandon Donnelson
{ conn = DriverManager.getConnection(url+db, user, pass); } catch (SQLException e) { System.err.println(Mysql Connection Error: ); e.printStackTrace(); } return conn; } Here are some MySql wiki

Re: MySql Connection Problem

2011-11-04 Thread sasindran erambra
I am try to this url but not working it shows the same error again and again. any way thanks mukut to responding to my question. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

MySql Connection Problem

2011-11-03 Thread sasi sasindran
Hi all, I am created a sample gwt rpc client server database project.When am retrieving data from database it throw an exception given below. MySql Connection Error: java.sql.SQLException: URL is not in the correct format: jdbc:mysql:// localhost/db

Re: MySql Connection Problem

2011-11-03 Thread mukut
am retrieving data from database it throw an exception given below. MySql Connection Error: java.sql.SQLException: URL is not in the correct format: jdbc:mysql:// localhost/db at com.google.cloud.sql.jdbc.internal.Exceptions.driverUrlNotInCorrectFormat(Exceptions.java: 103

Need help MySQL connection with GWT 2.3 RPC

2011-08-25 Thread Sed
Hi All, Basically I'm developing a website which will display the data requested from a database (MySQL in my case). My problem is that I have an exception (see exception bellow) when I run my application in Development mode (the GWT built-in server), and what is strange is that I can execute my

Re: Need help MySQL connection with GWT 2.3 RPC

2011-08-25 Thread Juan Pablo Gardella
http://stackoverflow.com/questions/6773186/java-sql-sqlexception-url-is-not-in-the-correct-format 2011/8/25 Sed jaballah.sed...@gmail.com Hi All, Basically I'm developing a website which will display the data requested from a database (MySQL in my case). My problem is that I have an

Re: Need help MySQL connection with GWT 2.3 RPC

2011-08-25 Thread Sean
I think your slashes are being interpreted wrong. try: con = DriverManager.getConnection(jdbc:mysql:localhost:3306\\pandorabox,root,root); -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re : Re: Need help MySQL connection with GWT 2.3 RPC

2011-08-25 Thread Sed
Hi, The article says that we could try to remove the app engine jar from the project, which jar I must remove exactly ? and from where ? Thx -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re : Re: Need help MySQL connection with GWT 2.3 RPC

2011-08-25 Thread Sed
Hi Sean, I tried your suggestion but it doesn't change anything, same problem. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/mLh3Vc3GccAJ. To

Re: Re : Re: Need help MySQL connection with GWT 2.3 RPC

2011-08-25 Thread Juan Pablo Gardella
You can't connect to mysqlhttp://stackoverflow.com/questions/1651629/can-i-use-a-mysql-database-with-an-app-engine-applicationif you will deploy in app engine. If you aren't do a GAE app, you must remove GAE facet (if you use eclipse) to the project. Right click in the project, Properties -

Re : Re: Need help MySQL connection with GWT 2.3 RPC

2011-08-25 Thread Sed
Any one had this problem before? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/I4QR492qr_kJ. To post to this group, send email to

Re: Re : Re: Need help MySQL connection with GWT 2.3 RPC

2011-08-25 Thread Juan Pablo Gardella
Hi Sed, If you wanna make a GAE app you can't use mysql. If you wanna do a GWT application that don't run on GAE, remove GAE facet in your project (if you use eclipse). Right click in the project, Google -App Engine and uncheck *Use Google App Engine* * * *Juan * 2011/8/25 Sed

Re : Need help MySQL connection with GWT 2.3 RPC

2011-08-25 Thread Sed
The solution if you want to use a database connection ( MySQL for example) : 1 - You can't use google app engine mode (enable by default on Eclipse with GWT plugin) : To disable the google App mode : right click on the project Google App setting engine uncheck use google app engine 2 -

Re: Re : Problem with MySQL connection

2011-06-30 Thread devel
Thanks for your replay. You are right. I didn't thought about that. I now run it on Tomcat. Are there otherways just to exclude GAE and switch to another server, but still having the same integration? Is there a good howto available how to use tomcat or others instead of the internal jetty server?

Re: Problem with MySQL connection

2011-06-30 Thread Juan Pablo Gardella
Can you paste the complete stack tace? 2011/6/29 devel deve...@googlemail.com Hi everyone, I've got again a problem where I don't know how to proceed. I've got a Hibernate configuration that is perfectly working on a normal Java application. I've copied everything (config, classes, libs)

Problem with MySQL connection

2011-06-29 Thread devel
Hi everyone, I've got again a problem where I don't know how to proceed. I've got a Hibernate configuration that is perfectly working on a normal Java application. I've copied everything (config, classes, libs) to a GWT application (libs also to WEB-INF/lib) and since then there is no connection

Re : Problem with MySQL connection

2011-06-29 Thread Jeanpylone
Hi Does your project use Google App Engine? Cause GAE plugin works as a sandbox and doesn't allow to make arbitrary network connections ( http://code.google.com/intl/fr-FR/appengine/docs/java/overview.html) Cordially Jeanpylone -- You received this message because you are subscribed to the

local mySQL connection

2011-04-25 Thread David
Hi, This is my first coding post so hopefully Im doing things the right way.. I am developing a gwt app where I need mySQL connection. I think I have grasped the whole client server thing ( RMI etc ). In my server side code I am trying to establish a database connection to mySQL using the JDBC

Re: local mySQL connection

2011-04-25 Thread John Doran
, at 14:45, David davidgmah...@gmail.com wrote: Hi, This is my first coding post so hopefully Im doing things the right way.. I am developing a gwt app where I need mySQL connection. I think I have grasped the whole client server thing ( RMI etc ). In my server side code I am trying

Question : How setup mysql connection pool with eclipse in delevepment mode ?

2010-03-01 Thread Ehsan
Hi I've created a resource context for mysql connection pooling in a file named context.xml i puted it into META-INF directory of my web gwt eclipse application (my project does NOT use google app engine) . its my context.xml content : ?xml version=1.0 encoding=UTF-8? Context path=/TestDB

Unable to establish a mysql connection with my web application (Mac OS / Eclipse + plugins)

2010-02-16 Thread Mahmoud
Hello, I'm currently trying to create my own implementation of the secured login design presented in the following link: http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ Everything seems to work just fine concerning the RPC and UI, however once the user tries to

Re: GWT and MySQL Connection! Help!

2010-01-28 Thread Christian Goudreau
You cannot access that directly ! You have to do it server side and then access it from a RPC class ! I don't have any simple exemple for you since I'm using Guice and Gwt-Dispatch to intercept my server calls, but you can read the doc for any exemple.

GWT and MySQL Connection! Help!

2010-01-27 Thread Jay
trying to use GWT access MySQL, I understand that I have to use RPC, I'm familiar with that but I just don't know how to implement MySQL connection into it, can anyone help me out here? Many thanks! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

Re: GWT and MySQL Connection! Help!

2010-01-27 Thread John Ivens
how to implement MySQL connection into it, can anyone help me out here? Many thanks! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group

Re: GWT and MySQL Connection! Help!

2010-01-27 Thread Jason Essington
Actually, what you HAVE to do is ask your server to get the data from your database, whether that is RPC, or FormPost or HTTP GET or some form of XHR is really a decision for you to make based upon your server technology. GWT doesn't really care. As for accessing MySQL, that is a problem more

Re: GWT and MySQL Connection! Help!

2010-01-27 Thread Cristian Nicanor Babula
-test-MySQLConn/src/com/tribling/gwt/test/mysqlconn/?r=713#mysqlconn/client I'm trying to use GWT access MySQL, I understand that I have to use RPC, I'm familiar with that but I just don't know how to implement MySQL connection into it, can anyone help me out here? Many thanks! -- You received

Re: GWT and MySQL Connection! Help!

2010-01-27 Thread Christian Goudreau
RPC, I'm familiar with that but I just don't know how to implement MySQL connection into it, can anyone help me out here? Many thanks! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool

Re: GWT and MySQL Connection! Help!

2010-01-27 Thread Tan Jia Bao
Thanks for all the replies people, but I'm still kinda lost. I'm actually making a Drag and Drop E-Commerce website using GWT for a school project, I got kinda stuck because previously I had first completed my website before implementing GWT in. Without GWT, I called out my product information

Re: GWT and MySQL Connection! Help!

2010-01-27 Thread Tan Jia Bao
Alright, Christian I saw your work and got an idea how to go about it. I used my MainEntryPoint to access the DAO directly but I'm getting compilation about my imports. import java.util.logging.Level; import java.util.logging.Logger; My code is this public MainEntryPoint() { try {

GWT and MySQL Connection

2009-10-21 Thread Proxy
Hey, I am trying to create a voting system I've got a MySQL DB already up (using WAMP) and I'm using Eclipse Galileo with GWT. I have looked everywhere on how to make this connection and now I am sure I connect to the DB at least, however I am unsure regarding if I actually retrieve anything from

Re: GWT and MySQL Connection

2009-10-21 Thread Alvin Reyes
can you post the actual exception your having? On Wed, Oct 21, 2009 at 7:11 AM, Proxy luigiadva...@gmail.com wrote: Hey, I am trying to create a voting system I've got a MySQL DB already up (using WAMP) and I'm using Eclipse Galileo with GWT. I have looked everywhere on how to make this

Re: GWT and MySQL Connection

2009-10-21 Thread Lothar Kimmeringer
Proxy schrieb: PreparedStatement ps = conn.prepareStatement( SELECT user, pass FROM usuarios WHERE user = \ + user1 + \ AND + pass = \ + pass + \ ); Using a PreparedStatement is one thing but not using its features is another. You still can do SQL-injections here allowing you to

Re: GWT and MySQL Connection

2009-10-21 Thread Proxy
The thing is that I get no error whatsoever, I just get a message from the hosted mode: [INFO] 200 - POST /votaciones/MySQLConnection (127.0.0.1) 14 bytes Which since it's 200 means it went ok... and yes I know about the injection but since it's still something I'm doing locally I won't get

Re: GWT and MySQL Connection

2009-10-21 Thread Proxy
I actually managed to connect now, I only have one question left now, why is the onFailure from here private class AuthenticationHandlerT implements AsyncCallbackUser { public void onFailure(Throwable ex) { label.setText(Fail);

Re: GWT and MySQL Connection

2009-10-21 Thread Lothar Kimmeringer
Proxy schrieb: I actually managed to connect now, I only have one question left now, why is the onFailure from here Because the method being called on the server-side has no declared exception that you throw. Regards, Lothar --~--~-~--~~~---~--~~ You

Re: MySQL Connection

2009-09-22 Thread Chamira Fernando
Hi, Im Using GWT + AppEng is that the problem here? Lets say I have an existing database which I want to use for my GWT application what is the possible solution you reckon ? On Tue, Sep 22, 2009 at 7:08 AM, Sripathi Krishnan sripathi.krish...@gmail.com wrote: If you are using Google App

Re: MySQL Connection

2009-09-21 Thread Chamira Fernando
Hi All, I have the same problem when I connect to MySQL database, What I understand from the GWT doc, whatever server side scripts we have to in .server package and this will be on server side on host mode when we debug the application. here is the scenario I can get the data from the server

Re: MySQL Connection

2009-09-21 Thread Sripathi Krishnan
If you are using Google App Engine (separate from GWT), you *cannot* use an external database. App Engine doesn't allow you to open socket connections, and that is exactly what the getConnection() method does. --Sri 2009/9/21 Chamira Fernando chamira.inc...@gmail.com Hi All, I have the

Re: MySQL Connection

2009-09-21 Thread Akash
Hey, You are going on wrong way! You can only use java.util and java.lang on client side code ... for everything else you will have to use server side code which returns results to you client. On Sep 3, 4:21 am, GumbyGWTBeginner stephan.gump...@gmail.com wrote: Hi Guys, Was wondering if

Re: MySQL Connection

2009-09-03 Thread Lothar Kimmeringer
[quoting repaired] GumbyGWTBeginner schrieb: On Sep 3, 10:36 am, Isaac Truett itru...@gmail.com wrote: Stephan, You need to make a request to the server for the data. The server can connect to the database and return the results to the browser. If your server is running Java, then GWT RPC

MySQL Connection

2009-09-02 Thread GumbyGWTBeginner
Hi Guys, Was wondering if anyone could answer a small question? I have created a class called DBFlow (Code below) which connects to a MySQL DB and retrieve the number of rows in a DB. I am new at this could anyone throw some light on the subject. Error

Re: MySQL Connection

2009-09-02 Thread Christian Goudreau
You forgot .newInstance() after forname(string). There's a lot of documentation here : http://dev.mysql.com/doc/refman/5.0/en/connector-j-usagenotes-basic.html#connector-j-examples-connection-drivermanager Christian On Wed, Sep 2, 2009 at 7:21 PM, GumbyGWTBeginner

Re: MySQL Connection

2009-09-02 Thread Isaac Truett
Hi, The problem is that you're trying to mix GWT and java.sql. That's not going to work. JS in the browser can't connect to your database. The cause of your specific error is that Class.forName() is not a part of the JRE that GWT emulates. See also:

Re: MySQL Connection

2009-09-02 Thread GumbyGWTBeginner
Can you guys point in the direction of either a concept on how I would do this or a sample project for Ecllipse / GWT that I can go thru. Keeping in mind I am new at this too. I can figure most things out with sample code. My Secario: I have installed MySQL Database on my PC Trying to make a

Re: MySQL Connection

2009-09-02 Thread GumbyGWTBeginner
Will this (what is documented on that link) work if I runn on my local PC? or Do I have actually host the MySQL DB on a webserver? Stephan On Sep 3, 10:36 am, Isaac Truett itru...@gmail.com wrote: Stephan, You need to make a request to the server for the data. The server can connect to