This content has been marked as final. Show 2 replies
You have run sign_webutil.bat more then 1 time due to which ur getting this exception
keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> already existsWhen u ran the sign_webutil.bat 1st time,the script creates a key "webutil2" and signs the jar with it.
Take a Backup of sign_webutil.bat as sign_webutil.bat_22112012
Now open the sign_webutil.bat file with notepad
Change the value of SET JAR_KEY=webutil2x
and then execute ur command again,
E:\OraHomeBi\jdk\bin>e:\OraHomeBi\forms\webutil\sign_webutil.bat e:\OraHomeBi\forms\java\frmwebutil.jarYou wont get exception,JAR files will be signed with a new self-signed certificate.
Any other doubts,do post.