users@glassfish.java.net

Re: How can encript database password in Sun App. Server 9.1

From: <glassfish_at_javadesktop.org>
Date: Tue, 11 Nov 2008 06:07:29 PST

I didn't get it properly......

what I have done is now -
1) Made new file password.txt in domain-dir/config location and put entries as
          AS_ADMIN_PASSWORD=any password
          AS_ADMIN_ALIASPASSWORD=any password

2) then, update domain.xml like
         <property name="password" value="${ALIAS=databaseSam}"/>

3) then , fired command from "domain-dir/config" directory like
       create-password-alias --passwordfile password.txt databaseSam

but it is giving error like
"CLI146 password.txt does not exist in the file system or read permission denied"

this is all you wanted to say ???????

If no, where these two entries should be mentioned ?
Please describe it step by step what should i do because it becomes so confusing. Thanks

I want to make password encription for
      <property name="password" value="abcdef"/>
[Message sent by forum member 'gauravgoell' (gauravgoell)]

http://forums.java.net/jive/thread.jspa?messageID=316019