Re: closing port

2010-04-24 Thread Mahmoud Abou-Nassif
If you're using eclipse you can terminate the execution by clicking on the
red square in the console window and the development console window.

On Mon, Mar 29, 2010 at 11:41 AM, Rajeev Dayal rda...@google.com wrote:

 Are you using the Google Plugin for Eclipse?

 When you say that the project did not terminate normally, what exactly
 happened? Did you kill the GWT Java process?


 On Fri, Mar 26, 2010 at 1:28 PM, imgnik ytbr...@gmail.com wrote:

 if my gwt project did not terminate properly, the localhost port will
 still be occupied.

 how do i close that manually? it is giving me error saying port is in
 use.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: GWT MVP architecture redirect link page with URL parameters passing

2010-04-24 Thread Mahmoud
That's parameter passing within the web application, what about the
first part of my question? the most important one to me

On Apr 24, 7:46 am, Paul Stockley pstockl...@gmail.com wrote:
 Use something like History.newItem(page3?param1=aparam2=b);

 This will rewrite the currentURLand store it in the browsers
 history. The onChange history event will then be fired.

 On Apr 23, 11:38 pm, Mahmoud mahmoud.abounas...@gmail.com wrote:





  Hello,
  I have followed the MVP structure while developing my project.
  Once I hit the siteURL, the History Manager loads the module by
  inserting the default token to the history stack and then from there
  the user can redirect himself to any part of the application by
  changing the History token, which is basically the bit that comes
  after the pound symbol (#) in theURL

  My problem is: I'm unable to redirect a user to a specific token
  without having to go through the default token and from there to
  anywhere I want.

  In other words, the URLs history usual follows 
  this:http://domain#defaultToken
  and from there I can go tohttp://domain#page1orhttp://domain#page2
  without any problem.

  But if i want to go directly tohttp://domain#page1iwill be
  redirected to the default token which ishttp://domain#defaultToken...
  mainly due to this snippet of code:

                  this.container = container;

                  if (.equals(History.getToken())) {
                          History.newItem(defaultToken);
                  } else {
                          History.fireCurrentHistoryState();
                  }

  So my question is: Is it possible to redirect a user to any part of
  the application without having to start from the defaultToken page?
  And can we pass in parameters using theURLonly (i.e: how can the
  user hit the following link without 
  errors?:http://domain#page3?param1=aparam2=b)
  ? How those it work?

  To concertize the problem, I'm trying to implement an activation
  link that if once the user clicks on it he will activate his account
  given the userID and a encrypted code 
  (i.e:http://domain#activate?userID=12code=ht2oj34j2k5j6pk3
  )

  Any advice will do,
  Cheers,
  Mahmoud

  --
  You received this message because you are subscribed to the Google Groups 
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, 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.

 --
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, 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.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, 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.



GWT MVP architecture redirect link page with URL parameters passing

2010-04-23 Thread Mahmoud
Hello,
I have followed the MVP structure while developing my project.
Once I hit the site URL, the History Manager loads the module by
inserting the default token to the history stack and then from there
the user can redirect himself to any part of the application by
changing the History token, which is basically the bit that comes
after the pound symbol (#) in the URL

My problem is: I'm unable to redirect a user to a specific token
without having to go through the default token and from there to
anywhere I want.

In other words, the URLs history usual follows this: http://domain#defaultToken
and from there I can go to http://domain#page1 or http://domain#page2
without any problem.

But if i want to go directly to http://domain#page1 i will be
redirected to the default token which is http://domain#defaultToken...
mainly due to this snippet of code:

this.container = container;

if (.equals(History.getToken())) {
History.newItem(defaultToken);
} else {
History.fireCurrentHistoryState();
}

So my question is: Is it possible to redirect a user to any part of
the application without having to start from the defaultToken page?
And can we pass in parameters using the URL only (i.e: how can the
user hit the following link without errors?: 
http://domain#page3?param1=aparam2=b)
? How those it work?

To concertize the problem, I'm trying to implement an activation
link that if once the user clicks on it he will activate his account
given the userID and a encrypted code (i.e: 
http://domain#activate?userID=12code=ht2oj34j2k5j6pk3
)

Any advice will do,
Cheers,
Mahmoud

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, 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.



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

2010-02-16 Thread Mahmoud
Hello,

I'm currently trying to create my own implementation of the secured
login design presented in the following link:

http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ

Everything seems to work just fine concerning the RPC and UI, however
once the user tries to insert data in mysql while the application is
run on developing / debugging mode, I get the following error:


com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
Communications link failure

The last packet sent successfully to the server was 0 milliseconds
ago. The driver has not received any packets from the server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
   ...
   ...

And the cause is:

Caused by: java.security.AccessControlException: access denied
(java.net.SocketPermission localhost resolve)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:
323)
  ...
  ...

I searched the web for any useful information but it led to nowhere,
however all I got was an assumption of the problem being related to
the Jetty default GWT server which is blocking my request for security
reasons. I tried configuring it but the lack of information on where
Jetty's file are located and on how to configure them, prevented me to
progress any further.

So, if someone might have the solution, please share it on this
thread.
Any help will do,

Thank you so much!

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, 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: GWT 2.0.2 : Failed to Connect 127.0.0.1:8888 development mode

2010-02-16 Thread Mahmoud Abou-Nassif
I got the exact same problem with my server! Are you getting a security
permission exception as well?
Do you know where the jetty files are located on the system? Maybe you can
grant permission by configuring the server?

On Tue, Feb 16, 2010 at 6:14 AM, Thomas thomas.lacr...@jouy.inra.fr wrote:

 Switching to localhost didn't do the trick for, thanks for the tip
 anyway.
 I think I should fiddle with my hosted mode execution script or set up
 my own server instead of Jetty, when I will have the time...

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: GWT 2.0.2 : Failed to Connect 127.0.0.1:8888 development mode

2010-02-16 Thread Mahmoud Abou-Nassif
This might help:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/cd39774877d1e320/8924f3f46c95b939?hl=enpli=1

On Tue, Feb 16, 2010 at 9:52 AM, Mahmoud Abou-Nassif 
mahmoud.abounas...@gmail.com wrote:

 I got the exact same problem with my server! Are you getting a security
 permission exception as well?
 Do you know where the jetty files are located on the system? Maybe you can
 grant permission by configuring the server?


 On Tue, Feb 16, 2010 at 6:14 AM, Thomas thomas.lacr...@jouy.inra.frwrote:

 Switching to localhost didn't do the trick for, thanks for the tip
 anyway.
 I think I should fiddle with my hosted mode execution script or set up
 my own server instead of Jetty, when I will have the time...

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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: Is GWT supported by Google anymore?

2010-02-16 Thread Mahmoud Abou-Nassif
Relax: http://www.youtube.com/watch?v=UN0MpBQG3-E

On Tue, Feb 16, 2010 at 12:16 PM, Chris Ramsdale cramsd...@google.comwrote:

 GWT is by no means at the end of its life. If anything we feel that
 the 2.0 release was a new beginning, and we look forward to adding
 even more features this year (checkout the design docs here:
 http://code.google.com/p/google-web-toolkit/w/list).

 Regarding the issue tracker, I'm not sure what your link was supposed
 to show (other than there are 4622 issues within the issue tracker
 itself). There are a fair amount of open/new issues, and right now
 we're experimenting with some internal syncing processes that will
 make the entire triage effort more efficient. As a first step, you'll
 notice (as of a few days ago) automated status updates that are being
 sourced from our internal bug tracking system. There will be more to
 come, and we'll keep everyone updated throughout.

 -- Chris

 On Feb 15, 4:10 pm, DenNukem alt...@gmail.com wrote:
  I see that overwhelming majority of reported bugs do not get looked
  at:
 
  http://code.google.com/p/google-web-toolkit/issues/list?can=1q=sort...
 
  Is GWT at end of life?

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.