-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
None
Acceptance Criteria (Required on creation):
`EE-engine-IT-weblogic-12R2-managed-domain-postgresql-96` runs stable
Hints (Optional):
The stage fails with
[2021-05-11T12:56:31.454Z] [INFO] --- maven-antrun-plugin:1.8:run (wls-start-managed-servers) @ camunda-qa-weblogic-runtime --- [2021-05-11T12:56:31.454Z] [INFO] Executing tasks [2021-05-11T12:56:31.454Z] [2021-05-11T12:56:31.454Z] main: [2021-05-11T12:56:31.761Z] [exec] Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/home/work/workspace/e_cambpm-ee-main_pipeline-master@tmp/withMavene03a0423/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/home/work/workspace/e_cambpm-ee-main_pipeline-master@tmp/withMavene03a0423" [2021-05-11T12:56:31.761Z] [exec] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0 [2021-05-11T12:56:31.761Z] [exec] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 [2021-05-11T12:56:32.179Z] [exec] [2021-05-11T12:56:32.179Z] [exec] Initializing WebLogic Scripting Tool (WLST) ... [2021-05-11T12:56:32.179Z] [exec] [2021-05-11T12:56:34.994Z] [exec] Welcome to WebLogic Server Administration Scripting Shell [2021-05-11T12:56:34.994Z] [exec] [2021-05-11T12:56:34.994Z] [exec] Type help() for help on available commands [2021-05-11T12:56:34.994Z] [exec] [2021-05-11T12:56:35.264Z] [exec] ['src/main/resources/config/start-managed-servers.py', 'DOMAIN_NAME=cambpm', 'ADMIN_PORT=17001', 'ADMIN_USER=weblogic', 'ADMIN_PASS=weblogic1'] [2021-05-11T12:56:35.264Z] [exec] Unknown cmdline parameter: src/main/resources/config/start-managed-servers.py [2021-05-11T12:56:35.264Z] [exec] [2021-05-11T12:56:35.264Z] [exec] Settings: [2021-05-11T12:56:35.264Z] [exec] Current working dir: /home/work/workspace/e_cambpm-ee-main_pipeline-master/qa/weblogic-runtime [2021-05-11T12:56:35.264Z] [exec] Domain name: cambpm [2021-05-11T12:56:35.264Z] [exec] WLS install home: [2021-05-11T12:56:35.264Z] [exec] Base Domain home: [2021-05-11T12:56:35.264Z] [exec] Admin Port: 17001 [2021-05-11T12:56:35.264Z] [exec] Admin User: weblogic [2021-05-11T12:56:35.264Z] [exec] Admin Password: weblogic1 [2021-05-11T12:56:35.264Z] [exec] Database Type: postgres [2021-05-11T12:56:35.264Z] [exec] Database Driver: org.postgresql.Driver [2021-05-11T12:56:35.264Z] [exec] Database Host: localhost [2021-05-11T12:56:35.264Z] [exec] Database Port: 5432 [2021-05-11T12:56:35.264Z] [exec] Database Name: process-engine [2021-05-11T12:56:35.264Z] [exec] Database Username: camunda [2021-05-11T12:56:35.264Z] [exec] Database Password: camunda [2021-05-11T12:56:35.264Z] [exec] Database Url: jdbc:postgresql://localhost:5432/process-engine [2021-05-11T12:56:35.264Z] [exec] Deploy Target: managed_server_0 [2021-05-11T12:56:35.264Z] [exec] Deployment Name: camunda-bpm-platform-managed-servers-domain [2021-05-11T12:56:35.264Z] [exec] Deployment Artifact: None [2021-05-11T12:56:35.264Z] [exec] [2021-05-11T12:56:35.265Z] [exec] Connecting to Node Manager ... [2021-05-11T12:56:35.265Z] [exec] This Exception occurred at Tue May 11 14:56:35 CEST 2021. [2021-05-11T12:56:35.265Z] [exec] weblogic.nodemanager.NMConnectException: Connection refused (Connection refused). Could not connect to NodeManager. Check that it is running at localhost/127.0.0.1:5556. [2021-05-11T12:56:35.265Z] [exec] Error occurred while performing nmConnect : Cannot connect to Node Manager. : Connection refused (Connection refused). Could not connect to NodeManager. Check that it is running at localhost/127.0.0.1:5556. [2021-05-11T12:56:35.265Z] [exec] Use dumpStack() to view the full stacktrace : [2021-05-11T12:56:35.265Z] [exec] Launching NodeManager ... [2021-05-11T12:56:35.265Z] [exec] The NodeManagerHome /domains/cambpm/nodemanager/ from the startNodeManager() command is neither configured with a domain nor a valid nodemanager directory. Please note, if there is no NodeManagerHome parameter passed in to the startNodeManager() command, the NodeManagerHome is set to the current directory running WLST. Trying to start the Node Manager process using startNodeManager.sh|cmd script from the directory wlserver/server/bin. [2021-05-11T12:56:35.265Z] [exec] Running startNodeManager.sh from the directory /home/camunda/oracle/wlserver/server/bin [2021-05-11T12:56:35.265Z] [exec] NMProcess: NODEMGR_HOME is already set to /domains/cambpm/nodemanager/ [2021-05-11T12:56:35.265Z] [exec] NMProcess: [2021-05-11T12:56:35.265Z] [exec] NMProcess: NODEMGR_HOME /domains/cambpm/nodemanager/ does not exist, creating it.. [2021-05-11T12:56:35.265Z] [exec] NMProcess: mkdir: cannot create directory ‘/domains’: Permission denied [2021-05-11T12:56:35.265Z] [exec] NMProcess: CLASSPATH=/tmp/jdk1.8.0_181/lib/tools.jar:/home/camunda/oracle/wlserver/server/lib/weblogic.jar:/home/camunda/oracle/wlserver/../oracle_common/modules/net.sf.antcontrib_1.1.0.0_1-0b3/lib/ant-contrib.jar:/home/camunda/oracle/wlserver/modules/features/oracle.wls.common.nodemanager.jar::/tmp/jdk1.8.0_181/lib/tools.jar:/home/camunda/oracle/wlserver/modules/features/wlst.wls.classpath.jar:/home/camunda/oracle/wlserver/.. [2021-05-11T12:56:35.265Z] [exec] NMProcess: /home/camunda/oracle/wlserver/server/bin/startNodeManager.sh: line 119: cd: /domains/cambpm/nodemanager/: No such file or directory [2021-05-11T12:56:35.265Z] [exec] NMProcess: + /tmp/jdk1.8.0_181/bin/java -server -Xms768m -Xmx768m -XX:PermSize=256m -XX:MaxPermSize=256m -Dweblogic.RootDirectory=/domains/cambpm/nodemanager/ -Dcoherence.home=/home/camunda/oracle/wlserver/../coherence -Dbea.home=/home/camunda/oracle/wlserver/.. -DListenAddress=localhost -DNodeManagerHome=/domains/cambpm/nodemanager/ -DNativeVersionEnabled=false -DQuitEnabled=true -DListenPort=5556 -Djava.system.class.loader=com.oracle.classloader.weblogic.LaunchClassLoader -Djava.security.policy=/home/camunda/oracle/wlserver/server/lib/weblogic.policy -Dweblogic.nodemanager.JavaHome=/tmp/jdk1.8.0_181 weblogic.NodeManager -v [2021-05-11T12:56:35.265Z] [exec] NMProcess: Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/home/work/workspace/e_cambpm-ee-main_pipeline-master@tmp/withMavene03a0423/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/home/work/workspace/e_cambpm-ee-main_pipeline-master@tmp/withMavene03a0423" [2021-05-11T12:56:35.265Z] [exec] NMProcess: Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0 [2021-05-11T12:56:35.265Z] [exec] NMProcess: Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 [2021-05-11T12:56:36.950Z] [exec] NMProcess: May 11, 2021 2:56:36 PM weblogic.nodemanager.server.NMServer main [2021-05-11T12:56:36.950Z] [exec] NMProcess: SEVERE: Fatal error in NodeManager server [2021-05-11T12:56:36.950Z] [exec] NMProcess: java.io.FileNotFoundException: /domains/cambpm/nodemanager/nodemanager.process.lck (No such file or directory)
as the WLS installation home is not set correctly:
[2021-05-11T12:56:35.264Z] [exec] WLS install home: [2021-05-11T12:56:35.264Z] [exec] Base Domain home:
it seems that the env variables are not injected when withMaven is executed.