OIM Database Table Descriptions
If you want to learn more about the purpose of all the tables in the OIM schema, you can get the table comments from the Oracle Database.
With SQLPLUS or SQL Developer, login as the XELADM or equivilent user
Enter the fo9llowing query:
select * from user_tab_comments;
The output is a little to large to post here, but you should find it useful.
There are also some column comments that can be retrieved with:
select * from user_col_comments;
KC
I found the best way to get a description is to use the lookup information from the lookup definitions. It is the name of the lookup, and you can match it to the database fields.
-Kevin
Similar Messages
-
OIM Database Tables Trusted source reconciliation error
Hello everyone!
I am new in OIM. For a practice I have decided to implement databasetable trusted reconciliation. I have did according to the documentation except STATUS Reconciliation:
http://download.oracle.com/docs/cd/E11223_01/doc.910/e11194/app_sample.htm#CJFHIHHM
In the table I inserted one user. Next I started manually reconciliation task. An user creation ended successfully. But when I start manually reconciliation task next time status of this task hanged in “Running” and in server log I got an error:
21:46:12,351 ERROR [APIS] Class/Method: tcReconciliationOperationsBean/ignoreEventData encounter some problems: {1}
java.lang.NullPointerException
at com.thortech.xl.dataobj.util.tcReconciliationUtil.isUserIdentical(Unknown Source)
at com.thortech.xl.dataobj.util.tcReconciliationUtil.ignoreEvent(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcReconciliationOperationsBean.ignoreEventData(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcReconciliationOperationsBean.ignoreEvent(Unknown Source)
at com.thortech.xl.ejb.beans.tcReconciliationOperationsSession.ignoreEvent(Unknown Source)
As I didn’t modify the user in the table I expect that reconciliation finished with nothing to do. But there are an error.
Have any ideas which case this behavior? And how can I fix it?
Edited by: user11136777 on Jun 8, 2010 7:14 PMHi,
Can you tell me what is Reconciliation Rule, Object Action Rule and what are you getting Recon Manager screen in Design Console.
Regards
Alabhay Goel -
Running a query On OIM Database inside an adapter task
Hi,
How can I run a SQL query to get some value from OIM database table inside an adapter task? How do I get Db connection without using JDBC API inside adapter task?
Thanks in advancecreate a variable in the adapter factory of type object , map to adapter references- > qualifier database reference.
you can then use this variable, in your method signature where it requires a database instance. using this database instance you can run sql queries.
if you need to run a stored procedure, then simply create an adapter -> Fucntional Task-> Stored procedure. -
Need Information on database tables in OIM Schema
Hi All,
Is there any document/link where can I get all the information on all OIM Schema database tables like obj, orf and so forth information?
Regards,
SunnyHi,
Also, you can perform the queries below to get the table names and the name of each field when using the OIM's api. Change the OIMDBUSER value for your OIM's schema name. You'll notice some tables do not have comments, for example, the resource and process form tables (starts with UD). For the ""UD_*" tables, you can get the SDK_DESCRIPTION
<h3>Getting the table names WITHOUT UD_ descriptions</h3>
*SELECT* t.owner, t.table_name, tc.comments <br>
*FROM* all_tables t, all_tab_comments tc <br>
*WHERE* t.owner = 'OIMDBUSER' *AND* tc.table_name = t.table_name
*ORDER BY* t.table_name
<h3>Getting the table names WITH UD_ descriptions</h3>
*SELECT* t.owner, t.table_name, NVL(tc.comments, NVL(sdk.sdk_form_description, 'No Comments')) comments <br>
*FROM* <br>
all_tables t<br>
*LEFT OUTER JOIN* sdk *ON* t.table_name = sdk.sdk_name, <br>
all_tab_comments tc <br>
*WHERE* t.owner = 'OIMDBUSER' *AND* tc.table_name = t.table_name
*ORDER BY* t.table_name
<h3>Getting the column names for OIM API</h3>
*SELECT* lku_field, lku_type_string_key <br>
*FROM* lku <br>
*WHERE* lku_type = 'f' <br>
*ORDER BY* lku_field
Renato -
How to customize Database Tables Application Connector to OIM
Hi,
Anybody know whether is it possible to customize Database Tables Connector that it could be used to make reconciliation to any table in OIM schema (not only to USR table, that is default)?
I have reviewed config xml files but did not found any entry that could be used to achieve this.
Thanks in advance,
Maciej.
Edited by: maciej.mac on Oct 12, 2009 11:58 PMHi,
The custom DB App table connector is used to reconcile identities or account information from the target tables. So when you create a GTC connector this process will create all OIM objects for you (Resource Object, Process, Recon rules etc).
You need to look into deploymenmt document for 'GTC DBApp Tables Connector'. look into the following link for section : "3 Creating the Connector".
Link : [http://download.oracle.com/docs/cd/E11223_01/doc.910/e11194/create.htm#CIABIJCH]
Remember as not to create this as connector for 'trusted mode'. This connector will replicate all the tables from the target to OIM and reconcile data what you want to these tables. But this data will behave as a 'Account for the User', so you need to make sure that you have some unique matching attribute at the target tables as well to link this account to OIM user.
I recommend you to go thorugh the deployment doc and see what is created in OIM. This will make it more explicit. -
Hi,
We have an OIM 11g R2 version running that has a GTC installed and configured. The GTC is used to provision to a 11g R2 database table via the DBAT 9.1.0.5.0 connector. Now the requirement is that the timestamp be recorded in the backend DB when a new record is provisioned to it using the GTC.
During the setup of the GTC, the target system date format is asked for should be one from among the values allowed by the following predefined formats:
Customizing Formats (The Java&trade; Tutorials &gt; Internationalization &gt; Formatting)
Now our problem is that the target DB to which the provisioning is supposed to happen, isn't under our control and hence we cannot change its schema, and the date format in that table is of the type "01-JAN-10 12.00.00.000000000 AM", which translates to "dd-MMM-yy hh.mm.ss.fffffffff (AM/PM)".
On the other hand, as you can see from the above link, none of the values that OIM allows to be passed through the GTC allow for that format to be used.
Does anyone know of any way in which we can intercept the GTC provisioning request and convert the date on the fly, after OIM has passed on the control, but before the values are written into the DB table, or does anyone know of any workarounds to this issue?
I'd really appreciate it if someone could provide a solution to this.
Thanks.[http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/refsched.htm#CIHBFCJG]
See 26.6 for the plugin.zip directory structure, and as I said, I used the same method on a previous task in the same OIM instance.
Edited by: 939908 on Jan 31, 2013 8:04 AM -
OIM Database Applications Table fails to connect via GTC - Weblogic, Linux
Environment:
OIM - 9100 (public download)
Red Hat Linux
XLADM Oracle 10g
Weblogic 8.1 SP6 - no cluster
I have installed the Database Application Connector and am trying to configure it via the Generic Technology Connector, but it keeps failing to connect. I know those parameters are correct and have validated via sqlplus \ SQLDeveloper. Also its the exact same database (not SID) that is hosting XLADM as well, so I know it can find the machine and such. I had another previous OIM on JBoss install locally on my Windows workstation that worked fine too. I can see in the log that the DBProvisioningTransportProvider is getting the props fine and then blows up when trying to connect. I have tried even updating the ojdb14.jar drivers in XELLERATE_HOME/ext and that doesn't matter. I'm sure it's something simple, environment related, or a bug. Any help is appreciated.
DEBUG,16 Oct 2008 09:07:44,735,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName......
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],getProviderClassName--->
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider...providerName = DBProvisioningFormat
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider......1
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider......2
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider......2
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider......6
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName.....found provider.
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName....provider class name = ..com.thortech.xl.gc.impl.prov.DBProvisioningFormatProvider
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION], provider nameDBProvisioningFormat
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION], provider def attribnull
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION], provider parm, listnull
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION], provider resp codes{DB_LOAD_DRIVER_CLASS_ERROR=The target database JDBC driver class cannot be loaded}
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName. ..found transformation provider.....com.thortech.xl.gc.impl.prov.DBProvisioningFormatProvider
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader entered.
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader left.
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName......
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],getProviderClassName--->
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider...providerName = DBProvisioningTransport
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider......3
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider. .provTransportprovider name = WebServices
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider. .provTransportprovider providername = DBProvisioningTransport
DEBUG,16 Oct 2008 09:07:44,736,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider. .provTransportprovider name = DBProvisioningTransport
DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider. .provTransportprovider providername = DBProvisioningTransport
DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider. .provTransportprovider name = DBProvisioningTransport
DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider. .provTransportprovider name = DBProvisioningTransport
DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider. .provider = provTransportprovider name = DBProvisioningTransport
DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProvider......6
DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName.....found provider.
DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName....provider class name = ..com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider
DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION], provider nameDBProvisioningTransport
DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION], provider def attribnull
DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION], provider parm, list[name: driver, datatype: String, encrypted: false, type: Runtime.
validValueList is following
, name: url, datatype: String, encrypted: false, type: Runtime.
validValueList is following
, name: username, datatype: String, encrypted: false, type: Runtime.
validValueList is following
, name: password, datatype: String, encrypted: true, type: Runtime.
validValueList is following
, name: connectionProp, datatype: String, encrypted: false, type: Runtime.
validValueList is following
, name: parentContainerName, datatype: String, encrypted: false, type: Design.
validValueList is following
, name: childContainerTableNames, datatype: String, encrypted: false, type: Design.
validValueList is following
, name: parentContainerUniqueKey, datatype: String, encrypted: false, type: Design.
validValueList is following
, name: statusField, datatype: String, encrypted: false, type: Design.
validValueList is following
, name: statusLookupCode, datatype: String, encrypted: false, type: Design.
validValueList is following
, name: dbDateFormat, datatype: String, encrypted: false, type: Design.
validValueList is following
DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION], provider resp codes{DB_GET_METADATA_ERROR=The target database schema detection failed, DB_UPDATE_CHILDRECORD_ERROR=A database error was encountered during a row update in a child table, DB_COL_DETECTION_ERROR=The column information of the database table cannot be detected, DB_UPDATE_EMPTY_RECORD_ERROR=Empty record cannot be updated. Please ensure to run reconciliation task to bring the systems in sync., DB_OP_NOTSUPPORTED=This operation is currently not supported, DB_TYPE_DETECTION_ERROR=The type of the database column cannot be detected, DB_LOAD_DRIVER_CLASS_ERROR=The target database JDBC driver class cannot be loaded, DB_FK_DETECTION_ERROR=The foreign keys of the database table cannot be detected, DB_CREATE_CHILDRECORD_ERROR=A database error was encountered when inserting data into a child table, DB_UPDATE_PARENTRECORD_ERROR=A database error was encountered during a row update in a parent table, DB_DELETE_EMPTY_RECORD_ERROR=Empty record cannot be deleted. Please ensure to run reconciliation task to bring the systems in sync., DB_CREATE_PARENTRECORD_ERROR=A database error was encountered when inserting data into a parent table, DB_CHILD_FK_ERROR=The child table does not have foreign keys that reference to the parent table, DB_ROWCOUNT_ERROR=A database error was encountered when retrieving the row count from a resultset, DB_DELETE_RECORD_ERROR=A database error was encountered when deleting data from a parent table, DB_DELETE_CHILDRECORD_ERROR=A database error was encountered when deleting data from a child table, DB_PK_DETECTION_ERROR=The primary keys of the database table cannot be detected, DB_PK_UPDATE_ERROR=The process form key field update is not supported}
DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.GC.PROVIDERREGISTRATION],inside getProviderClassName. ..found transformation provider.....com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider
DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader entered.
DEBUG,16 Oct 2008 09:07:44,737,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader left.
DEBUG,16 Oct 2008 09:07:44,737,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize entered.
DEBUG,16 Oct 2008 09:07:44,737,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: driver - Value: oracle.jdbc.driver.OracleDriver
DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: url - Value: jdbc:oracle:thin:MyIP:1521:MySID
DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: username - Value: my_user
DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: password - Value: *******
DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: parentContainerName - Value: MY_USER_TABLE
DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBReconTransportProvider/convertCSVToArraylist entered.
DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBReconTransportProvider/convertCSVToArraylist - Data: Run Time Parameters - Value: []
DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: childContainerTableNames - Value: []
DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: parentContainerUniqueKey - Value: USER_ID
DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: statusField - Value:
DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: statusFieldLookup - Value:
DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize left.
DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: dbDateFormat - Value:
DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/defineMetadata entered.
DEBUG,16 Oct 2008 09:07:44,738,[OIMCP.DATC],Class/Method: DBFacade/getConnectionProp entered.
ERROR,16 Oct 2008 09:07:44,739,[OIMCP.DATC],Class/Method: DBFacade/getConnection encounter some problems: Io exception: The Network Adapter could not establish the connection
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;Ljava.lang.ClassLoader;)Ljava.sql.Connection;(Unknown Source)
at java.sql.DriverManager.getConnection(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Unknown Source)
at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:51)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:771)
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:95)
at com.thortech.xl.gc.impl.common.DBFacade.getConnection()Ljava.sql.Connection;(Unknown Source)
at com.thortech.xl.gc.impl.common.DBFacade.getMetadata()Ljava.sql.DatabaseMetaData;(Unknown Source)
at com.thortech.xl.gc.impl.common.DBFacade.getDBType()Ljava.lang.String;(Unknown Source)
at com.thortech.xl.gc.impl.common.DBFacade.getSchema(Ljava.lang.String;Ljava.lang.String;Ljava.util.ArrayList;)Lcom.thortech.xl.gc.impl.common.Schema;(Unknown Source)
at com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider.getSchema()Lcom.thortech.xl.gc.impl.common.Schema;(Unknown Source)
at com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider.detectMetadata()Lcom.thortech.xl.gc.vo.designtime.TargetSchema;(Unknown Source)
at com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider.defineMetadata()Lcom.thortech.xl.gc.vo.designtime.TargetSchema;(Unknown Source)
at com.thortech.xl.webclient.actions.CreateConnectorAction.getGenericAdapter(Lcom.thortech.xl.gc.vo.designtime.GenericAdapter;Lcom.thortech.xl.webclient.actions.CreateConnectorForm;Ljavax.servlet.http.HttpSession;Ljava.util.ArrayList;Lorg.apache.struts.util.MessageResources;)Lorg.apache.struts.action.ActionErrors;(Unknown Source)
at com.thortech.xl.webclient.actions.CreateConnectorAction.imageScreen(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
at com.thortech.xl.webclient.actions.CreateConnectorAction.goNext(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
at com.thortech.xl.webclient.actions.tcActionBase.execute(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
ERROR,16 Oct 2008 09:07:44,739,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/defineMetadata encounter some problems: DB_GET_CONNECTION_ERROR
com.thortech.xl.gc.exception.DBException: DB_GET_CONNECTION_ERROR
at com.thortech.xl.gc.impl.common.DBFacade.getConnection()Ljava.sql.Connection;(Unknown Source)
at com.thortech.xl.gc.impl.common.DBFacade.getMetadata()Ljava.sql.DatabaseMetaData;(Unknown Source)
at com.thortech.xl.gc.impl.common.DBFacade.getDBType()Ljava.lang.String;(Unknown Source)
at com.thortech.xl.gc.impl.common.DBFacade.getSchema(Ljava.lang.String;Ljava.lang.String;Ljava.util.ArrayList;)Lcom.thortech.xl.gc.impl.common.Schema;(Unknown Source)
at com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider.getSchema()Lcom.thortech.xl.gc.impl.common.Schema;(Unknown Source)
at com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider.detectMetadata()Lcom.thortech.xl.gc.vo.designtime.TargetSchema;(Unknown Source)
at com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider.defineMetadata()Lcom.thortech.xl.gc.vo.designtime.TargetSchema;(Unknown Source)
at com.thortech.xl.webclient.actions.CreateConnectorAction.getGenericAdapter(Lcom.thortech.xl.gc.vo.designtime.GenericAdapter;Lcom.thortech.xl.webclient.actions.CreateConnectorForm;Ljavax.servlet.http.HttpSession;Ljava.util.ArrayList;Lorg.apache.struts.util.MessageResources;)Lorg.apache.struts.action.ActionErrors;(Unknown Source)
at com.thortech.xl.webclient.actions.CreateConnectorAction.imageScreen(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
at com.thortech.xl.webclient.actions.CreateConnectorAction.goNext(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
at com.thortech.xl.webclient.actions.tcActionBase.execute(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
at com.thortech.xl.webclient.actions.tcAction.execute(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
at com.thortech.xl.webclient.actions.CreateConnectorAction.execute(Lorg.apache.struts.action.ActionMapping;Lorg.apache.struts.action.ActionForm;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)Lorg.apache.struts.action.ActionForward;(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
Caused by [Nested Exception]:shouldn't the connect string look like jdbc:oracle:thin:@MyIP:1521:MySID ?
-
Issue in creation of group in oim database through sql query.
hi guys,
i am trying to create a group in oim database through sql query:
insert into ugp(ugp_key,ugp_name,ugp_create,ugp_update,ugp_createby,ugp_updateby,)values(786,'dbrole','09-jul-12','09-jul-12',1,1);
it is inserting the group in ugp table but it is not showing in admin console.
After that i also tried with this query:
insert into gpp(ugp_key,gpp_ugp_key,gpp_write,gpp_delete,gpp_create,gpp_createby,gpp_update,gpp_updateby)values(786,1,1,1,'09-jul-12',1,'09-jul-12',1);
After that i tried with this query.but still no use.
and i also tried to assign a user to the group through query:
insert into usg(ugp_key,usr_key,usg_priority,usg_create,usg_update,usg_createby,usg_updateby)values(4,81,1,'09-jul-12','09-jul-12',1,1);
But still the same problem.it is inserting in db.but not listing in admin console.
thanks,
hanuman.Hanuman Thota wrote:
hi vladimir,
i didn't find this 'ugp_seq'.is this a table or column?where is it?
It is a sequence.
See here for details on oracle sequences:
http://www.techonthenet.com/oracle/sequences.php
Most of the OIM database schema is created with the following script, located in the RCU distribution:
$RCU_HOME/rcu/integration/oim/sql/xell.sql
there you'll find plenty of sequence creation directives like:
create sequence UGP_SEQ
increment by 1
start with 1
cache 20
to create a sequence, and
INSERT INTO UGP (UGP_KEY, UGP_NAME, UGP_UPDATEBY, UGP_UPDATE, UGP_CREATEBY, UGP_CREATE,UGP_ROWVER, UGP_DATA_LEVEL, UGP_ROLE_CATEGORY_KEY, UGP_ROLE_OWNER_KEY, UGP_DISPLAY_NAME, UGP_ROLENAME, UGP_DESCRIPTION, UGP_NAMESPACE)
VALUES (ugp_seq.nextval,'SYSTEM ADMINISTRATORS', sysadmUsrKey , SYSDATE,sysadmUsrKey , SYSDATE, hextoraw('0000000000000000'), 1, roleCategoryKey, sysadmUsrKey, 'SYSTEM ADMINISTRATORS', 'SYSTEM ADMINISTRATORS', 'System Administrator role for OIM', 'Default');
as a sequence usage example.
Regards,
Vladimir -
How can I make an easy *.CSV file to load into database table
Hi All,
I have a huge excel sheet having columns item#, description and qty. The description column sometimes maybe one word name, two word name separated with space or may be , spearated name. I want to write and PL/SQl code which will read this file and load it into database table. Now the *.CSV file is either comma delimited or tab text delmited which both do not solve my issue. Is there any better solution with anyone which can prevent the manual editing to the *.CSV file and I can easily load it to table.
Your help is appreciated,
Thanks
ZahirSQL*Loader is probably the fastest method, but since you specifically asked for a PL/SQL method:
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:464420312302 -
How to create tree by database table
hello sir ,
my table is as follows,
NAME LINK ID PID ROLLID
User mgt. f?p=131:1: 1 - 10 ////root node///
district 10 1 1 child
Roles 16 14 4 child
Users 11 10 1 child
ROLLID is given from another table whis is (ROLES). i making tree by the combinations of id , pid, & roll id. by the roll id i can manage the tree to do not display specific nodes to specific users.
ROLE table as :
ROLE_ID NAME DESCRIPTION
1 Administrator This is administrator
2 Assistant Director -
3 Assistant Statistical Officer -
4 Data Entry Operator -
but i think it is very complicated process . give me solution about it
also i have to give my images to each node. how can i do that?You already have a thread going about this: Re: how to create tree by database table .
Scott -
Populating the Signature field of OIM UPA table
The OIM UPA table has a SIGNATURE field which customers can use for storing digital signature of the snapshot (for non-repudiation purposes).
By default - the value of this field is "NULL" in the database.
Did not find any documentation on how this field is populated.
Has any one made use of this non-repudiation feature.
Thanks,
ChetanIf you want this functionality it is actually not that hard to create a scheduled task that populates the signature field using a third party non repudiation provider.
Doing local non repudiation is per definition non useful so you do need a trusted third party (i.e. Guardtime (http://www.guardtime.com/)) that provides the service.
Best regards
/Martin -
How to count and display the number of records in a database table
My webpage has a list of items and their details, every item has a button
Read / Make comments that loads the item in its own page displaying
a comments form and previous comments.
This is all working fine.
I would like to add to each item information stating how many comments have
been made about that item.
Allowing the user to see before hand if it is worth while clicking on the
Read / Make comments button.
Ideally each item will have a different number of comments.
The problem I have is outputing the number of comments associated with each item.
My comments table is called guest my items table is called titles.
I'm sure mysql statement is correct -
The table guest currently has 7 comments,
Item 1 has 3 comments
Item 2 has 2 comments
Item 3 has 1 comment
Item 4 has 1 comment
When I test the query in dreamweaver
$Recordset1 = "SELECT COUNT(guest.software_id) as COUNT, titles.id FROM titles LEFT JOIN guest ON titles.id = guest.software_id GROUP BY guest.software_id";
the outoput is a list showing 2, 3, 1, 1
My problem is, getting the totals into my repeat region.
I tried the following line
<td align="left" valign="top" bgcolor="#e5f8cb">Current comments:<?php echo $row_Recordset1['COUNT']; ?></td>
resulting in all comments so far displaying 0
I have highlighted in bold the parts that I am having difficulty with.
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
$colname_rsTitles = "-1";
if (isset($_GET['id'])) {
$colname_rsTitles = $_GET['id'];
mysql_select_db($database_abe, $abe);
$query_rsTitles = sprintf("SELECT title, company, `description`, resources, location, url, image, keyword, copies FROM titles WHERE id = %s ORDER BY id ASC", GetSQLValueString($colname_rsTitles, "int"));
$rsTitles = mysql_query($query_rsTitles, $abe) or die(mysql_error());
$row_rsTitles = mysql_fetch_assoc($rsTitles);
$totalRows_rsTitles = "-1";
if (isset($_GET['id'])) {
$totalRows_rsTitles = $_GET['id'];
$colname_rsTitles = "-1";
mysql_select_db($database_abe, $abe);
$query_rsTitles = sprintf("SELECT title, company, `description`, resources, location, url, image, keyword, copies FROM titles WHERE id = %s ORDER BY id ASC", GetSQLValueString($colname_rsTitles, "int"));
$rsTitles = mysql_query($query_rsTitles, $abe) or die(mysql_error());
$row_rsTitles = mysql_fetch_assoc($rsTitles);
$totalRows_rsTitles = mysql_num_rows($rsTitles);
mysql_select_db($database_abe, $abe);
$query_rs_comments = "SELECT * FROM guest";
$rs_comments = mysql_query($query_rs_comments, $abe) or die(mysql_error());
$row_rs_comments = mysql_fetch_assoc($rs_comments);
$totalRows_rs_comments = mysql_num_rows($rs_comments);
mysql_select_db($database_abe, $abe);
$query_rs_users = "SELECT * FROM users";
$rs_users = mysql_query($query_rs_users, $abe) or die(mysql_error());
$row_rs_users = mysql_fetch_assoc($rs_users);
$totalRows_rs_users = mysql_num_rows($rs_users);
mysql_select_db($database_abe, $abe);
$query_Recordset1 = "SELECT COUNT(guest.software_id) as COUNT, titles.id FROM titles LEFT JOIN guest ON titles.id = guest.software_id GROUP BY guest.software_id";
$Recordset1 = mysql_query($query_Recordset1, $abe) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
mysql_select_db($database_abe, $abe);
if(!isset($_POST['softwareLevel'])){
if (!isset($_GET['class_id'])) {
//show all software titles
$query_rsTitles = "SELECT id, title, company, `description`, resources, location, url, image, keyword, copies FROM titles ORDER BY id ASC";
}else{
//show software titles filtered by Literacy of Numeracy (using URL GET variable)
$query_rsTitles = "SELECT id, title, company, `description`, resources, location, url, image, keyword, copies FROM titles WHERE titles.class_id = ". GetSQLValueString($_GET['class_id'], "int") ." ORDER BY id ASC";
}else{
//show software titles filtered by Level (using Form POST variable)
$query_rsTitles = "SELECT id, title, company, `description`, resources, location, url, image, keyword, copies FROM titles WHERE titles.level_id = ". GetSQLValueString($_POST['softwareLevel'], "int") ." ORDER BY id ASC";
$rsTitles = mysql_query($query_rsTitles, $abe) or die(mysql_error());
$row_rsTitles = mysql_fetch_assoc($rsTitles);
$totalRows_rsTitles = mysql_num_rows($rsTitles);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php $pagetitle="ABE Software Locator"?>
<html xmlns="http://www.w3.org/1999/xhtml" >
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $pagetitle ?></title>
<link rel="stylesheet" href="../../includes/styles.css" type="text/css" media="screen" />
<style type="text/css">
body {
background-color: #FFF;
</style>
</head>
<body>
<?php include("../../includes/header.php"); ?>
<div><table width="70%" border="0" align="center" cellpadding="3" cellspacing="0">
<tr>
<td width="29%" height="50" align="center"><a href="software_detail.php">Back to Locator</a></td>
<td width="50%" align="center"><a href="../../index.php">Welcome Page</a></td>
<td width="21%" align="center"><a href="../../logout.php">Log Out</a></td>
</tr>
<tr>
<td colspan="3" align="center"><strong> There Are <span class="totalrecordsnumber"><?php echo $totalRows_rsTitles ?></span> Software Titles Listed</strong></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<?php do { ?>
<table width="820" border="0" align="center" cellpadding="3" cellspacing="2">
<tr>
<td width="206" height="200" rowspan="3" align="center" bgcolor="#FFFFFF"><img src="images/<?php echo $row_rsTitles['image']; ?>" alt="<?php echo $row_rsTitles['title']; ?>" /></td>
<td colspan="3" align="center" bgcolor="#086b50"><h2><?php echo $row_rsTitles['title']; ?></h2></td>
</tr>
<tr>
<td colspan="3" align="center" bgcolor="#f6b824"><strong>Made by:</strong> <?php echo $row_rsTitles['company']; ?></td>
</tr>
<tr>
<td colspan="3" align="left" valign="top" bgcolor="#e5f8cb"><p class="ptaglineheight"><strong>Description: </strong><?php echo $row_rsTitles['description']; ?></p></td>
</tr>
<tr>
<td colspan="2" align="left" valign="top" bgcolor="#e5f8cb"><span class="tabletext"><strong>Keywords</strong></span><strong>: </strong><?php echo $row_rsTitles['keyword']; ?></td>
<td colspan="2" align="left" valign="top" bgcolor="#e5f8cb"><strong>Resources:</strong> <?php echo $row_rsTitles['resources']; ?></td>
</tr>
<tr>
<td colspan="4" align="left" valign="top" bgcolor="#e5f8cb"><strong>Web Address:</strong> <a href="<?php echo $row_rsTitles['url']; ?>" target="_blank"><?php echo $row_rsTitles['url']; ?></a></td>
</tr>
<tr>
<td colspan="3" align="left" valign="top" bgcolor="#e5f8cb"><strong>Is installed on:</strong> <?php echo $row_rsTitles['location']; ?></td>
<td width="195" align="left" valign="top" bgcolor="#e5f8cb"><strong>Copies available:</strong><?php echo $row_rsTitles['copies']; ?></td>
</tr>
<tr>
<td colspan="3" align="left" valign="top" bgcolor="#e5f8cb"><a href="fulltitle.php?software_id=<?php echo $row_rsTitles['id']; ?>&id=<?php echo $row_rsTitles['id']; ?>">Read / Make Comments About This Software</a></td>
<td align="left" valign="top" bgcolor="#e5f8cb">Current comments:<?php echo $row_Recordset1['COUNT']; ?></td>
</tr>
</table>
<br />
<?php } while ($row_rsTitles = mysql_fetch_assoc($rsTitles)); ?>
</div>
<?php include("../../includes/footer.php"); ?>
</body>
</html>
<?php
mysql_free_result($rsTitles);
mysql_free_result($rs_comments);
mysql_free_result($rs_users);
mysql_free_result($Recordset1);I changed the mysql as you suggested GROUP BY titles.id
and added a while loop to iterate over the data
mysql_select_db($database_abe, $abe);
$query_Recordset1 = "SELECT COUNT(guest.software_id) as COUNT, titles.id FROM titles LEFT JOIN guest ON titles.id = guest.software_id GROUP BY titles.id";
$Recordset1 = mysql_query($query_Recordset1, $abe) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
$row_Recordset1 = mysql_query($query_Recordset1) or die(mysql_error());
<td>Current comments:<?php
if($row_Recordset1)
while($row = mysql_fetch_array($row_Recordset1))
echo $row['COUNT'];
} ?></td>
The first item now displays the following,
comments:2311000000000000000000000000000
all others
comments:
the number matched the database table exactly, 30 records 4 of which have 2, 3, 1, 1 comments.
It looks as if the problem is trying to get the repeat region to pick up on it! -
Steps to follow while creating Database table in notes or paperwork
what are the steps to follow while creating Database table in notes or paperwork
Thank you,
Regards,
Jagrut Bharatkumar Shuklahi,
1. Goto Transaction SE11.
2. Enter the table name to be created. It should start with a Y or Z.
3. Press Create
4. Enter the Short description for the table
5. Enter the Delivery class for the table. It can be 'A', 'C' or other.
6. In the Fields tab, specify the table fields and the corresponding data elements or the built-in data types.
7. If the table needs to be made a client-depenedent table, the first field should be MANDT.
8. Goto Technical settings of the table and sepcify the Data Class and Size for the table. Also, there u can specify if buffering for the table should be allowed or not.
9. Now, activate the table.
if helpful reward some points.
with regards,
Suresh Aluri. -
GTC Error While Provisioning to Oracle Database Tables
I'm trying to setup GTC connector to provisioning/reconcile users into database tables, but during the provisionig gtc fails. check the lines above to see the error
ERROR,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/sendData encounter some problems: Attribute: matricula does not exist in the specified parent table/view: xladm.usuarios_view
com.thortech.xl.gc.exception.DBException: Attribute: matricula does not exist in the specified parent table/view: xladm.usuarios_view
matricula is the primary key
I'm using OIM 9102 with bundle patch 12 appled. connector version is 9105. Oracle database version is 11.1.0.7. My platform is Windows 2003.
database table's ddl
create table usuarios (
matricula varchar2(10) primary key,
nome varchar2(80),
status varchar2(20),
ultima_atualizacao date,
senha varchar2(20));
create view usuarios_view as select * from usuarios;
GTC Connector Setup
Provide Basic Information View
Name INFO
Reconciliation
Transport Provider Database Application Tables Reconciliation
Format Provider Database Application Tables Reconciliation
Trusted Source Reconciliation No
Provisioning
Transport Provider Database Application Tables Provisioning
Format Provider Database Application Tables Provisioning
Specify Parameter Values Change
Database Driver oracle.jdbc.driver.OracleDriver
Database URL jdbc:oracle:thin:@localhost:1521:orcl
Database User ID xladm
Database Password ********
Customized Query
Use Native Query No
Connection Properties
Parent Table/View Name usuarios_view
Child Table/View Names
Unique Attribute matricula
Timestamp Attribute ultima_atualizacao
Database Date format
Status Attribute status
Status Lookup Code Lookup.InfoGolden.Status
Is Primary Key Auto Incremented No
Target Date Format yyyy-MM-dd hh:mm:ss.fffffffff
Batch Size All
Stop Reconciliation Threshold None
Stop Threshold Minimum Records None
Source Date Format yyyy/MM/dd hh:mm:ss z
Reconcile Deletion of Multivalued Attribute Data Yes
Reconciliation Type Full
error log
Running GENERICADAPTER
Target Class = com.thortech.xl.gc.runtime.GCAdapterLibrary
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBReconFormatProvider/formatData entered.
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize entered.
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: driver - Value: oracle.jdbc.driver.OracleDriver
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: url - Value: jdbc:oracle:thin:@localhost:1521:orcl
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: username - Value: xladm
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: password - Value: *******
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: parentContainerName - Value: usuarios_view
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBReconTransportProvider/convertCSVToArraylist entered.
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBReconTransportProvider/convertCSVToArraylist - Data: Run Time Parameters - Value: []
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: childContainerTableNames - Value: []
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: parentContainerUniqueKey - Value: matricula
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: statusField - Value: status
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: statusFieldLookup - Value: Lookup.InfoGolden.Status
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize left.
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/initialize - Data: dbDateFormat - Value:
DEBUG,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/sendData entered.
INFO,07 Nov 2010 20:18:37,086,[OIMCP.DATC],Within PROV_OPERATION_ADDUSER::statusField=status
DEBUG,07 Nov 2010 20:18:37,117,[OIMCP.DATC],Class/Method: DBFacade/getConnectionProp entered.
DEBUG,07 Nov 2010 20:18:37,117,[OIMCP.DATC],Class/Method: DBFacade/setUpSSLPropertiesForDB2 entered.
DEBUG,07 Nov 2010 20:18:37,117,[OIMCP.DATC],ExitingMethodDebug
INFO,07 Nov 2010 20:18:37,148,[OIMCP.DATC],dbType:::: = Oracle
DEBUG,07 Nov 2010 20:18:37,148,[OIMCP.DATC],Class/Method: DBFacade/getMatchingSchemaName - Data: found matching schema - Value: XLADM
DEBUG,07 Nov 2010 20:18:37,148,[OIMCP.DATC],Class/Method: DBFacade/getMatchingTableName - Data: found exact matching schema:- - Value: XLADM
DEBUG,07 Nov 2010 20:18:37,227,[OIMCP.DATC],Class/Method: DBFacade/getMatchingTableName - Data: found matching tables - Value: USUARIOS_VIEW
DEBUG,07 Nov 2010 20:18:37,227,[OIMCP.DATC],Class/Method: DBFacade/getMatchingTableName - Data: found exact matching table:- - Value: USUARIOS_VIEW
INFO,07 Nov 2010 20:18:37,258,[OIMCP.DATC],dbType:::: = Oracle
DEBUG,07 Nov 2010 20:18:37,273,[OIMCP.DATC],Class/Method: DBFacade/getMatchingSchemaName - Data: found matching schema - Value: XLADM
DEBUG,07 Nov 2010 20:18:37,273,[OIMCP.DATC],Class/Method: DBFacade/getMatchingTableName - Data: found exact matching schema:- - Value: XLADM
DEBUG,07 Nov 2010 20:18:37,336,[OIMCP.DATC],Class/Method: DBFacade/getMatchingTableName - Data: found matching tables - Value: USUARIOS_VIEW
DEBUG,07 Nov 2010 20:18:37,336,[OIMCP.DATC],Class/Method: DBFacade/getMatchingTableName - Data: found exact matching table:- - Value: USUARIOS_VIEW
INFO,07 Nov 2010 20:18:37,445,[OIMCP.DATC],dbType:::: = Oracle
INFO,07 Nov 2010 20:18:37,445,[OIMCP.DATC],dbType:::: = Oracle
DEBUG,07 Nov 2010 20:18:37,445,[OIMCP.DATC],Class/Method: DBFacade/getMatchingSchemaName - Data: found matching schema - Value: XLADM
DEBUG,07 Nov 2010 20:18:37,445,[OIMCP.DATC],Class/Method: DBFacade/getMatchingTableName - Data: found exact matching schema:- - Value: XLADM
DEBUG,07 Nov 2010 20:18:37,523,[OIMCP.DATC],Class/Method: DBFacade/getMatchingTableName - Data: found matching tables - Value: USUARIOS_VIEW
DEBUG,07 Nov 2010 20:18:37,523,[OIMCP.DATC],Class/Method: DBFacade/getMatchingTableName - Data: found exact matching table:- - Value: USUARIOS_VIEW
DEBUG,07 Nov 2010 20:18:38,367,[OIMCP.DATC],Class/Method: DBFacade/getPrimaryKeys - Data: Primary Keys - Value: []
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Column Name: - Value: MATRICULA
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Column Dataype integer value: - Value: 12
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Column Size: - Value: 10
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Table Name: - Value: USUARIOS_VIEW
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getClumns - Data: Column Datatype Name: - Value: VARCHAR2
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Database Type Name: - Value: Oracle
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Column Name: - Value: NOME
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Column Dataype integer value: - Value: 12
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Column Size: - Value: 80
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Table Name: - Value: USUARIOS_VIEW
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getClumns - Data: Column Datatype Name: - Value: VARCHAR2
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Database Type Name: - Value: Oracle
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Column Name: - Value: STATUS
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Column Dataype integer value: - Value: 12
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Column Size: - Value: 20
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Table Name: - Value: USUARIOS_VIEW
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getClumns - Data: Column Datatype Name: - Value: VARCHAR2
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Database Type Name: - Value: Oracle
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Column Name: - Value: ULTIMA_ATUALIZACAO
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Column Dataype integer value: - Value: 93
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Column Size: - Value: 7
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Table Name: - Value: USUARIOS_VIEW
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getClumns - Data: Column Datatype Name: - Value: DATE
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Database Type Name: - Value: Oracle
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Column Name: - Value: SENHA
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Column Dataype integer value: - Value: 12
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Column Size: - Value: 20
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Table Name: - Value: USUARIOS_VIEW
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getClumns - Data: Column Datatype Name: - Value: VARCHAR2
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getColumns - Data: Database Type Name: - Value: Oracle
DEBUG,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBFacade/getClumns - Data: Columns: - Value: [com.thortech.xl.gc.impl.common.Column@187f99a, com.thortech.xl.gc.impl.common.Column@1428b7, com.thortech.xl.gc.impl.common.Column@17d39b5, com.thortech.xl.gc.impl.common.Column@57cf27, com.thortech.xl.gc.impl.common.Column@e1319f]
ERROR,07 Nov 2010 20:18:38,383,[OIMCP.DATC],Class/Method: DBProvisioningTransportProvider/sendData encounter some problems: Attribute: matricula does not exist in the specified parent table/view: xladm.usuarios_view
com.thortech.xl.gc.exception.DBException: Attribute: matricula does not exist in the specified parent table/view: xladm.usuarios_view
at com.thortech.xl.gc.impl.common.DBFacade.validateAttrExistence(Unknown Source)
at com.thortech.xl.gc.impl.common.DBFacade.getSchema(Unknown Source)
at com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider.getSchema(Unknown Source)
at com.thortech.xl.gc.impl.prov.DBProvisioningTransportProvider.sendData(Unknown Source)
at com.thortech.xl.gc.runtime.GCAdapterLibrary.executeFunctionality(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpINFO_GTC.GENERICADAPTER(adpINFO_GTC.java:125)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpINFO_GTC.implementation(adpINFO_GTC.java:70)
at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.retryTasks(Unknown Source)
at com.thortech.xl.ejb.beans.tcProvisioningOperationsSession.retryTasks(Unknown Source)
at com.thortech.xl.ejb.beans.tcProvisioningOperations_b03yxm_EOImpl.retryTasks(tcProvisioningOperations_b03yxm_EOImpl.java:2719)
at Thor.API.Operations.tcProvisioningOperationsClient.retryTasks(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy93.retryTasks(Unknown Source)
at com.thortech.xl.webclient.actions.ResourceProfileProvisioningTasksAction.retryTasks(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.thortech.xl.webclient.security.CSRFFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)What I usually do in situations like this is that I connect to the database using a sql client and the same connection information as I specified to OIM and see if the attribute is present.
Perhaps you got the wrong db name? Or schema name?
Everything looks good so most probably there simply is some little typo somewhere.
Hope this helps
/Martin -
How to update the logical database table.Please explain with a code
this is how you can update the database table .
UPDATE it_tab
set MSIZE = MSIZE
LENGTH = LENGTH
COILS = COILS
SPOOLS = SPOOLS
WEIGHT = WEIGHT
where SRNO = SRNO and
DDATE = DDATE AND
SHIFT = SHIFT AND
PLANT = PLANT .
but please post detail description of the problem whn u post in forms
Thanks
-Ankit
Maybe you are looking for
-
Is it possible to embed closed captions in mp4 videos?
Hi, Is there a way to do that in Premiere Pro? If not, then how would such thing be done? Thanks, Rotem
-
Hi Folks, We are planning to do a refresh from "AA" system to "BB" system.But "AA" system consist of only two drive like C drive consits fo USR data and D drive consists of AAdata1,AAdata2,AAdata3,AAlog. Now "BB" System consists of 4 drives whic
-
HT201472 how can i turn on the iPhone remotely so i can track it,when stolen
how can i turn on the iPhone remotely so i can track it,when stolen
-
Hi My script contains 2 windows namely Header window & Main window. I am getting output corectly. But the problem is getting 2 pages for shipment no. 1649 & 3 pages for shipment no 1609, even though only 1 record in Main window. Allignmen
-
I have a process queue running with tables in a Database. I have converted this process queue from MS SQL Server to Oracle, but now I've a question: Sometimes I ran a process to clear obsolete rows using DELETE command, so, I use SHRINK command do re