Wednesday, December 11, 2013

PKI-02002: Unable to open the wallet. Check password. .

Issue:

Info: Data source is: opss-DBDS
Dec 11, 2013 1:23:18 AM oracle.security.jps.internal.credstore.ssp.CsfWalletManager openWallet
WARNING: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
Dec 11, 2013 1:23:18 AM oracle.security.jps.internal.config.util.BootstrapConfigurationUtil getLdapBootstrapCredential
SEVERE: Ldap bootstrap credential retrieval failed. Reason:oracle.security.jps.service.credstore.CredStoreException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password. .
Dec 11, 2013 1:23:18 AM oracle.security.jps.internal.credstore.ldap.LdapCredentialStore getBootstrapCredentials
SEVERE: JPS-00071: Ldap bootstrap credential retrieval failed. Reason:oracle.security.jps.service.credstore.CredStoreException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password. .
oracle.secur

Fix: We changed the MDS password of OIM instance, and after that Admin server didnot come up. So tried a fix which seems to work in similar cases.. go to /tmp and change all files permission to 777  

Saturday, September 21, 2013

Unable to edit dvm from SOA composer

 Caused By: javax.ejb.EJBException: EJB Exception: ; nested exception is:
        oracle.fabric.common.FabricException:  oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found  for metadata object  "/apps/abcEnterpriseDVMs/OracleOrgToWeighbridgeSiteMapping.dvm":  MDS-00013: no metadata found for metadata object  "/apps/abcEnterpriseDVMs/OracleOrgToWeighbridgeSiteMapping.dvm";  nested exception is: oracle.fabric.common.FabricException:  oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found  for metadata object  "/apps/abcEnterpriseDVMs/OracleOrgToWeighbridgeSiteMapping.dvm":  MDS-00013: no metadata found for metadata object  "/apps/abcEnterpriseDVMs/OracleOrgToWeighbridgeSiteMapping.dvm"


The above errors are seen in the soa logs.

We fixed this by below solution.


The cause of this issue is invalid / incorrect data in <MDS_SCHEMA>.MDS_SANDBOXES.

Fix:
====
1 - Make a back up of the data for the table <MDS_SCHEMA>.MDS_SANDBOXES
2 - Delete the row with the name of the dictionary (or any other dictionary) on the table, commit the changes.(I truncated this table)
3 - Try to open the dictionary again on SOA Composer

Tuesday, September 10, 2013

BEA-090082

<Sep 10, 2013 3:11:10 AM BST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Sep 10, 2013 3:11:11 AM BST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "JRF Startup Class", java.lang.ClassNotFoundException: oracle.jrf
.wls.JRFStartup
java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at java.lang.Class.forName0(Native Method)
        Truncated. see log file for complete stacktrace
<Sep 10, 2013 3:11:11 AM BST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "JPS Startup Class", java.lang.ClassNotFoundException: oracle.sec
urity.jps.wls.JpsWlsStartupClass
java.lang.ClassNotFoundException: oracle.security.jps.wls.JpsWlsStartupClass
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at java.lang.Class.forName0(Native Method)
        Truncated. see log file for complete stacktrace
>
<Sep 10, 2013 3:11:11 AM BST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "ODL-Startup", java.lang.ClassNotFoundException: oracle.core.ojdl
.weblogic.ODLConfiguration
java.lang.ClassNotFoundException: oracle.core.ojdl.weblogic.ODLConfiguration
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at java.lang.Class.forName0(Native Method)
        Truncated. see log file for complete stacktrace

Faced this on a SOA 11g customer.One of my colleague fixed it.

Solution:  modified nodemanager.properties.. startScriptEnabled=false to true and started the servers from console

Apparently this issue came when we started services from console.

Tuesday, September 3, 2013

Weblogic 10.3.5 to 10.3.6 error.

We faced issue with 10.3.5 to 10.3.6. The weblogic was used by 2 domains.OSR and SOA domain.SOA again had OER with it.Yes, a complex one. Strangely upgrade of weblogic failed with

