Reset local OC4J in JDeveloper 10

If you get an error message trying to start JMS-Server in JDeveloper 10.1.3.5 like:

(SEVERE) Failed to set the internal configuration of the OC4J JMS Server with:
XMLJMSServerConfig[file:/C:/oc4j_path/j2ee/home/config/jms.xml]

  1. Firstly check whether the port (default 9127) is not used/locked by other app.
  2. Try deleting the contents in your local OC4J path:
    <JDEV_PATH>\jdev\system\oracle.j2ee.10.1.3.43.6\embedded-oc4j\persistence\
    or
    <JDEV_PATH>\j2ee\home\persistence\

    When OC4J will start again, it will reset the local configurations and let JMS-Server start as normal.

 

credit: forums.oracle.com