File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes How to suppress prompt? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "How to suppress prompt?" Watch "How to suppress prompt?" New topic

How to suppress prompt?

sumit mathur
Ranch Hand

Joined: Sep 01, 2009
Posts: 34

I am using storeUserConfig() API to encrypt the username and password as


As soon as i run this command it prompt for user confirmation as

Creating the key file can reduce the security of your system if it is not
kept in a secured location after it is created. Do you want to create the
key file? y or n

Is there any way to suppress this message and by default allow "y" as input???

I am more concern abt it because i am using .PY script to execute this API and i dont want user interaction while running this script.


Deepak Bala

Joined: Feb 24, 2006
Posts: 6657

Can you post your script. I will try playing around with it if I can

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
I agree. Here's the link:
subject: How to suppress prompt?
Similar Threads
Problem with weblogic start up
Start of Admin server remotely
Ant task failed due to confirmation prompt
How to capture left parentheisis event...
Start Admin server