GWT + Postgres not working when deployed

2013-10-17 Thread Sean
I have a project that talks to Postgres on the server side. I have the JDBC jar in the WEB-INF/lib folder. When I run it on my machine it works fine. But when I deploy it to a TOMCAT instance I get: java.sql.SQLException: No suitable driver found for jdbc:postgresql://localhost/grp91-in-out

Re: GWT + Postgres not working when deployed

2013-10-17 Thread GWTter
Sounds like your postgresjdbc is not on the classpath when building the war. Have you made sure that it would be included in the classpath in the build.xml? On Thursday, October 17, 2013 5:20:01 PM UTC+2, Sean wrote: I have a project that talks to Postgres on the server side. I have

Re: GWT + Postgres not working when deployed

2013-10-17 Thread Natanael Maldonado
Could you show us how are you loading your driver in memory? El 17/10/2013 10:20, Sean slough...@gmail.com escribió: I have a project that talks to Postgres on the server side. I have the JDBC jar in the WEB-INF/lib folder. When I run it on my machine it works fine. But when I deploy

Re: GWT + Postgres not working when deployed

2013-10-17 Thread Sean
is not on the classpath when building the war. Have you made sure that it would be included in the classpath in the build.xml? On Thursday, October 17, 2013 5:20:01 PM UTC+2, Sean wrote: I have a project that talks to Postgres on the server side. I have the JDBC jar in the WEB-INF/lib

Re: GWT + Postgres not working when deployed

2013-10-17 Thread Sean
: Sounds like your postgresjdbc is not on the classpath when building the war. Have you made sure that it would be included in the classpath in the build.xml? On Thursday, October 17, 2013 5:20:01 PM UTC+2, Sean wrote: I have a project that talks to Postgres on the server side. I have the JDBC

Problem With GWT 2.5.1 and Postgres 9.2. JDBC Driver

2013-04-24 Thread tsstnet
Hello, I try to set up a small GWT application which should do a simple SQL query to Postgres SQL 9.2. Tests are based on GWT demo GreetingService. Server side greeting service has now following constructor: public GreetingServiceImpl() { System.out.println(Konstruktor

Re: Problem With GWT 2.5.1 and Postgres 9.2. JDBC Driver

2013-04-24 Thread kim young ill
should do a simple SQL query to Postgres SQL 9.2. Tests are based on GWT demo GreetingService. Server side greeting service has now following constructor: public GreetingServiceImpl() { System.out.println(Konstruktor); try { Class.forName(org.postgresql.Driver

Re: Can't find postgres driver from debug mode

2013-04-19 Thread Jamie
Yes, it was in there. However: I have a number of projects, all connected, and I have a 'common' project to share the libraries. My hibernate jars were in the common project. Copying the hibernate jars into WEB-INF/lib did the trick! Thanks for the hint. On Thursday, 18 April 2013 17:11:50

Can't find postgres driver from debug mode

2013-04-18 Thread Jamie
This is driving me crazy. My (large) project uses Hibernate and Postgres. On one machine it works perfectly. On two machines: - All works fine when running externally (from the web server) - Other (non gwt) programs work fine, using the same eclipse project, same classpath, same config

Re: Can't find postgres driver from debug mode

2013-04-18 Thread Jamie
the hibernate provider. On the bad machines, the list is empty. Ugh. I even have the provider listed specifically in the persistence unit. ARGH! On Thursday, 18 April 2013 16:04:35 UTC-4, Jamie wrote: This is driving me crazy. My (large) project uses Hibernate and Postgres. On one machine

Re: Can't find postgres driver from debug mode

2013-04-18 Thread Thomas Broyer
I'd bet your driver's JAR is not in WEB-INF/lib. On Thursday, April 18, 2013 10:04:35 PM UTC+2, Jamie wrote: This is driving me crazy. My (large) project uses Hibernate and Postgres. On one machine it works perfectly. On two machines: - All works fine when running externally (from the web

How to connect postgres database

2011-04-13 Thread Ahrom
Good afternoon, I'm a newbie, can someone tell me how to connect to a postgres database? 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-toolkit@googlegroups.com. To unsubscribe from

Re: How to connect postgres database

2011-04-13 Thread Juan Pablo Gardella
See http://jdbc.postgresql.org/documentation/80/connect.html 2011/4/13 Ahrom brah...@gmail.com Good afternoon, I'm a newbie, can someone tell me how to connect to a postgres database? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: How to connect postgres database

2011-04-13 Thread Ahrom
Ok, thank you very much, so I have it and it works well the query, I thought maybe that was my error. Now, with this: ResultSet rs = stmt.executeQuery (select * from my_table); How do I create an instance of FlexTables and display the data I get from the database on that table? -- You received

Re: How to connect postgres database

2011-04-13 Thread Juan Pablo Gardella
See http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html 2011/4/13 Ahrom brah...@gmail.com Ok, thank you very much, so I have it and it works well the query, I thought maybe that was my error. Now, with this: ResultSet rs = stmt.executeQuery (select * from my_table); How

Postgres

2009-04-15 Thread Marcos Robson
Hi, I'm new in world of gwt and i need a help for access the DataBase. Where can I find tutorial for connection postgres with gwt thx Marcos --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Postgres

2009-04-15 Thread salvador.ce
Hello Marcos, Access to the database to be with gwt servlet. 2009/4/15 Marcos Robson marcos...@gmail.com Hi, I'm new in world of gwt and i need a help for access the DataBase. Where can I find tutorial for connection postgres with gwt thx Marcos -- Carlos Salvador