"A fatal error has occured, application will terminate".Below command was used.

./java  -Djava.io.tmpdir=/prod/tmp -d64 -jar /prod/patch_11.1.1.7/weblogic1036/wls1036_upgrade_generic.jar

We enabled log and got the error,


2013-09-03 00:16:56,909 INFO  [workshopConfig_gui] com.bea.plateng.wizard.installer.helpers.WorkshopConfigTaskHelper - /resources/bids/WebLogic Platform10.3.6.0_wsconfig.xmlis not available. Nothing to configure.
2013-09-03 00:16:57,341 ERROR [setPatchEnv_silent] com.bea.plateng.wizard.WizardController - Uncaught Exception java.lang.IllegalArgumentException: Invalid product-ref! Unable to locate product=Oracle Enterprise Repository release=11.1.1.4
        at com.bea.cie.gpr.internal.model.dao.reg.DelegateRegistryHelper.getProductMap(DelegateRegistryHelper.java:185)
        at com.bea.plateng.wizard.installer.silent.tasks.PatchScriptHandlerTask.getProdInstallDirToProdSet(PatchScriptHandlerTask.java:228)
        at com.bea.plateng.wizard.installer.silent.tasks.PatchScriptHandlerTask.handleBEAHome(PatchScriptHandlerTask.java:128)
        at com.bea.plateng.wizard.installer.silent.tasks.PatchScriptHandlerTask.execute(PatchScriptHandlerTask.java:60)
        at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
        at java.lang.Thread.run(Thread.java:662)


We found by searching oracle documentation that it was related to Bug 13004222 - WLS UPGRADE FAILURE

Friday, August 16, 2013

OVD start problem: java.net.BindException: Address already in use

We had this issue where we got this error 2 -3 times before we could start OVD.Its due to Port is being left in TIME_WAIT state.So port will be busy till TCP times it out.Error will be as below.

[2013-08-14T00:04:41.496-06:00] [octetstring] [NOTIFICATION] [] [com.octetstring.vde.frontend.LDAP] [tid: 10] [ecid: 0000K1vRExO6MQRVMY^QsA1I2lrj000000,0] Listening on Port=11,539 Mode=Blocking
[2013-08-14T00:04:41.508-06:00] [octetstring] [NOTIFICATION] [OVD-20203] [com.octetstring.vde.frontend.LDAP] [tid: 10] [ecid: 0000K1vRExO6MQRVMY^QsA1I2lrj000000,0] Port allocated for LDAP SSL Endpoint:LDAP.
[2013-08-14T00:04:41.672-06:00] [octetstring] [ERROR] [OVD-60216] [com.octetstring.vde.VDEServer] [tid: 10] [ecid: 0000K1vRExO6MQRVMY^QsA1I2lrj000000,0] Cannot start Oracle Virtual Directory server: Address already in use.[[
java.net.BindException: Address already in use
       at java.net.PlainSocketImpl.socketBind(Native Method)
       at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
       at java.net.ServerSocket.bind(ServerSocket.java:328)
       at com.octetstring.vde.frontend.LDAP.doAllocatePort(LDAP.java:236)
       at com.octetstring.vde.frontend.LDAP.startListener(LDAP.java:481)
       at com.octetstring.vde.frontend.ListenerHandler.addListener(ListenerHandler.java:100)
       at com.octetstring.vde.frontend.ListenerHandler.init(ListenerHandler.java:91)
       at com.octetstring.vde.VDEServer.startServer(VDEServer.java:181)
       at com.octetstring.vde.VDEServer.main(VDEServer.java:359)

]]
[2013-08-14T00:04:41.672-06:00] [octetstring] [NOTIFICATION] [OVD-20052] [com.octetstring.vde.VDEServer] [tid: 10] [ecid: 0000K1vRExO6MQRVMY^QsA1I2lrj000000,0] Oracle Virtual Directory Server is shutting down.


