I have just encountered a different kind of a problem. I have set the trace parameters in my Sun Identity manager. I have configured it to trace few adapters and finally gave a large number for the file size. Restarted the server and it failed saying ...
java.lang.NumberFormatException: For input string: "9999999999
So to correct this error I have got two options
1. Changing the System Configuration file using the lh console command
go to wshome\bin Execute the following commands: ./lh console and press enter You'll get to the configurator> prompt Atthe promt, type export -v c:\syscon.xml CONFIGURATION now open the file c:\syscon.xml and scroll down till you find the required attribute to change.
Change the value of 9999999 in the line to 512 and save the file.
Now at the configurator> prompt, type the following command and press enter: import c:\syscon.xml
Reboot the appserver and launch the idm web application.
To Generalize this way we can change any of these configurations.
2. Editing the MySql repo
1) SELECT * FROM object o where type='Configuration' and name = 'SYSTEM CONFIGURATION'; 2) Go to the xml column at the very end of the table and look for the string pattern "Attribute name='maxFileSizeKB'". Get the exact number of 99999s that you plugged in. 3) Run the following update to do a "in-place" update. (I have updated the file size to be 1KB - 1024. Replace with the number of your chocie) update object set xml=replace(xml, "", "") where type='Configuration' and name = 'SYSTEM CONFIGURATION';
Hope this information would be worth for the IDM Fraternity
Thanks for this post.
ReplyDelete