{"action":"created","issue":{"url":"https://api.github.com/repos/biemond/biemond-orawls/issues/404","repository_url":"https://api.github.com/repos/biemond/biemond-orawls","labels_url":"https://api.github.com/repos/biemond/biemond-orawls/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/biemond/biemond-orawls/issues/404/comments","events_url":"https://api.github.com/repos/biemond/biemond-orawls/issues/404/events","html_url":"https://github.com/biemond/biemond-orawls/issues/404","id":204874822,"number":404,"title":"init script for nodemanager fails on 12212","user":{"login":"adamjk-dev","id":4096455,"avatar_url":"https://avatars.githubusercontent.com/u/4096455?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjk-dev","html_url":"https://github.com/adamjk-dev","followers_url":"https://api.github.com/users/adamjk-dev/followers","following_url":"https://api.github.com/users/adamjk-dev/following{/other_user}","gists_url":"https://api.github.com/users/adamjk-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjk-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjk-dev/subscriptions","organizations_url":"https://api.github.com/users/adamjk-dev/orgs","repos_url":"https://api.github.com/users/adamjk-dev/repos","events_url":"https://api.github.com/users/adamjk-dev/events{/privacy}","received_events_url":"https://api.github.com/users/adamjk-dev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-02-02T13:34:20Z","updated_at":"2017-02-02T15:42:24Z","closed_at":null,"body":"Hello sir,\r\n\r\nSo I am building a WL 12.2.1.2 box (using v1.0.57 of orawls), and the /etc/init.d/nodemanager script is failing (in RHEL6).\r\n\r\n```\r\n# /etc/init.d/nodemanager start\r\nStarting nodemanager:\r\n[root@densbb3utajk99 ~]# CLASSPATH=/opt/java/jdk1.8.0_72/lib/tools.jar:/app/oracle/wls12212/wlserver/server/lib/weblogic.jar:/app/oracle/wls12212/wlserver/../oracle_common/modules/net.sf.antcontrib_1.1.0.0_1-0b3/lib/ant-contrib.jar:/app/oracle/wls12212/wlserver/modules/features/oracle.wls.common.nodemanager.jar::/app/oracle/wls12212/wlserver/..\r\n+ /opt/java/jdk1.8.0_72/bin/java -server -Xms32m -Xmx200m -Dweblogic.RootDirectory=/app/oracle/wls12212/wlserver/../oracle_common/common/nodemanager -Dcoherence.home=/app/oracle/wls12212/wlserver/../coherence -Dbea.home=/app/oracle/wls12212/wlserver/.. -Dweblogic.ssl.JSSEEnabled=true -Dweblogic.security.SSL.enableJSSE=true -Dweblogic.security.TrustKeyStore=CustomTrust -Dweblogic.security.CustomTrustKeyStoreFileName=/opt/java/latest/jre/lib/security/cacerts -Dweblogic.security.CustomTrustKeystorePassPhrase=changeit -Xverify:none -Djava.system.class.loader=com.oracle.classloader.weblogic.LaunchClassLoader -Djava.security.policy=/app/oracle/wls12212/wlserver/server/lib/weblogic.policy -Dweblogic.nodemanager.JavaHome=/opt/java/jdk1.8.0_72 weblogic.NodeManager -v\r\n<Feb 2, 2017 8:02:32 AM EST> <INFO> <Loading domains file: /app/oracle/wls12212/oracle_common/common/nodemanager/nodemanager.domains>\r\n<Feb 2, 2017 8:02:32 AM EST> <WARNING> <Domains file not found: /app/oracle/wls12212/oracle_common/common/nodemanager/nodemanager.domains>\r\n<Feb 2, 2017 8:02:32 AM EST> <INFO> <Loading identity key store: FileName=/app/oracle/wls12212/oracle_common/common/nodemanager/security/DemoIdentity.jks, Type=jks, PassPhraseUsed=true>\r\n<Feb 2, 2017 8:02:32 AM EST> <SEVERE> <Fatal error in NodeManager server>\r\nweblogic.nodemanager.common.ConfigException: Identity key store file not found: /app/oracle/wls12212/oracle_common/common/nodemanager/security/DemoIdentity.jks\r\n\tat weblogic.nodemanager.server.SSLConfig.loadKeyStoreConfig(SSLConfig.java:225)\r\n\tat weblogic.nodemanager.server.SSLConfig.access$000(SSLConfig.java:33)\r\n\tat weblogic.nodemanager.server.SSLConfig$1.run(SSLConfig.java:118)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat weblogic.nodemanager.server.SSLConfig.<init>(SSLConfig.java:115)\r\n\tat weblogic.nodemanager.server.NMServer.<init>(NMServer.java:143)\r\n\tat weblogic.nodemanager.server.NMServer.main(NMServer.java:527)\r\n\tat weblogic.NodeManager.main(NodeManager.java:31)\r\n```\r\n\r\nSo, it is trying to load the DemoIdentity keystore, but we are using our own. I noticed in older versions of WL (like 12.1.3), there was an init script dropped at /etc/init.d/nodemanager_<domain name> which worked. So, we are sharing the same code for WL 12.2.1.2, but the init script isn't working there, and it doesn't generate the <domain name> specific init script. \r\n\r\nWe set custom_trust to true all over, and we have our own trust_keystore_file etc."},"comment":{"url":"https://api.github.com/repos/biemond/biemond-orawls/issues/comments/276992849","html_url":"https://github.com/biemond/biemond-orawls/issues/404#issuecomment-276992849","issue_url":"https://api.github.com/repos/biemond/biemond-orawls/issues/404","id":276992849,"user":{"login":"adamjk-dev","id":4096455,"avatar_url":"https://avatars.githubusercontent.com/u/4096455?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjk-dev","html_url":"https://github.com/adamjk-dev","followers_url":"https://api.github.com/users/adamjk-dev/followers","following_url":"https://api.github.com/users/adamjk-dev/following{/other_user}","gists_url":"https://api.github.com/users/adamjk-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjk-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjk-dev/subscriptions","organizations_url":"https://api.github.com/users/adamjk-dev/orgs","repos_url":"https://api.github.com/users/adamjk-dev/repos","events_url":"https://api.github.com/users/adamjk-dev/events{/privacy}","received_events_url":"https://api.github.com/users/adamjk-dev/received_events","type":"User","site_admin":false},"created_at":"2017-02-02T15:42:24Z","updated_at":"2017-02-02T15:42:24Z","body":"But, I don't think what you have allows us to set it:\r\n\r\nhttps://github.com/biemond/biemond-orautils/blob/master/templates/nodemanager.erb#L42\r\n(reads from nodeMgrBinPath)\r\n\r\nhttps://github.com/biemond/biemond-orautils/blob/master/manifests/nodemanagerautostart.pp#L43\r\n(for 12.2.x, adds wl_home/server/bin)\r\n\r\nBut, my path needed to be:  /projects/ADAMTEST/bin/startNodeManager.sh"}}
{"actor":{"display_login":"adamjk-dev"}}