Seems like it can be fixed 11.1.12 onwards as below.

- In the em
- Under "identity and access", select ovd1
- Right click the mouse and select administration > listeners
- Select LDAP endpoint ,LDAP SSL Endpoint and Admin gateway select one by one and edit
- Under socket options, select "reuse address".Check it.Save it
 - Restart OVD.

Thursday, August 15, 2013

Opatch lock

[Aug 14, 2013 10:37:22 PM]   Stack Description: java.lang.RuntimeException: Lock file left by a different patch, OPatch will not try re-using the lock file.


While applying a patch was getting this error, this happens when patch session is terminated and old session still hangs around.

Go to ORACLE_HOME/.patch_storage

Rename the file patch_locked and retry applying patch.

Saturday, August 10, 2013

Database relink: Could Not Locate $ORACLE_HOME/network/admin/shrept.lst

We moved database to new host, so did a relink all on database,

/prod/112/bin/genclntsh
genclntsh: genclntsh: Could not locate  /prod/112/network/admin/shrept.lst
make: *** [client_sharedlib] Error 1
Error in invoking target 'client_sharedlib' of makefile '/prod/112/rdbms/lib/ins_rdbms.mk'. See '/prod/112/install/relinkActions2013-08-10_08-25-07-AM.log' for details.



INFO: /prod/112/bin/genclntsh

INFO: genclntsh: genclntsh: Could not locate  /prod/112/network/admin/shrept.lst

INFO: make: *** [client_sharedlib] Error 1

INFO: End output from spawned process.
INFO: ----------------------------------
SEVERE: oracle.sysman.oii.oiil.OiilActionException: Error in invoking target 'client_sharedlib' of makefile '/prod/112/rdbms/lib/ins_rdbms.mk'. See '/prod/112/install/relinkActions2013-08-10_08-25-07-AM.log' for details.
        at oracle.sysman.oii.oiis.OiisMakeDeps.invokeMakefile(OiisMakeDeps.java:544)
        at oracle.sysman.oii.oiis.OiisMakeDeps.doRelink(OiisMakeDeps.java:621)
        at oracle.sysman.oii.oiis.OiisMakeDeps.doOperation(OiisMakeDeps.java:802)
        at oracle.sysman.oii.oiis.OiisMakeDeps.main(OiisMakeDeps.java:812)

INFO:


Solution:
======

For 9.2 or 10.2, if the file is missing, create $ORACLE_HOME/network/admin/shrept.lst with a text editor and put the following lines into it.

network : snaumihi_inithostinfo
network : snaumbg_gmt
network : naedpwd_encrypt
network : naumbsb_bld_singlebyte
network : ztapis

For 11.1.0.6.0, 11.1.0.7.0, 11.2.0.1.0 and 11.2.0.2.0  if the file is missing, create $ORACLE_HOME/network/admin/shrept.lst with a text editor and put the following lines into it.

network : snaumihi_inithostinfo
network : snaumbg_gmt
network : naedpwd_encrypt
network : naumbsb_bld_singlebyte
network : ztapis
network : nlgh

For 11.2.0.3.0, if the file is missing, create $ORACLE_HOME/network/admin/shrept.lst with a text editor and put the following lines into it.

network : snaumihi_inithostinfo
network : snaumbg_gmt
network : naedpwd_encrypt
network : naumbsb_bld_singlebyte
network : ztapis
network : nlgh
network : ztvp52

 Using the 'ls -al' command, check that the file has 644 permissions:
-rw-r--r-- $ORACLE_HOME/network/admin/shrept.lst
If necessary, change the permissions using the command:
chmod 644 $ORACLE_HOME/network/admin/shrept.lst
Now manually relink using the command 'relink all'

Wednesday, August 7, 2013

Unable to activate JDBC store(BEA-280077)

Some customer was trying to activate JDBC store,i checked the logs and found this.

