Re: How to show a message while waiting on a RPC service request (not RequestFactory request)
There's a library called gwtchismes that has a progress bar widget, it's quite handy. On Tue, May 17, 2011 at 12:10 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Before you the rpc call, make visible a div with text processing... for example. In the onSuccess or onFail make invisible again. This approuch is used in Pro Web 2.0 Application Development with GWT. Juan 2011/5/16 Skip s...@planwithvoyant.com I'm looking for an approach on how to show a Loading message/image while waiting for the client to finish an RPC service request that's taking a few moments to complete. I'm not looking for an approach on startup. I've got the gist of that more or less. This question is for how to do it once the app is running. I've seen the approach used in the Spring Roo generated code whereby a RequestEvent is fired after a RequestFactory request runs longer than 250 ms. This approach makes use of a com.google.gwt.requestfactory.shared.RequestTransport, which only works for RequestFactory. Is there a similar approach to use when using an RPC Service? The following blog post offers up an approach for a view and presenter, but doesn't illustrate how one puts the hooks in place to get the event to fire. http://turbomanage.wordpress.com/2009/10/22/how-to-show-a-loading-pop-up-in-your-gwt-app/ Presumbably one could manually fire the AppLoadingEvent each time one makes a call to a service, and in the callbacks when the request completes, but I was hoping there's something more akin to the RequestTransport solution for RPC Service calls. Thanks, Skip Walker -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How can I create a singleton server side to handle embedded db transactions
Hi all, I'm using GWT with neo4j, its an embedded graph db. It working well but because its embedded only one client can work with it at a time(cant create a connection to it while in use). I was thinking of a work around to have one class server side that can handle this instance. I'm using RPC to work with the graph db. Any suggests/help? I'm quite stuck here. Best regards, John. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to log whenever Async call is made
I used an external library called gwtchisems that has a progress bar and sets the background to modal, you could call it while processing an RPC. Regards, John. On Tue, May 10, 2011 at 10:43 AM, Jiunarayan jiunara...@gmail.com wrote: I want to log, to show like loading ui when ever the code splitting is loading -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Map not displayed in broaser after adding map api.jar also...
Have you included the jar in the gwt.xml file eg inherits name='com.google.gwt.maps.GoogleMaps' / Regards On Tue, May 3, 2011 at 5:33 AM, Ram ram...@gmail.com wrote: I have included GWT Maps api.jar file in my GWT Project build path.Then i try sample program given by GWTI did all same as instructed by that samplebut the map is not displayed in my browser when i run my project... What is the Problem here...Also i noticed, when i try try to compile GWT projectI got some exception in Maps jar fileWhat is the problem here...please help me.. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: local mySQL connection
Hi David, If using mysql then your not planning on using app engine to depoly? If not i'f say get rid of it from the project. The other thing is are you calling the jdbc server side, through RPC, I'm confident thats how to go about it. Regards, John. Sent from my iPhone On 24 Apr 2011, 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 to establish a database connection to mySQL using the JDBC driver. The errors are below. My setup is as follows OS: Ubuntu GWT: GWT 2.2.0 SERVER: LAMP ( linux apache mySQL python ) Part of my application includes an Android app which communicates with the mySQL via a php script passing the data to JSON. Can anyone help with my errors? I have a feeling it may be something to do with SOP ( single origin policy? ) . The code and error is below.. Thanks. public class MySQLConnection { private Connection conn = null; private String status; private String url = jdbc:mysql://localhost:3306/javabase; private String user = java; private String pass = d$7hF_r!9Y; public MySQLConnection() { Logger logger = Logger.getLogger(NameOfYourLogger); logger.log(Level.SEVERE, Good one. you made it to MYSQL CONN! ); System.out.println(Good one. you made it to tmysql conn); try { System.out.println(Loading driver...); Class.forName(com.mysql.jdbc.Driver); System.out.println(Driver loaded!); } catch (ClassNotFoundException e) { throw new RuntimeException(Cannot find the driver in the classpath!, e); } try { Class.forName(com.mysql.jdbc.Driver).newInstance(); conn = DriverManager.getConnection(url, user, pass); //conn = DriverManager.getConnection( jdbc:mysql://localhost/my_test_db? user=rootpassword=083c3acak3); Logger loggers = Logger.getLogger(NameOfYourLogger); loggers.log(Level.SEVERE, We got DB connection! ); } catch (Exception e) { String messageOut = Unable to connect to database. Exception message: + e.getMessage(); System.out.println(messageOut); e.printStackTrace(); // Server side log //loggers.error(messageOut + \n, e); Logger loggers = Logger.getLogger(NameOfYourLogger); loggers.log(Level.SEVERE, BUT were caught in an exeption ); //NEVER catch exceptions like this } } } Unable to connect to database. Exception message: Could not create connection to database server. com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: 39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java: 27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.google.appengine.tools.development.agent.runtime.Runtime.newInstance_(Runtime.java: 112) at com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java: 120) at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) at com.mysql.jdbc.Util.getInstance(Util.java:382) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java: 2413) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java: 2163) at com.mysql.jdbc.ConnectionImpl.init(ConnectionImpl.java:794) at com.mysql.jdbc.JDBC4Connection.init(JDBC4Connection.java:47) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: 39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java: 27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.google.appengine.tools.development.agent.runtime.Runtime.newInstance_(Runtime.java: 112) at com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java: 120) at
Re: GWT maps API GoogleBarEnabled
Again it's something I'd like to use. Has anyone implemented the Google bar embedded in MapWidget to display search results? On Wed, Apr 20, 2011 at 8:31 PM, jonty johnwildo...@gmail.com wrote: Hi all, I was just having a look at the API, if I call mapWidget.setGoogleBarEnabled(true); I get a Google bar, can I use this to search for specif locations on my map? Or is it a general search bar(can't find much on it)? And could I specify a widget to display the bar's results? Regards, John. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: connecting MySql to Eclipse (GWT)
Sorry I cut the URL off;-). http://altair.cs.oswego.edu/~tenberge/tenbergen.org/misc/DB-Access-in-GWT-The-Missing-Tutorial.pdf I've been using GWT for 8 months I'm by no means a pro but have a good knowledge. The purpose of rpc is to be able to write java code which wont be translated into js and therefore resides server side. So server side when you create your ServiceImpl you connect you drivers create a connntection and do whatever you need to do with the db(Eg an addUser method which is passed a name, pw, dob). Have you used jdbc before? There are a few steps in setting up. On Friday, April 15, 2011, gwtuser acp...@gmail.com wrote: I am not able to open the link Thanks On Apr 14, 4:33 pm, John Doran john.do...@hotmail.com wrote: Have a read of this, exactly what you need.http://altair.cs.oswego.edu/~tenberge/tenbergen.org/misc/DB-Access-in... Regards, John. On Thu, Apr 14, 2011 at 11:28 PM, John Doran john.do...@hotmail.com wrote: The way to approach it would be to create a RPC to process your JDBC server side. On Thu, Apr 14, 2011 at 11:19 PM, gwtuser acp...@gmail.com wrote: Hello, I am trying to connect MySql to a gwt based project in eclipse. I have been searching for a whilebut i couldn't really understand what do i have to do to establish a connection to database. all i did so far is, i have downloaded Connector J folder which has a file mysql-connector-java-5.1.15-bin and then i have added this file to the project using Add External Jar...from build path option. Now i am confused what to do next? Can anyone help me. 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.- Hide quoted text - - Show quoted text - -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: connecting MySql to Eclipse (GWT)
No bother I suppose its a personal thing how long it takes to come to grips with it. I think the stockwatcher example provided by google is your best bet. It exposes you to everything. The whole purpose is to do the db stuff server side in you situation. I suppose within a couple of weeks I was well used to it. Regards. Sent from my iPhone On 15 Apr 2011, at 17:31, gwtuser acp...@gmail.com wrote: Hi John, Thanks for the replynow i am able to open the linki am looking at it.. no i have used jcbc before and i don't have any knowledge about java related stuff...i have been using gwt for about a month and half...i am creating a UI and i need to connect it to MySql. RPC is the one we can use to do thisbut that's what i don't have much knowledge. thanks for the basic info you have provided. Could you tell me approximately how long it will take to establish to finish RPC for this purpose. Thanks. On Apr 15, 1:48 am, John Doran john.do...@hotmail.com wrote: Sorry I cut the URL off;-).http://altair.cs.oswego.edu/~tenberge/tenbergen.org/misc/DB-Access-in... I've been using GWT for 8 months I'm by no means a pro but have a good knowledge. The purpose of rpc is to be able to write java code which wont be translated into js and therefore resides server side. So server side when you create your ServiceImpl you connect you drivers create a connntection and do whatever you need to do with the db(Eg an addUser method which is passed a name, pw, dob). Have you used jdbc before? There are a few steps in setting up. On Friday, April 15, 2011, gwtuser acp...@gmail.com wrote: I am not able to open the link Thanks On Apr 14, 4:33 pm, John Doran john.do...@hotmail.com wrote: Have a read of this, exactly what you need.http://altair.cs.oswego.edu/~tenberge/tenbergen.org/misc/DB-Access-in... Regards, John. On Thu, Apr 14, 2011 at 11:28 PM, John Doran john.do...@hotmail.com wrote: The way to approach it would be to create a RPC to process your JDBC server side. On Thu, Apr 14, 2011 at 11:19 PM, gwtuser acp...@gmail.com wrote: Hello, I am trying to connect MySql to a gwt based project in eclipse. I have been searching for a whilebut i couldn't really understand what do i have to do to establish a connection to database. all i did so far is, i have downloaded Connector J folder which has a file mysql-connector-java-5.1.15-bin and then i have added this file to the project using Add External Jar...from build path option. Now i am confused what to do next? Can anyone help me. 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.-Hide quoted text - - Show quoted text - -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en.- Hide quoted text - - Show quoted text - -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: connecting MySql to Eclipse (GWT)
The way to approach it would be to create a RPC to process your JDBC server side. On Thu, Apr 14, 2011 at 11:19 PM, gwtuser acp...@gmail.com wrote: Hello, I am trying to connect MySql to a gwt based project in eclipse. I have been searching for a whilebut i couldn't really understand what do i have to do to establish a connection to database. all i did so far is, i have downloaded Connector J folder which has a file mysql-connector-java-5.1.15-bin and then i have added this file to the project using Add External Jar...from build path option. Now i am confused what to do next? Can anyone help me. 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: connecting MySql to Eclipse (GWT)
Have a read of this, exactly what you need. http://altair.cs.oswego.edu/~tenberge/tenbergen.org/misc/DB-Access-in-GWT-The-Missing-Tutorial.pdf Regards, John. On Thu, Apr 14, 2011 at 11:28 PM, John Doran john.do...@hotmail.com wrote: The way to approach it would be to create a RPC to process your JDBC server side. On Thu, Apr 14, 2011 at 11:19 PM, gwtuser acp...@gmail.com wrote: Hello, I am trying to connect MySql to a gwt based project in eclipse. I have been searching for a whilebut i couldn't really understand what do i have to do to establish a connection to database. all i did so far is, i have downloaded Connector J folder which has a file mysql-connector-java-5.1.15-bin and then i have added this file to the project using Add External Jar...from build path option. Now i am confused what to do next? Can anyone help me. 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Deploying on Apache
If only life was that simple, I think it's to do with the servlet mappings(well by the errors on Apache startup thats obvious). What kind of tweaking is needed here? SEVERE: Parse error in application web.xml file at jndi:/localhost/war/WEB-INF/web.xml java.lang.IllegalArgumentException: Invalid url-pattern routeplanner/login_service in servlet mapping On Tue, Apr 12, 2011 at 12:21 AM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: You simple paste war file in webapps. Don't create any folder 2011/4/11 John Doran john.do...@hotmail.com Yes, Tomcat Apache.That is a servlet container as far as I know. On Mon, Apr 11, 2011 at 9:48 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Are you mean Tomcat Apache? Because if you use GWT-RPC communication you need a Servlet Container. 2011/4/11 John Doran john.do...@hotmail.com Hi all, I'm just trying to deploy my application for the first time, I want to do it through Apache, there's a lot of stuff online about it, but some instructions are a bit confusing, can anyone point me in the right direction or give some advice? My application is using RPC and serverside I'm using Hibernate which is linked to a mySQL db. I preformed the GWT compile on my project, the in Apache I created a folder called project-name in the webapps folder then pasted the war output from my GWT compile into it. Then ran the server and did localhist:8080/project-name/war/entrypoint.html this brought me to my home page but the center of layout panel was missing. Regards, John. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Deploying on Apache
Sorry but I don't understand what you mean try /routeplanner/login_service instead. Is there any configuration needed between the Apache web.xml file in the conf folder and the web.xml which I configure when setting up RPC? On Tue, Apr 12, 2011 at 8:04 AM, khiem nguyen khi...@googlemail.com wrote: try /routeplanner/login_service instead On Tue, Apr 12, 2011 at 9:58 AM, John Doran john.do...@hotmail.comwrote: If only life was that simple, I think it's to do with the servlet mappings(well by the errors on Apache startup thats obvious). What kind of tweaking is needed here? SEVERE: Parse error in application web.xml file at jndi:/localhost/war/WEB-INF/web.xml java.lang.IllegalArgumentException: Invalid url-pattern routeplanner/login_service in servlet mapping On Tue, Apr 12, 2011 at 12:21 AM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: You simple paste war file in webapps. Don't create any folder 2011/4/11 John Doran john.do...@hotmail.com Yes, Tomcat Apache.That is a servlet container as far as I know. On Mon, Apr 11, 2011 at 9:48 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Are you mean Tomcat Apache? Because if you use GWT-RPC communication you need a Servlet Container. 2011/4/11 John Doran john.do...@hotmail.com Hi all, I'm just trying to deploy my application for the first time, I want to do it through Apache, there's a lot of stuff online about it, but some instructions are a bit confusing, can anyone point me in the right direction or give some advice? My application is using RPC and serverside I'm using Hibernate which is linked to a mySQL db. I preformed the GWT compile on my project, the in Apache I created a folder called project-name in the webapps folder then pasted the war output from my GWT compile into it. Then ran the server and did localhist:8080/project-name/war/entrypoint.html this brought me to my home page but the center of layout panel was missing. Regards, John. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Deploying on Apache
Yes, brilliant thanks for your help! Finally have my project up and running, very exciting! On Tue, Apr 12, 2011 at 9:00 AM, khiem nguyen khi...@googlemail.com wrote: the exception comes from here: SEVERE: Parse error in application web.xml file at jndi:/localhost/war/WEB-INF/web.xml java.lang.IllegalArgumentException: Invalid url-pattern routeplanner/login_service in servlet mapping so u should edit the web.xml of your webapp , change url-pattern routeplanner/login_service /url-patern to url-pattern /routeplanner/login_service /url-patern On Tue, Apr 12, 2011 at 10:28 AM, John Doran john.do...@hotmail.comwrote: Sorry but I don't understand what you mean try /routeplanner/login_service instead. Is there any configuration needed between the Apache web.xml file in the conf folder and the web.xml which I configure when setting up RPC? On Tue, Apr 12, 2011 at 8:04 AM, khiem nguyen khi...@googlemail.comwrote: try /routeplanner/login_service instead On Tue, Apr 12, 2011 at 9:58 AM, John Doran john.do...@hotmail.comwrote: If only life was that simple, I think it's to do with the servlet mappings(well by the errors on Apache startup thats obvious). What kind of tweaking is needed here? SEVERE: Parse error in application web.xml file at jndi:/localhost/war/WEB-INF/web.xml java.lang.IllegalArgumentException: Invalid url-pattern routeplanner/login_service in servlet mapping On Tue, Apr 12, 2011 at 12:21 AM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: You simple paste war file in webapps. Don't create any folder 2011/4/11 John Doran john.do...@hotmail.com Yes, Tomcat Apache.That is a servlet container as far as I know. On Mon, Apr 11, 2011 at 9:48 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Are you mean Tomcat Apache? Because if you use GWT-RPC communication you need a Servlet Container. 2011/4/11 John Doran john.do...@hotmail.com Hi all, I'm just trying to deploy my application for the first time, I want to do it through Apache, there's a lot of stuff online about it, but some instructions are a bit confusing, can anyone point me in the right direction or give some advice? My application is using RPC and serverside I'm using Hibernate which is linked to a mySQL db. I preformed the GWT compile on my project, the in Apache I created a folder called project-name in the webapps folder then pasted the war output from my GWT compile into it. Then ran the server and did localhist:8080/project-name/war/entrypoint.html this brought me to my home page but the center of layout panel was missing. Regards, John. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups
Deploying on Apache
Hi all, I'm just trying to deploy my application for the first time, I want to do it through Apache, there's a lot of stuff online about it, but some instructions are a bit confusing, can anyone point me in the right direction or give some advice? My application is using RPC and serverside I'm using Hibernate which is linked to a mySQL db. I preformed the GWT compile on my project, the in Apache I created a folder called project-name in the webapps folder then pasted the war output from my GWT compile into it. Then ran the server and did localhist:8080/project-name/war/entrypoint.html this brought me to my home page but the center of layout panel was missing. Regards, John. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Deploying on Apache
Yes, Tomcat Apache.That is a servlet container as far as I know. On Mon, Apr 11, 2011 at 9:48 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Are you mean Tomcat Apache? Because if you use GWT-RPC communication you need a Servlet Container. 2011/4/11 John Doran john.do...@hotmail.com Hi all, I'm just trying to deploy my application for the first time, I want to do it through Apache, there's a lot of stuff online about it, but some instructions are a bit confusing, can anyone point me in the right direction or give some advice? My application is using RPC and serverside I'm using Hibernate which is linked to a mySQL db. I preformed the GWT compile on my project, the in Apache I created a folder called project-name in the webapps folder then pasted the war output from my GWT compile into it. Then ran the server and did localhist:8080/project-name/war/entrypoint.html this brought me to my home page but the center of layout panel was missing. Regards, John. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: DockLayoutPanel -- Get Width/Height of center panel
Could you not set the size of north, south, east and west then get the size of the center based on that information. Seeing as they needed to be added to the deck before center? On Mon, Apr 11, 2011 at 11:29 PM, Matthew Hill matt2...@gmail.com wrote: Hi. I need to make a canvas element within the center panel of a DockLayoutPanel. However, to make a canvas, I must know the width and height which it will occupy. How can I obtain the width and height of the center area of a DockLayoutPanel? -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How can I embed a no-sql graph db into my GWT app(Neo4j)
Problem solved, just stored the embedded db directly to c: On Sun, Apr 3, 2011 at 4:52 PM, jonty johnwildo...@gmail.com wrote: Hi, I've been using neo4j an embed graph db(relationships, properties, and nodes(very useful)). It's working fine as a stand alone project(separate to my gwt app). I'm now trying to integrate it into my gwt project. I'm saving the db in the war folder, war/fyp1.1/ neo4jdb. I'm using it to find shortest paths. When I make a RPC there seems to be no response from the db(ie not picking up nodes or actually working). Has anyone ever used neo4j/an embedded db in an app? Any suggestions/tips would be great! -- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.