Saturday, May 25, 2013

WebCenter Capture: Tip of the Day - Relation between JDK32 bit & ODC (oracle document capture) on window 7 (64bit system)

Hi All,
Today’s, tip of the day. This is an information, that I will like to share with you all.

Title :-  Relation between JDK32 bit & ODC (oracle document capture) on window 7 (64bit system).

Problem:-           

1. Once, ODC is installed.
2. Create a new file cabinet.
3. Create a commit profile.
4. While configuring new commit driver for the commit profile, e.g.  by selecting “Oracle I\PM 11g Commit Driver”, and click on configure button. On button click, one will face the below issue :-
Run Time Error '40009' :
The following error occured configuring the commit driver.
Error Number: - 2147024773
Error Description: Automation error
The filemane, directory name, or volume label syntax is incorrect.

5. As this popup appear on the screen, the background will appear grey with diagonal lines. After Which, the ODC will not work and one will have to close the ODC.

Resolution :-

a.       We need to uninstall the ODC.
b.      Have to install JDK 32bit, first.
c.       And then, rest of the installation follows.

Same has been documented by Oracle, in his document. (http://docs.oracle.com/cd/E10316_01/capture/odc_install.pdf ) (at page no.3, NOTE #1).
Sometimes, It get neglected by the installer, leading to investigate the issue and wasting of time.

 Hope this helps,
-ryan

Special thanks to Mohit Aggarwal for providing the tip!

Sunday, May 12, 2013

WebCenter Imaging: Tip of the Day - grant permissions to domain credentials


It's been a while since the last post, so I wanted to put out a quick fix tip.

If you redeploy any of your ear files, let's say the imaging.ear in this example, you may lose access to your domain credential store.

You may see an error similar to this:

java.security.AccessControlException: access denied ("oracle.security.jps.service.credstore.CredentialAccess.security,keyName=ipmkey" "read")



To remedy this, try the following:


  1. Launch wlst.sh from the ECM home: <middleware_home>/Oracle_ECM1/common/bin/wlst.sh
  2. Connect to admin server: connect() (enter username, password and t3 uri to admin server)
  3. View the current credential: listCred(map='oracle.wsm.security',key='ipmkey')
  4. Grant the permissions: grantPermission(codeBaseURL="file:${domain.home}/servers/${weblogic.Name}/tmp/_WL_user/imaging/-", permClass="oracle.security.jps.service.credstore.CredentialAccessPermission", permTarget="context=SYSTEM,mapName=oracle.wsm.security,keyName=*",permActions="*")


Hope this helps!
-ryan