<Aug 7, 2013 4:03:23 AM CDT> <Warning> <Store> <BEA-280076> <Database table "WLStore" for store "test" is currently owned by "[name={server=osb_server1!host=140.85.192.10!domain=soa_domain!store=AHSOSBJDBCStore!table=WLStore}:random=5697096127807814759:timestamp=1375866194364]". Trying to wait for ownership.>
<Aug 7, 2013 4:03:43 AM CDT> <Error> <Store> <BEA-280077> <JDBC store "test" in this server is not the owner of database table "WLStore". Unexpected current owner is "[name={server=osb_server1!host=140.85.192.10!domain=soa_domain!store=AHSOSBJDBCStore!table=WLStore}:random=5697096127807814759:timestamp=1375866214386]", expected current owner is "[name={server=osb_server1!host=140.85.192.10!domain=soa_domain!store=test!table=WLStore}:random=-1796623192164004707:timestamp=1375866203282]".>
<Aug 7, 2013 4:03:43 AM CDT> <Error> <Store> <BEA-280072> <JDBC store "test" failed to open table "WLStore".
weblogic.store.io.jdbc.JDBCStoreException: [Store:280064]280077 (server="osb_server1" store="test" table="WLStore")
       at weblogic.store.io.jdbc.JDBCStoreIO.checkTableOwnership(JDBCStoreIO.java:2621)
       at weblogic.store.io.jdbc.JDBCStoreIO.getTableOwnershipLogical(JDBCStoreIO.java:2734)
       at weblogic.store.io.jdbc.JDBCStoreIO.open(JDBCStoreIO.java:495)
       at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:436)
       at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:423)
       Truncated. see log file for complete stacktrace>
<Aug 7, 2013 4:03:43 AM CDT> <Error> <Store> <BEA-280061> <The persistent store "test" could not be deployed: weblogic.store.io.jdbc.JDBCStoreException: open failed

weblogic.store.io.jdbc.JDBCStoreException: open failed

Cause:
 The cause of this issue is that the database table representing the store is locked by another JMS server at the same time, as is indicated by the error message. This setup of using the same underlying database table to represent more than one JDBC Store is not recommended or supported.  

Solution:
Please ensure that for each JDBC Store you set the prefix for the store to a unique value for each configured JDBC store table, as mentioned in the URL http://download.oracle.com/docs/cd/E12839_01/web.1111/e13701/store.htm#i1143431. This will ensure that each store has its own table.

Friday, August 2, 2013

Case Insensitive Searching in WebCenter Content (UCM) 11g

A customer said if i search a document named "Test" it is searchable.But searching it as "test" doesnot give any results.So they wanted to enable case insensitive searching.This was on Webcenter content 11g .We discarded the idea that  10g OracleCaseInsensitiveSearch component will work for 11g as oracle doesnot support it.But its known to be used for those customers that refuse to implement OTS(Oracle Text serach).

So i gave below plan to fix their issue.

1)cd <clusterhome>/ucm_cluster/cs/config/config.cfg
add this,

SearchIndexerEngineName=OracleTextSearch
MaxIndexableFileSize=0

save and exit the file.

2)Restart WLS_WCC1 and WLS_WCC2(as this was cluster)

3)login to content server

In the WebCenter Content browser page, navigate to Administration --> Admin Applets --> Repository Manager.

Select the Indexer tab.

In the Automatic Update Cycle panel, click the Configure button.

Uncheck the Enabled box.

Click the OK button.

In the Collection Rebuild Cycle panel, click the Start button.

Uncheck the Use fast rebuild box.

Click the OK button.

After the rebuild has completed, click the Configure button in the Automatic Update Cycle panel.

Check the Enabled box.

Click the OK button.

Thursday, July 18, 2013

BI Publisher upgrade from 10.1.3.4.0 to Ver 10.1.3.4.1

This i  did long ago, thought of sharing it.

Patch to be applied: 10023449


