It's strange, that this method hangs or freeze for this method.
I used commons-net 2.2v, don't know if it already solved at 3v. But, i have found that my problem was:
Executing this method before closing the input stream.
Switching them, first closing the input stream and then running completePendingCommand() solved the issue.
+
There are some cases where this method isn't really necessary, beware.
Hoped it helped,
Dor
Sep 18, 2011
Sep 12, 2011
quartz cron expression
Lately i looked over the web for cron expression maker or validations, thought to my self that if it doesn't exists already, i will write something. That will help us all.
So , i have found it, it is here http://www.cronmaker.com/
Nice 1,
Dor
Aug 23, 2011
the project does not have any gwt sdks on its build path
Strange when this occurs although everything is configured well, build path as well as maven pom.xml file.
The solution i have found here is working.
Bye,
Dor
The solution i have found here is working.
Bye,
Dor
Group not found: launchGroup
Happened to me in eclipse, unable to compile my project although it's not the issue.
I have found that in the work space directory there is a file named ".lock" in which eclipse creates.
After exiting Eclipse -> Deleting this file -> Entering again to eclipse -> Trying to compile the project succeeded.
See ya,
Dor
I have found that in the work space directory there is a file named ".lock" in which eclipse creates.
After exiting Eclipse -> Deleting this file -> Entering again to eclipse -> Trying to compile the project succeeded.
See ya,
Dor
Aug 7, 2011
unable to find valid certification path to requested target
Hi,
The issue: You are probably missing the certificate for the specific site you work with.
Solution: You need to add export the certificate for the site mentioned above, After exporting it, add it to the cacerts file of java (default file) which located usually here : "c:\Program Files\Java\jdk1.6.0_23\jre\lib\security".
(the default java password for this file is 'changeit').
* If you need the export procedure, tell me, it's simple i can guide you.
In the code, add this lines :
System.setProperty("javax.net.ssl.trustStore", "path_to_cacerts_file/cacerts"); // for example c:\cert\cacerts
System.setProperty("javax.net.ssl.trustStorePassword", "changeit"); //unless you change it
You can also create your own certificate storage file and direct java to it instead.
Helpful link to keytool can be found here.
The issue: You are probably missing the certificate for the specific site you work with.
Solution: You need to add export the certificate for the site mentioned above, After exporting it, add it to the cacerts file of java (default file) which located usually here : "c:\Program Files\Java\jdk1.6.0_23\jre\lib\security".
(the default java password for this file is 'changeit').
* If you need the export procedure, tell me, it's simple i can guide you.
In the code, add this lines :
System.setProperty("javax.net.ssl.trustStore", "path_to_cacerts_file/cacerts"); // for example c:\cert\cacerts
System.setProperty("javax.net.ssl.trustStorePassword", "changeit"); //unless you change it
You can also create your own certificate storage file and direct java to it instead.
Helpful link to keytool can be found here.
Jul 4, 2011
gwt plugin for eclipse indigo
Can be found here http://dl.google.com/eclipse/plugin/3.7
Jul 3, 2011
zip file from unix
Today i had a very strange experience, i am sharing this with you to save you time.
I got a zip file, big one with many directories.
When i have tried to open it with windows default zip extractor i got 3 directories, although actual there were 10 directories.
When i have opened it using the free 7zip it worked, all the 10 directories extracted.
As far as i know this is Microsoft bug. Who know's, but actually 7zip solved me the problem.
Dor
I got a zip file, big one with many directories.
When i have tried to open it with windows default zip extractor i got 3 directories, although actual there were 10 directories.
When i have opened it using the free 7zip it worked, all the 10 directories extracted.
As far as i know this is Microsoft bug. Who know's, but actually 7zip solved me the problem.
Dor
Subscribe to:
Posts (Atom)