Wednesday, November 28, 2012

oracle - password life time


SQL> connect system/***
ERROR:
ORA-28002: the password will expire within 7 days

???
----------
SQL> select profile from dba_users where username='SYSTEM';

PROFILE
------------------------------
DEFAULT

SQL> select resource_name, limit from dba_profiles where profile = 'DEFAULT';

RESOURCE_NAME                    LIMIT
-------------------------------- ----------------------------------------
...
PASSWORD_LIFE_TIME               180
...

16 rows selected.

SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;

Sunday, November 25, 2012

Dr Dobb's http://www.bullhornreach.com/sites/HireMinds/article/view/44691?referer=www.linkedin.com&shortlink=1490340

http://www.bullhornreach.com/sites/HireMinds/article/view/44691?referer=www.linkedin.com&shortlink=1490340

Friday, November 23, 2012

cloudflare

http://www.cloudflare.com/

Wednesday, November 14, 2012

JVM thread dump

creating a thread dump of JVM
when the application is running in the console:
Control + Break in the console

http://www.webnms.com/webnms/help/developer_guide/troubleshooting_tips/creating_threaddump.html

Tuesday, November 6, 2012

semaphores

to have a look later

http://javapapers.com/core-java/semaphores-using-java/

http://www.javacodegeeks.com/2011/09/java-concurrency-tutorial-semaphores.html

what I am going to use
is
java.util.concurrent.locks.Lock

with tryLock() and lock()