BI PUB note 797057.1

Pre-Patch steps:
1.Cold backup of Middle Tier.
2. Shutdown the application servers and backup the directory,
<ORACLE_HOME>/j2ee/home/
 cp –R home home_bkp
3.startup the services.
Steps to upgrade
Upgrade from 10.1.3.4.0d (patch 8284524, 8398280) and 10.1.3.4.1 does not require step 8 and step 9.
1- Make a backup copy of the xmlp-server-config.xml file located in
<application installation>/WEB-INF/ directory, where your application server unpacked the BI Publisher war or ear file.
    Example:
    In an Oracle AS/OC4J 10.1.3 deployment, the location is
<ORACLE_HOME>/j2ee/home/applications/xmlpserver/xmlpserver/WEB-INF/xmlp-server-config.xml
Note: Make sure the backup xml is outside the <ORACLE_HOME>/j2ee/home
2- Back up all the directories under the BI Publisher repository
    (for example: {Oracle_Home}/xmlp/XMLP).
 3.- If you are using Scheduling, back up your existing BI Publisher Scheduler
schema.
Take an export of BI schema(differs from customer to customer) and hotbackup of database.
4- Shut down BI Publisher.
Cd $ORACLE_HOME/j2ee/home
java -jar admin_client.jar deployer:oc4j:opmn://hostname:<request port>/home oc4jadmin simple4u -stop xmlpserver
EG:  java -jar admin_client.jar deployer:oc4j:opmn://hostname:10522/home oc4jadmin *** -stop xmlpserver
10/10/23 00:53:32 Notification ==>Stopping manageable object: oc4j:j2eeType=J2EEApplication,name=xmlpserver,J2EEServer=standalone
10/10/23 00:53:32 Notification ==>Stop completed for state manageable object: oc4j:j2eeType=J2EEApplication,name=xmlpserver,J2EEServer=standalone
5- Undeploy the BI Publisher application ("xmlpserver") from your J2EE application server.
EG: java -jar admin_client.jar deployer:oc4j:opmn://hostname:10522/home oc4jadmin**** -undeploy xmlpserver
10/10/23
01:11:54 Notification ==>Application UnDeployer for xmlpserver STARTS.
10/10/23 01:11:55 Notification ==>Removing all web binding(s) for application xmlpserver from all web site(s)
10/10/23 01:12:00 Notification ==>Application UnDeployer for xmlpserver COMPLETES.
 Delete the xmlpserver directory else the deployment fails in next step.
6- Deploy the 10.1.3.4 xmlpserver.ear or xmlpserver.war to your application
server.
EG: java -jar
admin_client.jar deployer:oc4j:opmn://hostname:10522/home oc4jadmin **** -deploy -file /u01/patches/oc4j/xmlpserver.ear -deploymentName xmlpserver -bindAllWebApps
  java -jar admin_client.jar
