-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.0.X EE, 6.1.30 EE GA3, 6.2.0 CE M2
-
Component/s: Environments, Environments > App Servers
-
Labels:
-
Environment:Weblogic 10.3.6 and 12.1.1, Ubuntu Linux
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
-
Git Pull Request:
The deploy fails with a stack trace like so:
Buildfile: /home/rotty/workspace-2/portal-trunk-github/build-dist.xml unzip-weblogic: unzip-weblogic-original: [delete] Deleting directory /home/rotty/AS/liferay-portal/weblogic-10.3.6 [unzip] Expanding: /home/rotty/AS/liferay-portal/wls1036_dev.zip into /home/rotty/AS/liferay-portal/weblogic-10.3.6 [mkdir] Created dir: /home/rotty/workspace-2/portal-trunk-github/20121112224614961 [exec] ERROR: You must set MW_HOME and it must point to a directory. [exec] where an installation of WebLogic exists. Ensure you point [exec] ./configure.sh: 14: ./configure.sh: [[: not found [exec] ./configure.sh: 14: ./configure.sh: -d: not found [exec] this variable to the extract location of the zip distribution. [exec] Result: 1 [exec] [exec] Initializing WebLogic Scripting Tool (WLST) ... [exec] [exec] java.lang.reflect.InvocationTargetException [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:601) [exec] at weblogic.management.scripting.utils.WLSTUtil.initOfflineContext(WLSTUtil.java:291) [exec] at weblogic.management.scripting.utils.WLSTUtil.setupOfflineInternal(WLSTUtil.java:267) [exec] at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:234) [exec] at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:134) [exec] at weblogic.management.scripting.WLST.main(WLST.java:98) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:601) [exec] at weblogic.WLST.main(WLST.java:29) [exec] Caused by: java.lang.IllegalStateException: java.io.FileNotFoundException: /home/rotty/AS/liferay-portal/weblogic-10.3.6/wlserver/.product.properties (No such file or directory) [exec] at com.oracle.cie.domain.script.jython.WLScriptContext.init(WLScriptContext.java:239) [exec] at com.oracle.cie.domain.script.jython.WLScriptContext.setup(WLScriptContext.java:162) [exec] at com.oracle.cie.domain.script.jython.WLST_offline.setupContext(WLST_offline.java:105) [exec] ... 14 more [exec] Welcome to WebLogic Server Administration Scripting Shell [exec] [exec] Type help() for help on available commands [exec] [exec] Error: readTemplate() failed. Do dumpStack() to see details. [exec] Problem invoking WLST - Traceback (innermost last): [exec] File "/home/rotty/workspace-2/portal-trunk-github/20121112224614961/create-weblogic-domain.py", line 1, in ? [exec] File "/tmp/WLSTOfflineIni4201694726247115544.py", line 17, in readTemplate [exec] at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51) [exec] at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1538) [exec] at com.oracle.cie.domain.script.jython.WLScriptContext.readTemplate(WLScriptContext.java:340) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:601) [exec] [exec] com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: java.lang.NullPointerException [exec] [exec] Result: 1 BUILD FAILED /home/rotty/workspace-2/portal-trunk-github/build-dist.xml:1425: The following error occurred while executing this line: /home/rotty/workspace-2/portal-trunk-github/build-dist.xml:1618: Replace: source file /home/rotty/AS/liferay-portal/weblogic-10.3.6/domains/liferay/startWebLogic.sh doesn't exist Total time: 14 seconds