Since we’re running Windows 7 on our office laptops we’re having these error messages when starting JDeveloper 11.1.1.6. The error is:
</pre> oracle.adf.share.config.ADFConfigFactory:Sep 19, 2012 8:29:07 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig WARNING: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) ... Caused by: java.lang.RuntimeException: oracle.xml.parser.v2.XMLParseException: Start of root element expected. at oracle.adf.share.config.ADFConfigImpl.readConfig(ADFConfigImpl.java:247) at oracle.adf.share.config.ADFConfigImpl.<init>(ADFConfigImpl.java:150) ... 39 more Caused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected. at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:414) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:355) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:319) ... 40 more Sep 19, 2012 8:29:07 AM oracle.adfinternal.rc.config.AdfCatalogConfig constructor SEVERE: oracle.adf.rc.config.ConfigurationException: an ADFContext has not been registered for name [oracle.jdeveloper.rescat2.ResourcePalette]. Root Cause=[] [Root exception is java.lang.NullPointerException] at oracle.adfinternal.rc.config.AdfCatalogConfig.getConfiguration(AdfCatalogConfig.java:200) at oracle.adf.rc.core.RCInstance.createInstance(RCInstance.java:121) at oracle.adf.rc.config.ConfigHelper.createRCInstance(ConfigHelper.java:102) ... Caused by: java.lang.NullPointerException at oracle.adfinternal.rc.config.AdfCatalogConfig.getConfigurationInternal(AdfCatalogConfig.java:228) at oracle.adfinternal.rc.config.AdfCatalogConfig.getConfiguration(AdfCatalogConfig.java:181) ... 30 more oracle.adf.rc.config.ConfigurationException: an ADFContext has not been registered for name [oracle.jdeveloper.rescat2.ResourcePalette]. Root Cause=[] [Root exception is java.lang.NullPointerException] o.adfinternal.rc.config.AdfCatalogConfig.getConfiguration(AdfCatalogConfig.java:200) o.adf.rc.core.RCInstance.createInstance(RCInstance.java:121) o.adf.rc.config.ConfigHelper.createRCInstance(ConfigHelper.java:102) ... Caused by: java.lang.NullPointerException o.adfinternal.rc.config.AdfCatalogConfig.getConfigurationInternal(AdfCatalogConfig.java:228) o.adfinternal.rc.config.AdfCatalogConfig.getConfiguration(AdfCatalogConfig.java:181) o.adf.rc.core.RCInstance.createInstance(RCInstance.java:121) o.adf.rc.config.ConfigHelper.createRCInstance(ConfigHelper.java:102) ...
The problem seems to occur due to the fact JDeveloper can not access the default system dir location it did create during installation (the folder is there). The default location is: %userhome%\AppData\JDeveloper
You can fix this by setting your own JDEV_USER_DIR system variable:
References:
thomasheuring
23-10-2012 at 16:17
You could use a script:
and call it before you run Jdeveloper and call it i.e. startJdev.cmd:
set JDEV_USER_DIR=D:\Develop\jdev
set TMP=C:\Temp
set TEMP=C:\Temp
“D:\Oracle\Middleware\jdeveloper\jdev\bin\jdev.exe”
Note we add a specified temp
jvzoggel
23-10-2012 at 16:21
Hey Thomas, thanx for the example. regards Jan
Abhilash
12-08-2014 at 08:48
unable to run weblogic server need help
this is the error:
*** Using port 7101 ***
C:\Oracle\jdeveloper\home\system11.1.1.6.38.62.29\DefaultDomain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization…]
The system cannot find the path specified.
.
.
JAVA Memory arguments:
.
WLS Start Mode=Development
.
CLASSPATH=
.
PATH=C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Program Files\Microsoft HPC Pack 2012\Bin\;C:\Program Files (x86)\PC Connectivity Solution\;C:\PROGRAM FILES\DELL\DW WLAN CARD;;C:\PROGRAM FILES (X86)\INTEL\ICLS CLIENT\;C:\PROGRAM FILES\INTEL\ICLS CLIENT\;C:\Windows\SYSTEM32;C:\Windows;C:\Windows\SYSTEM32\WBEM;C:\Windows\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;C:\PROGRAM FILES\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\DAL;C:\PROGRAM FILES\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\IPT;C:\PROGRAM FILES (X86)\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\DAL;C:\PROGRAM FILES (X86)\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\IPT;;C:\PROGRAM FILES (X86)\INTEL\OPENCL SDK\2.0\BIN\X86;C:\PROGRAM FILES (X86)\INTEL\OPENCL SDK\2.0\BIN\X64;C:\PROGRAM FILES (X86)\WINDOWS LIVE\SHARED;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;;;C:\Anaconda;C:\Anaconda\Scripts;C:\Program Files\Java\jdk1.7.0_15\bin;%WL_HOME%\wlserver_10.3
.
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
***************************************************
starting weblogic with Java version:
The system cannot find the path specified.
Starting WLS with line:
\bin\java -Dweblogic.Name= -Djava.security.policy=\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true
The system cannot find the path specified.
Process exited.