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]
# 1
Hi,I guess you have not provided a password in the "passwordfile" at the location mentioned/opt/sun/policyagent/file/passwordfile Try putting in a dummy string as password in the passwordfile and see how it goes.Thanks,Deepak.
deepshara at 2007-7-12 18:55:28 > top of Java-index,Web & Directory Servers,Directory Servers...
# 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

Subhodeepa at 2007-7-12 18:55:28 > top of Java-index,Web & Directory Servers,Directory Servers...
# 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.

jeffcourtadea at 2007-7-12 18:55:28 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4
Please try as mentioned in the agent release notes, section titled "Policy Agent 2.2 for IBM WebSphere Application Server" in http://docs.sun.com/app/docs/doc/819-2796/6n52flfoq?a=viewThanks,Subba
Subba_Evania at 2007-7-12 18:55:28 > top of Java-index,Web & Directory Servers,Directory Servers...
# 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

jthrewa at 2007-7-12 18:55:28 > top of Java-index,Web & Directory Servers,Directory Servers...
# 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

jthrewa at 2007-7-12 18:55:28 > top of Java-index,Web & Directory Servers,Directory Servers...
# 7
In the WAS PA release notes there is an entry for modifications that need to be performed in order to use the IBM JDK. Basically you need to add -DamCryptoDescriptor.provider=IBMJCE -DamKeyGenDescriptor.provider=IBMJCE to the JVM options in the agentadmin script
Aaron_Andersona at 2007-7-12 18:55:28 > top of Java-index,Web & Directory Servers,Directory Servers...