If you want to deploy ADF Application developed using JDeveloper 11.1.2.x.x you should apply patches to the weblogic (10.3.6).
after applying patches to weblogic (10.3.6) you can deploy any ADF Application (11.1.1.x.x or 11.1.2.x.x).
I uploaded a documentations step by step to do that.
http://www.mediafire.com/view/sdugiufsc9wv79a/Apply_Patches_To_Weblogic.doc
You can download Patches from
http://www.mediafire.com/download/j17e214j0b4rnfr/WLPatchesFor2.3.rar
this patches suitable for applications developed using JDeveloper 11.1.2.3.0 or JDeveloper 11.1.2.4.0
after applying patches to weblogic (10.3.6) you can deploy any ADF Application (11.1.1.x.x or 11.1.2.x.x).
I uploaded a documentations step by step to do that.
http://www.mediafire.com/view/sdugiufsc9wv79a/Apply_Patches_To_Weblogic.doc
You can download Patches from
http://www.mediafire.com/download/j17e214j0b4rnfr/WLPatchesFor2.3.rar
this patches suitable for applications developed using JDeveloper 11.1.2.3.0 or JDeveloper 11.1.2.4.0
Dear Sameh,
ReplyDeleteAlways great contents from your blog.
I have completed the above tutorial successfully with Jdeveloper 11.1.2.3 , ADFR 11.1.1.6 and Weblogic 10.3.6
I faced a problem at the very last step, when I tried to upgrade my domain by using upgradeADF('my_Domain_Path') then I face the following problem. Please help .... Thanks.
wls:/offline>upgradeADF('C:\Oracle\Middleware1\user_projects\domains\base_domain_mepco');
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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(C:\Users\Administrator\AppData\Local\Temp\3\WLSTOfflineIni4171405763534758279.py:83)
at org.python.pycode._pyx3.call_function(C:\Users\Administrator\AppData\Local\Temp\3\WLSTOfflineIni4171405763534758279.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(C:\Oracle\MIDDLE~2\ORACLE~1\common\wlst\adfWLSTCommands.py:24)
at org.python.pycode._pyx22.call_function(C:\Oracle\MIDDLE~2\ORACLE~1\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._pyx62.f$0(:1)
at org.python.pycode._pyx62.call_function()
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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
wls:/offline>
Hi Nasir,
DeleteIn this case you can use Command Prompt (cmd) to upgrade the domain. Open cmd and write something like this (adjust the java and domain paths to your proper paths in the following command):
C:\java\bin\java -cp C:\oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar weblogic.Deployer -adminurl t3://serverIp:7001 -user weblogic -password weblogic1 -deploy -library C:\oracle\Middleware\wlserver_10.3\common\deployable-libraries\jsf-2.0.war
You can check this URL:
http://adfblogspot.blogspot.ie/2013_06_01_archive.html
Bundle of Thanks Dear Sameh Nassar, My problem is solved :) Stay blessed :)
ReplyDelete