deployer:oc4j:opmn://hostname:10522/home oc4jadmin ***** -deploy -file /u01/patches/oc4j/xmlpserver.ear -deploymentName xmlpserver -bindAllWebApps
10/10/23 02:47:50 Notification ==>Application Deployer for xmlpserver STARTS.
10/10/23 02:47:50 Notification ==>Copy the archive to /u01/product/asmt_10131/j2ee/home/applications/xmlpserver.ear
10/10/23 02:47:51 Notification ==>Initialize /u01/product/asmt_10131/j2ee/home/applications/xmlpserver.ear begins...
10/10/23 02:47:51 Notification ==>Unpacking xmlpserver.ear
10/10/23 02:47:55 Notification ==>Done unpacking xmlpserver.ear
10/10/23 02:47:55 Notification ==>Unpacking xmlpserver.war
10/10/23 02:48:13 Notification ==>Done unpacking xmlpserver.war
10/10/23 02:48:13 Notification ==>Initialize /u01/product/asmt_10131/j2ee/home/applications/xmlpserver.ear ends...
10/10/23 02:48:13 Notification ==>Starting application : xmlpserver
10/10/23 02:48:13 Notification ==>Initializing ClassLoader(s)
10/10/23 02:48:13 Notification ==>Initializing EJB container
10/10/23 02:48:13 Notification ==>Loading connector(s)
10/10/23 02:48:13 Notification ==>Starting up resource adapters
10/10/23 02:48:13 Notification ==>Initializing EJB sessions
10/10/23 02:48:13 Notification ==>Committing ClassLoader(s)
10/10/23
02:48:13 Notification ==>Initialize xmlpserver begins...
10/10/23 02:48:13 Notification ==>Initialize xmlpserver ends...
10/10/23 02:48:13 Notification ==>Started application : xmlpserver
10/10/23 02:48:13 Notification ==>Binding web application(s) to site default-web-site begins...
10/10/23 02:48:13 Notification ==>Binding xmlpserver web-module for application xmlpserver to site default-web-site under context root xmlpserver
10/10/23 02:48:14 Notification ==>Initializing Servlet: oracle.apps.xdo.service.report.ReportTemplateService for web application xmlpserver
10/10/23 02:48:14 Notification ==>Initializing Servlet: oracle.apps.xdo.servlet.XDOServlet for web application xmlpservr
10/10/23 02:48:15 Notification ==>Initializing Servlet: oracle.apps.xdo.servlet.scheduler.quartz.ExtendedQuartzInitializerServlet for web application xmlpserver
7- Copy the saved backup copy of the xmlp-server-config.xml file from step 1 to the newly created BI Publisher
<application installation>/WEB-INF/ directory, where your application server unpacked the BI Publisher war or ear file.
Example:
    In an Oracle AS/OC4J 10.1.3 deployment, the location is
  <ORACLE_HOME>/j2ee/home/applications/xmlpserver/xmlpserver/WEB-INF/xmlp-server-config.xml
8- Copy ssodefaults.xml to the following directory. And replace [host]:[port]
with your server's information.
Default values for other properties can be updated depending on your configuration.
   <ExistingRepository>\XMLP\Admin\Security
9- Copy database-config.xml to the following directory.
     <ExistingRepository>\XMLP\Admin\Scheduler
10- Restart xmlpserver application or Application Server
Optional configuration:
If you use JNDI for Scheduler, update the following line in {Oracle_Home}/xmlp/XMLP/Admin/Scheduler/quartz-config.properties.
OLD:
org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.oracle.OracleDelegate
NEW:
org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate
Restart xmlpserver and reconfigure Scheduler with JNDI connection.
11.Restart the oc4j container.
NOTE:
Make sure the customer is aware that you are redeploying the BI publisher, so some possible customization might be lost.

IPM 10g migration issue!

We have been working on a project to migrate IPM 10g to 11g.For moing to 11g we need to install the Migration tool MCU .This can be installed on 10.1.3.6 IPM.So we upgraded it first which is simple process and applied the MCU patch .After that when we try to migrate we get

Issue:
Method not found: 'Int32 Stellent.IBPM.Interop.Imaging.DocTk.ISubDocument.get_ObjectId()'
As usual it was something new so we worked with support which has some amazing people.

Finally this they asked us to reapply the MCU patch 15868093 .This did not help.

Finally found that ,

Solution:

On the box where you are trying to use the migration tool :

--  You will need to replace the existing Internal.IBPM.Interop.Imaging.DocTk.DLL file
in the c:\Windows\Assembly folder (GAC) with the new one in the migration tool patch
"p16933027_10136_WINNT.zip":

Navigate to c:\windows\assembly and locate the file Internal.IBPM.Interop.Imaging.DocTk.DLL.
Right-click on this file and select "Uninstall".

===============================================================================
Drag and drop the new Internal.IBPM.Interop.Imaging.DocTk.DLL.

from the patch path : Oracle Imaging and Process Management\Imaging and Process Management\DSMS\
into the c:\windows\assembly

