jDeveloper 12c Creating IntegratedWebLogicServer Domain Error on Windows 10 - weblogic

I am using jDeveloper 12c and jdk 1.8.0_101 on the Windows 10 machine.
I am getting the following error when creating an IntegratedWebLogicServer Domain,
Adding environment variable to WLST script USER_MEM_ARGS = -Xms32m -Xmx1024m -XX:MaxPermSize=384m
Log File: C:\Oracle\Middleware-122120\jdeveloper\home\system12.2.1.2.42.170105.1224\o.j2ee.adrs\BuildDefaultDomain.log
Label: JDEVADF_12.2.1.2.0-NS_GENERIC_170105.1224.S
Product Home: C:\Oracle\Middleware-122120\Oracle_Home\jdeveloper\jdev\
Domain: C:\Oracle\Middleware-122120\jdeveloper\home\system12.2.1.2.42.170105.1224\DefaultDomain
BuildDefaultDomain1.py 2017-08-06 14:28:12
cmd.exe /c ""C:\Oracle\Middleware-122120\Oracle_Home\oracle_common\common\bin\wlst.cmd" "C:\Oracle\Middleware-122120\jdeveloper\home\system12.2.1.2.42.170105.1224\o.j2ee.adrs\BuildDefaultDomain1.py""
Process started
wlst >
wlst > Initializing WebLogic Scripting Tool (WLST) ...
wlst >
wlst > Welcome to WebLogic Server Administration Scripting Shell
wlst >
wlst > Type help() for help on available commands
wlst >
wlst > Creating Default Domain
wlst > [progress] Reading template: Basic WebLogic Server Domain
wlst > Setting Name to 'DefaultServer'
wlst > Setting ListenAddress to ''
wlst > Setting ListenPort to 7101
wlst > Enabling SSL using port 7102
wlst > Setting domain administrator to 'weblogic2'
wlst > Setting domain password.
wlst > [progress] Writing domain: /C:/Oracle/Middleware-122120/jdeveloper/home/system12.2.1.2.42.170105.1224/DefaultDomain/
wlst > [progress] Closing template.
wlst > [progress] Reading domain: /C:/Oracle/Middleware-122120/jdeveloper/home/system12.2.1.2.42.170105.1224/DefaultDomain/
wlst > [progress] Adding domain extension template: Oracle ADRS
wlst > [progress] Updating domain.
wlst > [progress] Closing domain.
wlst > [progress] Reading domain: /C:/Oracle/Middleware-122120/jdeveloper/home/system12.2.1.2.42.170105.1224/DefaultDomain/
wlst > [progress] Adding domain extension template: Oracle JRF
wlst > [progress] Updating domain.
wlst > Error: runCmd() failed. Do dumpStack() to see details.
wlst > com.oracle.cie.domain.script.jython.WLSTException: Error updating domain:
wlst > 64254: Error occurred in "OPSS Processing" phase execution
wlst > 64254: Encountered error: SecurityContext:
wlst > Domain Name: DefaultDomain
wlst > Persistence Type: FILE
wlst > Platform: WLS
wlst > Scratch Dir: scratch
wlst > Reconfig Domain: false
wlst > Shared Secret Store: null
wlst > Extension: true
wlst > DisableManagementOperations: false
wlst > 64254: Check log for more detail.
wlst >
wlst > at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:69)
wlst > at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:2768)
wlst > at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:701)
wlst > at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
wlst > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
wlst > at java.lang.reflect.Method.invoke(Method.java:498)
wlst > at org.python.core.PyReflectedFunction.__call__(Unknown Source)
wlst > at org.python.core.PyMethod.__call__(Unknown Source)
wlst > at org.python.core.PyObject.__call__(Unknown Source)
wlst > at org.python.core.PyInstance.invoke(Unknown Source)
wlst > at org.python.pycode._pyx5.command$1(C:\Users\Selim\AppData\Local\Temp\WLSTOfflineIni2797536256303688956.py:19)
wlst > at org.python.pycode._pyx5.call_function(C:\Users\Selim\AppData\Local\Temp\WLSTOfflineIni2797536256303688956.py)
wlst > at org.python.core.PyTableCode.call(Unknown Source)
wlst > at org.python.core.PyTableCode.call(Unknown Source)
wlst > at org.python.core.PyTableCode.call(Unknown Source)
wlst > at org.python.core.PyFunction.__call__(Unknown Source)
wlst > at org.python.pycode._pyx5.updateDomain$31(C:\Users\Selim\AppData\Local\Temp\WLSTOfflineIni2797536256303688956.py:135)
wlst > at org.python.pycode._pyx5.call_function(C:\Users\Selim\AppData\Local\Temp\WLSTOfflineIni2797536256303688956.py)
wlst > at org.python.core.PyTableCode.call(Unknown Source)
wlst > at org.python.core.PyTableCode.call(Unknown Source)
wlst > at org.python.core.PyFunction.__call__(Unknown Source)
wlst > at org.python.pycode._pyx99.f$0(C:\Oracle\Middleware-122120\jdeveloper\home\system12.2.1.2.42.170105.1224\o.j2ee.adrs\BuildDefaultDomain1.py:125)
wlst > at org.python.pycode._pyx99.call_function(C:\Oracle\Middleware-122120\jdeveloper\home\system12.2.1.2.42.170105.1224\o.j2ee.adrs\BuildDefaultDomain1.py)
wlst > at org.python.core.PyTableCode.call(Unknown Source)
wlst > at org.python.core.PyCode.call(Unknown Source)
wlst > at org.python.core.Py.runCode(Unknown Source)
wlst > at org.python.util.PythonInterpreter.execfile(Unknown Source)
wlst > at weblogic.management.scripting.WLST.main(WLST.java:181)
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
wlst > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
wlst > at java.lang.reflect.Method.invoke(Method.java:498)
wlst > at weblogic.WLST.main(WLST.java:47)
wlst > Caused by: com.oracle.cie.domain.script.ScriptException: Error updating domain:
wlst > 64254: Error occurred in "OPSS Processing" phase execution
wlst > 64254: Encountered error: SecurityContext:
wlst > Domain Name: DefaultDomain
wlst > Persistence Type: FILE
wlst > Platform: WLS
wlst > Scratch Dir: scratch
wlst > Reconfig Domain: false
wlst > Shared Secret Store: null
wlst > Extension: true
wlst > DisableManagementOperations: false
wlst > 64254: Check log for more detail.
wlst >
wlst > at com.oracle.cie.domain.script.jython.WLSTState.processCommand(WLSTState.java:241)
wlst > at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:695)
wlst > ... 30 more
wlst > Caused by: com.oracle.cie.domain.script.jython.WLSTException: Error updating domain:
wlst > 64254: Error occurred in "OPSS Processing" phase execution
wlst > 64254: Encountered error: SecurityContext:
wlst > Domain Name: DefaultDomain
wlst > Persistence Type: FILE
wlst > Platform: WLS
wlst > Scratch Dir: scratch
wlst > Reconfig Domain: false
wlst > Shared Secret Store: null
wlst > Extension: true
wlst > DisableManagementOperations: false
wlst > 64254: Check log for more detail.
wlst >
wlst > at com.oracle.cie.domain.script.jython.WLScriptContext.updateDomain(WLScriptContext.java:1116)
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
wlst > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
wlst > at java.lang.reflect.Method.invoke(Method.java:498)
wlst > at com.oracle.cie.domain.script.jython.WLSTState.processCommand(WLSTState.java:224)
wlst > ... 31 more
wlst > Caused by: com.oracle.cie.domain.script.ScriptException: 64254: Error occurred in "OPSS Processing" phase execution
wlst > 64254: Encountered error: SecurityContext:
wlst > Domain Name: DefaultDomain
wlst > Persistence Type: FILE
wlst > Platform: WLS
wlst > Scratch Dir: scratch
wlst > Reconfig Domain: false
wlst > Shared Secret Store: null
wlst > Extension: true
wlst > DisableManagementOperations: false
wlst > 64254: Check log for more detail.
wlst >
wlst > at com.oracle.cie.domain.script.ScriptExecutor.runProgressOperator(ScriptExecutor.java:5564)
wlst > at com.oracle.cie.domain.script.ScriptExecutor.updateDomain(ScriptExecutor.java:2509)
wlst > at com.oracle.cie.domain.script.jython.WLScriptContext.updateDomain(WLScriptContext.java:1111)
wlst > ... 36 more
wlst > Problem invoking WLST - Traceback (innermost last):
wlst > File "C:\Oracle\Middleware-122120\jdeveloper\home\system12.2.1.2.42.170105.1224\o.j2ee.adrs\BuildDefaultDomain1.py", line 125, in ?
wlst > File "C:\Users\Selim\AppData\Local\Temp\WLSTOfflineIni2797536256303688956.py", line 135, in updateDomain
wlst > File "C:\Users\Selim\AppData\Local\Temp\WLSTOfflineIni2797536256303688956.py", line 19, in command
wlst > 64254: Error occurred in "OPSS Processing" phase execution
wlst > 64254: Encountered error: SecurityContext:
wlst > Domain Name: DefaultDomain
wlst > Persistence Type: FILE
wlst > Platform: WLS
wlst > Scratch Dir: scratch
wlst > Reconfig Domain: false
wlst > Shared Secret Store: null
wlst > Extension: true
wlst > DisableManagementOperations: false
wlst > 64254: Check log for more detail.
wlst >
wlst >
wlst > at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:69)
wlst >
wlst > at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:2768)
wlst >
wlst > at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:701)
wlst >
wlst > at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
wlst >
wlst > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
wlst >
wlst > at java.lang.reflect.Method.invoke(Method.java:498)
wlst >
wlst >
wlst > com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: Error updating domain:
wlst > 64254: Error occurred in "OPSS Processing" phase execution
wlst > 64254: Encountered error: SecurityContext:
wlst > Domain Name: DefaultDomain
wlst > Persistence Type: FILE
wlst > Platform: WLS
wlst > Scratch Dir: scratch
wlst > Reconfig Domain: false
wlst > Shared Secret Store: null
wlst > Extension: true
wlst > DisableManagementOperations: false
wlst > 64254: Check log for more detail.
wlst >
wlst >
wlst > Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0
Elapsed time: 92861 ms
I installed version 12c without uninstalling JDeveloper 11g,
Weblogic is running in 11g version.
Some sources say that I need to unzip the jython-modules.jar file and edit the javashell.py file.
http://unversioned.blogspot.com.tr/2015/12/jdeveloper-12c-generic-installer-cannot-create-weblogic-domain.html
But I can not do the related arrangement because I do not have the relevant lines.

