Re: (null) value only in DEV mode

2014-04-11 Thread Zbyněk Kočí
There was an issue with Tomcat port. With stopped Tomcat -> tomcat start failed With started Tomcat -> port is already in use After that changed port from 8080 to 8084 and after another system reboot its finally working even with data from DB Thanks for hint with Jetty becuase this is my first imp

Re: (null) value only in DEV mode

2014-04-11 Thread Zbyněk Kočí
Yes, now Iam trying but there is something wrong with NetBeans -> Tomcat in log I received: > javax.naming.NamingException: /usr/share/tomcat6/conf/tomcat-users.xml > (Permision denied) > a lot of them... fixing rights, looking after user-run definition... all looks ok but still isnt working I h

Re: (null) value only in DEV mode

2014-04-11 Thread Thomas Broyer
Jens was talking about http://www.gwtproject.org/doc/latest/DevGuideCompilingAndDebugging.html#How_do_I_use_my_own_server_in_development_mode_instead_of_GWT's Deploy your app to a local Tomcat and run DevMode without the embedded server (or use SuperDevMode) On Friday, April 11, 2014 9:45:12 AM

Re: (null) value only in DEV mode

2014-04-11 Thread Zbyněk Kočí
I just fixed catch exception, but it doesnt help at all... No1 from every exception log isnt working in DEV mode. Even dev-mode-logs folder is useless since there is one empty log file. No iam not using Jetty, I have no experience with that. So do you recommended to explicitly dissable using Je

Re: (null) value only in DEV mode

2014-04-10 Thread Jens
> > private Connection getConnection() throws NamingException, SQLException { >> >> Context ctx = null; >> >> try { >> >> ctx = new InitialContext(); >> >> } catch (NamingException exp) { >> >> } >> >> DataSource ds = (DataSource) >>> ctx.lookup

Re: (null) value only in DEV mode

2014-04-10 Thread Zbyněk Kočí
Hello, thanks for response the ID is correct, iam just passing constant ID=1 for testing purpose only Then tell me why Iam not getting any error message, log? While in production mode after build it works fine. Dne čtvrtek, 10. dubna 2014 15:06:29 UTC+2 Zbyněk Kočí napsal(a): > > Hello, > > Iam

Re: (null) value only in DEV mode

2014-04-10 Thread Davide Micheletti
> > stmt.setInt(1, 1); Are you sure to pass the right id?? Because you do > id = rs.getInt("id"); and it is suspicious because the id cannot change in your code.. However i think that your code fail in the catch before > String messageString = "Hello " + nam + " " + srn + "!" + >

(null) value only in DEV mode

2014-04-10 Thread Zbyněk Kočí
Hello, Iam using RPC communication, JDBC driver (included in Tomcat libraries) & DB from previous project (Java & JSP only) Debian, NetBeans 7.4, Apache Tomcat 6 On server side Iam connection into the DB, retreiving data, trying to catch them immediately and next print them out in alert message