NOTE: You will need to drag and drop into the actual content window pane of c:\windows\assembly,
as this is how interops are registered in Windows. This is best accomplished by opening two explorer
windows to do the drag.

Drag from the patch zip file path
----  Oracle Imaging and Process Management\Imaging and Process Management\DSMS\Internal.IBPM.Interop.Imaging.DocTk.DLL

Then drop the file into the right-hand window pane of c:\windows\assembly.
=================================================================================


Restart your service(s)


This fixed the issue and now we are ready to setup 11g to kick start the migration.

Wednesday, April 3, 2013

The files created in the ODI servers with OS users are having the permission -rw-r-----

We recently got an issues where implementer said that when he created files from ODI agent ,he got issues like file had -rw-r-----(640) permission only .We checked that at OS level teh usmask was set to 022.But we were wondering then from where was agent picking up the umask value.It seems like the umask is explicitly set on startWebLogic.sh and startNodeManager.sh .We need to fix this to fix the issue.


-bash-3.2$ grep umask startWebLogic.sh
umask 037

-bash-3.2$ grep umask startNodeManager.sh
umask 027

So we need to change umask to 022 in both locations and restart services to fix the issues.Same goes with weblogic log file permissions.

Tuesday, March 26, 2013

WebCenter Custom Portal domain extension ,Custom Portal Component Schemas Are Not Displayed

