Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package oracle.sysman.ccr.collector.install;
- /*
- * Brian Fitzgerald
- * brian@exagriddba.com
- * 10/16/2013
- */
- import java.io.FileInputStream;
- import java.io.ObjectInputStream;
- public class Ocmrf {
- public static void main(String args[]) throws Exception {
- String ocmrf = args[0];
- FileInputStream fin = new FileInputStream(ocmrf);
- ObjectInputStream ois = new ObjectInputStream(fin);
- ResponseFile rf = (ResponseFile) ois.readObject();
- ois.close();
- System.out.println(rf.getLicenseInstance().verboseDisplay());
- System.out.println(rf.getRegistrationPrincipal().verboseDisplay());
- System.out.println(rf.getNetworkConfig().verboseDisplay());
- }
- }
- ex:
- [License agreement: accepted]
- [Response file registration via: My Oracle Support username, My Oracle Support registration username: bfitzgerald@xyz.org]
- [Connected configuration state: connected, Proxy configuration: (none specified)]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement