Hi,
Wondered if there is a solution for gwt permutation compile time, some way to speed it up, because 12 permutation compilation takes time, So there is one,
by adding the following option inside the compiler arguments:
"-localWorkers 2"
The "2" is the number of cores you got on the compiling computer and can be changed.
Hoped i helped,
Dor
Tuesday, March 9, 2010
Sunday, February 28, 2010
insert ampersand in oracle table
Hi,
This solution will work everywhere, no matter if you are using TOAD,sql plus, pl sql developer.
let's say we want to insert this "hello&world" inside a table that includes key's and values.
And our key, let's say is "title"
For example :
insert into table_name (keys,values) values ('title','hello'||chr(38)||'world');
That's the whole story.
Hoped i helped,
Dor
This solution will work everywhere, no matter if you are using TOAD,sql plus, pl sql developer.
let's say we want to insert this "hello&world" inside a table that includes key's and values.
And our key, let's say is "title"
For example :
insert into table_name (keys,values) values ('title','hello'||chr(38)||'world');
That's the whole story.
Hoped i helped,
Dor
Monday, February 15, 2010
Generate random passwords
Hi,
Here is a simple way with no effort to create random passwords like with the characters you want.
You will need this member:
private static final String charset = "aAbBcCdD$#eEf!=m2MnN3oOp4P8VwWx9XyY0zZ";
And this method:
public String getPasswordString(int length) {
Random randomSeed = new Random(System.currentTimeMillis());
StringBuilder result= new StringBuilder();
for (int i = 0; i < length; i++) {
int pos = randomSeed .nextInt(charset.length());
result.append(charset.charAt(pos));
}
return result.toString();
}
Of course there is another way by using the UUID object:
UUID.randomUUID().toString();
Or maybe using an external third party library.
Hoped i helped,
Dor
Here is a simple way with no effort to create random passwords like with the characters you want.
You will need this member:
private static final String charset = "aAbBcCdD$#eEf!=m2MnN3oOp4P8VwWx9XyY0zZ";
And this method:
public String getPasswordString(int length) {
Random randomSeed = new Random(System.currentTimeMillis());
StringBuilder result= new StringBuilder();
for (int i = 0; i < length; i++) {
int pos = randomSeed .nextInt(charset.length());
result.append(charset.charAt(pos));
}
return result.toString();
}
Of course there is another way by using the UUID object:
UUID.randomUUID().toString();
Or maybe using an external third party library.
Hoped i helped,
Dor
Thursday, February 11, 2010
WSVR0204I: Application: EAR Application build level: Unknown
Hi,
This is not and error and still everything will continue to run on websphere. Something went wrong with the EAR build or deploy to the Websphere application server.


Bye,
Dor
This is not and error and still everything will continue to run on websphere. Something went wrong with the EAR build or deploy to the Websphere application server.
Bye,
Dor
Labels:
Exceptions,
server,
was,
websphere
Wednesday, February 10, 2010
bad major version at offset=6
Hi,
Mainly happens or appears when you have a different java versions installed in your IDE / Server.
Try to be consist with the versions you are working with or compiling with or working in the server you have.
Bye,
Dor
Mainly happens or appears when you have a different java versions installed in your IDE / Server.
Try to be consist with the versions you are working with or compiling with or working in the server you have.
Bye,
Dor
Labels:
Exceptions,
server,
versions
Sunday, February 7, 2010
Uncaught exception: java.lang.OutOfMemoryError: PermGen space
Hi,
Cause:
Memory leak or imperfect memory management of one of your modules.
Solutions:
1) Restart what you have done all over, if it was a server for example. This may happen when one of your modules failed to be removed from memory.

2) Increasing your heap memory buy running with -Xmx512M
I recommend this books which relates to this issue:


Dor
Cause:
Memory leak or imperfect memory management of one of your modules.
Solutions:
1) Restart what you have done all over, if it was a server for example. This may happen when one of your modules failed to be removed from memory.
2) Increasing your heap memory buy running with -Xmx512M
I recommend this books which relates to this issue:
Dor
Labels:
Exceptions,
memory
Thursday, February 4, 2010
svn: Directory .svn containing working copy admin area is missing
Cause:
admin directory inside the .svn directory is missing.
Or you have deleted some of the inner directories inside above .svn directory or the directory it self.
Possible Solutions:
* Checkout your project again.
* Undo your delete process before.
Hoped i helped.
This book might be useful also


Dor
admin directory inside the .svn directory is missing.
Or you have deleted some of the inner directories inside above .svn directory or the directory it self.
Possible Solutions:
* Checkout your project again.
* Undo your delete process before.
Hoped i helped.
This book might be useful also
Dor
Labels:
Exceptions,
svn
Subscribe to:
Posts (Atom)