Monday, September 29, 2014

Not able to launch sqldeveloper



You have installed sqldeveloper to connect to a remote oracle database or a local database on your system but  you are not able to launch it .

You are getting any error similar as below .

Java software is installed.
Can not find java
JVM argument is not correct etc. etc.


Then you can edit the following file and correct the path of JAVA HOME


D:\app\User\product\11.1.0\db_1\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf


Below is the line that needs to be added at the top of sqldeveloper.conf

SetJavaHome D:\app\User\product\11.1.0\db_1\jdk


Thats it , your problem is fixed.

Sunday, September 28, 2014

The system is unable to generate synchronization request

ADMS0005E: The system is unable to generate synchronization request: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the getRepositoryEpoch operation on ConfigRepository MBean because of insufficient or empty credentials.

The problem may come only when Global Security is enabled .

In Administrative console:
SSL certificate and key management -> Key set groups ->Select Key set group name ->

Check that whether the box for "Automatically generate keys" is unchecked . It is unchecked by default.

Go back,
In  the Key set groups -> select key set Group name and hit Generate Keys button.

Click OK and Save to save the changes to the master configuration.

Stop the Nodes

Manually synchronize the node by running syncNode.sh

As security is enabled , you will be running the below command

syncNode.sh -username -password

Stop the Dmgr and start dmgr , nodes , servers.