Re: Hosted mode hanging 4 out of 10times
Just thought it might be worth mentioning that I have been having this problem for about 4 weeks now... I was hoping it might be dealt with in the lastest updates, but its still there! Im using GWT with GAE functionality, my app is built up from the original stockwatcher application. I actually have periods of time when I get this problem over and over and over again, but usually I find that it eventually sorts itself out without me doing anything, I just keep trying to restart hosted mode, and eventually it kicks in by going to the correct url There are suggestions around (not sure if they are also in here) that clearing the IE cache can fix this problem, and that worked for me for a little while, but then it didnt work anymore, and after experiencing the issue so many times, i now know that its just a waiting game. However, I also find that closing eclipse down and reopening it seems to clear the problem too, but then again that just might be due to the time period it takes to shut down and restart (the ubiquitous "have you tried rebooting" solution) Cheers, J On Aug 28, 4:50 pm, Ian Bambury wrote: > Keep cutting bits out until it stops hanging - the problem is in the last > bit you cut out > Ian > > http://examples.roughian.com > > 2009/8/28 Rahul > > > > > Hi Ian, > > Yeah doing that now, its still hanging a lot > > I don't know whats the problem. I guess the last option would be to > > reinstall gwt > > > On Aug 28, 11:14 am, Ian Bambury wrote: > > > I don't think that the problem is there, but try commenting out just that > > > call and running the rest of the app. If the problem goes away, then I'm > > > wrong :-) > > > Ian > > > >http://examples.roughian.com > > > > 2009/8/28 Rahul > > > > > Hi, > > > > This is my code: > > > > > Client side, i am calling an RPC service to connect to sqlserver2005. > > > > Its an simple login(very basic) > > > > > greetingService.greetServer3(username,password, new > > > > AsyncCallback() > > > > { > > > > > �...@override > > > > public void > > > > onFailure(Throwable caught) { > > > > // TODO > > > > Auto-generated method stub > > > > > } > > > > > �...@override > > > > public void > > > > onSuccess(Integer result) { > > > > // TODO > > > > Auto-generated method stub > > > > if > > (result > > > > == 1) > > > > > Window.alert("log on successful"); > > > > else > > > > > Window.alert("Please check the username and password"); > > > > } > > > > > My implementation on server side is > > > > > public Integer greetServer3(String str, String str1) { > > > > // TODO Auto-generated method stub > > > > > try > > > > { > > > > Class.forName > > > > ("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance(); > > > > conn = > > > > DriverManager.getConnection("jdbc:sqlserver:// > > > > STI1121081:1433;database=Sql-obtv", "username", "password"); > > > > stm = > > > > ((java.sql.Connection)conn).createStatement(); > > > > > System.out.println("Values of > > string > > > > name"+str+"value of > > > > pass"+str1); > > > > rs = stm.executeQuery("select * > > from > > > > Password"); > > > > > while (rs.next()) > > > > { > > > > user > > =rs.getString("Username"); > > > > pass = rs.getString("Pass"); > > > > } > > > > conn.close(); > > > > } catch (Exception e) { > > > > connString = e.getMessage(); > > > > > } > > > > > user =user.replaceAll("\\s+$", ""); > > > > pass = pass.replaceAll("\\s+$", ""); > > > > > if (str.equals(user)&& > > > > str1.equals(pass)) > > > > return 1; > > > > > else > > > >
Re: Hosted mode hanging 4 out of 10times
Hi Frank, I understand and appreciate your concerns, but in this case, I feel that both Ian and Isaac are doing a great job at helping developers new and old with potentially GWT specific problems. You'll notice over time that threads that don't have much to do with GWT, or have to do with GWT-related libraries but should be posted on those respective forums, often don't get a reply. If they do get a reply, it's usually a notice saying that the person posting should try another more appropriate forum for help. Also, queries around topics that have already been discussed in great detail on other threads are also usually answered by telling the developer to search the forum or the web for a solution. That said, it is indeed important to keep a friendly and helpful tone in this forum. This creates an environment where members can feel free to post and contribute to technical discussions around the GWT platform, or seek help and bring up issues as appropriate. As Isaac suggested, I recommend taking a read through the GWT Discussion Group Charter to get a better idea of the community we're trying to build. GWT Discussion Group Charter: http://groups.google.com/group/google-web-toolkit/web/gwt-discussion-group-charter Cheers, -Sumit Chandel On Fri, Aug 28, 2009 at 11:33 AM, Frank Argueta wrote: > > If you look at the posts by Rahul, who only started posting since > July, you'll find that a lot of them are off topic. For example : > > - how do I connect to convert is JDBC ResultSet into ArrayList > - how do I execute DOS commands > - how do I convert XML to PDF > - how do I format XML on the server > - why xml manipulations fails on server > - hosted mode hangs because I did something screwy on my server and > here's my sample code : > < it>> > > I realize you are a helpful bunch of smart guys, but imagine if every > Java beginner starts posting such questions on the GWT forum. The > traffic on the GWT forum is high enough that additional noise like > this really doesn't help. > > Having been in the business a while, I recognize a certain type of > developer that post questions without making the slightest of effort > in trying to read up / search for a solution on their own. Taking the > liberty to fire an email to the GWT group at the first signs of > encountering a problem is definitely not helpful to any party > involved. Moreover responding to such questions will only encourage > him to post more server related questions without putting in a > concerted effort to resolve it himself. > > Frank "Argue"-ta. > > On Aug 28, 2:03 pm, Ian Bambury wrote: > > 2009/8/28 Isaac Truett > > > > > > > > > Ian, > > > > > Yes, the name did not escape my notice. But I do find reference to it > > > as a surname, probably of Spanish origin. Why not give him the benefit > > > of the doubt? > > > > Because he's only posted 4 times and his previous comment to Rahul was > > > > "Perhaps you should learn Java and also learn how to solve your > > problems instead, especially if its urgent to you - which does not > > make your issue urgent to anyone else. Please stop posting questions > > not related to GWT on this forum." > > > > The one after that was > > > > "I would request that this group require message subjects and sender > > names to be in English. The foreign characters in sender name / > > subjects are quite distracting." > > He doesn't seem to be entering into the spirit IMO, and if he can't take > it, > > he shouldn't dish it out. > > > > Ian > > > > http://examples.roughian.com > > > --~--~-~--~~~---~--~~ 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: Hosted mode hanging 4 out of 10times
Hi gaillard, Similar to how Ian is trying to troubleshoot Rahul's problem, you'll have to cut bits out of your code until you can consistently get hosted mode started up correctly. Also, could you try running a simple "Hello, World" style application in hosted mode to see if that works, preferably one using GWT RPC? If you create a GWT application using the Google Plugin for Eclipse project wizard or the webAppCreator utility, you should have a simple application that uses GWT RPC to test out in hosted mode. If that sample also hangs x out of 10 times, let us know. Cheers, -Sumit Chandel On Sat, Aug 29, 2009 at 8:29 AM, gaill...@audemat.com wrote: > > Hi all, > > Even if this thread isn't so helpfull, I can said that I've the same > problem as rahul. > In hosted dev mode sometime I get "Connecting to site 127.0.0.1", > specialy on low end dev machine. > The same project, on the same OS and exactly the same dev environment, > works on Core2duo > but failed sometime on Atom 330. I know Atom 330 is somewhat slow and > not really adapted to code > with windows+eclipse+GWT+jetty but very usefull to test > applications on low end final env. > I think some parts on GWT hosted mode doesn't wait enough for others > parts to be ready. > > > > > --~--~-~--~~~---~--~~ 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: Hosted mode hanging 4 out of 10times
Hi all, Even if this thread isn't so helpfull, I can said that I've the same problem as rahul. In hosted dev mode sometime I get "Connecting to site 127.0.0.1", specialy on low end dev machine. The same project, on the same OS and exactly the same dev environment, works on Core2duo but failed sometime on Atom 330. I know Atom 330 is somewhat slow and not really adapted to code with windows+eclipse+GWT+jetty but very usefull to test applications on low end final env. I think some parts on GWT hosted mode doesn't wait enough for others parts to be ready. --~--~-~--~~~---~--~~ 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: Hosted mode hanging 4 out of 10times
If you look at my responses, you will see that I concentrate on the problem of the GWT app hanging, not on Java on the server side or anything else server side. I agree that non-GWT related posts (and I include all those damn EXT extensions and all that other s***) should not be encouraged, and I agree that there is a type of neo-programmer which does not embrace the Empirical Development Methodology to the extent they perhaps should. (EDM ... aka 'Trial And Error') Nevertheless, stamping on someone when they are asking a legitimate GWT question is not the way to deal with that problem. I've been on this list since August 2006, Isaac a few months later and we have seen many different 'enthusiastic' programmers realise how the list works. You have been in the group less than 2 months and three of your four posts have been about how the group should be run or telling people to stop clogging up the list, and the other one was in response to someone reading Excel data on the server FFS. Inexperienced GWT programmers don't necessarily understand what is GWT and what is real Java - it's all Java after all. Politely pointing out where the line is drawn is, in my opinion, a more reasonable approach than simply telling inexperienced programmers to go away and learn to solve their own problems. If you took your own advice, you wouldn't need to be on this list. There are different levels of experience and this list caters for them all. It doesn't exclude everyone who knows less than you do. Ian On Aug 28, 7:33 pm, Frank Argueta wrote: > If you look at the posts byRahul, who only started posting since > July, you'll find that a lot of them are off topic. For example : > > - how do I connect to convert is JDBC ResultSet into ArrayList > - how do I execute DOS commands > - how do I convert XML to PDF > - how do I format XML on the server > - why xml manipulations fails on server > - hosted mode hangs because I did something screwy on my server and > here's my sample code : > < it>> > > I realize you are a helpful bunch of smart guys, but imagine if every > Java beginner starts posting such questions on the GWT forum. The > traffic on the GWT forum is high enough that additional noise like > this really doesn't help. > > Having been in the business a while, I recognize a certain type of > developer that post questions without making the slightest of effort > in trying to read up / search for a solution on their own. Taking the > liberty to fire an email to the GWT group at the first signs of > encountering a problem is definitely not helpful to any party > involved. Moreover responding to such questions will only encourage > him to post more server related questions without putting in a > concerted effort to resolve it himself. > > Frank "Argue"-ta. > > On Aug 28, 2:03 pm, Ian Bambury wrote: > > > > > 2009/8/28 Isaac Truett > > > > Ian, > > > > Yes, the name did not escape my notice. But I do find reference to it > > > as a surname, probably of Spanish origin. Why not give him the benefit > > > of the doubt? > > > Because he's only posted 4 times and his previous comment toRahulwas > > > "Perhaps you should learn Java and also learn how to solve your > > problems instead, especially if its urgent to you - which does not > > make your issue urgent to anyone else. Please stop posting questions > > not related to GWT on this forum." > > > The one after that was > > > "I would request that this group require message subjects and sender > > names to be in English. The foreign characters in sender name / > > subjects are quite distracting." > > He doesn't seem to be entering into the spirit IMO, and if he can't take it, > > he shouldn't dish it out. > > > Ian > > >http://examples.roughian.com --~--~-~--~~~---~--~~ 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: Hosted mode hanging 4 out of 10times
If you look at the posts by Rahul, who only started posting since July, you'll find that a lot of them are off topic. For example : - how do I connect to convert is JDBC ResultSet into ArrayList - how do I execute DOS commands - how do I convert XML to PDF - how do I format XML on the server - why xml manipulations fails on server - hosted mode hangs because I did something screwy on my server and here's my sample code : <> I realize you are a helpful bunch of smart guys, but imagine if every Java beginner starts posting such questions on the GWT forum. The traffic on the GWT forum is high enough that additional noise like this really doesn't help. Having been in the business a while, I recognize a certain type of developer that post questions without making the slightest of effort in trying to read up / search for a solution on their own. Taking the liberty to fire an email to the GWT group at the first signs of encountering a problem is definitely not helpful to any party involved. Moreover responding to such questions will only encourage him to post more server related questions without putting in a concerted effort to resolve it himself. Frank "Argue"-ta. On Aug 28, 2:03 pm, Ian Bambury wrote: > 2009/8/28 Isaac Truett > > > > > Ian, > > > Yes, the name did not escape my notice. But I do find reference to it > > as a surname, probably of Spanish origin. Why not give him the benefit > > of the doubt? > > Because he's only posted 4 times and his previous comment to Rahul was > > "Perhaps you should learn Java and also learn how to solve your > problems instead, especially if its urgent to you - which does not > make your issue urgent to anyone else. Please stop posting questions > not related to GWT on this forum." > > The one after that was > > "I would request that this group require message subjects and sender > names to be in English. The foreign characters in sender name / > subjects are quite distracting." > He doesn't seem to be entering into the spirit IMO, and if he can't take it, > he shouldn't dish it out. > > Ian > > http://examples.roughian.com --~--~-~--~~~---~--~~ 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: Hosted mode hanging 4 out of 10times
Ok, Frank first of all Stop accusing me of stuff I do my research before posting things on GWT. Every developer is not on the same expertise level like you and we beginners also need help. > JDBC ResultSet to ArrayList was started by me because i had no expertise with > RPC calls > DOS commands i did my research my on java how to do that on server side and > when it was failing, it i posted on GWT, and why shouldn't I? I belive this > is somethin GWT spefiic > XML to Pdf, if there is special library for drag and drop in GWT, why cant be > there special library for xml to pdf conversion in GWT. I did not find on net > so i asked what other people are doing for that with their applications in GWT > Format XML, GWT has their own XML parser and i cant find so i posted > XML manipulations fails on server, I am using standard java commands and its > failing on server, and its the server class provided by GWT so I want to ask > people why is it failing I do my research well before on net to post a message and people are very helpful to post their answer here. Also as again said, everyone is not a experitse programmer like you and I am sure many beginners like me who find these posts helpful On Aug 28, 2:33 pm, Frank Argueta wrote: > If you look at the posts by Rahul, who only started posting since > July, you'll find that a lot of them are off topic. For example : > > - how do I connect to convert is JDBC ResultSet into ArrayList > - how do I execute DOS commands > - how do I convert XML to PDF > - how do I format XML on the server > - why xml manipulations fails on server > - hosted mode hangs because I did something screwy on my server and > here's my sample code : > < it>> > > I realize you are a helpful bunch of smart guys, but imagine if every > Java beginner starts posting such questions on the GWT forum. The > traffic on the GWT forum is high enough that additional noise like > this really doesn't help. > > Having been in the business a while, I recognize a certain type of > developer that post questions without making the slightest of effort > in trying to read up / search for a solution on their own. Taking the > liberty to fire an email to the GWT group at the first signs of > encountering a problem is definitely not helpful to any party > involved. Moreover responding to such questions will only encourage > him to post more server related questions without putting in a > concerted effort to resolve it himself. > > Frank "Argue"-ta. > > On Aug 28, 2:03 pm, Ian Bambury wrote: > > > 2009/8/28 Isaac Truett > > > > Ian, > > > > Yes, the name did not escape my notice. But I do find reference to it > > > as a surname, probably of Spanish origin. Why not give him the benefit > > > of the doubt? > > > Because he's only posted 4 times and his previous comment to Rahul was > > > "Perhaps you should learn Java and also learn how to solve your > > problems instead, especially if its urgent to you - which does not > > make your issue urgent to anyone else. Please stop posting questions > > not related to GWT on this forum." > > > The one after that was > > > "I would request that this group require message subjects and sender > > names to be in English. The foreign characters in sender name / > > subjects are quite distracting." > > He doesn't seem to be entering into the spirit IMO, and if he can't take it, > > he shouldn't dish it out. > > > Ian > > >http://examples.roughian.com --~--~-~--~~~---~--~~ 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: Hosted mode hanging 4 out of 10times
ok Frank, how do you want me to address the issue Certainly there's is some communication gap between us. I understood the last time you said and i was at fault and i accept that. My hosted mode works 6 out of 10 times should i just give my client code? and no server code at all? On Aug 28, 11:02 am, Rahul wrote: > I dont get it, Ian told me to paste the code here > and the problem was specific to the gwt programming > > On Aug 28, 10:38 am, Frank Argueta wrote: > > > I hope your boss is reading your posts on this forum and your attempts > > to scavenge solutions to problems specific to *your* server side > > code / environment. That teeny bit of server side code you posted > > speaks volumes. I know what I'd do if I saw that kind of code in my > > codebase. > > > On Aug 28, 9:57 am, Rahul wrote: > > > > Hi, > > > This is my code: > > > > Client side, i am calling an RPC service to connect to sqlserver2005. > > > Its an simple login(very basic) > > > > greetingService.greetServer3(username,password, new > > > AsyncCallback() > > > { > > > > @Override > > > public void > > > onFailure(Throwable caught) { > > > // TODO > > > Auto-generated method stub > > > > } > > > > @Override > > > public void > > > onSuccess(Integer result) { > > > // TODO > > > Auto-generated method stub > > > if > > > (result == 1) > > > > > > Window.alert("log on successful"); > > > else > > > > > > Window.alert("Please check the username and password"); > > > } > > > > My implementation on server side is > > > > public Integer greetServer3(String str, String str1) { > > > // TODO Auto-generated method stub > > > > try > > > { > > > Class.forName > > > ("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance(); > > > conn = > > > DriverManager.getConnection("jdbc:sqlserver:// > > > STI1121081:1433;database=Sql-obtv", "username", "password"); > > > stm = > > > ((java.sql.Connection)conn).createStatement(); > > > > System.out.println("Values of > > > string name"+str+"value of > > > pass"+str1); > > > rs = stm.executeQuery("select * > > > from Password"); > > > > while (rs.next()) > > > { > > > user =rs.getString("Username"); > > > pass = rs.getString("Pass"); > > > } > > > conn.close(); > > > } catch (Exception e) { > > > connString = e.getMessage(); > > > > } > > > > user =user.replaceAll("\\s+$", ""); > > > pass = pass.replaceAll("\\s+$", ""); > > > > if (str.equals(user)&& > > > str1.equals(pass)) > > > return 1; > > > > else > > > return 0; > > > > } > > > > Also I am not using the Google Application engine as i am integrating > > > with sqlserver2005. I have seen similar problems whenever i try > > > integrating with sqlserver2005. I am using jdbc4 driver. > > > > On Aug 27, 8:49 pm, Ian Bambury wrote: > > > > > I don't think you'll find it there Rahul, That was only really a > > > > suggestion > > > > for next time :-) > > > > It sounds like a strange problem, but if you can provide some code, > > > > that at > > > > least means that other people can have a play - sometimes it happens > > > > that > > > > the code people provide works OK for other people - it all helps to pin > > > > it > > > > down though. > > > > > Ian > > > > >http://examples.roughian.com > > > > > 2009/8/27 Rahul > > > > > > Hi Ian, > > > > > I did try to cut out the cal
Re: Hosted mode hanging 4 out of 10times
Keep cutting bits out until it stops hanging - the problem is in the last bit you cut out Ian http://examples.roughian.com 2009/8/28 Rahul > > Hi Ian, > Yeah doing that now, its still hanging a lot > I don't know whats the problem. I guess the last option would be to > reinstall gwt > > On Aug 28, 11:14 am, Ian Bambury wrote: > > I don't think that the problem is there, but try commenting out just that > > call and running the rest of the app. If the problem goes away, then I'm > > wrong :-) > > Ian > > > > http://examples.roughian.com > > > > 2009/8/28 Rahul > > > > > > > > > Hi, > > > This is my code: > > > > > Client side, i am calling an RPC service to connect to sqlserver2005. > > > Its an simple login(very basic) > > > > > greetingService.greetServer3(username,password, new > > > AsyncCallback() > > >{ > > > > >@Override > > >public void > > > onFailure(Throwable caught) { > > >// TODO > > > Auto-generated method stub > > > > >} > > > > >@Override > > >public void > > > onSuccess(Integer result) { > > >// TODO > > > Auto-generated method stub > > >if > (result > > > == 1) > > > > > Window.alert("log on successful"); > > >else > > > > > Window.alert("Please check the username and password"); > > >} > > > > > My implementation on server side is > > > > > public Integer greetServer3(String str, String str1) { > > >// TODO Auto-generated method stub > > > > > try > > >{ > > > Class.forName > > > ("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance(); > > > conn = > > > DriverManager.getConnection("jdbc:sqlserver:// > > > STI1121081:1433;database=Sql-obtv", "username", "password"); > > > stm = > > > ((java.sql.Connection)conn).createStatement(); > > > > > System.out.println("Values of > string > > > name"+str+"value of > > > pass"+str1); > > > rs = stm.executeQuery("select * > from > > > Password"); > > > > > while (rs.next()) > > > { > > > user > =rs.getString("Username"); > > > pass = rs.getString("Pass"); > > > } > > > conn.close(); > > >} catch (Exception e) { > > > connString = e.getMessage(); > > > > >} > > > > > user =user.replaceAll("\\s+$", ""); > > > pass = pass.replaceAll("\\s+$", ""); > > > > >if (str.equals(user)&& > > > str1.equals(pass)) > > >return 1; > > > > >else > > >return 0; > > > > >} > > > > > Also I am not using the Google Application engine as i am integrating > > > with sqlserver2005. I have seen similar problems whenever i try > > > integrating with sqlserver2005. I am using jdbc4 driver. > > > > > On Aug 27, 8:49 pm, Ian Bambury wrote: > > > > I don't think you'll find it there Rahul, That was only really a > > > suggestion > > > > for next time :-) > > > > It sounds like a strange problem, but if you can provide some code, > that > > > at > > > > least means that other people can have a play - sometimes it happens > that > > > > the code people provide works OK for other people - it all helps to > pin > > > it > > > > down though. > > > > > > Ian > > > > > >http://examples.roughian.com > > > > > > 2009/8/27 Rahul > > > > > > > Hi Ian, > > > > > I did try to cut out the call tired to find it out, but i was not > > > > > successful in getting the answer whats causing the problem > > > > > > > Sorry for my ignorance but i did not knew anything about the issue > > > > > tracker. I would look at issue tracker first and if i am not able > to > > > > > get solution to that problem ill paste my code here. > > > > > > > On Aug 27, 5:29 pm, Ian Bambury wrote: > >
Re: Hosted mode hanging 4 out of 10times
2009/8/28 Isaac Truett > > Ian, > > Yes, the name did not escape my notice. But I do find reference to it > as a surname, probably of Spanish origin. Why not give him the benefit > of the doubt? Because he's only posted 4 times and his previous comment to Rahul was "Perhaps you should learn Java and also learn how to solve your problems instead, especially if its urgent to you - which does not make your issue urgent to anyone else. Please stop posting questions not related to GWT on this forum." The one after that was "I would request that this group require message subjects and sender names to be in English. The foreign characters in sender name / subjects are quite distracting." He doesn't seem to be entering into the spirit IMO, and if he can't take it, he shouldn't dish it out. Ian http://examples.roughian.com --~--~-~--~~~---~--~~ 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: Hosted mode hanging 4 out of 10times
Ian, Yes, the name did not escape my notice. But I do find reference to it as a surname, probably of Spanish origin. Why not give him the benefit of the doubt? - Isaac On Fri, Aug 28, 2009 at 1:45 PM, Ian Bambury wrote: > Hi Isaac, > "Frank Argueta"? > My original name was Justin A. Trollingmood but I had it changed by deed > poll. > Ian > > http://examples.roughian.com > > > 2009/8/28 Isaac Truett >> >> Frank, >> >> Please try to use a more civil tone when posting to this group. >> Perhaps you could take a few minutes to read the group charter: >> >> >> http://groups.google.com/group/google-web-toolkit/web/gwt-discussion-group-charter >> >> That might give you a better idea of the sort of community we're trying to >> be. >> >> Thank you. >> >> - Isaac >> >> >> On Fri, Aug 28, 2009 at 10:38 AM, Frank Argueta >> wrote: >> > >> > I hope your boss is reading your posts on this forum and your attempts >> > to scavenge solutions to problems specific to *your* server side >> > code / environment. That teeny bit of server side code you posted >> > speaks volumes. I know what I'd do if I saw that kind of code in my >> > codebase. >> > >> > On Aug 28, 9:57 am, Rahul wrote: >> >> Hi, >> >> This is my code: >> >> >> >> Client side, i am calling an RPC service to connect to sqlserver2005. >> >> Its an simple login(very basic) >> >> >> >> greetingService.greetServer3(username,password, new >> >> AsyncCallback() >> >> { >> >> >> >> @Override >> >> public void >> >> onFailure(Throwable caught) { >> >> // TODO >> >> Auto-generated method stub >> >> >> >> } >> >> >> >> @Override >> >> public void >> >> onSuccess(Integer result) { >> >> // TODO >> >> Auto-generated method stub >> >> if >> >> (result == 1) >> >> >> >> Window.alert("log on successful"); >> >> else >> >> >> >> Window.alert("Please check the username and password"); >> >> } >> >> >> >> My implementation on server side is >> >> >> >> public Integer greetServer3(String str, String str1) { >> >> // TODO Auto-generated method stub >> >> >> >> try >> >> { >> >> Class.forName >> >> ("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance(); >> >> conn = >> >> DriverManager.getConnection("jdbc:sqlserver:// >> >> STI1121081:1433;database=Sql-obtv", "username", "password"); >> >> stm = >> >> ((java.sql.Connection)conn).createStatement(); >> >> >> >> System.out.println("Values of >> >> string name"+str+"value of >> >> pass"+str1); >> >> rs = stm.executeQuery("select * >> >> from Password"); >> >> >> >> while (rs.next()) >> >> { >> >> user >> >> =rs.getString("Username"); >> >> pass = rs.getString("Pass"); >> >> } >> >> conn.close(); >> >> } catch (Exception e) { >> >> connString = e.getMessage(); >> >> >> >> } >> >> >> >> user =user.replaceAll("\\s+$", ""); >> >> pass = pass.replaceAll("\\s+$", ""); >> >> >> >> if (str.equals(user)&& >> >> str1.equals(pass)) >> >> return 1; >> >> >> >> else >> >> return 0; >> >> >> >> } >> >> >> >> Also I am not using the Google Application engine as i am integrating >> >> with sqlserver2005. I have seen similar problems whenever i try >> >> integrating with sqlserver2005. I am using jdbc4 driver. >> >> >> >> On Aug 27, 8:49 pm, Ian Bambury wrote: >> >> >> >> >> >> >> >> > I don't think you'll find it there Rahul, That was only really a >> >> > suggestion >> >> > for next time :-) >> >> > It sounds like a strange problem, but if you can provide some code, >> >> > that at >> >> > least means that other people
Re: Hosted mode hanging 4 out of 10times
Hi Isaac, "Frank Argueta"? My original name was Justin A. Trollingmood but I had it changed by deed poll. Ian http://examples.roughian.com 2009/8/28 Isaac Truett > > Frank, > > Please try to use a more civil tone when posting to this group. > Perhaps you could take a few minutes to read the group charter: > > > http://groups.google.com/group/google-web-toolkit/web/gwt-discussion-group-charter > > That might give you a better idea of the sort of community we're trying to > be. > > Thank you. > > - Isaac > > > On Fri, Aug 28, 2009 at 10:38 AM, Frank Argueta > wrote: > > > > I hope your boss is reading your posts on this forum and your attempts > > to scavenge solutions to problems specific to *your* server side > > code / environment. That teeny bit of server side code you posted > > speaks volumes. I know what I'd do if I saw that kind of code in my > > codebase. > > > > On Aug 28, 9:57 am, Rahul wrote: > >> Hi, > >> This is my code: > >> > >> Client side, i am calling an RPC service to connect to sqlserver2005. > >> Its an simple login(very basic) > >> > >> greetingService.greetServer3(username,password, new > >> AsyncCallback() > >> { > >> > >> @Override > >> public void > onFailure(Throwable caught) { > >> // TODO > Auto-generated method stub > >> > >> } > >> > >> @Override > >> public void > onSuccess(Integer result) { > >> // TODO > Auto-generated method stub > >> if > (result == 1) > >> > Window.alert("log on successful"); > >> else > >> > Window.alert("Please check the username and password"); > >> } > >> > >> My implementation on server side is > >> > >> public Integer greetServer3(String str, String str1) { > >> // TODO Auto-generated method stub > >> > >> try > >> { > >> Class.forName > >> ("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance(); > >> conn = > DriverManager.getConnection("jdbc:sqlserver:// > >> STI1121081:1433;database=Sql-obtv", "username", "password"); > >> stm = > ((java.sql.Connection)conn).createStatement(); > >> > >> System.out.println("Values of > string name"+str+"value of > >> pass"+str1); > >> rs = stm.executeQuery("select * > from Password"); > >> > >> while (rs.next()) > >> { > >> user > =rs.getString("Username"); > >> pass = rs.getString("Pass"); > >>} > >> conn.close(); > >> } catch (Exception e) { > >> connString = e.getMessage(); > >> > >> } > >> > >>user =user.replaceAll("\\s+$", ""); > >>pass = pass.replaceAll("\\s+$", ""); > >> > >> if (str.equals(user)&& > str1.equals(pass)) > >> return 1; > >> > >> else > >> return 0; > >> > >> } > >> > >> Also I am not using the Google Application engine as i am integrating > >> with sqlserver2005. I have seen similar problems whenever i try > >> integrating with sqlserver2005. I am using jdbc4 driver. > >> > >> On Aug 27, 8:49 pm, Ian Bambury wrote: > >> > >> > >> > >> > I don't think you'll find it there Rahul, That was only really a > suggestion > >> > for next time :-) > >> > It sounds like a strange problem, but if you can provide some code, > that at > >> > least means that other people can have a play - sometimes it happens > that > >> > the code people provide works OK for other people - it all helps to > pin it > >> > down though. > >> > >> > Ian > >> > >> >http://examples.roughian.com > >> > >> > 2009/8/27 Rahul > >> > >> > > Hi Ian, > >> > > I did try to cut out the call tired to find it out, but i was not > >> > > successful in getting the answer whats causing the problem > >>
Re: Hosted mode hanging 4 out of 10times
Frank, Please try to use a more civil tone when posting to this group. Perhaps you could take a few minutes to read the group charter: http://groups.google.com/group/google-web-toolkit/web/gwt-discussion-group-charter That might give you a better idea of the sort of community we're trying to be. Thank you. - Isaac On Fri, Aug 28, 2009 at 10:38 AM, Frank Argueta wrote: > > I hope your boss is reading your posts on this forum and your attempts > to scavenge solutions to problems specific to *your* server side > code / environment. That teeny bit of server side code you posted > speaks volumes. I know what I'd do if I saw that kind of code in my > codebase. > > On Aug 28, 9:57 am, Rahul wrote: >> Hi, >> This is my code: >> >> Client side, i am calling an RPC service to connect to sqlserver2005. >> Its an simple login(very basic) >> >> greetingService.greetServer3(username,password, new >> AsyncCallback() >> { >> >> @Override >> public void >> onFailure(Throwable caught) { >> // TODO >> Auto-generated method stub >> >> } >> >> @Override >> public void >> onSuccess(Integer result) { >> // TODO >> Auto-generated method stub >> if (result >> == 1) >> >> Window.alert("log on successful"); >> else >> >> Window.alert("Please check the username and password"); >> } >> >> My implementation on server side is >> >> public Integer greetServer3(String str, String str1) { >> // TODO Auto-generated method stub >> >> try >> { >> Class.forName >> ("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance(); >> conn = >> DriverManager.getConnection("jdbc:sqlserver:// >> STI1121081:1433;database=Sql-obtv", "username", "password"); >> stm = >> ((java.sql.Connection)conn).createStatement(); >> >> System.out.println("Values of string >> name"+str+"value of >> pass"+str1); >> rs = stm.executeQuery("select * from >> Password"); >> >> while (rs.next()) >> { >> user =rs.getString("Username"); >> pass = rs.getString("Pass"); >> } >> conn.close(); >> } catch (Exception e) { >> connString = e.getMessage(); >> >> } >> >> user =user.replaceAll("\\s+$", ""); >> pass = pass.replaceAll("\\s+$", ""); >> >> if (str.equals(user)&& str1.equals(pass)) >> return 1; >> >> else >> return 0; >> >> } >> >> Also I am not using the Google Application engine as i am integrating >> with sqlserver2005. I have seen similar problems whenever i try >> integrating with sqlserver2005. I am using jdbc4 driver. >> >> On Aug 27, 8:49 pm, Ian Bambury wrote: >> >> >> >> > I don't think you'll find it there Rahul, That was only really a suggestion >> > for next time :-) >> > It sounds like a strange problem, but if you can provide some code, that at >> > least means that other people can have a play - sometimes it happens that >> > the code people provide works OK for other people - it all helps to pin it >> > down though. >> >> > Ian >> >> >http://examples.roughian.com >> >> > 2009/8/27 Rahul >> >> > > Hi Ian, >> > > I did try to cut out the call tired to find it out, but i was not >> > > successful in getting the answer whats causing the problem >> >> > > Sorry for my ignorance but i did not knew anything about the issue >> > > tracker. I would look at issue tracker first and if i am not able to >> > > get solution to that problem ill paste my code here. >> >> > > On Aug 27, 5:29 pm,
Re: Hosted mode hanging 4 out of 10times
I hope your boss is reading your posts on this forum and your attempts to scavenge solutions to problems specific to *your* server side code / environment. That teeny bit of server side code you posted speaks volumes. I know what I'd do if I saw that kind of code in my codebase. On Aug 28, 9:57 am, Rahul wrote: > Hi, > This is my code: > > Client side, i am calling an RPC service to connect to sqlserver2005. > Its an simple login(very basic) > > greetingService.greetServer3(username,password, new > AsyncCallback() > { > > @Override > public void > onFailure(Throwable caught) { > // TODO > Auto-generated method stub > > } > > @Override > public void > onSuccess(Integer result) { > // TODO > Auto-generated method stub > if (result == > 1) > > Window.alert("log on successful"); > else > > Window.alert("Please check the username and password"); > } > > My implementation on server side is > > public Integer greetServer3(String str, String str1) { > // TODO Auto-generated method stub > > try > { > Class.forName > ("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance(); > conn = > DriverManager.getConnection("jdbc:sqlserver:// > STI1121081:1433;database=Sql-obtv", "username", "password"); > stm = > ((java.sql.Connection)conn).createStatement(); > > System.out.println("Values of string > name"+str+"value of > pass"+str1); > rs = stm.executeQuery("select * from > Password"); > > while (rs.next()) > { > user =rs.getString("Username"); > pass = rs.getString("Pass"); > } > conn.close(); > } catch (Exception e) { > connString = e.getMessage(); > > } > > user =user.replaceAll("\\s+$", ""); > pass = pass.replaceAll("\\s+$", ""); > > if (str.equals(user)&& str1.equals(pass)) > return 1; > > else > return 0; > > } > > Also I am not using the Google Application engine as i am integrating > with sqlserver2005. I have seen similar problems whenever i try > integrating with sqlserver2005. I am using jdbc4 driver. > > On Aug 27, 8:49 pm, Ian Bambury wrote: > > > > > I don't think you'll find it there Rahul, That was only really a suggestion > > for next time :-) > > It sounds like a strange problem, but if you can provide some code, that at > > least means that other people can have a play - sometimes it happens that > > the code people provide works OK for other people - it all helps to pin it > > down though. > > > Ian > > >http://examples.roughian.com > > > 2009/8/27 Rahul > > > > Hi Ian, > > > I did try to cut out the call tired to find it out, but i was not > > > successful in getting the answer whats causing the problem > > > > Sorry for my ignorance but i did not knew anything about the issue > > > tracker. I would look at issue tracker first and if i am not able to > > > get solution to that problem ill paste my code here. > > > > On Aug 27, 5:29 pm, Ian Bambury wrote: > > > > Hi Rahul, > > > > Why don't you cut out the call and find out? > > > > > :-) > > > > > It's very hard to answer questions like this when there is no code to > > > look > > > > at. > > > > > There are no blindingly desperate problems with GWT that I know of that > > > do > > > > this. Since the server side is not anything to do with GWT, then that is > > > > very probably not a GWT problem (although connecting to the server might > > > > be). > > > > > In this kind
Re: Hosted mode hanging 4 out of 10times
Hi Ian, Yeah doing that now, its still hanging a lot I don't know whats the problem. I guess the last option would be to reinstall gwt On Aug 28, 11:14 am, Ian Bambury wrote: > I don't think that the problem is there, but try commenting out just that > call and running the rest of the app. If the problem goes away, then I'm > wrong :-) > Ian > > http://examples.roughian.com > > 2009/8/28 Rahul > > > > > Hi, > > This is my code: > > > Client side, i am calling an RPC service to connect to sqlserver2005. > > Its an simple login(very basic) > > > greetingService.greetServer3(username,password, new > > AsyncCallback() > > { > > > �...@override > > public void > > onFailure(Throwable caught) { > > // TODO > > Auto-generated method stub > > > } > > > �...@override > > public void > > onSuccess(Integer result) { > > // TODO > > Auto-generated method stub > > if (result > > == 1) > > > Window.alert("log on successful"); > > else > > > Window.alert("Please check the username and password"); > > } > > > My implementation on server side is > > > public Integer greetServer3(String str, String str1) { > > // TODO Auto-generated method stub > > > try > > { > > Class.forName > > ("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance(); > > conn = > > DriverManager.getConnection("jdbc:sqlserver:// > > STI1121081:1433;database=Sql-obtv", "username", "password"); > > stm = > > ((java.sql.Connection)conn).createStatement(); > > > System.out.println("Values of string > > name"+str+"value of > > pass"+str1); > > rs = stm.executeQuery("select * from > > Password"); > > > while (rs.next()) > > { > > user =rs.getString("Username"); > > pass = rs.getString("Pass"); > > } > > conn.close(); > > } catch (Exception e) { > > connString = e.getMessage(); > > > } > > > user =user.replaceAll("\\s+$", ""); > > pass = pass.replaceAll("\\s+$", ""); > > > if (str.equals(user)&& > > str1.equals(pass)) > > return 1; > > > else > > return 0; > > > } > > > Also I am not using the Google Application engine as i am integrating > > with sqlserver2005. I have seen similar problems whenever i try > > integrating with sqlserver2005. I am using jdbc4 driver. > > > On Aug 27, 8:49 pm, Ian Bambury wrote: > > > I don't think you'll find it there Rahul, That was only really a > > suggestion > > > for next time :-) > > > It sounds like a strange problem, but if you can provide some code, that > > at > > > least means that other people can have a play - sometimes it happens that > > > the code people provide works OK for other people - it all helps to pin > > it > > > down though. > > > > Ian > > > >http://examples.roughian.com > > > > 2009/8/27 Rahul > > > > > Hi Ian, > > > > I did try to cut out the call tired to find it out, but i was not > > > > successful in getting the answer whats causing the problem > > > > > Sorry for my ignorance but i did not knew anything about the issue > > > > tracker. I would look at issue tracker first and if i am not able to > > > > get solution to that problem ill paste my code here. > > > > > On Aug 27, 5:29 pm, Ian Bambury wrote: > > > > > Hi Rahul, > > > > > Why don't you cut out the call and find out? > > > > > > :-) > > > > > > It's very hard to answer questions like this when there is no code to > > > > look > > > > > at. > > > > > > There are no blindingly desperate problems with GWT that I know of > > that > > > > do > > > > > this. Since the server side is not anything to do with GWT, then that > > is > > > > > very pro
Re: Hosted mode hanging 4 out of 10times
I don't think that the problem is there, but try commenting out just that call and running the rest of the app. If the problem goes away, then I'm wrong :-) Ian http://examples.roughian.com 2009/8/28 Rahul > > Hi, > This is my code: > > Client side, i am calling an RPC service to connect to sqlserver2005. > Its an simple login(very basic) > > greetingService.greetServer3(username,password, new > AsyncCallback() >{ > >@Override >public void > onFailure(Throwable caught) { >// TODO > Auto-generated method stub > >} > >@Override >public void > onSuccess(Integer result) { >// TODO > Auto-generated method stub >if (result > == 1) > > Window.alert("log on successful"); >else > > Window.alert("Please check the username and password"); >} > > My implementation on server side is > > public Integer greetServer3(String str, String str1) { >// TODO Auto-generated method stub > > try >{ > Class.forName > ("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance(); > conn = > DriverManager.getConnection("jdbc:sqlserver:// > STI1121081:1433;database=Sql-obtv", "username", "password"); > stm = > ((java.sql.Connection)conn).createStatement(); > > System.out.println("Values of string > name"+str+"value of > pass"+str1); > rs = stm.executeQuery("select * from > Password"); > > while (rs.next()) > { > user =rs.getString("Username"); > pass = rs.getString("Pass"); > } > conn.close(); >} catch (Exception e) { > connString = e.getMessage(); > >} > > user =user.replaceAll("\\s+$", ""); > pass = pass.replaceAll("\\s+$", ""); > >if (str.equals(user)&& > str1.equals(pass)) >return 1; > >else >return 0; > >} > > Also I am not using the Google Application engine as i am integrating > with sqlserver2005. I have seen similar problems whenever i try > integrating with sqlserver2005. I am using jdbc4 driver. > > On Aug 27, 8:49 pm, Ian Bambury wrote: > > I don't think you'll find it there Rahul, That was only really a > suggestion > > for next time :-) > > It sounds like a strange problem, but if you can provide some code, that > at > > least means that other people can have a play - sometimes it happens that > > the code people provide works OK for other people - it all helps to pin > it > > down though. > > > > Ian > > > > http://examples.roughian.com > > > > 2009/8/27 Rahul > > > > > > > > > Hi Ian, > > > I did try to cut out the call tired to find it out, but i was not > > > successful in getting the answer whats causing the problem > > > > > Sorry for my ignorance but i did not knew anything about the issue > > > tracker. I would look at issue tracker first and if i am not able to > > > get solution to that problem ill paste my code here. > > > > > On Aug 27, 5:29 pm, Ian Bambury wrote: > > > > Hi Rahul, > > > > Why don't you cut out the call and find out? > > > > > > :-) > > > > > > It's very hard to answer questions like this when there is no code to > > > look > > > > at. > > > > > > There are no blindingly desperate problems with GWT that I know of > that > > > do > > > > this. Since the server side is not anything to do with GWT, then that > is > > > > very probably not a GWT problem (although connecting to the server > might > > > > be). > > > > > > In this kind of situation, I'd say that the first stop is the issue > > > tracker. > > > > Pretty much everything major has been picked up and even when there > is a > > > new > > > > release, the chances are that someone else will find it before you do > > > > (unle
Re: Hosted mode hanging 4 out of 10times
I dont get it, Ian told me to paste the code here and the problem was specific to the gwt programming On Aug 28, 10:38 am, Frank Argueta wrote: > I hope your boss is reading your posts on this forum and your attempts > to scavenge solutions to problems specific to *your* server side > code / environment. That teeny bit of server side code you posted > speaks volumes. I know what I'd do if I saw that kind of code in my > codebase. > > On Aug 28, 9:57 am, Rahul wrote: > > > Hi, > > This is my code: > > > Client side, i am calling an RPC service to connect to sqlserver2005. > > Its an simple login(very basic) > > > greetingService.greetServer3(username,password, new > > AsyncCallback() > > { > > > @Override > > public void > > onFailure(Throwable caught) { > > // TODO > > Auto-generated method stub > > > } > > > @Override > > public void > > onSuccess(Integer result) { > > // TODO > > Auto-generated method stub > > if (result > > == 1) > > > > Window.alert("log on successful"); > > else > > > > Window.alert("Please check the username and password"); > > } > > > My implementation on server side is > > > public Integer greetServer3(String str, String str1) { > > // TODO Auto-generated method stub > > > try > > { > > Class.forName > > ("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance(); > > conn = > > DriverManager.getConnection("jdbc:sqlserver:// > > STI1121081:1433;database=Sql-obtv", "username", "password"); > > stm = > > ((java.sql.Connection)conn).createStatement(); > > > System.out.println("Values of string > > name"+str+"value of > > pass"+str1); > > rs = stm.executeQuery("select * from > > Password"); > > > while (rs.next()) > > { > > user =rs.getString("Username"); > > pass = rs.getString("Pass"); > > } > > conn.close(); > > } catch (Exception e) { > > connString = e.getMessage(); > > > } > > > user =user.replaceAll("\\s+$", ""); > > pass = pass.replaceAll("\\s+$", ""); > > > if (str.equals(user)&& > > str1.equals(pass)) > > return 1; > > > else > > return 0; > > > } > > > Also I am not using the Google Application engine as i am integrating > > with sqlserver2005. I have seen similar problems whenever i try > > integrating with sqlserver2005. I am using jdbc4 driver. > > > On Aug 27, 8:49 pm, Ian Bambury wrote: > > > > I don't think you'll find it there Rahul, That was only really a > > > suggestion > > > for next time :-) > > > It sounds like a strange problem, but if you can provide some code, that > > > at > > > least means that other people can have a play - sometimes it happens that > > > the code people provide works OK for other people - it all helps to pin it > > > down though. > > > > Ian > > > >http://examples.roughian.com > > > > 2009/8/27 Rahul > > > > > Hi Ian, > > > > I did try to cut out the call tired to find it out, but i was not > > > > successful in getting the answer whats causing the problem > > > > > Sorry for my ignorance but i did not knew anything about the issue > > > > tracker. I would look at issue tracker first and if i am not able to > > > > get solution to that problem ill paste my code here. > > > > > On Aug 27, 5:29 pm, Ian Bambury wrote: > > > > > Hi Rahul, > > > > > Why don't you cut out the call and find out? > > > > > > :-) > > > > > > It's very hard to answer questions li
Re: Hosted mode hanging 4 out of 10times
Hi, This is my code: Client side, i am calling an RPC service to connect to sqlserver2005. Its an simple login(very basic) greetingService.greetServer3(username,password, new AsyncCallback() { @Override public void onFailure(Throwable caught) { // TODO Auto-generated method stub } @Override public void onSuccess(Integer result) { // TODO Auto-generated method stub if (result == 1) Window.alert("log on successful"); else Window.alert("Please check the username and password"); } My implementation on server side is public Integer greetServer3(String str, String str1) { // TODO Auto-generated method stub try { Class.forName ("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance(); conn = DriverManager.getConnection("jdbc:sqlserver:// STI1121081:1433;database=Sql-obtv", "username", "password"); stm = ((java.sql.Connection)conn).createStatement(); System.out.println("Values of string name"+str+"value of pass"+str1); rs = stm.executeQuery("select * from Password"); while (rs.next()) { user =rs.getString("Username"); pass = rs.getString("Pass"); } conn.close(); } catch (Exception e) { connString = e.getMessage(); } user =user.replaceAll("\\s+$", ""); pass = pass.replaceAll("\\s+$", ""); if (str.equals(user)&& str1.equals(pass)) return 1; else return 0; } Also I am not using the Google Application engine as i am integrating with sqlserver2005. I have seen similar problems whenever i try integrating with sqlserver2005. I am using jdbc4 driver. On Aug 27, 8:49 pm, Ian Bambury wrote: > I don't think you'll find it there Rahul, That was only really a suggestion > for next time :-) > It sounds like a strange problem, but if you can provide some code, that at > least means that other people can have a play - sometimes it happens that > the code people provide works OK for other people - it all helps to pin it > down though. > > Ian > > http://examples.roughian.com > > 2009/8/27 Rahul > > > > > Hi Ian, > > I did try to cut out the call tired to find it out, but i was not > > successful in getting the answer whats causing the problem > > > Sorry for my ignorance but i did not knew anything about the issue > > tracker. I would look at issue tracker first and if i am not able to > > get solution to that problem ill paste my code here. > > > On Aug 27, 5:29 pm, Ian Bambury wrote: > > > Hi Rahul, > > > Why don't you cut out the call and find out? > > > > :-) > > > > It's very hard to answer questions like this when there is no code to > > look > > > at. > > > > There are no blindingly desperate problems with GWT that I know of that > > do > > > this. Since the server side is not anything to do with GWT, then that is > > > very probably not a GWT problem (although connecting to the server might > > > be). > > > > In this kind of situation, I'd say that the first stop is the issue > > tracker. > > > Pretty much everything major has been picked up and even when there is a > > new > > > release, the chances are that someone else will find it before you do > > > (unless you are the most up-to-date, active and comprehensive user of GWT > > > out of the 20,000 of us here - I'm not, so I check the issue tracker). > > > > Coming up with a simple example to demonstrate your problem is the next > > > step. If you take a copy of your problem p
Re: Hosted mode hanging 4 out of 10times
I don't think you'll find it there Rahul, That was only really a suggestion for next time :-) It sounds like a strange problem, but if you can provide some code, that at least means that other people can have a play - sometimes it happens that the code people provide works OK for other people - it all helps to pin it down though. Ian http://examples.roughian.com 2009/8/27 Rahul > > Hi Ian, > I did try to cut out the call tired to find it out, but i was not > successful in getting the answer whats causing the problem > > Sorry for my ignorance but i did not knew anything about the issue > tracker. I would look at issue tracker first and if i am not able to > get solution to that problem ill paste my code here. > > On Aug 27, 5:29 pm, Ian Bambury wrote: > > Hi Rahul, > > Why don't you cut out the call and find out? > > > > :-) > > > > It's very hard to answer questions like this when there is no code to > look > > at. > > > > There are no blindingly desperate problems with GWT that I know of that > do > > this. Since the server side is not anything to do with GWT, then that is > > very probably not a GWT problem (although connecting to the server might > > be). > > > > In this kind of situation, I'd say that the first stop is the issue > tracker. > > Pretty much everything major has been picked up and even when there is a > new > > release, the chances are that someone else will find it before you do > > (unless you are the most up-to-date, active and comprehensive user of GWT > > out of the 20,000 of us here - I'm not, so I check the issue tracker). > > > > Coming up with a simple example to demonstrate your problem is the next > > step. If you take a copy of your problem project and cut it down step by > > step will a) mean you end up with a good, reproducible example of the > > problem. But if your experience is anything like mine, you'll cut out one > > bit which can't possibly cause the problem and discover that the problem > > goes away. And then you have a Peter Glaze 'Doh!' moment (don't worry if > you > > didn't get that 'Peter Glaze' reference reference, I'd be surprised if > > anyone does). Anyway, you might well look at a bit of code that you > hadn't > > considered before. > > > > If you *do* get it down to a 10-50-line example, then you definitely have > a > > problem, but then it is one that we can all reproduce and play about > with. > > > > So ... I don't have an answer for you, but if you can come up with a demo > of > > it, I'll have a look. > > > > There used to be a problem like this where clicking on the screen allowed > > the app to continue (something to do with multiple css files if I > remember > > correctly) but I'm sure that was fixed in about 1.3. > > > > Just my 2p worth. > > > > Ian > > > > http://examples.roughian.com > > > > 2009/8/27 Rahul > > > > > > > > > Hi, > > > This is been happening a lot lately with me. > > > Whenever i am running the hosted mode, the hosted mode just hangs 4 > > > out of 10 times. At the left end of window, it shows that "Connecting > > > to site 127.0.0.1" > > > and if i just close it and start it again the application works or it > > > just says the same message again as above. After a few tries it starts > > > working. > > > This never happens when i am running on IE. Also my application > > > connects to sqlserver2005, is tht wht is causing this problem? > > > --~--~-~--~~~---~--~~ 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: Hosted mode hanging 4 out of 10times
Hi Ian, I did try to cut out the call tired to find it out, but i was not successful in getting the answer whats causing the problem Sorry for my ignorance but i did not knew anything about the issue tracker. I would look at issue tracker first and if i am not able to get solution to that problem ill paste my code here. On Aug 27, 5:29 pm, Ian Bambury wrote: > Hi Rahul, > Why don't you cut out the call and find out? > > :-) > > It's very hard to answer questions like this when there is no code to look > at. > > There are no blindingly desperate problems with GWT that I know of that do > this. Since the server side is not anything to do with GWT, then that is > very probably not a GWT problem (although connecting to the server might > be). > > In this kind of situation, I'd say that the first stop is the issue tracker. > Pretty much everything major has been picked up and even when there is a new > release, the chances are that someone else will find it before you do > (unless you are the most up-to-date, active and comprehensive user of GWT > out of the 20,000 of us here - I'm not, so I check the issue tracker). > > Coming up with a simple example to demonstrate your problem is the next > step. If you take a copy of your problem project and cut it down step by > step will a) mean you end up with a good, reproducible example of the > problem. But if your experience is anything like mine, you'll cut out one > bit which can't possibly cause the problem and discover that the problem > goes away. And then you have a Peter Glaze 'Doh!' moment (don't worry if you > didn't get that 'Peter Glaze' reference reference, I'd be surprised if > anyone does). Anyway, you might well look at a bit of code that you hadn't > considered before. > > If you *do* get it down to a 10-50-line example, then you definitely have a > problem, but then it is one that we can all reproduce and play about with. > > So ... I don't have an answer for you, but if you can come up with a demo of > it, I'll have a look. > > There used to be a problem like this where clicking on the screen allowed > the app to continue (something to do with multiple css files if I remember > correctly) but I'm sure that was fixed in about 1.3. > > Just my 2p worth. > > Ian > > http://examples.roughian.com > > 2009/8/27 Rahul > > > > > Hi, > > This is been happening a lot lately with me. > > Whenever i am running the hosted mode, the hosted mode just hangs 4 > > out of 10 times. At the left end of window, it shows that "Connecting > > to site 127.0.0.1" > > and if i just close it and start it again the application works or it > > just says the same message again as above. After a few tries it starts > > working. > > This never happens when i am running on IE. Also my application > > connects to sqlserver2005, is tht wht is causing this problem? --~--~-~--~~~---~--~~ 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: Hosted mode hanging 4 out of 10times
Hi Rahul, Why don't you cut out the call and find out? :-) It's very hard to answer questions like this when there is no code to look at. There are no blindingly desperate problems with GWT that I know of that do this. Since the server side is not anything to do with GWT, then that is very probably not a GWT problem (although connecting to the server might be). In this kind of situation, I'd say that the first stop is the issue tracker. Pretty much everything major has been picked up and even when there is a new release, the chances are that someone else will find it before you do (unless you are the most up-to-date, active and comprehensive user of GWT out of the 20,000 of us here - I'm not, so I check the issue tracker). Coming up with a simple example to demonstrate your problem is the next step. If you take a copy of your problem project and cut it down step by step will a) mean you end up with a good, reproducible example of the problem. But if your experience is anything like mine, you'll cut out one bit which can't possibly cause the problem and discover that the problem goes away. And then you have a Peter Glaze 'Doh!' moment (don't worry if you didn't get that 'Peter Glaze' reference reference, I'd be surprised if anyone does). Anyway, you might well look at a bit of code that you hadn't considered before. If you *do* get it down to a 10-50-line example, then you definitely have a problem, but then it is one that we can all reproduce and play about with. So ... I don't have an answer for you, but if you can come up with a demo of it, I'll have a look. There used to be a problem like this where clicking on the screen allowed the app to continue (something to do with multiple css files if I remember correctly) but I'm sure that was fixed in about 1.3. Just my 2p worth. Ian http://examples.roughian.com 2009/8/27 Rahul > > Hi, > This is been happening a lot lately with me. > Whenever i am running the hosted mode, the hosted mode just hangs 4 > out of 10 times. At the left end of window, it shows that "Connecting > to site 127.0.0.1" > and if i just close it and start it again the application works or it > just says the same message again as above. After a few tries it starts > working. > This never happens when i am running on IE. Also my application > connects to sqlserver2005, is tht wht is causing this problem? > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Hosted mode hanging 4 out of 10times
Hi, This is been happening a lot lately with me. Whenever i am running the hosted mode, the hosted mode just hangs 4 out of 10 times. At the left end of window, it shows that "Connecting to site 127.0.0.1" and if i just close it and start it again the application works or it just says the same message again as above. After a few tries it starts working. This never happens when i am running on IE. Also my application connects to sqlserver2005, is tht wht is causing this problem? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---