Installing Policy Agent gives Invalid empty password
Hello All
I am gettting this error when installing AM 2.2. I want to configure the Policy Agent with IBM WAS 6
Copy agent.jar,amclientsdk.jar to
/opt/IBM/WebSphere/AppServer/lib/ext...DONE.
Creating directory layout and configuring AMAgent.properties file for
agent_001 instance ...DONE.
Reading data from file /opt/sun/policyagent/file/passwordfile and
encrypting it ...
*** ERROR: Installation failed due to the following error - (Invalid empty
password specified.).
The file exists in that path, and writeable (mod 777)
The content of the file is "password."
Does anyone have an idea why I am getting this error ?
Thanks in advance
[719 byte] By [
lrejua] at [2007-11-27 7:04:12]

# 2
were you able to resolve the issue.
I did create a password file and put a string "password" in that file.
But i get the following error :
Creating directory layout and configuring Agent file for Agent_001
instance ...DONE.
Reading data from file /home/test_sso/SUNWam/policyagent/passwordfile
and encrypting it ...
*** ERROR: Installation failed due to the following error - (Invalid empty
password specified.).
Thanks
# 3
I had enormous problems installing the AIX agents. finally successful but very painful.
Make sure you have downloaded the latest patched agent for websphere as the downloadable ones quite simply do not work out of the box.
I think it is up to hp6 or 7 now.
Additionally during these installs I always put the password file in the same dir I am running the installer from and just use an unqualified path .... passwordfile.
Please note there are massive issues with installing this on a Network deployment if Global security is enabled.
# 5
I also am experiencing this error message when installing the AM v2.2 agent for WAS on linux. It looks like the Agent can't find the SUN security provider class and therefore can't run the encryption routine.
The agentadmin logs show:
EncryptionKeyGenerator.generateRandomNumber() : threw exception :
java.security.NoSuchProviderException: no such provider: SUN
Would adding "security.provider.SUN" to /opt/WebSphere/AppServer/java/jre/lib/security/java.security do the trick? I assume not by itself since the reference actually wouldn't be there.
Thoughts?
/Jed
# 6
Subba - I don't think the Release Notes mention the problem. 6461210 talks about the empty encryption string. I get this scenario w/ the WAS agent for Linux.
However, even I enter an encryption string, the encrypt function does not work. I think it's because JAVA_HOME is WAS's jdk. I think java.security needs to be modified to reference Sun or perhaps a new jdk installed in a different directory.
/Jed