Issue while deploying code that uses OIM api: OIMClient

We are trying to deploy a war file with some java code that interfaces with OIM by using the OIMClient api. Note that we have all the spring jars needed and it works fine on Tomcat. Our production env is on weblogic, and when we deploy the war file on weblogic it deploys fine. But when we test some of the web pages, we get the following error:
]] Root cause of ServletException.
java.lang.NoClassDefFoundError: org/springframework/jndi/JndiTemplate
at oracle.iam.platform.OIMClient.<init>(OIMClient.java:83)
Truncated. see log file for complete stacktrace
>
The class file is available in a jar called spring-context with the same package structure: org.springframework.jndi.jnditemplate. I wonder why it cannot find the definition for that class. I also tried removing these jars from the war file and adding them to the domain's lib dir. I still end up with the same exception.
Appreciate all the help I can get.
Edited by: 958829 on Sep 12, 2012 11:01 PM

Good one. I just threw every single spring jar the webapp needed into the domain's lib. I did not declare them as "provided" though. and it worked. I bet going into console/deployment and adding the jars individually would've worked too. Thanks mate. Cheers !

Similar Messages

  • Error while deploying application that uses  adobe forms

    Hi ,
    When i deploy an a web dynpro application that uses web dynpro I receive the following error .Please assist
    java.net.UnknownHostException: pwdf3102
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
    at java.net.Socket.connect(Socket.java:452)
    at java.net.Socket.connect(Socket.java:402)
    at java.net.Socket.<init>(Socket.java:309)
    at java.net.Socket.<init>(Socket.java:124)

    Hi Amit
    As per Subject of ur post u told ur using Adobe forms in ur Web Dynpro Application so Hope u insured that Ur WAS is 7.0 ie  2004s or if its 6.4 then u have got Adobe document services deployed on Was and some configuration required are done on WAS  else your Application wont run and also u must make sure that u do not forget to set PdfSource property of Adobe forms set to BINARY context element before u deploy ur application
    Regards
    ASIF

  • Issues while Deploying using AID

    Hi All,
    We are getting the following errors while deploying a xxxposite using the AID,
    /oracle/product/Middleware/AIA/Infrastructure/Install/AID/AIAInstallDriver.xml:72: The following error occurred while executing this line:
    /oracle/product/Middleware/AIA/Infrastructure/Install/AID/AIAExecuteDriver.xml:79: The following error occurred while executing this line:
    /oracle/product/Middleware/AIA/Infrastructure/Install/AID/AIAExecuteDriver.xml:58: The following error occurred while executing this line:
    /oracle/product/Middleware/AIA/aia_instances/AIA_DEV/tmp/AIDExecuteDP_temp_760097272.xml:6: The following error occurred while executing this line:
    /oracle/product/Middleware/AIA/Infrastructure/Install/AID/lib/AIDConfigurationLibraryTasks.xml:379: Not provided valid values for jdbc-url, username, password for datasource tag in participatingapplications.Ebiz.db.EBIZ01
    This is the xxxmand that I am running
    ant -f AIAInstallDriver.xml -DDeploymentPlan=/oracle/product/Middleware/AIA/util/DeploymentPlanGenerator/POProviderDP.xml -DPropertiesFile=/oracle/product/Middleware/AIA/aia_instances/AIA_DEV/config/AIAInstallProperties.xml
    I am not sure if the generated BOM and DP has the correct values, and whether AIAInstallProperties have been edited correctly.
    They are pasted below,
    BOM.xml
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <svcdoc:BOM xmlns="http://xmlns.oracle.xxx/sca/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:orawsp="http://schemas.oracle.xxx/ws/2006/01/policy" xmlns:ui="http://xmlns.oracle.xxx/soa/designer/" xmlns:svcdoc="http://xmlns.oracle.xxx/Services/Documentation/V1" xsi:noNameSpaceSchemaLocation="AIAPIP.xsd" projectCode="BAERPSOA" xmlns:xsi="http://xmlns.oracle.xxx/Services/Documentation/V1">
    <svcdoc:xxxposite revision="1.0" name="PurchaseOrderListEbizProvider">
    <svcdoc:ServiceSolutionxxxponentAssociation>
    <svcdoc:GUID>def61380-d651-4fd7-87de-054e45eea195</svcdoc:GUID>
    </svcdoc:ServiceSolutionxxxponentAssociation>
    <svcdoc:service name="createpurchaseorderlistebizproviderservice_ep">
    <svcdoc:ImplementationDetails>
    <svcdoc:ApplicationName>Ebiz</svcdoc:ApplicationName>
    <svcdoc:BaseVersion>1.0</svcdoc:BaseVersion>
    <svcdoc:DevelopedBy>BAEIS</svcdoc:DevelopedBy>
    <svcdoc:OracleCertified>Yes</svcdoc:OracleCertified>
    <svcdoc:ArtifactType>TransportAdapter</svcdoc:ArtifactType>
    <svcdoc:ServiceOperation>
    <svcdoc:Name>process</svcdoc:Name>
    </svcdoc:ServiceOperation>
    </svcdoc:ImplementationDetails>
    </svcdoc:service>
    <svcdoc:reference name="InsertPurchaseOrderListEbizProviderDBAdapterService">
    <svcdoc:ArtifactType>TransportAdapter</svcdoc:ArtifactType>
    <svcdoc:ServiceOperation>
    <svcdoc:Name>insert</svcdoc:Name>
    </svcdoc:ServiceOperation>
    <svcdoc:TransportDetails>
    <svcdoc:DBAdapter>
    <svcdoc:ResourceProvider>OracleDB</svcdoc:ResourceProvider>
    <svcdoc:ConnectionFactory>eis/DB/APPS</svcdoc:ConnectionFactory>
    <svcdoc:ApplicationName>Ebiz</svcdoc:ApplicationName>
    <svcdoc:XAEnabled>True</svcdoc:XAEnabled>
    <svcdoc:ResourceTargetIdentifier>EBIZ01</svcdoc:ResourceTargetIdentifier>
    <svcdoc:ResourceName>BAPO_SOA_PO_HEADERS_STAGE</svcdoc:ResourceName>
    <svcdoc:ResourceName>BAPO_SOA_PO_LINES_STAGE</svcdoc:ResourceName>
    <svcdoc:ResourceName>BAPO_SOA_PO_DIST_STAGE</svcdoc:ResourceName>
    </svcdoc:DBAdapter>
    </svcdoc:TransportDetails>
    </svcdoc:reference>
    <svcdoc:reference name="PurchaseOrderAPICall">
    <svcdoc:ArtifactType>TransportAdapter</svcdoc:ArtifactType>
    <svcdoc:ServiceOperation>
    <svcdoc:Name>Procedure</svcdoc:Name>
    </svcdoc:ServiceOperation>
    <svcdoc:TransportDetails>
    <svcdoc:DBAdapter>
    <svcdoc:ResourceProvider>OracleDB</svcdoc:ResourceProvider>
    <svcdoc:ConnectionFactory>eis/DB/APPS</svcdoc:ConnectionFactory>
    <svcdoc:ApplicationName>Ebiz</svcdoc:ApplicationName>
    <svcdoc:XAEnabled>True</svcdoc:XAEnabled>
    <svcdoc:ResourceTargetIdentifier>EBIZ01</svcdoc:ResourceTargetIdentifier>
    <svcdoc:ResourceName>BAPO_SOA_STD_IMPORT_K.BAPO_SOA_VALIDATE_HEADERS_P</svcdoc:ResourceName>
    </svcdoc:DBAdapter>
    </svcdoc:TransportDetails>
    </svcdoc:reference>
    </svcdoc:xxxposite>
    </svcdoc:BOM>
    DP
    <DeploymentPlan xxxponent="BAERPSOA" version="3.0">
    <PreInstallScript>
    <if>
    <equals arg1="${oer.server.publishtooer}" arg2="true"/>
    <then>
    <copy todir="${AIA_INSTANCE}/Infrastructure/LifeCycle/Install/PIPHarvest">
    <fileset file="${AIA_HOME}/Infrastructure/LifeCycle/AIAHarvester/HarvesterSettings.xml" />
    <filterchain>
    <expandproperties/>
    </filterchain>
    </copy>
    <for param="file">
    <path>
    <fileset dir="${AIA_INSTANCE}/Infrastructure/LifeCycle/Install/PIPHarvest">
    <include name="*.xml"/>
    </fileset>
    </path>
    <sequential>
    <OEREncrypt sourceFile="@{file}" destinationFile="@{file}" />
    </sequential>
    </for>
    </then>
    </if>
    </PreInstallScript>
    <Configurations>
    <EndpointConfigurator target-server="pips.BAERPSOA" dir="${AIA_HOME}">
    </EndpointConfigurator>
    <Datasource name="APPS" jndiLocation="jdbc/APPS" action="create" database="participatingapplications.Ebiz.db.EBIZ01" xa-enabled="true" wlserver="pips.BAERPSOA"/>
    <UpdateMetadata wlserver="pips.BAERPSOA" >
    <fileset dir="${AIA_HOME}/AIAMetaData">
    <include name="AIAxxxponents/ApplicationObjectLibrary/Ebiz/**" />
    <include name="AIAxxxponents/ApplicationConnectorServiceLibrary/Ebiz/**" />
    </fileset>
    </UpdateMetadata>
    <ManagedServer wlserver="pips.BAERPSOA" action="shutdown" failonerror="true"/>
    <DbAdapter connection-instance-jndi="eis/DB/APPS" datasource-jndi="jdbc/APPS" xa-enabled="true" action="create" wlserver="pips.BAERPSOA"/>
    <ManagedServer wlserver="pips.BAERPSOA" action="start" failonerror="true"/>
    </Configurations>
    <Deployments>
    <xxxposite xxxpositeName="PurchaseOrderListEbizProvider" xxxpositedir="${AIA_HOME}/xxxposites/PurchaseOrderListEbizProvider" revision="1.0" wlserver="pips.BAERPSOA" action="deploy" />
    </Deployments>
    <PostInstallScript>
    </PostInstallScript>
    </DeploymentPlan>
    AIAInstallProperties
    <?xml version="1.0" encoding="UTF-8"?>
    <properties>
    <aiainstance>
    <aiaHome>/oracle/product/Middleware/AIA</aiaHome>
    <name>AIA_DEV</name>
    <javahome>/oracle/product/jdk16</javahome>
    <remote_install>false</remote_install>
    <domain_root>/oracle/product/Middleware/user_projects/domains/base_domain</domain_root>
    <mwHome>/oracle/product/Middleware</mwHome>
    <soaHome>/oracle/product/Middleware/Oracle_SOA1</soaHome>
    <aiainstalltype>standard</aiainstalltype>
    <isencrypted>false</isencrypted>
    </aiainstance>
    <fp>
    <version>11.1.1.3.0</version>
    <server>
    <adminhostname>xxx.xxx.xxx.xxx</adminhostname>
    <adminport>7001</adminport>
    <domainname>base_domain</domainname>
    <username>*****</username>
    <password>*****</password>
    <servertype>Server</servertype>
    <soaserver>soa_server1</soaserver>
    <soaserverhostname>xxx.xxx.xxx.xxx</soaserverhostname>
    <soaserverport>8001</soaserverport>
    </server>
    <db>
    <aia>
    <jdbc-url*</jdbc-url>
    <username>******</username>
    <password>******</password>
    <createschema>true</createschema>
    <sysusername>system</sysusername>
    <syspassword>********</syspassword>
    <role>SYSDBA</role>
    <defxxxlttablespace>aia_data</defxxxlttablespace>
    <temptablespace>TEMP</temptablespace>
    </aia>
    <mds>
    <jdbc-url>*</jdbc-url>
    <username>*****</username>
    <password>*****</password>
    </mds>
    <sr>
    <jdbc-url>*</jdbc-url>
    <username>*****</username>
    <password>*****</password>
    <createschema>true</createschema>
    <sysusername>*****</sysusername>
    <syspassword>*****</syspassword>
    <role>SYSDBA</role>
    <defxxxlttablespace>aia_data</defxxxlttablespace>
    <temptablespace>TEMP</temptablespace>
    </sr>
    <jms>
    <jdbc-url>jdbc:oracle:thin:@xxx.xxx.xxx.xxx:1521/SOAD</jdbc-url>
    <username>AIA_DEV_JMSUSER</username>
    <password>******</password>
    <createschema>true</createschema>
    <sysusername>*****</sysusername>
    <syspassword>*****</syspassword>
    <role>SYSDBA</role>
    <defxxxlttablespace>aia_data</defxxxlttablespace>
    <temptablespace>TEMP</temptablespace>
    </jms>
    <xref>
    <jdbc-url>jdbc:oracle:thin:@xxx.xxx.xxx.xxx:1521/SOAD</jdbc-url>
    <username>*****</username>
    <password>*****</password>
    <createschema>true</createschema>
    <sysusername>*****</sysusername>
    <syspassword>*****</syspassword>
    <role>SYSDBA</role>
    <defxxxlttablespace>aia_data</defxxxlttablespace>
    <temptablespace>TEMP</temptablespace>
    </xref>
    <aialifecycle>
    <jdbc-url>jdbc:oracle:thin:@xxx.xxx.xxx.xxx:1521/SOAD</jdbc-url>
    <username>*****</username>
    <password>*****</password>
    <createschema>true</createschema>
    <sysusername>*****</sysusername>
    <syspassword>*****</syspassword>
    <role>SYSDBA</role>
    <defxxxlttablespace>aia_data</defxxxlttablespace>
    <temptablespace>TEMP</temptablespace>
    </aialifecycle>
    </db>
    </fp>
    <oer>
    <server>
    <publishtooer>false</publishtooer>
    <oerurl/>
    <username/>
    <password>*****</password>
    </server>
    </oer>
    <participatingapplications>
    <BAERPSOA>
    <server>
    <adminhostname>xxx.xxx.xxx.xxx</adminhostname>
    <adminport>7001</adminport>
    <domainname>base_domain</domainname>
    <username>*****</username>
    <password>*****</password>
    <servertype>Server</servertype>
    <soaserver>soa_server1</soaserver>
    <soaserverhostname>xxx.xxx.xxx.xxx</soaserverhostname>
    <soaserverport>8001</soaserverport>
    </server>
    <db>
    <aiademoparticipatingapp>
    <jdbc-url>jdbc:oracle:thin:@sbuxtdb4.xxx.xxx.xxx:1571/FINDL</jdbc-url>
    <username>*****</username>
    <password>*****</password>
    <createschema>true</createschema>
    <sysusername>*****</sysusername>
    <syspassword>*****</syspassword>
    <role>SYSDBA</role>
    <defxxxlttablespace>apps_ts_data</defxxxlttablespace>
    <temptablespace>TEMP</temptablespace>
    </aiademoparticipatingapp>
    </db>
    </BAERPSOA>
    </participatingapplications>
    <pips>
    <BAERPSOA>
    <version>11.1.1.3.0</version>
    <server>
    <adminhostname>xxx.xxx.xxx.xxx</adminhostname>
    <adminport>7001</adminport>
    <domainname>base_domain</domainname>
    <username>*****</username>
    <password>*****</password>
    <servertype>Server</servertype>
    <soaserver>soa_server1</soaserver>
    <soaserverhostname>xxx.xxx.xxx.xxx</soaserverhostname>
    <soaserverport>8001</soaserverport>
    </server>
    </BAERPSOA>
    </pips>
    </properties>
    Edited by: Anish Raj on Dec 12, 2011 1:52 PM

    <?xml version="1.0" encoding="UTF-8"?>
    <properties>
    <aiainstance>
    <aiaHome>/oracle/product/Middleware/AIA</aiaHome>
    <name>AIA_DEV</name>
    <javahome>/oracle/product/jdk16</javahome>
    <remote_install>false</remote_install>
    <domain_root>/oracle/product/Middleware/user_projects/domains/base_domain</domain_root>
    <mwHome>/oracle/product/Middleware</mwHome>
    <soaHome>/oracle/product/Middleware/Oracle_SOA1</soaHome>
    <aiainstalltype>standard</aiainstalltype>
    <isencrypted>false</isencrypted>
    </aiainstance>
    <fp>
    <version>11.1.1.3.0</version>
    <server>
    <adminhostname>xxx.xxx.com.xxx</adminhostname>
    <adminport>7001</adminport>
    <domainname>base_domain</domainname>
    <username>xxx</username>
    <password>xxx</password>
    <servertype>Server</servertype>
    <soaserver>soa_server1</soaserver>
    <soaserverhostname>xxx.xxx.com.xxx</soaserverhostname>
    <soaserverport>8001</soaserverport>
    </server>
    <db>
    <aia>
    <jdbc-url>jdbc:oracle:thin:@xxx.xxx.com.xxx:1521/SOAD</jdbc-url>
    <username>AIA_DEV_AIA</username>
    <password>xxx</password>
    <createschema>true</createschema>
    <sysusername>system</sysusername>
    <syspassword>******</syspassword>
    <role>SYSDBA</role>
    <defxxxlttablespace>aia_data</defxxxlttablespace>
    <temptablespace>TEMP</temptablespace>
    </aia>
    <mds>
    <jdbc-url>jdbc:oracle:thin:@xxx.xxx.com.xxx:1521/SOAD</jdbc-url>
    <username>DEV_MDS</username>
    <password>xxx</password>
    </mds>
    <sr>
    <jdbc-url>jdbc:oracle:thin:@xxx.xxx.com.xxx:1521/SOAD</jdbc-url>
    <username>AIA_DEV_AIAEBOD</username>
    <password>xxx</password>
    <createschema>true</createschema>
    <sysusername>system</sysusername>
    <syspassword>*****</syspassword>
    <role>SYSDBA</role>
    <defxxxlttablespace>aia_data</defxxxlttablespace>
    <temptablespace>TEMP</temptablespace>
    </sr>
    <jms>
    <jdbc-url>jdbc:oracle:thin:@xxx.xxx.com.xxx:1521/SOAD</jdbc-url>
    <username>AIA_DEV_JMSUSER</username>
    <password>xxx</password>
    <createschema>true</createschema>
    <sysusername>system</sysusername>
    <syspassword>*****</syspassword>
    <role>SYSDBA</role>
    <defxxxlttablespace>aia_data</defxxxlttablespace>
    <temptablespace>TEMP</temptablespace>
    </jms>
    <xref>
    <jdbc-url>jdbc:oracle:thin:@xxx.xxx.com.xxx:1521/SOAD</jdbc-url>
    <username>AIA_DEV_XREF</username>
    <password>xxx</password>
    <createschema>true</createschema>
    <sysusername>system</sysusername>
    <syspassword>*****</syspassword>
    <role>SYSDBA</role>
    <defxxxlttablespace>aia_data</defxxxlttablespace>
    <temptablespace>TEMP</temptablespace>
    </xref>
    <aialifecycle>
    <jdbc-url>jdbc:oracle:thin:@xxx.xxx.com.xxx:1521/SOAD</jdbc-url>
    <username>AIA_DEV_AIALIFECYCLE</username>
    <password>xxx</password>
    <createschema>true</createschema>
    <sysusername>system</sysusername>
    <syspassword>*****</syspassword>
    <role>SYSDBA</role>
    <defxxxlttablespace>aia_data</defxxxlttablespace>
    <temptablespace>TEMP</temptablespace>
    </aialifecycle>
    </db>
    </fp>
    <oer>
    <server>
    <publishtooer>false</publishtooer>
    <oerurl/>
    <username/>
    <password>*****</password>
    </server>
    </oer>
    <participatingapplications>
    <BAERPSOA>
    <server>
    <adminhostname>xxx.xxx.com.xxx</adminhostname>
    <adminport>7001</adminport>
    <domainname>base_domain</domainname>
    <username>xxx</username>
    <password>xxx</password>
    <servertype>Server</servertype>
    <soaserver>soa_server1</soaserver>
    <soaserverhostname>xxx.xxx.com.xxx</soaserverhostname>
    <soaserverport>8001</soaserverport>
    </server>
    <db>
    <aiademoparticipatingapp>
    <jdbc-url>jdbc:oracle:thin:@xxx.xxx.com.xxx:9999/FINDL</jdbc-url>
    <username>apps</username>
    <password>******</password>
    <createschema>true</createschema>
    <sysusername>system</sysusername>
    <syspassword>*****</syspassword>
    <role>SYSDBA</role>
    <defxxxlttablespace>apps_ts_data</defxxxlttablespace>
    <temptablespace>TEMP</temptablespace>
    </aiademoparticipatingapp>
    </db>
    </BAERPSOA>
    <Ebiz>
    <server>
    <adminhostname>xxx.xxx.com.xxx</adminhostname>
    <adminport>7001</adminport>
    <domainname>base_domain</domainname>
    <username>xxx</username>
    <password>xxx</password>
    <servertype>Server</servertype>
    <soaserver>soa_server1</soaserver>
    <soaserverhostname>xxx.xxx.com.xxx</soaserverhostname>
    <soaserverport>8001</soaserverport>
    </server>
    <db>
    <EBIZ01>
    <jdbc-url>jdbc:oracle:thin:@xxx.xxx.com.xxx:9999/FINDL</jdbc-url>
    <username>apps</username>
    <password>********</password>
    <createschema>true</createschema>
    <sysusername>system</sysusername>
    <syspassword>*****</syspassword>
    <role>SYSDBA</role>
    <defxxxlttablespace>apps_ts_data</defxxxlttablespace>
    <temptablespace>TEMP</temptablespace>
    </EBIZ01>
    </db>
    </Ebiz>
    </participatingapplications>
    <pips>
    <BAERPSOA>
    <version>11.1.1.3.0</version>
    <server>
    <adminhostname>xxx.xxx.com.xxx</adminhostname>
    <adminport>7001</adminport>
    <domainname>base_domain</domainname>
    <username>xxx</username>
    <password>xxx</password>
    <servertype>Server</servertype>
    <soaserver>soa_server1</soaserver>
    <soaserverhostname>xxx.xxx.com.xxx</soaserverhostname>
    <soaserverport>8001</soaserverport>
    </server>
    </BAERPSOA>
    </pips>
    </properties>
    I am still getting this error,
    /oracle/product/Middleware/AIA/Infrastructure/Install/AID/AIAInstallDriver.xml:72: The following error occurred while executing this line:
    /oracle/product/Middleware/AIA/Infrastructure/Install/AID/AIAExecuteDriver.xml:79: The following error occurred while executing this line:
    /oracle/product/Middleware/AIA/Infrastructure/Install/AID/AIAExecuteDriver.xml:58: The following error occurred while executing this line:
    /oracle/product/Middleware/AIA/aia_instances/AIA_DEV/tmp/AIDExecuteDP_temp_687973863.xml:6: The following error occurred while executing this line:
    /oracle/product/Middleware/AIA/Infrastructure/Install/AID/lib/AIDConfigurationLibraryTasks.xml:379: Not provided valid values for jdbc-url, username, password for datasource tag in null
    I think there is something wrong, and there are lot of unwanted sections in the file. Actually we took the defxxxlt file and modified it.
    BAERPSOA is the name of the Project from the AIA LCW, EBIZ01 is the SystemID and Ebiz is the short name. As of now, I am trying to deploy just one component, which is the db adapter composite connected to Oracle E Business Suite.
    Regards,
    ANish.
    Edited by: Anish Raj on Dec 12, 2011 2:05 PM

  • Facing issue while deployment on 11.1.1.6 soa server

    Problem Summary
    Facing issue while deployment on 11.1.1.6 soa server
    Problem Description
    We are facing issue while deploying a bpm project over a newly built bps-soa server 11.1.1.6.
    While we are deploying a bpm project, first it is taking around 40mins to create .jar file and then while deploying, it is getting failed with transaction timed out error.
    "composite: Onboarding: javax.ejb.EJBException: Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 301 second".
    we have tried with changing all transaction parameters also like JTA,XA( as similar to our exiting running QA/PROD environment which is on 11.1.1.5) but even then facing the same issue.
    The code were originally build over 11.1.1.5 version, for the first time opening with jdev, code gets migrated and over the upgraded code we did some business specific changes and now trying to deploy over the new server.
    Code is getting successfully compiled and also .jar file is creating properly but while deployment facing error(As shared earlier).
    Also tried to deploy the same .jar file using em consle(to soa-infra) but facing similar issue.
    Error Codes
    Problem Category/Subcategory
    BPM 11g installation issues
    Uploaded Files
    Template Question Responses
    1) ### Product Versions Including Build Numbers ###
    BPM SOA suite 11.1.1.6
    2) ### Is the Issue Reproducible ###
    Yes, mentioned in issue detailes.
    3) ### OS Version ###
    SunOS xxxxx 5.10 Generic_144488-06 sun4v sparc SUNW,T5440
    More logs:
    Name
    === ODM Data Collection ===
    [2013-02-27T01:10:59.436-05:00] [soa_server1] [WARNING] [] [oracle.soa.bpel.engine.deployment] [tid: [STUCK].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 486af90ee4d37577:-6eb9b41c:13d15783e85:-8000-000000000000142f,1:18454:2] [APP: soa-infra] Unable to obtain the audit metadta java.lang.IllegalStateException: The transaction associated with this transaction-scoped persistence context has been rolled back and as a result, the EntityManager has been closed. No further operations are allowed in this transaction context. Please see the server log for the cause of the rollback.
    [2013-02-27T01:11:17.402-05:00] [soa_server1] [WARNING] [] [oracle.soa.bpel.engine.deployment] [tid: [STUCK].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 486af90ee4d37577:-6eb9b41c:13d15783e85:-8000-000000000000142f,1:18454:2] [APP: soa-infra] Unable to obtain the audit metadta java.lang.IllegalStateException: The transaction associated with this transaction-scoped persistence context has been rolled back and as a result, the EntityManager has been closed. No further operations are allowed in this transaction context. Please see the server log for the cause of the rollback.
    [2013-02-27T01:11:18.147-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.bpel.engine.deployment] [tid: [STUCK].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 486af90ee4d37577:-6eb9b41c:13d15783e85:-8000-000000000000142f,1:18454:2] [APP: soa-infra] BPEL Component "default/Onboarding!2.0*soa_8130f118-f9b5-462a-8e75-5ec0f34b45bd/Remediation" successfully loaded.
    [2013-02-27T01:11:18.166-05:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine] [tid: [STUCK].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 486af90ee4d37577:-6eb9b41c:13d15783e85:-8000-000000000000142f,1:18454:2] [APP: soa-infra] Unable to activate process Remediation[[
    javax.ejb.EJBException: Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-172EC48037986ACD0C13
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    ; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-172EC48037986ACD0C13
    weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-172EC48037986ACD0C13
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    javax.ejb.EJBException: Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-172EC48037986ACD0C13
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    ; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-172EC48037986ACD0C13
    at weblogic.ejb.container.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:156)
    at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:595)
    at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetry(BaseLocalObject.java:455)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:52)
    at oracle.bpm.bpmn.engine.ejb.impl.BPMNServerManagerBean_6gbx7k_IBPMNCubeServerManagerLocalBeanImpl.deployComponent(Unknown Source)
    at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:842)
    at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.load(BPMNServiceEngine.java:636)
    at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.load(BPMNServiceEngine.java:151)
    at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:243)
    Caused by: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-172EC48037986ACD0C13
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    ... 2 more
    FileName
    soa_server1-diagnostic-2.log

    2 things must be noticed:
    First: ODI 11g is not supported by JDK 7, I always use the JDK1.6.0_27 and works fine. When you try to open the ODI Studio, this message appears, telling that ODI is supported only with JDK 6 versions, so don't try to use JDK 7.
    Second: I always install the JDK in a path without spaces, like "C:\JDK1.6.0_27\" and the excatly same thing to odi install files. So I call via Command Prompt:
    C:\ODI_INSTALL\Disk1\setup.exe -jreLoc C:\JDK1.6.0_27\
    I did over 20 windows installations using these settings, it'll work perfectly.
    Regards.
    Luiz Araujo

  • Request Approval using OIM API

    Hi all
    Which API I need to use to approve a resouce request using OIM API?
    I have tried with the following:
    tcReqOp.setRequestResponse(85, 1 , "java.lang.String psResponse");
    i do not know what to pass in place of java.lang.String psResponse.
    I aslo tried passing "C","Completed"
    can anyone correct what I am doing?
    Thank u
    sas

    I assume you want to run a scheduled task for this. Try this approach. Run this query to retrieve specific approval tasks that are in a pending state:
    select oti.sch_key, mil.mil_name, to_char(oti.oti_update, 'dd-mon-yyyy hh24:mi:ss')
    from oti, mil, obj, pkg, orc, sch
    where oti.mil_key=mil.mil_key
    and oti.pkg_key=pkg.pkg_key
    and pkg.obj_key=obj.obj_key
    and oti.orc_key=orc.orc_key
    and oti.sch_key=sch.sch_key
    and oti.sch_status='P'
    and obj.obj_name='Test Object'
    and pkg.pkg_type='Approval'
    You can modify the obj.obj_name or remove, or do any changes you want. When you grab the time of the oti.oti_update, compare it against the sysdate to determine the time difference. If the update did not occur within that time, use this code:
    provIntf = (tcProvisioningOperationsIntf)getUtilityOps("Thor.API.Operations.tcProvisioningOperationsIntf");
    Hashtable taskHash = new Hashtable();
    taskHash.put("Process Instance.Task Details.Data", "<Insert Response Value Here>");
    provIntf.updateTask(key, taskHash) ; //---> Key is the same as the oti.sch_key field
    I have not tried this, but give it a shot.
    -Kevin

  • Using OIM APIs

    I need to use OIM APIs from a third party web application.
    I would like to know, would it be possible as our OIM server would be at a different m/c then the client web application.
    So how would the settings be done in this case, as we set some system variables in the code for accessing the OIM APIs which include mentioning the path of Xellerate folder.
    Kindly guide.

    I have gone through this link, and have used OIM APIs earlier, but in that case both my code and the OIM server were running on the same m/c.
    But now its a third party web app which wants to call OIM APIs, hence I would like to knw, how d following settings would be done.
    System.setProperty("XL.HomeDir", "D:/NewOIM/xellerate");
    System.setProperty("java.security.policy", "D:/NewOIM/xellerate/config/xl.policy");
    System.setProperty("java.security.auth.login.config", "D:/NewOIM/xellerate/config/authwl.conf");
    System.setProperty("log4j.configuration", "D:/NewOIM/xellerate/config/log.properties");
    System.setProperty("java.naming.provider.url", "t3://blrkec87910d:7001");
    As uptil now I was giving the local location of these folders.
    But now how would I give it?

  • Getting Duplicate Object existing issue while deploying the BIAR file

    Hi All,
    We are trying to deploy BIAR File with XI R2 Command tool InstallEntSdkWrapper. But we are getting Duplicate Object exixting issue while deploying the BIAR file.
    Error Message:
    [report] [InstallEntSdkWrapper.main] Connecting to CMS plmdevapp31:6400 as administrator
       [report] [InstallEntSdkWrapper.CmsImportFile] Exception: An error occurred at the server :
       [report] Failed to commit objects to server : Duplicate object name in the same folder.
       [report]
       [report] [InstallEntSdkWrapper.main] BIAR File could not be imported
    If we are doing any promition with Import Wizard we have an option to "Overwrite object contents" option to overwite exixting objects. It will very helpful if any one suggest how we can achieve this through InstallEntSdkWrapper.
    Unfortunately there is no documentation availabe on InstallEntSdkWrapper.
    Cheers!

    That's a limitation with the XI Release 2 InstallEntSdkWrapper.jar tool.
    Sincerely,
    Ted Ueda

  • Raising Request using OIM ApI's in oim 11g R2

    Hi all
    I trying to raise a request using OIM API in R2. I have written a sample code and it is throwing me the below error....
    Exception in thread "main" java.lang.NullPointerException
    *     at oracle.iam.ui.custom.updateuser.<init>(updateuser.java:76)*
    *     at oracle.iam.ui.custom.updateuser.main(updateuser.java:118)*
    Please take a look at my code....
    RequestEntityAttribute rea = null;
    rea.setName("Modify User Profile");//This is the place where i am getting the error...
    System.out.println("I am Here3");
    rea.setAction(RequestEntityAttribute.ACTION.Modify);
    List<RequestEntityAttribute> lrea = new ArrayList<RequestEntityAttribute>();
    lrea.add(rea);
    RequestEntity re = null;
    re.setEntityData(lrea);
    List<RequestEntity> reqentity = new ArrayList<RequestEntity>();
    reqentity.add(re);
    RequestData requestData = null;
    requestData.setJustification("I need this Role");
    requestData.setTargetEntities(reqentity);
    String str = null;
    try {
    str = _service.submitRequest(requestData);
    } catch (InvalidRequestException e) {
    } catch (InvalidRequestDataException e) {
    } catch (RequestServiceException e) {
    } catch (BulkBeneficiariesAddException e) {
    } catch (BulkEntitiesAddException e) {
    Thanks in Advance

    look at below link
    Creating a Request via OIM 11g API
    http://www.pathmaker-group.com/querying-oracle-iam-requests/

  • Creating self registration request using OIM API

    Hi guys,
    When we try to create a self regisrtation request using OIM API , we ge the following exception:
    We get this error when we set the following in Design console.
    Does user have to provide challenge information during registration = FALSE
    and passed an blank object in place of challenge question parameter in createSelfRegistrationRequest method in tcUtilityBaseClass.
    19:22:17,218 ERROR [REQUESTS] Error: Failed to save REQ_CONSOLIDATED_DATA_VALUE
    data for Create Entity.
    java.lang.NullPointerException
    at org.apache.xml.serializer.TreeWalker.dispatachChars(TreeWalker.java:2
    44)
    at org.apache.xml.serializer.TreeWalker.startNode(TreeWalker.java:414)
    at org.apache.xml.serializer.TreeWalker.traverse(TreeWalker.java:143)
    at org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transf
    ormerIdentityImpl.java:389)
    at com.thortech.xl.dataobj.util.RequestDataConsolidator.convertNodeToXML
    (Unknown Source)
    at com.thortech.xl.dataobj.util.RequestDataConsolidator.addUser(Unknown
    Source)
    at com.thortech.xl.dataobj.tcDataBase.createRequestForCreateEntity(Unkno
    wn Source)
    at com.thortech.xl.dataobj.tcDataBase.createRegistrationRequest(Unknown
    Source)
    at com.thortech.xl.dataobj.tcDataBase.createRegistrationRequest(Unknown
    Source)
    at com.thortech.xl.ejb.beansimpl.tcUnauthenticatedOperationsBean.createR
    egistrationRequest(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession.createRe
    gistrationRequest(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
    tatelessSessionContainer.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
    ke(CachedConnectionInterceptor.java:158)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
    elessSessionInstanceInterceptor.java:169)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation
    Interceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
    rceptor.java:121)
    How do we create a self registration request , using OIM API , with and without challenge questions?

    Well try this piece of code. This might be similar to yours but it worked perfectly for me. For you the error might be the attribute names which you are passing, it should be the one dfined in the FormMetaData xml as below.
         import Thor.API.tcUtilityFactory;
         // define you class below
         ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
         final Hashtable env = config.getAllSettings();
         Hashtable quesAns = new Hashtable();
         HashMap user = new HashMap();
         user.put("Users.User ID", "SelfTesting");
         user.put("Users.First Name", "SelfTesting");
         user.put("Users.Last Name", "SelfTesting");
         user.put("Users.Email", "[email protected]");
         user.put("Users.Password", "SelfTesting");
         user.put("ConfirmPassword", "SelfTesting");
         tcUtilityFactory.createRegistrationRequest(env, user, quesAns);
    And for the query of challenge QnA, these are the following combinations possible:
    1) Property Does user have to provide challenge information during registration set to TRUE
    - During self-registration from web console, it will show you Challenge Questions section on the right. If you do not select any questions, it will thow you an error there itself.
    - Doing it from API will create no difference(even if you pass a blank HashTable). The request will be created successfully and on completion when the user tries to login, it will ask for Security QnA.
    2) Property Does user have to provide challenge information during registration set to FALSE
    - During self-registration from web console, it doesn't show you Challenge Questions section on the right. The request will be created successfully and on completion when the user tries to login, it will ask for Security QnA.
    - Doing it from API, you will have to pass a blank HashTable as in above code. The request will be created successfully and on completion when the user tries to login, it will ask for Security QnA.
    Hope it works.
    Thanks
    Sunny

  • Issues while processing the BOMs using fm ''CSAP_MAT_BOM_MAINTAIN'

    Hi Group,
    we are facing issues while processing the BOMs using the basic type(Z-idoc type) for standard type BOMMAT04.
    thing is that the segment 'E1STPOM' is defined to contain 1 to 99999 records in it.
    when an Idoc is run(say with 150/200 segments of 'E1STPOM'), there was a standard error with error message id PIC01(number : 004) when the Idoc is processed with the Standard function module 'CSAP_MAT_BOM_MAINTAIN'.
    the error says 'Error reading material FING_005 . Exception: 0' and Check whether the material number is blocked. but when checked, the Material seems not blocked.
    kindly advise how to overcome this error and proceed further.
    Regards,
    Vishnu

    Checj the material status, while its transfer from one server to another server the status should be different

  • Oh no! "Deprecated API Usage - Apple no longer accepts submissions of apps that use QuickTime APIs."

    Tried to submit an app to the Mac App store and I received this now:
    "Deprecated API Usage - Apple no longer accepts submissions of apps that use QuickTime APIs."
    Looks like a fix is in for Adobe Air (https://bugbase.adobe.com/index.cfm?event=bug&id=3680732), but I'm not sure if the same is being performed on Director.
    I'm not using any Xtras or anything, I think this is just embed within the Director builds.
    Looks like submitting anything to any Apple App store is going to be on hold for everyone until this gets fixed.

    Hi,
    Looks like this issue has been fixed in April 8th, 2014 release of AIR SDK. So the latest release 13.0.0.111 on May 13th, 2014 will have this issue fixed.
    Download Adobe AIR SDK
    Release Notes | Flash Player® 13 AIR® 13
    Thanks!
    Mohan

  • Creating form using OIM API

    Hi
    can anyone help me in creatig a form and assigning it to a resource object.
    please tell what all should i mention in the map which is to be passed to createForm() method.
    Thank you

    Hi all
    what attributes i need to to map to create a from using OIM API
    createForm Method?
    I have tried with this but did not work:The form is getting created , i.e I am seeing an entry in DB.
    At the same time I am aslo getting an exception which is whown below:
    formMap.put("Structure Utility.Table Name", "SAM");
              formMap.put("Structure Utility.Description", "TESTING API USAGE FOR FORM");
    The Exceptions I get are :
    Thor.API.Exceptions.tcInvalidNameException
         at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.createForm(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.createForm(Unknown Source)
         at com.thortech.xl.ejb.beans.tcFormDefinitionOperationsSession.createForm(Unknown Source)
    09:05:13,772 ERROR [DATABASE] Class/Method: tcDataBase/writeStatement encounter
    some problems: ORA-02089: COMMIT is not allowed in a subordinate session
    java.sql.SQLException: ORA-02089: COMMIT is not allowed in a subordinate session
    09:05:13,819 ERROR [ADAPTERS] Event: Adding Columns to SDC. has encountered an error.
    09:05:13,819 ERROR [SERVER] Class/Method: tcDataObj/runEvent Error :EVT Fatal Rejection Occured
    09:05:13,819 ERROR [APIS] Class/Method: tcFormDefinitionOperationsBean/createForm encounter some problems: maoErrors:Error Adding Column.
    How can i resolve this?
    When and where can I view the form that I have created?
    Thank you

  • Using OIM API

    Hi All
    First can we use OIM API from a PC where OIM Server/Design console is not installed?If so, how?
    I have server running in a different PC in the same network.How do I connect from my PC to use OIM API.
    Thank u
    sas

    It shouldn't matter whether you are invoking OIM APIs from standalone Java app or WebApp as long as you are able to create an instance of tcUtilityFactory. Once obtained the process remains same.
    But if you are invoking APIs from JSP that is custom built but within same xlWebApp, then it gets trivial.
    Thanks,
    Aman

  • Provisioning OIM user using OIM APIS

    Hi All,
    Could anyone help me out on how to provision a User using OIM APIS.
    Thanks and Regards,
    Vaasu.

    public class GetGroups {
    tcUtilityFactory utilFactory = null;
    tcSignatureMessage moSignature = null;
    tcUserOperationsIntf moUserUtility = null;
    tcResultSet userResultSet,userSet = null;
    ConfigurationClient.ComplexSetting myConfig = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    final Hashtable env = myConfig.getAllSettings();
    Map v = new HashMap();
    public void UserGroups(String userid) {
    try {
    System.out.println(" I am in TRY");
    moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
    utilFactory = new tcUtilityFactory(env, moSignature);
    moUserUtility =
    (tcUserOperationsIntf) utilFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
    v.put("Users.User ID", userid);
    userSet = moUserUtility.findAllUsers(v);
    long user_key = userSet.getLongValue("Users.Key");
    System.out.println( " Group Name " + grpName );
    } catch(Exception e){
    e.getMessage();
    Like that
    moobjIntf =
    *(tcObjectOperationsIntf) utilFactory.getUtility("Thor.API.Operations.tcObjectOperationsIntf");*
    Map objmap =new HashMap(0;
    objmap.put("Objects.Name", "AD User") \\ just hardcoding this AD User you can pass it as variable also
    tcResultSet moResultSet = moobjIntf.findObjects(objmap);
    long obj_key = moResultSet.getLongValue("Objects.Key");

  • Issue with deleting a group using Request APIs in OIM 11g R1

    Hi,
    I am facing an issue with Request Based provisioning in OIM 11g R1.
    I am currently testing a scenario where i have imported a data set for 'Modify Provisioned Resource' and am able to add a group/entitlement to an already provisioned resource by using the following code :
            RequestBeneficiaryEntityAttribute childEntityAttribute= new RequestBeneficiaryEntityAttribute();
            childEntityAttribute.setName("AD User Group Details");
            childEntityAttribute.setType(TYPE.String);
            List<RequestBeneficiaryEntityAttribute> childEntityAttributeList=new ArrayList<RequestBeneficiaryEntityAttribute>();
            RequestBeneficiaryEntityAttribute attr = new RequestBeneficiaryEntityAttribute("Group Name", <group>,                                                                       RequestBeneficiaryEntityAttribute.TYPE.String);
            childEntityAttributeList.add(attr);
            childEntityAttribute.setChildAttributes(childEntityAttributeList);
            childEntityAttribute.setAction(RequestBeneficiaryEntityAttribute.ACTION.Add);
            beneficiaryEntityAttributeList = new ArrayList<RequestBeneficiaryEntityAttribute>();   
            beneficiaryEntityAttributeList.add(childEntityAttribute);
            beneficiarytEntity.setEntityData(beneficiaryEntityAttributeList);
    This works fine for adding a group but if i try to remove a group by changing the action to Delete in the same code, the request fails. The only change made is in the following line:
    childEntityAttribute.setAction(RequestBeneficiaryEntityAttribute.ACTION.Delete);
    Could you please suggest where can this possibly be wrong.
    Thanks for your time and help

    Hi BB,
    I am trying to follow up your response.
    You are suggestng to use prepopulate adapter for to populate respource object name, that means We have to just use an sql query from obj tabke to get the resource object name. right ?? it could be like below, what should I have entity-type value here ??
    <AttributeReference name="Field1" attr-ref="act_key"
    available-in-bulk="false" type="Long" length="20" widget="ENTITY" required="true"
    entity-type="????"/>
    <PrePopulationAdapter name="prepopulateResurceObject"
    classname="my.sample.package.prepopulateResurceObject" />
    </AttributeReference>
    <AttributeReference name="Field2" attr-ref="Field2" type="String" length="256" widget="lookup-query"
    available-in-bulk="true" required="true">
    <lookupQuery lookup-query="select lkv_encoded as Value,lkv_decoded as Description from lkv lkv,lku lku
    where lkv.lku_key=lku.lku_key and lku_type_string_key='Lookup.xxx.BO.Field2'
    and instr(lkv_encoded,concat('$Form data.Field1', '~'))>0" display-field="Description" save-field="Value" />
    </AttributeReference>
    Then I need think about the 'Lookup.xxx.BO.Field2' format.
    Could you please let me know if my understanding is correct?? What is the entity-type value of the first attribute reference value?
    Thanks for your all help.

Maybe you are looking for