Related

Creating Portable Weblogic Scripting Tool

I want to create WLST to do scripting in my server because I don't have the access to the wlst.sh. I used the WLST to execute a script that deploy a war file. When I execute it with:
java -cp $(echo lib/*.jar | tr ' ' ':') -Dprod.props.file=lib/props.txt -Dbea.home= -Dweblogic.home=/drives/app/wlst weblogic.WLST /drives/app/wlst/deploy.py
I can deploy my war file (the script is working), but it shows error before and after it execute the script.
This question is similiar too this, but since the question is already answered and seems outdated (I use Weblogic 12.2.1.3.0) I ask this question.
The module I included are:
├── lib
│ ├── com.bea.core.xml.xmlbeans_1.0.0.0_2-6-0-12.1.3-0-0.jar
│ ├── com.oracle.cie.comdev_7.8.2.0.jar
│ ├── com.oracle.cie.config_8.6.0.0.jar
│ ├── com.oracle.cie.config-owsm_8.6.0.0.jar
│ ├── com.oracle.cie.config-security_8.6.0.0.jar
│ ├── com.oracle.cie.config-wls_8.6.0.0.jar
│ ├── com.oracle.cie.config-wls-schema_8.6.0.0.jar
│ ├── com.oracle.cie.dependency_1.8.2.0.jar
│ ├── com.oracle.cie.encryption_2.6.0.0.jar
│ ├── com.oracle.cie.service-table_1.6.0.0.jar
│ ├── com.oracle.cie.wizard_7.8.2.0.jar
│ ├── com.oracle.core.weblogic.msgcat-12.2.1-3-0.jar
│ ├── com.oracle.glcm.encryption_2.7.2.0.jar
│ └── jython-modules.jar
│ └── weblogic.jar
│ └── wlfullclient.jar
This is the error I get it execute my script:
java.lang.ClassNotFoundException: com.oracle.cie.gdr.external.InventoryFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.oracle.cie.common.ReflectionHelper.process(ReflectionHelper.java:43)
at com.oracle.cie.domain.env.EnvironmentServiceImpl.init(EnvironmentServiceImpl.java:384)
at com.oracle.cie.domain.env.EnvironmentServiceImpl.<init>(EnvironmentServiceImpl.java:89)
at com.oracle.cie.domain.env.EnvironmentServiceImpl.getInstance(EnvironmentServiceImpl.java:364)
at com.oracle.cie.domain.env.EnvironmentServiceFactory.getEnvironmentService(EnvironmentServiceFactory.java:35)
at com.oracle.cie.domain.env.EnvironmentServiceFactory.getEnvironmentService(EnvironmentServiceFactory.java:72)
at com.oracle.cie.domain.script.jython.WLScriptContext.init(WLScriptContext.java:303)
at com.oracle.cie.domain.script.jython.WLScriptContext.setup(WLScriptContext.java:270)
at com.oracle.cie.domain.script.jython.WLST_offline.setupContext(WLST_offline.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at weblogic.management.scripting.utils.WLSTUtil.initOfflineContext(WLSTUtil.java:514)
at weblogic.management.scripting.utils.WLSTUtil.setupOfflineInternal(WLSTUtil.java:488)
at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:361)
at weblogic.management.scripting.utils.WLSTUtilWrapper.setupOffline(WLSTUtilWrapper.java:29)
at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:250)
at weblogic.management.scripting.WLST.main(WLST.java:134)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at weblogic.WLST.main(WLST.java:47)
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at weblogic.management.scripting.utils.WLSTUtil.initOfflineContext(WLSTUtil.java:514)
at weblogic.management.scripting.utils.WLSTUtil.setupOfflineInternal(WLSTUtil.java:488)
at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:361)
at weblogic.management.scripting.utils.WLSTUtilWrapper.setupOffline(WLSTUtilWrapper.java:29)
at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:250)
at weblogic.management.scripting.WLST.main(WLST.java:134)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at weblogic.WLST.main(WLST.java:47)
Caused by: java.lang.IllegalStateException: com.oracle.cie.domain.env.EnvironmentServiceException: Failed to get inventory for /drives
at com.oracle.cie.domain.script.jython.WLScriptContext.init(WLScriptContext.java:353)
at com.oracle.cie.domain.script.jython.WLScriptContext.setup(WLScriptContext.java:270)
at com.oracle.cie.domain.script.jython.WLST_offline.setupContext(WLST_offline.java:46)
... 15 more
Caused by: com.oracle.cie.domain.env.EnvironmentServiceException: Failed to get inventory for /drives
at com.oracle.cie.domain.env.EnvironmentServiceImpl.init(EnvironmentServiceImpl.java:425)
at com.oracle.cie.domain.env.EnvironmentServiceImpl.<init>(EnvironmentServiceImpl.java:89)
at com.oracle.cie.domain.env.EnvironmentServiceImpl.getInstance(EnvironmentServiceImpl.java:364)
at com.oracle.cie.domain.env.EnvironmentServiceFactory.getEnvironmentService(EnvironmentServiceFactory.java:35)
at com.oracle.cie.domain.env.EnvironmentServiceFactory.getEnvironmentService(EnvironmentServiceFactory.java:72)
at com.oracle.cie.domain.script.jython.WLScriptContext.init(WLScriptContext.java:303)
... 17 more
Caused by: java.lang.ClassNotFoundException: com.oracle.cie.gdr.external.InventoryFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.oracle.cie.common.ReflectionHelper.process(ReflectionHelper.java:43)
at com.oracle.cie.domain.env.EnvironmentServiceImpl.init(EnvironmentServiceImpl.java:384)
... 22 more
Error execing the Python script "/drives/app/wlst/lib/wlfullclient.jar!/wlstScriptDir/jrf_mt_provisioning_cli.py" caused an error "Traceback (innermost last):
File "/drives/app/wlst/lib/wlfullclient.jar!/wlstScriptDir/jrf_mt_provisioning_cli.py", line 19, in ?
ImportError: no module named lifecycle
"
Error execing the Python script "/drives/app/wlst/lib/wlfullclient.jar!/wlstScriptDir/coh_persistence.py" caused an error "Traceback (innermost last):
File "/drives/app/wlst/lib/wlfullclient.jar!/wlstScriptDir/coh_persistence.py", line 14, in ?
ImportError: no module named datagrid
"
And this is the error I get after it execute my script:
SEVERE: Failed to get inventory for /drives
java.lang.ClassNotFoundException: com.oracle.cie.gdr.external.InventoryFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.oracle.cie.common.ReflectionHelper.process(ReflectionHelper.java:43)
at com.oracle.cie.domain.env.EnvironmentServiceImpl.init(EnvironmentServiceImpl.java:384)
at com.oracle.cie.domain.env.EnvironmentServiceImpl.<init>(EnvironmentServiceImpl.java:89)
at com.oracle.cie.domain.env.EnvironmentServiceImpl.getInstance(EnvironmentServiceImpl.java:364)
at com.oracle.cie.domain.env.EnvironmentServiceFactory.getEnvironmentService(EnvironmentServiceFactory.java:35)
at com.oracle.cie.domain.env.EnvironmentServiceFactory.getEnvironmentService(EnvironmentServiceFactory.java:72)
at com.oracle.cie.domain.script.jython.WLScriptContext.init(WLScriptContext.java:303)
at com.oracle.cie.domain.script.jython.WLScriptContext.setup(WLScriptContext.java:270)
at com.oracle.cie.domain.script.jython.WLST_offline.setupContext(WLST_offline.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at weblogic.management.scripting.utils.WLSTUtil.initOfflineContext(WLSTUtil.java:514)
at weblogic.management.scripting.utils.WLSTUtil.setupOfflineInternal(WLSTUtil.java:488)
at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:361)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at org.python.pycode._pyx24.disconnect$2(<iostream>:140)
at org.python.pycode._pyx24.call_function(<iostream>)
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._pyx23.f$0(/drives/app/wlst/deploy.py:25)
at org.python.pycode._pyx23.call_function(/drives/app/wlst/deploy.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Py.java:1226)
at org.python.util.PythonInterpreter.execfile(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:186)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at weblogic.WLST.main(WLST.java:47)
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at weblogic.management.scripting.utils.WLSTUtil.initOfflineContext(WLSTUtil.java:514)
at weblogic.management.scripting.utils.WLSTUtil.setupOfflineInternal(WLSTUtil.java:488)
at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:361)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at org.python.pycode._pyx24.disconnect$2(<iostream>:140)
at org.python.pycode._pyx24.call_function(<iostream>)
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._pyx23.f$0(/drives/app/wlst/deploy.py:25)
at org.python.pycode._pyx23.call_function(/drives/app/wlst/deploy.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Py.java:1226)
at org.python.util.PythonInterpreter.execfile(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:186)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at weblogic.WLST.main(WLST.java:47)
Caused by: java.lang.IllegalStateException: com.oracle.cie.domain.env.EnvironmentServiceException: Failed to get inventory for /drives
at com.oracle.cie.domain.script.jython.WLScriptContext.init(WLScriptContext.java:353)
at com.oracle.cie.domain.script.jython.WLScriptContext.setup(WLScriptContext.java:270)
at com.oracle.cie.domain.script.jython.WLST_offline.setupContext(WLST_offline.java:46)
... 33 more
Caused by: com.oracle.cie.domain.env.EnvironmentServiceException: Failed to get inventory for /drives
at com.oracle.cie.domain.env.EnvironmentServiceImpl.init(EnvironmentServiceImpl.java:425)
at com.oracle.cie.domain.env.EnvironmentServiceImpl.<init>(EnvironmentServiceImpl.java:89)
at com.oracle.cie.domain.env.EnvironmentServiceImpl.getInstance(EnvironmentServiceImpl.java:364)
at com.oracle.cie.domain.env.EnvironmentServiceFactory.getEnvironmentService(EnvironmentServiceFactory.java:35)
at com.oracle.cie.domain.env.EnvironmentServiceFactory.getEnvironmentService(EnvironmentServiceFactory.java:72)
at com.oracle.cie.domain.script.jython.WLScriptContext.init(WLScriptContext.java:303)
... 35 more
Caused by: java.lang.ClassNotFoundException: com.oracle.cie.gdr.external.InventoryFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.oracle.cie.common.ReflectionHelper.process(ReflectionHelper.java:43)
at com.oracle.cie.domain.env.EnvironmentServiceImpl.init(EnvironmentServiceImpl.java:384)
... 40 more
My other reference is this thread.
My question is, is it possible to solve this error? I know that the error didn't impact my script, but it would be nice to remove this error. I was thinking maybe I miss some module to include, but I can't figure out what's the module I'm looking for.
When you do lock and edit it creates a nonexclusive lock to the domain and same can be achieved with command line as below:
Generate a client jar from weblogic using below:
Change directories to the server/lib directory.
cd WL_HOME/server/lib
Use the following command to create wlfullclient.jar in the server/lib directory:
java -jar ../../modules/com.bea.core.jarbuilder_X.X.X.X.jar
where X.X.X.X is the version number of the jarbuilder module in the WL_HOME/server/lib directory.
For example:
java -jar ../../../modules/com.bea.core.jarbuilder_1.0.1.0.jar
You can now copy and bundle the wlfullclient.jar with client applications. Add the wlfullclient.jar to the client application’s classpath.
once this is done use the below command to automate the deployment:
export CLASSPATH='location where your client jar resides'
java -cp $CLASSPATH weblogic.Deployer -adminurl ADMIN_URL:PORT -username weblogic -password weblogic1! -deploy app.war -name appname -targets AdminServer -debug - usenonexclusivelock

Hive can't load file to table because it can't find it in hive warehouse

I can't load data to hive table and the logs show this problem
The file that I want to load:
> [hdfs#vmi200937 root]$ hdfs dfs -ls /suppression-files Found 1 items
> -rw-rw-rw- 3 hdfs hdfs 694218562 2018-12-21 05:06 /suppression-files/md5.txt
Hive directory:
> [hdfs#vmi200937 root]$ hdfs dfs -ls
> /apps/hive/warehouse/suppression.db Found 1 items drwxrwxrwx - hive
> hadoop 0 2018-12-21 06:30
> /apps/hive/warehouse/suppression.db/md5supp
Here is the Hive Query:
> hive (suppression)> LOAD DATA INPATH '/suppression-files/md5.txt' INTO
> TABLE md5supp;
Logs:
Loading data to table suppression.md5supp Failed with exception
java.io.FileNotFoundException: Directory/File does not exist
/apps/hive/warehouse/suppression.db/md5supp/md5.txt at
org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkOwner(FSDirectory.java:1901)
at
org.apache.hadoop.hdfs.server.namenode.FSDirAttrOp.setOwner(FSDirAttrOp.java:82)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setOwner(FSNamesystem.java:1877)
at
org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.setOwner(NameNodeRpcServer.java:828)
at
org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.setOwner(ClientNamenodeProtocolServerSideTranslatorPB.java:476)
at
org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
at
org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:640)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:982) at
org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2351) at
org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2347) at
java.security.AccessController.doPrivileged(Native Method) at
javax.security.auth.Subject.doAs(Subject.java:422) at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1869)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2347)
FAILED: Execution Error, return code 40000 from
org.apache.hadoop.hive.ql.exec.MoveTask.
java.io.FileNotFoundException: Directory/File does not exist
/apps/hive/warehouse/suppression.db/md5supp/md5.txt at
org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkOwner(FSDirectory.java:1901)
at
org.apache.hadoop.hdfs.server.namenode.FSDirAttrOp.setOwner(FSDirAttrOp.java:82)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setOwner(FSNamesystem.java:1877)
at
org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.setOwner(NameNodeRpcServer.java:828)
at
org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.setOwner(ClientNamenodeProtocolServerSideTranslatorPB.java:476)
at
org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
at
org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:640)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:982) at
org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2351) at
org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2347) at
java.security.AccessController.doPrivileged(Native Method) at
javax.security.auth.Subject.doAs(Subject.java:422) at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1869)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2347)
I found the solution !
I should just set the owner of the directory /suppression-file to hive:hdfs
by hdfs dfs chown -R hive:hdfs /suppression-file

JDeveloper Server Instance Domain is Invalid

I am trying to start a server instance for the first time with JDeveloper and keep getting this error. I can't figure out how to fix it. When I run it, JDeveloper says that my domain is invalid. It regenerates and tries again, but then I get "The Server Instance cannot be started because the IntegratedWebLogicServer Domain was not built successfully." Please help >_<
The following is the error log.
Adding environment variable to WLST script USER_MEM_ARGS = -Xms32m -Xmx1024m -XX:MaxPermSize=384m
Log File: C:\Users\tyton337\AppData\Roaming\JDeveloper\system12.2.1.3.42.170820.0914\o.j2ee.adrs\BuildDefaultDomain.log
Label: JDEVADF_12.2.1.PATCHSETS_GENERIC_170820.0914.S
Product Home: C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\
Domain: C:\Users\tyton337\AppData\Roaming\JDeveloper\system12.2.1.3.42.170820.0914\DefaultDomain
BuildDefaultDomain1.py 2018-06-03 20:42:55
cmd.exe /c ""C:\Oracle\Middleware\Oracle_Home\oracle_common\common\bin\wlst.cmd" "C:\Users\tyton337\AppData\Roaming\JDeveloper\system12.2.1.3.42.170820.0914\o.j2ee.adrs\BuildDefaultDomain1.py""
Process started
wlst > The system cannot find the file C:\Oracle\Middleware\Oracle_Home\oui\bin\..\.globalEnv.properties.
wlst > ERROR: Unable to locate property "JAVA_HOME" in properties file C:\Oracle\Middleware\Oracle_Home\oui\bin\..\.globalEnv.properties
wlst >
wlst > Initializing WebLogic Scripting Tool (WLST) ...
wlst >
wlst > Jun 03, 2018 8:42:58 PM com.oracle.cie.domain.env.EnvironmentServiceImpl init
wlst > SEVERE: Failed to get inventory for C:\Oracle\Middleware\Oracle_Home
wlst > java.lang.reflect.InvocationTargetException
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
wlst > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
wlst > at java.lang.reflect.Method.invoke(Method.java:498)
wlst > at com.oracle.cie.common.ReflectionHelper.process(ReflectionHelper.java:48)
wlst > at com.oracle.cie.domain.env.EnvironmentServiceImpl.init(EnvironmentServiceImpl.java:384)
wlst > at com.oracle.cie.domain.env.EnvironmentServiceImpl.<init>(EnvironmentServiceImpl.java:89)
wlst > at com.oracle.cie.domain.env.EnvironmentServiceImpl.getInstance(EnvironmentServiceImpl.java:364)
wlst > at com.oracle.cie.domain.env.EnvironmentServiceFactory.getEnvironmentService(EnvironmentServiceFactory.java:35)
wlst > at com.oracle.cie.domain.env.EnvironmentServiceFactory.getEnvironmentService(EnvironmentServiceFactory.java:72)
wlst > at com.oracle.cie.domain.script.jython.WLScriptContext.init(WLScriptContext.java:303)
wlst > at com.oracle.cie.domain.script.jython.WLScriptContext.setup(WLScriptContext.java:270)
wlst > at com.oracle.cie.domain.script.jython.WLST_offline.setupContext(WLST_offline.java:46)
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
wlst > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
wlst > at java.lang.reflect.Method.invoke(Method.java:498)
wlst > at weblogic.management.scripting.utils.WLSTUtil.initOfflineContext(WLSTUtil.java:514)
wlst > at weblogic.management.scripting.utils.WLSTUtil.setupOfflineInternal(WLSTUtil.java:488)
wlst > at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:361)
wlst > at weblogic.management.scripting.utils.WLSTUtilWrapper.setupOffline(WLSTUtilWrapper.java:29)
wlst > at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:250)
wlst > at weblogic.management.scripting.WLST.main(WLST.java:134)
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
wlst > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
wlst > at java.lang.reflect.Method.invoke(Method.java:498)
wlst > at weblogic.WLST.main(WLST.java:47)
wlst > Caused by: com.oracle.cie.gdr.external.InventoryException: com.oracle.cie.common.dao.DataHandlerException: javax.xml.bind.UnmarshalException
wlst > - with linked exception:
wlst > [java.io.FileNotFoundException: C:\Oracle\Middleware\Oracle_Home\inventory\distributions\JDeveloper_Integrated_Server_Suite_12.2.1.3.0.xml (Access is denied)]
wlst > at com.oracle.cie.gdr.external.impl.OracleHomeInventoryImpl.<init>(OracleHomeInventoryImpl.java:55)
wlst > at com.oracle.cie.gdr.external.impl.OracleHomeInventoryFactory.createInventory(OracleHomeInventoryFactory.java:60)
wlst > at com.oracle.cie.gdr.external.InventoryFactory.getOracleHomeInventory(InventoryFactory.java:99)
wlst > ... 28 more
wlst > Caused by: com.oracle.cie.common.dao.DataHandlerException: javax.xml.bind.UnmarshalException
wlst > - with linked exception:
wlst > [java.io.FileNotFoundException: C:\Oracle\Middleware\Oracle_Home\inventory\distributions\JDeveloper_Integrated_Server_Suite_12.2.1.3.0.xml (Access is denied)]
wlst > at com.oracle.cie.common.dao.jaxb.JaxbDataHandlerSpiImpl.create(JaxbDataHandlerSpiImpl.java:127)
wlst > at com.oracle.cie.gdr.helpers.DaoHelper.parse(DaoHelper.java:173)
wlst > at com.oracle.cie.gdr.helpers.DaoHelper.getRootWrapper(DaoHelper.java:401)
wlst > at com.oracle.cie.gdr.helpers.DistributionHelper.getDistribution(DistributionHelper.java:307)
wlst > at com.oracle.cie.gdr.helpers.DistributionHelper.getDistribution(DistributionHelper.java:290)
wlst > at com.oracle.cie.gdr.helpers.DistributionHelper.getDistribution(DistributionHelper.java:254)
wlst > at com.oracle.cie.gdr.DistributionLoader.<init>(DistributionLoader.java:89)
wlst > at com.oracle.cie.gdr.DistributionLoaderFactory.getDistributionLoader(DistributionLoaderFactory.java:45)
wlst > at com.oracle.cie.gdr.Home.loadInstalledDistributions(Home.java:1622)
wlst > at com.oracle.cie.gdr.Home.loadInstalledMetaData(Home.java:1209)
wlst > at com.oracle.cie.gdr.Home.loadHomeMetaData(Home.java:1190)
wlst > at com.oracle.cie.gdr.Home.refresh(Home.java:1131)
wlst > at com.oracle.cie.gdr.Home.setHome(Home.java:320)
wlst > at com.oracle.cie.gdr.Home.<init>(Home.java:288)
wlst > at com.oracle.cie.gdr.Home.getHome(Home.java:224)
wlst > at com.oracle.cie.gdr.Home.getHome(Home.java:187)
wlst > at com.oracle.cie.gdr.external.impl.OracleHomeInventoryImpl.<init>(OracleHomeInventoryImpl.java:50)
wlst > ... 30 more
wlst > Caused by: javax.xml.bind.UnmarshalException
wlst > - with linked exception:
wlst > [java.io.FileNotFoundException: C:\Oracle\Middleware\Oracle_Home\inventory\distributions\JDeveloper_Integrated_Server_Suite_12.2.1.3.0.xml (Access is denied)]
wlst > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:261)
wlst > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:229)
wlst > at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
wlst > at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:162)
wlst > at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:171)
wlst > at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:189)
wlst > at com.oracle.cie.common.dao.jaxb.JaxbDataHandlerSpiImpl.create(JaxbDataHandlerSpiImpl.java:118)
wlst > ... 46 more
wlst > Caused by: java.io.FileNotFoundException: C:\Oracle\Middleware\Oracle_Home\inventory\distributions\JDeveloper_Integrated_Server_Suite_12.2.1.3.0.xml (Access is denied)
wlst > at java.io.FileInputStream.open0(Native Method)
wlst > at java.io.FileInputStream.open(FileInputStream.java:195)
wlst > at java.io.FileInputStream.<init>(FileInputStream.java:138)
wlst > at java.io.FileInputStream.<init>(FileInputStream.java:93)
wlst > at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
wlst > at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
wlst > at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:623)
wlst > at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:148)
wlst > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:805)
wlst > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
wlst > at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
wlst > at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
wlst > at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
wlst > at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
wlst > at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:171)
wlst > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:258)
wlst > ... 52 more
wlst >
wlst > java.lang.reflect.InvocationTargetException
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
wlst > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
wlst > at java.lang.reflect.Method.invoke(Method.java:498)
wlst > at weblogic.management.scripting.utils.WLSTUtil.initOfflineContext(WLSTUtil.java:514)
wlst > at weblogic.management.scripting.utils.WLSTUtil.setupOfflineInternal(WLSTUtil.java:488)
wlst > at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:361)
wlst > at weblogic.management.scripting.utils.WLSTUtilWrapper.setupOffline(WLSTUtilWrapper.java:29)
wlst > at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:250)
wlst > at weblogic.management.scripting.WLST.main(WLST.java:134)
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
wlst > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
wlst > at java.lang.reflect.Method.invoke(Method.java:498)
wlst > at weblogic.WLST.main(WLST.java:47)
wlst > Caused by: java.lang.IllegalStateException: com.oracle.cie.domain.env.EnvironmentServiceException: Failed to get inventory for C:\Oracle\Middleware\Oracle_Home
wlst > at com.oracle.cie.domain.script.jython.WLScriptContext.init(WLScriptContext.java:353)
wlst > at com.oracle.cie.domain.script.jython.WLScriptContext.setup(WLScriptContext.java:270)
wlst > at com.oracle.cie.domain.script.jython.WLST_offline.setupContext(WLST_offline.java:46)
wlst > ... 15 more
wlst > Caused by: com.oracle.cie.domain.env.EnvironmentServiceException: Failed to get inventory for C:\Oracle\Middleware\Oracle_Home
wlst > at com.oracle.cie.domain.env.EnvironmentServiceImpl.init(EnvironmentServiceImpl.java:425)
wlst > at com.oracle.cie.domain.env.EnvironmentServiceImpl.<init>(EnvironmentServiceImpl.java:89)
wlst > at com.oracle.cie.domain.env.EnvironmentServiceImpl.getInstance(EnvironmentServiceImpl.java:364)
wlst > at com.oracle.cie.domain.env.EnvironmentServiceFactory.getEnvironmentService(EnvironmentServiceFactory.java:35)
wlst > at com.oracle.cie.domain.env.EnvironmentServiceFactory.getEnvironmentService(EnvironmentServiceFactory.java:72)
wlst > at com.oracle.cie.domain.script.jython.WLScriptContext.init(WLScriptContext.java:303)
wlst > ... 17 more
wlst > Caused by: java.lang.reflect.InvocationTargetException
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
wlst > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
wlst > at java.lang.reflect.Method.invoke(Method.java:498)
wlst > at com.oracle.cie.common.ReflectionHelper.process(ReflectionHelper.java:48)
wlst > at com.oracle.cie.domain.env.EnvironmentServiceImpl.init(EnvironmentServiceImpl.java:384)
wlst > ... 22 more
wlst > Caused by: com.oracle.cie.gdr.external.InventoryException: com.oracle.cie.common.dao.DataHandlerException: javax.xml.bind.UnmarshalException
wlst > - with linked exception:
wlst > [java.io.FileNotFoundException: C:\Oracle\Middleware\Oracle_Home\inventory\distributions\JDeveloper_Integrated_Server_Suite_12.2.1.3.0.xml (Access is denied)]
wlst > at com.oracle.cie.gdr.external.impl.OracleHomeInventoryImpl.<init>(OracleHomeInventoryImpl.java:55)
wlst > at com.oracle.cie.gdr.external.impl.OracleHomeInventoryFactory.createInventory(OracleHomeInventoryFactory.java:60)
wlst > at com.oracle.cie.gdr.external.InventoryFactory.getOracleHomeInventory(InventoryFactory.java:99)
wlst > ... 28 more
wlst > Caused by: com.oracle.cie.common.dao.DataHandlerException: javax.xml.bind.UnmarshalException
wlst > - with linked exception:
wlst > [java.io.FileNotFoundException: C:\Oracle\Middleware\Oracle_Home\inventory\distributions\JDeveloper_Integrated_Server_Suite_12.2.1.3.0.xml (Access is denied)]
wlst > at com.oracle.cie.common.dao.jaxb.JaxbDataHandlerSpiImpl.create(JaxbDataHandlerSpiImpl.java:127)
wlst > at com.oracle.cie.gdr.helpers.DaoHelper.parse(DaoHelper.java:173)
wlst > at com.oracle.cie.gdr.helpers.DaoHelper.getRootWrapper(DaoHelper.java:401)
wlst > at com.oracle.cie.gdr.helpers.DistributionHelper.getDistribution(DistributionHelper.java:307)
wlst > at com.oracle.cie.gdr.helpers.DistributionHelper.getDistribution(DistributionHelper.java:290)
wlst > at com.oracle.cie.gdr.helpers.DistributionHelper.getDistribution(DistributionHelper.java:254)
wlst > at com.oracle.cie.gdr.DistributionLoader.<init>(DistributionLoader.java:89)
wlst > at com.oracle.cie.gdr.DistributionLoaderFactory.getDistributionLoader(DistributionLoaderFactory.java:45)
wlst > at com.oracle.cie.gdr.Home.loadInstalledDistributions(Home.java:1622)
wlst > at com.oracle.cie.gdr.Home.loadInstalledMetaData(Home.java:1209)
wlst > at com.oracle.cie.gdr.Home.loadHomeMetaData(Home.java:1190)
wlst > at com.oracle.cie.gdr.Home.refresh(Home.java:1131)
wlst > at com.oracle.cie.gdr.Home.setHome(Home.java:320)
wlst > at com.oracle.cie.gdr.Home.<init>(Home.java:288)
wlst > at com.oracle.cie.gdr.Home.getHome(Home.java:224)
wlst > at com.oracle.cie.gdr.Home.getHome(Home.java:187)
wlst > at com.oracle.cie.gdr.external.impl.OracleHomeInventoryImpl.<init>(OracleHomeInventoryImpl.java:50)
wlst > ... 30 more
wlst > Caused by: javax.xml.bind.UnmarshalException
wlst > - with linked exception:
wlst > [java.io.FileNotFoundException: C:\Oracle\Middleware\Oracle_Home\inventory\distributions\JDeveloper_Integrated_Server_Suite_12.2.1.3.0.xml (Access is denied)]
wlst > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:261)
wlst > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:229)
wlst > at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
wlst > at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:162)
wlst > at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:171)
wlst > at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:189)
wlst > at com.oracle.cie.common.dao.jaxb.JaxbDataHandlerSpiImpl.create(JaxbDataHandlerSpiImpl.java:118)
wlst > ... 46 more
wlst > Caused by: java.io.FileNotFoundException: C:\Oracle\Middleware\Oracle_Home\inventory\distributions\JDeveloper_Integrated_Server_Suite_12.2.1.3.0.xml (Access is denied)
wlst > at java.io.FileInputStream.open0(Native Method)
wlst > at java.io.FileInputStream.open(FileInputStream.java:195)
wlst > at java.io.FileInputStream.<init>(FileInputStream.java:138)
wlst > at java.io.FileInputStream.<init>(FileInputStream.java:93)
wlst > at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
wlst > at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
wlst > at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:623)
wlst > at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:148)
wlst > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:805)
wlst > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
wlst > at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
wlst > at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
wlst > at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
wlst > at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
wlst > at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:171)
wlst > at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:258)
wlst > ... 52 more
wlst > Welcome to WebLogic Server Administration Scripting Shell
wlst >
wlst > Type help() for help on available commands
wlst >
wlst > Creating Default Domain
wlst > [progress] Reading template: Basic WebLogic Server Domain
wlst > Problem invoking WLST - Traceback (innermost last):
wlst > File "C:\Users\tyton337\AppData\Roaming\JDeveloper\system12.2.1.3.42.170820.0914\o.j2ee.adrs\BuildDefaultDomain1.py", line 35, in ?
wlst > File "C:\Users\tyton337\AppData\Local\Temp\WLSTOfflineIni5486373371019476072.py", line 53, in setTopologyProfile
wlst > File "C:\Users\tyton337\AppData\Local\Temp\WLSTOfflineIni5486373371019476072.py", line 19, in command
wlst > at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:721)
wlst >
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
wlst >
wlst > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
wlst >
wlst > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
wlst >
wlst > at java.lang.reflect.Method.invoke(Method.java:498)
wlst >
wlst >
wlst > java.lang.NullPointerException: java.lang.NullPointerException
wlst >
wlst > Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0
Elapsed time: 5377 ms
please make sure you have full permission to access globalEnv.properties and other file.
Run the Jdeveloper as an Admin
Running JDeveloper as administrator resolved the issue for me.

failed to create bar error in ibm command console

i am getting below error when trying to create a bar using this command
Command: D:\ApacheAnt\apache-ant-1.9.7-bin\apache-ant-1.9.7\bin\ant -f build.xml
Error: D:\Ant Build and Deployment Scripts\AntBuild\Scripts>D:\ApacheAnt\apache-ant-1.9.7-bin\apache-ant-1.9.7\bin\ant -f build.xml
Buildfile: D:\Ant Build and Deployment Scripts\AntBuild\Scripts\build.xml
runScript:
buildWorkspace:
[echo] The applications [MF_HTB_B1_HTTPSOAPINPUT] will be checkout from SVN
under the URL [https://punitp134088l.ad.infosys.com/svn/ESB_Rep/branches/ESB_Fr
ameWork/ESB_FRAMEWORK/CODE_BASE/HTTP%20Based%20Framework/MF_HTB_B1]
[mkdir] Created dir: D:\Ant Build and Deployment Scripts\AntBuild\BuildPacka
ge\tempWorkspace\MF_HTB_B1_HTTPSOAPINPUT
svnCheckout:
[echo] Checking-out MF_HTB_B1_HTTPSOAPINPUT from SVN
[svn] <Checkout> started ...
[svn] Command completed abnormally.
[svn] <Checkout> finished.
[echo] Checkout completed
buildBarfiles:
[echo] Compile and Create Bar files for [MF_HTB_B1_HTTPSOAPINPUT] applicati
ons
[mkdir] Created dir: D:\Ant Build and Deployment Scripts\AntBuild\BuildPacka
ge\BarFiles
[echo] D:\Ant Build and Deployment Scripts\AntBuild\Scripts
[echo] Compiling Application [MF_HTB_B1_HTTPSOAPINPUT] for any errors
[exec] Result: 1
[delete] Deleting: D:\Ant Build and Deployment Scripts\AntBuild\BuildPackage\
Logs\MF_HTB_B1_HTTPSOAPINPUT.log
[echo] Failed to create MF_HTB_B1_HTTPSOAPINPUT.bar, Please check ..\BuildP
ackage\Logs\BuildPackage.log for logs
applyBarOverride:
[echo] Executing [mqsiapplybaroverride] for Application [MF_HTB_B1_HTTPSOAP
INPUT]
BUILD FAILED
D:\Ant Build and Deployment Scripts\AntBuild\Scripts\build.xml:42: The following
error occurred while executing this line:
D:\Ant Build and Deployment Scripts\AntBuild\Scripts\build.xml:175: The followin
g error occurred while executing this line:
D:\Ant Build and Deployment Scripts\AntBuild\Scripts\build.xml:182: Execute fail
ed: java.io.IOException: Cannot run program "mqsiapplybaroverride" (in directory
"D:\Ant Build and Deployment Scripts\AntBuild\Scripts"): CreateProcess error=2,
The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1059)
at java.lang.Runtime.exec(Runtime.java:629)
at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Jav
a13CommandLauncher.java:58)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:426)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:440)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:629)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:670)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav
a:396)
at net.sf.antcontrib.logic.ForDelegate.doSequentialIteration(ForDelegate
.java:228)
at net.sf.antcontrib.logic.ForDelegate.doTheTasks(ForDelegate.java:253)
at net.sf.antcontrib.logic.ForDelegate.execute(ForDelegate.java:213)
at net.sf.antcontrib.logic.For.execute(For.java:166)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
CheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.Main.runBuild(Main.java:854)
at org.apache.tools.ant.Main.startAnt(Main.java:236)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:397)
at java.lang.ProcessImpl.start(ProcessImpl.java:148)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1040)
... 62 more
Total time: 10 seconds
i am running a command to execute ant script. Command: D:\ApacheAnt\apache-ant-1.9.7-bin\apache-ant-1.9.7\bin\ant -f build.xml this is for creating a bar file using apache ant s/w. Build.xml ant script is used to create a BuildPackage.zip file and include the bar files, deployment scripts and environment specific property files into it. but not able to create the bar. Getting above error.
Please assist.
Assuming you are trying to create a .jar file using ant script, try to use JDK as installed JRE in eclipse(if you have), and to set the JAVA-HOME variable to JDK path.

hadoop hive loading error

While loading files to hadoop via hive. I got following error:
Failed with exception org.apache.hadoop.hdfs.server.namenode.NotReplicatedYetException: Not replicated yet:/tmp/hive-hadoop/hive_2012-11-22_19-31-25_550_6464715632657097841/-ext-10000/outlog_11_oct12.csv
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:1257)
at org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:422)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:508)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:959)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:955)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:953)
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.CopyTask
And according to other threads, its datanode issue, but all of my datanodes are up and running.
I think the problem maybe lack of write permissions on /tmp directory.
Try hadoop dfs -chmod g+w /tmp ?