Encrypted Alert message
HI, I am working on an application that is deployed on Tomcat 7.0 and when I make a RPC call from the client to the server after 1 minute the connection is reset, because of an Alert Encrypted message from the server. The alert message type is a 21, which means that the connection should be reset. I have read some articles that say this message is due to an encryption error and others say that it could just be part of the SSL./TLS handshake protocol. My question is does anyone know if this is part of the handshake process or not. The other question is does anyone know how I can make the RPC connection ignore this alert and continue to wait for the RPC process to end normally. Thank you in advance for any help you can provide, because this is driving me crazy and causing problems. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Encrypted Alert message
TLS defines the alert protocol and alert code 21 means "Decryption failed", see: http://en.wikipedia.org/wiki/Transport_Layer_Security#Alert_protocol Quoting wikipedia: *"This record should normally not be sent during normal handshaking or application exchanges. However, this message can be sent at any time during the handshake and up to the closure of the session. If this is used to signal a fatal error, the session will be closed immediately after sending this record, so this record is used to give a reason for this closure. If the alert level is flagged as a warning, the remote can decide to close the session if it decides that the session is not reliable enough for its needs (before doing so, the remote may also send its own signal)."* So it can happen at any time. I guess you have to check log files (maybe increase log level) and maybe its worth a try to check if other TLS alerts are send before code 21 occurs. Might gives you hints about whats going wrong. >From a GWT point of view you can not do anything about it. You can only create a new connection to the server but that does not solve your problem. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: CssResource inheritance and avoiding rule repetition on injection, possibility of an @Require?
Hi Jens, Yea, this is definitely a good point. Then any widget can inherit this minimal CssResource and define on its own how it will look like in enabled / disabled state (= you would not add enableddisabled.css to the various widgets @Source annotation although you extend HasEnabledDisabledStateCss). I think this really is the best practice use of @Shared and inheritance, and as Thomas pointed out it shouldn't be used as a CssResource directly but only as an actual style interface. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Encrypted Alert message
Thanks for your answer Jens, I am new to GWT so I don't know if my next question is doable or not. From logs I can see that the service is still running on the server after I get the alert message. So when I detect this error can I go back and restart another callback that will wait again for the original RPC to finish. If this is possible can you give me a high level idea on how it would be done. Thanks for your help. On Monday, February 24, 2014 10:24:46 AM UTC-7, Jens wrote: > > TLS defines the alert protocol and alert code 21 means "Decryption > failed", see: > http://en.wikipedia.org/wiki/Transport_Layer_Security#Alert_protocol > > Quoting wikipedia: > > > *"This record should normally not be sent during normal handshaking or > application exchanges. However, this message can be sent at any time during > the handshake and up to the closure of the session. If this is used to > signal a fatal error, the session will be closed immediately after sending > this record, so this record is used to give a reason for this closure. If > the alert level is flagged as a warning, the remote can decide to close the > session if it decides that the session is not reliable enough for its needs > (before doing so, the remote may also send its own signal)."* > > So it can happen at any time. I guess you have to check log files (maybe > increase log level) and maybe its worth a try to check if other TLS alerts > are send before code 21 occurs. Might gives you hints about whats going > wrong. > > From a GWT point of view you can not do anything about it. You can only > create a new connection to the server but that does not solve your problem. > > -- J. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Encrypted Alert message
On 02/24/2014 01:16 PM, Jeffrey Argo wrote: Thanks for your answer Jens, I am new to GWT so I don't know if my next question is doable or not. From logs I can see that the service is still running on the server after I get the alert message. So when I detect this error can I go back and restart another callback that will wait again for the original RPC to finish. If this is possible can you give me a high level idea on how it would be done. Thanks for your help. Just to jump into the middle here... are you proxying through Apache? If yes, you might need to increase timeout in the proxy settings. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Need to add HTML5 desktop to browser DnD support in GWT application
Hello. I didn't have yet the occasion to play with it and it's one year old, but GWT Uploader on http://www.moxiegroup.com/moxieapps/gwt-uploader/ seems to do the kind of things you require. Hope this helps Regards Nicolas Le 2014-02-21 17:04, dhoffer a écrit : I need to have a widget that accepts DnD files from the desktop, how can I do this in a GWT 2.5.1 application? See the link below for the JS code to do this. Does GWT already have a widget for this? If not how could I create my own? From the link below I understand it all starts with a div in the rendered HTML and then wires in support for DnD with the JS code shown in the link. So in my case I'm starting with a GWT layout and need to add this 'widget' to that existing layout. I've never created my own GWT widget before, would I start with an existing GWT widget and then add the JS via JSNI? If so, what would be the best starting widget to build on? http://www.htmlgoodies.com/html5/jav...id=TdDQb7R8c9d [1] -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit [2]. For more options, visit https://groups.google.com/groups/opt_out [3]. Links: -- [1] http://www.htmlgoodies.com/html5/javascript/drag-files-into-the-browser-from-the-desktop-HTML5.html#fbid=TdDQb7R8c9d [2] http://groups.google.com/group/google-web-toolkit [3] https://groups.google.com/groups/opt_out -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Encrypted Alert message
> > Thanks for your answer Jens, I am new to GWT so I don't know if my next > question is doable or not. From logs I can see that the service is still > running on the server after I get the alert message. So when I detect this > error can I go back and restart another callback that will wait again for > the original RPC to finish. If this is possible can you give me a high > level idea on how it would be done. Thanks for your help. > That will only work if your server processes your requests asynchronously and immediately hands out a taskId to the client on the first request. Then the client can regularly check if a given task (identified by a taskId) on a server is already done or not. BUT you should really fix your configuration error instead of changing your server implementation unless you want the above behavior anyways. If your problem always occurs after 1 minute then it is most likely that you hit some kind of a timeout that you can probably configure to your needs. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Composite widget that behaves as a single Editor
Hello. I'm not an Editor framework specialist, but from glancing at the code, I would say IsEditor> or LeafValueEditor, just like the DateBox itself does. Hope this helps Regards Nicolas Le 2014-02-22 01:30, Ervin Hoxha a écrit : I have a composite widget composed by 3 TextBoxes that acts as a "date mask" field, like:[DD]/[MM]/[YYY] (dont ask why I am doing this :), I dont like DateBox and I have to force the user to keep given format, so I wrote my own widget). Here is the java code: import com.google.gwt.core.client.GWT; import com.google.gwt.event.dom.client.KeyUpEvent; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.client.UiField; import com.google.gwt.uibinder.client.UiHandler; import com.google.gwt.user.client.ui.Composite;`enter code here` import com.google.gwt.user.client.ui.TextBox; import com.google.gwt.user.client.ui.Widget; public class DateMaskWidget extends Composite { private static DateMaskWidgetUiBinder uiBinder = GWT .create(DateMaskWidgetUiBinder.class); interface DateMaskWidgetUiBinder extends UiBinder { } @UiField TextBox daysTextbox; @UiField TextBox monthsTextbox; @UiField TextBox yearsTextbox; public DateMaskWidget() { initWidget(uiBinder.createAndBindUi(this)); daysTextbox.setMaxLength(2); monthsTextbox.setMaxLength(2); yearsTextbox.setMaxLength(4); } @UiHandler("daysTextbox") void onKeyUp(KeyUpEvent event) { //if 2 chars were entered focus the next box if(daysTextbox.getText().length()==daysTextbox.getMaxLength()) monthsTextbox.setFocus(true); } @UiHandler("monthsTextbox") void onKeyUp2(KeyUpEvent event) { //if 2 chars were entered focus the next box if(monthsTextbox.getText().length()==monthsTextbox.getMaxLength()) yearsTextbox.setFocus(true); } } Now I'd like this widget to behave as a single Editor (like a single TextBox), so i can set a value to it by passing a string like xx/xx/ . THE QUESTION IS: WHICH INTERFACE DO I NEED TO IMPLEMENT AND WHICH METHODS DO I NEED TO OVERRIDE TO ACHIVE THIS?? WHICH METHODS ARE USED IN THE EDITOR FRAMEWORK TO SET/GET THE VALUE OF AN EDITOR?? In the background, I will need to take the given string (probably passed in a method like setValue() ), split it in 3 parts, and assign each part to the right text box. And same thing for a getValue() method. Thanks for your help -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit [1]. For more options, visit https://groups.google.com/groups/opt_out [2]. Links: -- [1] http://groups.google.com/group/google-web-toolkit [2] https://groups.google.com/groups/opt_out -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Introducing GWT-Tour 0.1
Thank you for the excellent work. As i started implementing my first tutorial, i found that the green sprite png was missing and i have downloaded it from the github. However when i packaged the jar including the img file ,it still giving me the same warning. 404 - GET /img/sprite-green-0.3.png Can you please let me know where should i add img while creating the jar. folder structure, --com -eemi -gwt -tour client -*\*.java res *\*.js -img sprite-green-0.3.png Thanks, Bharath N My folder structure is as follows, On Saturday, 22 June 2013 03:52:57 UTC+5:30, Alain wrote: > > GWT-Tour is a small GWT library that can help you implement a nice tour of > your GWT/Web app. > So if you ever wanted to show your users how to use your application in an > interactive way this can be usefull. > GWT-Tour works with regular web app as well as with GWT Widgets. > > A demo can be seen here : http://eemi2010.github.io/gwt-tour/ > > Enjoy :) > > Alain > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Introducing GWT-Tour 0.1
Hi, Thank you :) Try adding the css and js in the res folder anaolog to here : https://github.com/eemi2010/gwt-tour/tree/master/src/main/resources/com/eemi/gwt/tour/res Also make sure that you .gwt.xml file then looks like : https://github.com/eemi2010/gwt-tour/blob/master/src/main/resources/com/eemi/gwt/tour/GwtTour.gwt.xml Cheers, Alain 2014-02-24 22:38 GMT+01:00 strut : > Thank you for the excellent work. > As i started implementing my first tutorial, i found that the green sprite > png was missing and i have downloaded it from the github. > > However when i packaged the jar including the img file ,it still giving me > the same warning. > 404 - GET /img/sprite-green-0.3.png > > Can you please let me know where should i add img while creating the jar. > > folder structure, > --com > -eemi > -gwt > -tour > client > -*\*.java > res >*\*.js > -img > sprite-green-0.3.png > Thanks, > Bharath N > > My folder structure is as follows, > > > On Saturday, 22 June 2013 03:52:57 UTC+5:30, Alain wrote: >> >> GWT-Tour is a small GWT library that can help you implement a nice tour >> of your GWT/Web app. >> So if you ever wanted to show your users how to use your application in >> an interactive way this can be usefull. >> GWT-Tour works with regular web app as well as with GWT Widgets. >> >> A demo can be seen here : http://eemi2010.github.io/gwt-tour/ >> >> Enjoy :) >> >> Alain >> > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at http://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Introducing GWT-Tour 0.1
Thanks ! Just figured out it was my image placing issue . Changed the background:transparent url(../img/sprite-green-0.3.png) to background:transparent url(/gwttour/img/sprite-green-0.3.png) in the css file and then it worked. On Tue, Feb 25, 2014 at 3:37 AM, Alain Ekambi wrote: > Hi, > > Thank you :) > > Try adding the css and js in the res folder anaolog to here : > https://github.com/eemi2010/gwt-tour/tree/master/src/main/resources/com/eemi/gwt/tour/res > > Also make sure that you .gwt.xml file then looks like : > https://github.com/eemi2010/gwt-tour/blob/master/src/main/resources/com/eemi/gwt/tour/GwtTour.gwt.xml > > Cheers, > > Alain > > > 2014-02-24 22:38 GMT+01:00 strut : > > Thank you for the excellent work. >> As i started implementing my first tutorial, i found that the green >> sprite png was missing and i have downloaded it from the github. >> >> However when i packaged the jar including the img file ,it still giving >> me the same warning. >> 404 - GET /img/sprite-green-0.3.png >> >> Can you please let me know where should i add img while creating the jar. >> >> folder structure, >> --com >> -eemi >> -gwt >> -tour >> client >> -*\*.java >> res >>*\*.js >> -img >> sprite-green-0.3.png >> Thanks, >> Bharath N >> >> My folder structure is as follows, >> >> >> On Saturday, 22 June 2013 03:52:57 UTC+5:30, Alain wrote: >>> >>> GWT-Tour is a small GWT library that can help you implement a nice tour >>> of your GWT/Web app. >>> So if you ever wanted to show your users how to use your application in >>> an interactive way this can be usefull. >>> GWT-Tour works with regular web app as well as with GWT Widgets. >>> >>> A demo can be seen here : http://eemi2010.github.io/gwt-tour/ >>> >>> Enjoy :) >>> >>> Alain >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to google-web-toolkit+unsubscr...@googlegroups.com. >> To post to this group, send email to google-web-toolkit@googlegroups.com. >> Visit this group at http://groups.google.com/group/google-web-toolkit. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at http://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Introducing GWT-Tour 0.1
Sweet. Glad it worked. Enjoy :) 2014-02-25 7:43 GMT+01:00 Bharath Kumar : > Thanks ! Just figured out it was my image placing issue . Changed > the background:transparent url(../img/sprite-green-0.3.png) > to background:transparent url(/gwttour/img/sprite-green-0.3.png) in the css > file and then it worked. > > > On Tue, Feb 25, 2014 at 3:37 AM, Alain Ekambi wrote: > >> Hi, >> >> Thank you :) >> >> Try adding the css and js in the res folder anaolog to here : >> https://github.com/eemi2010/gwt-tour/tree/master/src/main/resources/com/eemi/gwt/tour/res >> >> Also make sure that you .gwt.xml file then looks like : >> https://github.com/eemi2010/gwt-tour/blob/master/src/main/resources/com/eemi/gwt/tour/GwtTour.gwt.xml >> >> Cheers, >> >> Alain >> >> >> 2014-02-24 22:38 GMT+01:00 strut : >> >> Thank you for the excellent work. >>> As i started implementing my first tutorial, i found that the green >>> sprite png was missing and i have downloaded it from the github. >>> >>> However when i packaged the jar including the img file ,it still giving >>> me the same warning. >>> 404 - GET /img/sprite-green-0.3.png >>> >>> Can you please let me know where should i add img while creating the jar. >>> >>> folder structure, >>> --com >>> -eemi >>> -gwt >>> -tour >>> client >>> -*\*.java >>> res >>>*\*.js >>> -img >>> sprite-green-0.3.png >>> Thanks, >>> Bharath N >>> >>> My folder structure is as follows, >>> >>> >>> On Saturday, 22 June 2013 03:52:57 UTC+5:30, Alain wrote: GWT-Tour is a small GWT library that can help you implement a nice tour of your GWT/Web app. So if you ever wanted to show your users how to use your application in an interactive way this can be usefull. GWT-Tour works with regular web app as well as with GWT Widgets. A demo can be seen here : http://eemi2010.github.io/gwt-tour/ Enjoy :) Alain >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google Web Toolkit" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to google-web-toolkit+unsubscr...@googlegroups.com. >>> To post to this group, send email to google-web-toolkit@googlegroups.com >>> . >>> Visit this group at http://groups.google.com/group/google-web-toolkit. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to google-web-toolkit+unsubscr...@googlegroups.com. >> To post to this group, send email to google-web-toolkit@googlegroups.com. >> Visit this group at http://groups.google.com/group/google-web-toolkit. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at http://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.