Synchronization Oracle10g DB tables to OID
hi,all
I am configuring oid to synchronize with Oracle10g DB tables.
As the document in: http://download.oracle.com/docs/cd/E10773_01/doc/oim.1014/e10528/odip_db.htm
said ,I do all the configuration right after it's guidance.
But there are some problem really bothers me much.
I list the procedure i did step by step in the following :
1.dbreader.cfg
it's content looks like this:
[DBQUERY]
SELECT: SELECT\
EMPNO EmpNum,\
ENAME,\
REPLACE(EMAIL),'@ACME.COM','') UID,\
EMAIL,\
TELEPHONE,\
TO_CHAR(LAST_UPDATE_DATE,'YYYYMMDDHH24MISS') Modified_Date\
FROM\
EMPLOYEE\
WHERE\
LAST_UPDATE_DATE>TO_DATE (:Modified_Date,'YYYYMMDDHH24MISS')\
ORDER BY\
LAST_UPDATE_DATE
[SYNC-PARAMS]
CHANGEKEYATTRS: Modified_Date
I think these should be the additional config info.
2.dbimp.map
DomainRules
NONLDAP:cn=Users,dc=sice,dc=com:uid=%,cn=Users,dc=sice,dc=com
AttributeRules
ename: : : :cn: :person
ename : : : :sn: :person
uid : : : :uid: :inetOrgperson:
EMail: : : :mail: :inetOrgperson
Telephone: : : :telephonenumber: :inetOrgperson
empnum: : : :employeenumber: :inetOrgperson
I think these should be the mapping rules info.
3.profile
though the document says that "You can find a sample profile for this example in the $ORACLE_HOME/ldap/odi/samples directory along with sample configuration and mapping files. ", but unfortunately , I do not find it .
so I use the "Oracle Directory Integration and Provision Server Administration" tool to create a new profile . I configure this profile with the following parameters:
Profile Name (orclOdipAgentName): DBImp
Synchronization Mode (orclOdipSynchronizationMode): IMPORT
Professoriats (orclOdipAgentControl):ENABLE
Agent Execution Command (orclodipAgentExeCommand): null
Additional Config Info (orclOdipAgentConfigInfo): uploaded
Connected Directory Account (orclOdipConDirAccessAccount): scott
Connected Directory Account Password (orclOdipConDirAccessPassword): tiger
Connected Directory URL (orclOdipConDirURL): 192.168.2.101:1521:orcl.sice.com
Interface Type (orclodipDataInterfaceType): DB
Mapping File: uploaded
OID Matching Filter (orclOdipOIDMatchingFilter): employeenumber
Last Applied Change Number (orclodipConDirLastAppliedChgNum): 20000101000000
after that ,I user the commant dipassistant to upload the config file and the map file,the command looks like this:
dipassistant mp -host vos0 -port 389 -passwd admin0 -profile DBImp odip.profile.mapfile=D:\Oracle\OraHome_1\ldap\odi\conf\dbimp.map
dipassistant mp -host vos0 -port 389 -passwd admin0 -profile DBImp odip.profile.configfile=D:\Oracle\OraHome_1\ldap\odi\conf\dbreader.cfg
4.start the odisrv
oidctl connect=orcl server=odisrv instance=2 configset=1 start
then I go to the D:\Oracle\OraHome_1\ldap\odi\log and check the DBImp.trc file,
I found the following error msg:
Trace Log Started at Tue Feb 26 18:12:14 CST 2008
Initialized debug!!
Set retry Count!!
Set Scheduling Interval!!
Initialised src connector
Initialized Src Connector.
TAG FOUND:(DBQUERY)
LINE,14:(SELECT: SELECT\)
key:(SELECT)
LINE,13:(EMPNO EmpNum,\)
LINE,6:(ENAME,\)
LINE,35:(REPLACE(EMAIL),'@ACME.COM','') UID,\)
LINE,6:(EMAIL,\)
LINE,10:(TELEPHONE,\)
LINE,58:(TO_CHAR(LAST_UPDATE_DATE,'YYYYMMDDHH24MISS') Modified_Date\)
LINE,4:(FROM\)
LINE,8:(EMPLOYEE\)
LINE,5:(WHERE\)
LINE,60:(LAST_UPDATE_DATE>TO_DATE (:Modified_Date,'YYYYMMDDHH24MISS')\)
LINE,8:(ORDER BY\)
LINE,15:(LAST_UPDATE_DATE)
Putting Key into Hash :SELECT
TAG FOUND:(SYNC-PARAMS)
LINE,28:(CHANGEKEYATTRS: Modified_Date)
key:(CHANGEKEYATTRS)
Value Continuation Not Present
Putting Key into Hash :CHANGEKEYATTRS
java.lang.NullPointerException
at oracle.ldap.odip.engine.ConfigReader.readConfigInfo(ConfigReader.java:264)
at oracle.ldap.odip.engine.Profile.initConfigInfo(Profile.java:550)
at oracle.ldap.odip.engine.Profile.initialise(Profile.java:213)
at oracle.ldap.odip.engine.Profile.initProfile(Profile.java:506)
at oracle.ldap.odip.engine.SchedEntry.<init>(SchedEntry.java:65)
at oracle.ldap.odip.engine.Scheduler.addToSyncList(Scheduler.java:934)
at oracle.ldap.odip.engine.Scheduler.createSyncList(Scheduler.java:451)
at oracle.ldap.odip.engine.Scheduler.run(Scheduler.java:229)
ConfigInfo not found!!!
Initialized Config Info.
Initialized Provisioning Related Details
Initialized Sync Mode.
Mapping init successful
Initialized Mapping Info.
Initialized Filter Info.
Initialized Execution Cmd.
Success Metric Count From backend : 11
Failure Metric Count From backend : 0
Initialized Metric counts
Initialized Status Attrs.
All the other seems good except odisrv can not fine the configinfo . But I have already do the upload to config the configfile of the profile.
I don't know what is going on, maybe there is some misunderstanding about the guide doc.
I really really appreciate if you can do my a favor to solve this tricky problem..
Thanks a lot.
you need to synchronize your Entity object with the database table, then add the new attribute to your view object, and then drag and drop the new attribute to your af:table
check [url http://jdeveloperfaq.blogspot.com/2010/02/faq-15-how-to-synchronize-adf-entity.html]How to synchronize ADF Entity Objects with database changes in JDeveloper
Similar Messages
-
SRKIM: Synchronize Wf Local Tables Errors: Ora-01400
PURPOSE
Synchronize Wf Local Tables 수행 시 발생한 ora-01400 error 를 해결한다.
Problem Description
Synchronize Wf Local Tables 수행 시 아래와 같은 error 가 발생하였다.
ERROR
FNDWFLSC module: Synchronize WF LOCAL tables
Current system time is 31-AUG-2005 09:39:54
**Starts**31-AUG-2005 09:39:54
**Ends**31-AUG-2005 09:40:33
ORA-12801: error signaled in parallel query server P000
ORA-01400: cannot insert NULL into
("APPLSYS"."WF_LOCAL_ROLES_STAGE"."DISPLAY_NAME")
STEPS
The issue can be reproduced at will with the following steps:
Submit the concurrent program Synchronize WF LOCAL tables.
Log file shows error.
Workaround
N/A
Solution Description
해당 error 는 per_all_people_f table 의 global_name 이 null 이기 때문에 발생하는 error 로 가장 간단하게는 아래와 같이 처리 하면 된다.
update per_all_people_f
set global_name = full_name
where global_name is null;
commit;
위의 작업 후 다시 Synchronize WF LOCAL tables process 를 수행 한다.
해당 issue 에 대한 원인은 note. 397219.1 - Why Are There NULL Values For global_name In 를 참조 하도록 한다.
Reference Documents
Note 375508.1 - Synchronize Wf Local Tables Errors: Ora-01400: CannotHi Hussein,
Thanks for reply. Please find the below details.
RELEASE_NAME
12.1.3
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
Linux **** 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
Conc Req Log file
Application Object Library: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
FNDWFLSC module: Synchronize WF LOCAL tables
Current system time is 19-JUN-2012 05:49:20
**Starts**19-JUN-2012 05:49:20
**Ends**19-JUN-2012 05:49:20
ORA-14501: object is not partitioned
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Output file size:
0
Finished executing request completion options.
Concurrent request completed
Current system time is 19-JUN-2012 05:49:20
--------------------------------------------------------------------------- -
Synchronize WF LOCAL tables error
hi,
I am getting the following error while running Synchronize WF LOCAL tables
ORA-12801: error signaled in parallel query server P002
ORA-01400: cannot insert NULL into ("APPLSYS"."WF_LOCAL_ROLES_STAGE"."DISPLAY_NAME")
i did not insert any null valuesHi,
Did you verify that you have patch 4710650 applied (provided that your HRMS patchset level is HRMS Family Pack K or above)?
Run the query in Note: 559262.1 and verify if you have NULL values, most probably you have invalid data and a data fix is required to resolve this issue, so please log a SR as suggested in the document.
Regards,
Hussein -
Synchronize WF Local tables program
Hi,
I'm on 11.5.10.2 and I'm trying to rename the oracle username (fnd_user table) (Ex: ABC to ABCD).
Once I rename the user, and run the Synchronize WF Local tables program, I can query the new user name with the attached responsibilities.
However if the user is associated with an employee and I rename the oracle user, and I run the Synchronize WF Local tables program, I'm unable to see the new username with the attached responsiblities.
Is this how Synchronize WF Local tables program works? Does it not propagate the changes when the user is associated to an employee.
Any help would be appreciated.Have you tried to submit "Workflow Directory Services User/Role Validation" and see if it helps?
FND Users changes are not propagated to WF Directory Services Tables (WFDS) [ID 356529.1]
How are FND_USERS, HR, and WF_LOCAL_ROLES Kept In Synchronization? [ID 364647.1]
Thanks,
Hussein -
Synchronize WF LOCAL tables in R12 failed with error :ORA-14501 object is
Hi All,
In our R12 enviroment "Synchronize WF LOCAL tables" conc program failing with :ORA-14501 object is not partitioned.
Tried solution as per doc id . 433280.1 -- Partitions in Workflow Local Tables are Automatically Switched to NOLOGGING . But no success.
Please help.Hi Hussein,
Thanks for reply. Please find the below details.
RELEASE_NAME
12.1.3
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
Linux **** 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
Conc Req Log file
Application Object Library: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
FNDWFLSC module: Synchronize WF LOCAL tables
Current system time is 19-JUN-2012 05:49:20
**Starts**19-JUN-2012 05:49:20
**Ends**19-JUN-2012 05:49:20
ORA-14501: object is not partitioned
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Output file size:
0
Finished executing request completion options.
Concurrent request completed
Current system time is 19-JUN-2012 05:49:20
--------------------------------------------------------------------------- -
"Synchronize WF LOCAL tables" has completed with error.
Hi Guys,
My FNDWFLSC program is failing with the below error:
ORA-12801: error signaled in parallel query server P000
ORA-30022: Cannot create segments in undo tablespace
When I check the tablespace its named as "APPS_UNDOTS1" and there are 4 undo....dbf files are present and have enough empty space on this tablespace.
Thanks,No, error in database log file.
Below is the full content of the log file..........
Application Object Library: Version : 11.5.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
FNDWFLSC module: Synchronize WF LOCAL tables
Current system time is 03-JUN-2013 23:34:11
**Starts**03-JUN-2013 23:34:11
**Ends**03-JUN-2013 23:34:12
ORA-12801: error signaled in parallel query server P000
ORA-30022: Cannot create segments in undo tablespace
Start of log messages from FND_FILE
End of log messages from FND_FILE
Successfully resubmitted concurrent program FNDWFLSC with request ID 19632231 to start at 04-JUN-2013 23:34:00 (ROUTINE=AFPSRS)
Executing request completion options...
Finished executing request completion options.
Exceptions posted by this request:
Concurrent Request for "Synchronize WF LOCAL tables" has completed with error.
Concurrent request completed
Current system time is 03-JUN-2013 23:34:13
--------------------------------------------------------------------------- -
Syncronize Groups in Custom Table to OID
Has any one implemented a solution to integrate Group data ( multiple rows of data to represent group membership) which is stored in a custom table to OID?
The current DIP table sync profile seems to support only users which does not have multi-valued attribute like " group members"
Is LDAPADD/LDAPMODIFY an option? I would appreciate sharing any ideas on how this sync could be implemented.
ThanksIs there a sample of such pl/sql package you can share ? Pl. email to [email protected]
For the initial boot strapping would it be better to generate the users and group in form a ldif file and upload it to OID. Moving forward you can use DBMS_LDAP package for adds and modficatiions ?
Thanks -
Synchronize Local WF Tables is reverting partitions to NOLOGGING
On ATG.H RUP 4 and 5, there is a bug where the daily Synchronize WF Local Tables concurrent request set is reverting partitions of WF_LOCAL_ROLES to NOLOGGING. If you attempt to restore a database or clone when this request set has run between your hot backup time and your requested restore time, you will not be able to log in due to:
ORA-01578: Oracle data block corrupted (file #66, block #106574)
ORA-26040: Data block was loaded using the NOLOGGING option
ORA-06512: at "APPS.WF_DIRECTORY", line 649
The block corresponds to applsys.wf_local_roles.
Note 433280.1 indicated this is fixed in ATG.H RUP6.
Partitions in Workflow Local Tables are Automatically Switched to NOLOGGING
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=433280.1
RUNNING SYNCHRONIZE WF LOCAL TABLES CHANGES PARTITION TO NOLOGGING.
https://metalink.oracle.com/metalink/plsql/showdoc?db=Bug&id=5942254
During a Backup, WF_LOCAL_ROLES Is Showing Corrupt Block
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=369535.1
I hacked around it by truncating wf_local_roles in the target, then exported it from the source, imported in the target instance and ran the Synchronize WF Local Tables request set:
Unable To Login After Clone
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=418130.1
We altered all the wf_local_roles partitions to logging yesterday in the source instance, and one reverted back to nologging today already. Pretty annoying...thanks michael for sharing that with us
fadi -
Synchronize Workflow LOCAL tables (Report Set)
Hi What is the use of Synchronize Workflow LOCAL tables (Report Set) .I found it scheduled in my instance every day once and what is the impact of that one ?
rgds
RajRaj,
Just a small input..
We using sshr and leaves updating showing wrong person I understand the approval hirearchy shows wrong person in the leave approval. I faced the similar issue.. Just check the Employee's Supervisor ID... in the People-Assignment..
If not,please tell me exactly what you are looking for..
Thanks
Yusuf -
Tables involve in program synchronize WF LOCAL tables
Hi All,
i am using ebs r12 12.1.1 on OUL5
would like to know how to find out which tables involve in program
" Synchronize WF LOCAL tables"
other way, when running " Synchronize WF LOCAL tables" which tables would be updated.
Thanks in advance.
Regards,You can set the trace on for the concurrent program (using sysadmin > concurrent programs) screen and then run tkprof on the trace.
It will not only give you the tables used but also the exact statements that are executed.
Hope this helps
Sandeep Gandhi
Independent Techno-functional Consultant -
Hi.
Can someone point me to where Oracle documents the use (not the errors that are found when running it) of the following program?
'Synchronize WF LOCAL tables'
I have actually run this before after a clone to reassign the responsibilities to the users, but is there another reason to call this program??
Thank
Edited by: user11981168 on 24-May-2010 08:21Hi,
As per my understanding from your question,
Run the Synchronize WF LOCAL Tables program to perform synchronization in bulk.
This periodically refreshes the information in the Workflow local tables for Oracle Trading Community Architecture (TCA). Use this concurrent program as an interim method to synchronize the Workflow local tables with the user and role information stored in the TCA tables until TCA performs the synchronization automatically.
The Synchronize Workflow LOCAL Tables request set contains ten instances of the Synchronize WF Local Tables program, one for each originating system. You can use this request set to submit requests for all the originating systems at once. Each request is defined as a separate stage and the stages will run sequentially because this program is incompatible with itself.
By default, this request set runs once a day to provide a minimal level of synchronization. You can modify the schedule for the request set to perform
synchronization more frequently.
For more information, see: Synchronizing Workflow User and Role Information, in Setting Up an Oracle Workflow Directory Service, Oracle Workflow Administrator's Guide.
Thanks,
Ajikumar G
Expertise in Oracle Apps... -
BI Administration - Synchronize with Database Table
Hi,
I have added 2 new columns in the Database and I want to synchronize them with the Physical Layer in BI Model.
How can I do this without affecting any relationships?
ThanksOpen the Administration tool and in the physical layer, for the physical table changed, you have to create a new column with the same name/datatype of the column you have added on the database.
as double check, click on the property "View Data" of the column just added.
Bye,
Nazza -
DIP synchronization from Domino LDAP to OID
Hi,
has anyone tried using DIP to synchronize users and groups from Lotus Domino LDAP to OID?
There is a connector available with OIM, but since I don't need provisioning was hoping to get away without extra OIM infrastructure. (I will use OIM if I have to).
My attempts are still in the early stage, and wanted to make sure I was going down the right road.
Using 10.1.4.3 OID, creating an import connector using the import openLDAP template.
Looks like I can get the mapping down and a manual bootstrap does work.
1) Can I adapt elements of the OIM adapter to work within the DIP connector?
2) Domino seems to store groups at the root DSE. The DIP connector does not accept empty or "" as a source domain to search for the groups. It needs that the source groups be stored in a container. Anyone run into this type of thing? Is there something to enter into the DIP connector config that will allow using the ROOT DSE of the target as search source?
3) When I enable the connector, Synchronization delivers a success status. Reconcile is errored and unsuccessful. Can I get by with only synchronization working?
4) Going outside of Oracle here...but is anyone aware if Lotus Domino LDAP maintains a changelog? Or does it use modify timestamps as attributes of users/groups?
5) In the eventuality that I need to write a custom agent for Domino or custom 'Reader' or reconcile agent. Has anyone done this or have sample code to look at? Even if not for Domino, but custom for other LDAP?
Thanksit's either DIP via LDAP or OIM connector via Lotus Java API. I'd go with LDAP...if DIP doesn't work, it's pretty simple to write a script to export records and then import them into OID. There are a lot of LDAP utilities, google is your friend.
-
Synchronization of selected tables
Some queries on data selection in Oracle Lite based application :
(a)My central Oracle Server has a large amount of data whereas I want only some of it (few tables/rows) to be downloaded into the Oracle Lite of my mobile users.Is this possible - how ?
(b) For Oracle Lite on a user's machine, I want only selected data (tables/rows) to be synchronized with the central Oracle server. Is this possible?
Thanks.You CAN do a) and b). Please look in documentation 2.7 Creating Snapshot Definitions :
The data that your offline applications operate on is stored in an Oracle Lite database as either base tables or snapshots. Base tables can be created using the CREATE TABLE SQL statement. Base table store data that is independent of the server data; changes made to them are never synchronized with the server database.
Snapshots store a subset of server data. Changes made to a snapshot can be synchronized with the server data. However, snapshots cannot be created in your Oracle Lite database by using SQL statements. Snapshots are created by the Mobile Server as part of the application installation. They are created based on the publication items defined on the Mobile server. A publication items contains a parameterized SQL query that defines the subset of server data that needs to be stored in the snapshot.
In most situations, a table or view already exist on the server from which you will create snapshots for your application to use. The following techniques can be used to create publication items on the Mobile Server, which then automatically creates snapshots on the client when you synchronize with the database. The options for creating publication items/snapshot definitions are:
Creating a Snapshot Definition Declaratively - Create publication items using the Packaging Wizard. This is the recommended method. However, the current version of Packaging Wizard does note permit creation of publication items from a view.
Creating the Snapshot Definition Programmatically - Create a publication item programmatically using the Consolidator API. -
CMP synchronize to updated table
Hi,
My project has to build a lot of CMPs but the table structure
may change very frequently. Is there any way in 9iJeveloper
can synchronize my old CMPs with the updated table structure?
thanks in advance.Currently there is no auto-synchronization. You would have to manually add/edit/delete CMP Fields using
EJB Class Editor.
raghu
JDev Team
Maybe you are looking for
-
Excel attachment using SO_DOCUMENT_SEND_API1
Hi I am using FM SO_DOCUMENT_SEND_API1 to send .XLS attachment from ABAP program. I am using following code to calculate the size. DESCRIBE TABLE t_attachment LINES t_packing_list-body_num. t_packing_list-doc_size = t_packing_list-body_num * 255.
-
Video not in sync with audio or vice-versa
This is a last ditch effort to try to find some definitive help. Everyone has a sad story when things go awry with video capture. Here's mine: I recommended the Apple platform and iMovie for my wife for documenting a how-to for a particular hair s
-
Hi, I am using the product hierarchy in the report and its used for drilling down. when i say drilldown the report is not working and TIME OUT warning is coming. I have run the same report in quality system which contains more or less the same data.
-
Hey my iPod is not showing up on iTunes and my computer doesn't recognize it. It runs out of battery very fast and only shows the 'Connect to iTunes" screen. What do I do?
-
Menue bar does not drop sometimes when in Safari Mountain Lion
When in Safari on Mountain I have had a few occassions where the menue bar will not drop down to close Safari