We were today extending a webcenter customer's domain as they wanted a custom portal to deploy their portal application.While were following Doc ID 1339004.1 to do the same.We found that we couldn't proceed to 
  • Configure JDBC Component Schema screen

  • We found that its a known issue as per Doc ID 1527347.1

    Also if you don't find this screen, just click next twice and voila you get the screen.

    Friday, March 22, 2013

    Cannot Start OIM After Applying WLS PSU patches


    Issue:Unable to start OIM after patch application.
    =====================================================
    
    
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST>
    <Mar 22, 2013 1:49:51 AM CDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'oim [Version=11.1.1.3.0]' due to error java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=oim,keyName=OIMSchemaPassword read).
    java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=oim,keyName=OIMSchemaPassword read)
            at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
            at java.security.AccessController.checkPermission(AccessController.java:546)
            at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:436)
            at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:496)
            at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:519)
            Truncated. see log file for complete stacktrace
    Caused By: java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=oim,keyName=OIMSchemaPassword read)
            at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
            at java.security.AccessController.checkPermission(AccessController.java:546)
            at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:436)
            at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:496)
            at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:519)
            Truncated. see log file for complete stacktrace
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Patch applied:
    --------------
    Patch 14736140: 10.3.5.0.6 Patch Set Update (PSU) for WebLogic Server 10.3.5.0
    
    
    Found couple of notes on oracle to fix this, but they referred to different patches and versions of OIM.This is how i fixed it.
    
    
    
    
    Solution:
    =========
    1. Stop the servers
    
    
    2. On each node (if is cluster), add the following in DOMAIN_HOME/config/fmwconfig/system-jazn-data.xml:
    
    
    <grant>
      <grantee>
        <codesource>
          <url>file:${wls.home}/../../patch_wls1035/patch_jars/*</url>
        </codesource>
      </grantee>
      <permissions>
        <permission>
          <class>oracle.security.jps.service.credstore.CredentialAccessPermission</class>
         <name>context=SYSTEM,mapName=oim,keyName=*</name>
         <actions>read,write</actions>
        </permission>
       </permissions>
    </grant>
    
    3.From the below location
    
    Oracle_home/wlserver_10.3/server/lib
    
    in the file weblogic.policy
    
    add the below lines
    
    grant codeBase "file:/patch_wls1035/patch_jars/*" {
      permission java.security.AllPermission;
    };
    
    Its best to add full path in step 3, as above didnot work for me and after making it absolute path,OIM started up.
    (grant codeBase "file:<MW_HOME>/patch_wls1035/patch_jars/*")
    
    4.Start the servers.
    
    
    

    Thursday, February 7, 2013

    RJVM has already been shutdown


     ###<Feb 7, 2013 5:59:50 AM GMT> <Info> <JMS> <kkkkk> <bo-server03513> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1360216790795> <BEA-040507> <The JMS SAF forwarder failed to connect to the remote destination "t3://abc.xyz:7003/jms/EJournalImport", because of javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: RJVM has already been shutdown; nested exception is:
     java.io.IOException: RJVM has already been shutdown]
     at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:74)
     at weblogic.jndi.internal.WLContextImpl.translateException(WLContextImpl.java:470)
     at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:426)
     at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
     at weblogic.jms.forwarder.Forwarder.connectTarget(Forwarder.java:416)
     at weblogic.jms.forwarder.Forwarder.reconnect(Forwarder.java:246)
     at weblogic.jms.forwarder.Forwarder.timerExpired(Forwarder.java:311)
     at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.rmi.UnmarshalException: RJVM has already been shutdown; nested exception is:
     java.io.IOException: RJVM has already been shutdown
     at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:360)
     at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
     at weblogic.jndi.internal.ServerNamingNode_1035_WLStub.lookup(Unknown Source)
     at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:423)
     ... 8 more
    Caused by: java.io.IOException: RJVM has already been shutdown
     at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
     at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
     ... 11 more
    Caused by: java.io.IOException: RJVM has already been shutdown
     at weblogic.rjvm.RJVMImpl.addPendingResponse(RJVMImpl.java:513)
     at weblogic.rjvm.RJVMImpl.send(RJVMImpl.java:900)
     at weblogic.rjvm.MsgAbbrevOutputStream.flushAndSend(MsgAbbrevOutputStream.java:394)
     at weblogic.rjvm.MsgAbbrevOutputStream.sendRecv(MsgAbbrevOutputStream.java:404)
     at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
     at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
     ... 11 more


    The solution was strange and found on the internet.


    The problem is probably a bad or slow DNS lookup on the IP address 192.100.88.1Indeed, the weblogic server tries to connect to the admin ListenAddress and did a double resolution 
    Name => Address
    Address => name
    To avoid this problem, it is better not to name fqdn in ListenAddress, but to put the listening IP address.We changed hostname to ip from admin console and bounced managed server.

    Thursday, January 31, 2013

    SOA PS4 11.1.1.5.3 (PS4 BUNDLE) - Sca_UpdateSOAMDS Composite Missing

    We were applying this bundle patch on SOA and found that as per post install steps the composite was missing.As per a note from Oracle.

    Engineering confirmed that the step "Redeploy the sca_UpdateSOAMDS composite from $SOA_HOME/soa/prov directory" can be skipped as a non Fusion Applications User.

    So this step can be safely skipped for SOA 11g.

    Thursday, January 17, 2013

    BAM alerts to external email id's

    A customer reported a strange issue where they were unable to send emails from BAM application to external emails. I searched for it but was unable to find anything on google or in oracle documentation.I have given this as fix, they are yet to get back.But i am confident that it will fix the issue.

    The feature is apparently there from 11.1.1.3 onwards.

    1)
    cd  <SOA Domain>/servers/bam_server1/tmp/_WL_user/oracle-bam_11.1.1/1o1igs/config/

    take a backup of BAMCommonConfig.xml

    from:    <AlertActionAllowExternalEmail>false</AlertActionAllowExternalEmail>
    to:     <AlertActionAllowExternalEmail>true</AlertActionAllowExternalEmail>

    2) cd <SOA Domain>/config/fmwconfig/servers/bam_server1/applications/oracle-bam_11.1.1/config/

    take a backup of BAMCommonConfig.xml

    inside the <BAMCommon> tag add the below line,
      <AlertActionAllowExternalEmail>true</AlertActionAllowExternalEmail>

    3)Restart BAm server.