Posts mit dem Label write access werden angezeigt. Alle Posts anzeigen
Posts mit dem Label write access werden angezeigt. Alle Posts anzeigen

Montag, 26. November 2012

upgradeADF (ADF 11.1.2.3.0)

If you try to upgrade an ADF-Domain to ADF 11.1.2.3.0 you may encounter the following error:

wls:/offline> upgradeADF('/oracle/weblogic1/projects/domains/adfdomain0/')
Error: readDomain() failed. Do dumpStack() to see details.
com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: The domain directory must exist and contain config/config.xml
at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1538)
at com.oracle.cie.domain.script.jython.WLScriptContext.readDomain(WLScriptContext.java:396)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyMethod.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyInstance.invoke(Unknown Source)
at org.python.pycode._pyx3.readDomain$18(/tmp/WLSTOfflineIni130404370312075564.py:83)
at org.python.pycode._pyx3.call_function(/tmp/WLSTOfflineIni130404370312075564.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx22.upgradeADF$1(/oracle/wls2/mwh/oracle_common/common/wlst/adfWLSTCommands.py:24)
at org.python.pycode._pyx22.call_function(/oracle/wls2/mwh/oracle_common/common/wlst/adfWLSTCommands.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx49.f$0(<console>:1)
at org.python.pycode._pyx49.call_function(<console>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at org.python.core.Py.exec(Unknown Source)
at org.python.util.PythonInterpreter.exec(Unknown Source)
at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.WLST.main(WLST.java:29)
Caused by: com.oracle.cie.domain.script.ScriptException: The domain directory must exist and contain config/config.xml
at com.oracle.cie.domain.script.ScriptExecutor.readTemplate(ScriptExecutor.java:448)
at com.oracle.cie.domain.script.jython.WLScriptContext.readDomain(WLScriptContext.java:388)
... 35 more
 
This can be caused by specifying the wrong domain (or type in path), but also appears when not having write access to domain home.