Problem
[root@srv1234 PolicyDirector]# java com.tivoli.pd.jcfg.SvrSslCfg -action config -admin_id sec_master -admin_pwd ******** -appsvr_id tim2tam -appsvr_pwd secret -host srv1234 -mode remote -port 999 -policysvr srv1235.mycompany.com:7135:1 -authzsvr srv1235.mycompany.com:7136:1 -cfg_file /opt/PolicyDirector/conf/srv1235.conf -key_file /opt/PolicyDirector/conf/keystore_srv1235.ks -domain Default -cfg_action create
Exception in thread "main"
[java.lang.IllegalStateException: HPDAZ0602E Corrupted file: Insufficient information to contact a Policy Server.
]
Wrappered Exception:
java.lang.IllegalStateException: HPDAZ0602E Corrupted file: Insufficient information to contact a Policy Server.
at com.tivoli.pd.jadmin.PDAppSvrConfig.configureAppSvr(PDAppSvrConfig.java:195)
at com.tivoli.pd.jcfg.SvrSslCfg.config(SvrSslCfg.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.tivoli.pd.jcfg.SvrSslCfg.invoke(SvrSslCfg.java:349)
at com.tivoli.pd.jcfg.SvrSslCfg.main(SvrSslCfg.java:293)
Caused by: java.lang.IllegalStateException: HPDAZ0602E Corrupted file: Insufficient information to contact a Policy Server.
at com.tivoli.pd.jutil.bk$0.run(bk$0.java:4)
at java.security.AccessController.doPrivileged(AccessController.java:192)
at com.tivoli.pd.jutil.bk.a(bk.java:25)
at com.tivoli.pd.jutil.bk.(bk.java:45)
at com.tivoli.pd.jadmin.PDAppSvrConfig.configureAppSvr(PDAppSvrConfig.java:804)
... 7 more
Solution
I used the wrong Java. Change your PATH to the correct Javapath. Sorry that I cannot be more specific here. For me worked the Java which I configured with the pdjrtecf.
[root@srv1234 sbin]# ./pdjrtecfg -action config -host srv1235 -java_home /apps/frontend/tdi/7.0/jvm/jre -port 7135 -domain Default -config_type full
_
[root@srv1234 PolicyDirector]# java com.tivoli.pd.jcfg.SvrSslCfg -action config -admin_id sec_master -admin_pwd ******** -appsvr_id tim2tam -appsvr_pwd secret -host srv1234 -mode remote -port 999 -policysvr srv1235.mycompany.com:7135:1 -authzsvr srv1235.mycompany.com:7136:1 -cfg_file /opt/PolicyDirector/conf/srv1235.conf -key_file /opt/PolicyDirector/conf/keystore_srv1235.ks -domain Default -cfg_action create
Exception in thread "main"
[java.lang.IllegalStateException: HPDAZ0602E Corrupted file: Insufficient information to contact a Policy Server.
]
Wrappered Exception:
java.lang.IllegalStateException: HPDAZ0602E Corrupted file: Insufficient information to contact a Policy Server.
at com.tivoli.pd.jadmin.PDAppSvrConfig.configureAppSvr(PDAppSvrConfig.java:195)
at com.tivoli.pd.jcfg.SvrSslCfg.config(SvrSslCfg.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.tivoli.pd.jcfg.SvrSslCfg.invoke(SvrSslCfg.java:349)
at com.tivoli.pd.jcfg.SvrSslCfg.main(SvrSslCfg.java:293)
Caused by: java.lang.IllegalStateException: HPDAZ0602E Corrupted file: Insufficient information to contact a Policy Server.
at com.tivoli.pd.jutil.bk$0.run(bk$0.java:4)
at java.security.AccessController.doPrivileged(AccessController.java:192)
at com.tivoli.pd.jutil.bk.a(bk.java:25)
at com.tivoli.pd.jutil.bk.
at com.tivoli.pd.jadmin.PDAppSvrConfig.configureAppSvr(PDAppSvrConfig.java:804)
... 7 more
Solution
I used the wrong Java. Change your PATH to the correct Javapath. Sorry that I cannot be more specific here. For me worked the Java which I configured with the pdjrtecf.
[root@srv1234 sbin]# ./pdjrtecfg -action config -host srv1235 -java_home /apps/frontend/tdi/7.0/jvm/jre -port 7135 -domain Default -config_type full
_
Kommentare