How to Decrypt SqlDeveloper connections passwords

To recover password we need two files named connections.xml & product-preferences.xml .
Above files can be available in below locations

On Windows :
%APPDATA%\SQL Developer\system*\o.jdeveloper.db.connection*\connections.xml
%APPDATA%\SQL Developer\system*\o.sqldeveloper*\product-preferences.xml

On Linux :
user_home/.sqldeveloper/system/o.sqldeveloper/connections.xml
user_home/.sqldeveloper/system/o.sqldeveloper/product-preferences.xml

Continue reading

Advertisements

How to assign a Privileged Port to OHS

Problem :
Unable to assign port 80 & 443 to http & https respectively in OHS, which is running on Linux environment. Below error logged in OHS logs

[VirtualHost: main] (13)Permission denied: make_sock: could not bind to address [::]:443

Cause:
On a UNIX system the TCP/IP port numbers below 1024 are special in that only processes with root privileges are allowed to listen on those ports. Continue reading