Help on JCA

Hello,
I am doing JCA to retrieve srm data.when i build the application in eclipse i am getting
<b>The method getService(String) from the type IPortalComponentRequest is deprecated<b></b>
and at code is
IConnectorGatewayService cgService =
        (IConnectorGatewayService) request.getService(IConnectorService.KEY);
Does any one have idea on this...
regards,
maha

Hi Prakash,
I am getting the following warning at corresponding codes
<b>The method putValue(String, Object) from the type IPortalComponentProfile is deprecated</b>
I am posting my whole code
package jca;
import com.sapportals.portal.prt.component.AbstractPortalComponent;
import com.sapportals.portal.prt.component.IPortalComponentRequest;
import com.sapportals.portal.prt.component.IPortalComponentResponse;
import com.sapportals.portal.prt.component.IPortalComponentProfile;
import com.sapportals.portal.prt.event.IPortalRequestEvent;
import com.sapportals.portal.prt.resource.IResource;
import com.sapportals.portal.prt.runtime.PortalRuntime;
//import com.sap.security.api.IPrincipal;
import java.util.Hashtable;
//import java.util.Enumeration;
import javax.naming.Context;
//import javax.naming.NamingException;
import javax.naming.NamingEnumeration;
import javax.naming.NameClassPair;
import com.sapportals.portal.pcd.gl.IPcdContext;
import com.sapportals.portal.pcd.gl.IPcdAttributes;
//import com.sapportals.portal.pcd.gl.IPcdAttribute;
import com.sapportals.portal.prt.jndisupport.InitialContext;
System Landscape service API
import com.sapportals.iviewserver.systemlandscape.service.ISystemLandscapeService;
import com.sapportals.iviewserver.systemlandscape.service.IDesigntimeSystemLandscapeService;
Connector service API
import com.sapportals.portal.ivs.cg.IConnectorService;
import com.sapportals.portal.ivs.cg.IConnectorGatewayService;
import com.sapportals.portal.ivs.cg.ConnectionProperties;
javax.resource.cci
import javax.resource.cci.MappedRecord;
import javax.resource.cci.RecordFactory;
import com.sapportals.connector.ConnectorException;
// connection
import com.sapportals.connector.connection.IConnection;
import com.sapportals.connector.connection.IConnectionFactory;
// execution.functions
import com.sapportals.connector.execution.functions.IInteraction;
import com.sapportals.connector.execution.functions.IInteractionSpec;
// metadata.functions
import com.sapportals.connector.metadata.functions.IFunction;
import com.sapportals.connector.metadata.functions.IFunctionsMetaData;
// execution.structures
import com.sapportals.connector.execution.structures.IRecord;
//import com.sapportals.connector.execution.structures.IStructureFactory;
import com.sapportals.connector.execution.structures.IRecordSet;
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
public class SampleComponent extends AbstractPortalComponent {
Generic Layer service
  IPcdContext pcdContext;
Data Container
  IPortalComponentProfile app;
Refresh "systems" variable which contains a list of R3 system object.
This object is shown in the pulldown list on JSP.
  public void doContent(IPortalComponentRequest request, IPortalComponentResponse response) {
    System.out.println("doContent()");
    app = request.getComponentContext().getProfile();
    try {
      // Get the initial context from JNDI@PRT
      pcdContext = getPcdContext(request);
      // Get a list of R/3 system object aliases
      Hashtable systems = getR3Systems(request);
      System.out.println("systems = " + systems);
      app.putValue("systems","SAP_R3_HumanResources");
    //   app.putValue("systems", "systems");
    } catch (Exception e) {
      System.out.println("Caught an exception: \n" + e);
    IResource jsp = request.getResource(IResource.JSP, "pagelet/index.jsp");
    response.include(request, jsp);
Trigger a Remote Function Module via CCI...
  public void doJca(IPortalComponentRequest request, IPortalRequestEvent event) {
    System.out.println("doJca()");
    Context ctx = null;
    IConnectionFactory connectionFactory = null;
    IConnection client = null;
          ConnectionProperties prop = null;
    String rfm_name = "Y_SS_ABSENCE";
    String system_alias = request.getParameter("system");
     //String system_alias = request.getParameter("SAP_R3_HumanResources");
    if (system_alias == null) {
               app.putValue(
                    "error",
                    "Couldn't establish a connection with a target system " + system_alias + ".");
               return;   
    System.out.println("system_alias = " + system_alias);
    app.putValue("error", "");
    app.putValue("exportParams", "");
     app.putValue("system_alias", system_alias);
    try {
//        Obtain the initial JNDI context;
//         ctx = new InitialContext();
//        Perform JNDI lookup to obtain connection factory;
//         connectionFactory = (IConnectionFactory) ctx.lookup("EISConnections/SAPFactory");
//         IConnectionSpec spec = connectionFactory.getConnectionSpec();
//         ((Map) spec).put("client", "010");
//            ((Map) spec).put("UserName", "os0487");
//            ((Map) spec).put("Password", "mandadi");
//            ((Map) spec).put("logonmethod", "UIDPW");
//            ((Map) spec).put("Language", "EN");
//            ((Map) spec).put("ashost", "d18ix100");
//            ((Map) spec).put("sysnr", "00");
//            IConnection client = connectionFactory.getConnectionEx(spec);
//      IConnectorGatewayService cgService =
//        (IConnectorGatewayService) request.getService(IConnectorService.KEY);
          IConnectorGatewayService cgService =(IConnectorGatewayService) PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
      try {
                    prop = new ConnectionProperties(request.getLocale(), request.getUser());
      } catch (Exception e) {
                    app.putValue(
                         "error",
                         "Couldn't establish a connection with the user " + request.getUser() + ".");
                    return;     
      try {
                    client = cgService.getConnection(system_alias, prop);
      } catch (Exception e) {
                    app.putValue(
                          "error",
                          "Couldn't establish a connection with a target system " + system_alias + ".");
                    return;
Start Interaction
      IInteraction interaction = client.createInteractionEx();
      System.out.println("Starting Interaction...");
      IInteractionSpec interactionSpec = interaction.getInteractionSpec();
      interactionSpec.setPropertyValue("Name","Y_SS_ABSENCE");
CCI api only has one datatype: Record
      RecordFactory recordFactory = interaction.getRecordFactory();
      MappedRecord importParams = recordFactory.createMappedRecord("CONTAINER_OF_IMPORT_PARAMS");
//          RecordFactory recordFactory = interaction.getRecordFactory();
//                MappedRecord importParams = recordFactory.createMappedRecord("M","02","2005","LEVELS");
      IFunctionsMetaData functionsMetaData = client.getFunctionsMetaData();
      IFunction function = functionsMetaData.getFunction("Y_SS_ABSENCE");
      if (function == null) {
        app.putValue(
           "error",
           "Couldn't find " + rfm_name + " in a target system " + system_alias + ".");
        return;
How to invoke Function modules
      System.out.println("Invoking... " + function.getName());
      MappedRecord exportParams = (MappedRecord) interaction.execute(interactionSpec, importParams);
      app.putValue("exportParams", exportParams);
get structure values
      IRecord exportStructure = (IRecord) exportParams.get("RETURN");
      String columnOne = exportStructure.getString("TYPE");
      String columnTwo = exportStructure.getString("CODE");
      String columnThree = exportStructure.getString("MESSAGE");
      System.out.println("  RETURN-TYPE    = " + columnOne);
      System.out.println("  RETURN-CODE    = " + columnTwo);
      System.out.println("  RETURN-MESSAGE =" + columnThree);
get table values
      IRecordSet exportTable = (IRecordSet) exportParams.get("YCAL");
      exportTable.beforeFirst(); // Moves the cursor before the first row.
      while (exportTable.next()) {
          String column_1 = exportTable.getString("PERNR");
                    String column_2 = exportTable.getString("NAME");
                  System.out.println(" YCAL-PERNR = " + column_1);
                  System.out.println(" YCAL-NAME = " + column_2);
Closing the connection
      client.close();
    } catch (ConnectorException e) {
      //app.putValue("error", e);
      System.out.println("Caught an exception: \n" + e);
    } catch (Exception e) {
      System.out.println("Caught an exception: \n" + e);
  private IPcdContext getPcdContext(IPortalComponentRequest request) {
    //    System.out.println("getPcdContext()");
    IPcdContext pcdContext = null;
    try {
      Hashtable env = new Hashtable();
      env.put(
        IPcdContext.INITIAL_CONTEXT_FACTORY,
        "com.sapportals.portal.pcd.gl.PcdInitialContextFactory");
      env.put(IPcdContext.SECURITY_PRINCIPAL, request.getUser());
      pcdContext = (IPcdContext) new InitialContext(env).lookup("");
    } catch (Exception e) {
      System.out.println("Caught an exception: \n" + e);
    return pcdContext;
  private Hashtable getR3Systems(IPortalComponentRequest request) {
    //    System.out.println("getR3Systems()");
    Hashtable systems = new Hashtable();
    try {
      // get a list of R/3 system aliases
      ISystemLandscapeService landscapeService =
        (ISystemLandscapeService) request.getService(ISystemLandscapeService.KEY);
      IDesigntimeSystemLandscapeService landscape =
        landscapeService.getIDesigntimeSystemLandscapeService();
      NamingEnumeration enum = landscape.getAliasesNames(request.getUser());
      while (enum.hasMore()) {
        NameClassPair ncp = (NameClassPair) enum.next();
        String path = landscape.getAliasTarget(ncp.getName(), request.getUser());
        path = path.substring(4);
        IPcdAttributes attrs = (IPcdAttributes) pcdContext.getAttributes(path);
        if (attrs.get("SystemType") == null) {
          continue;
        String system_type = (String) attrs.get("SystemType").get();
        if (system_type.equals("SAP_R3")) {
          systems.put(ncp.getName(), ncp.getName());
    } catch (Exception e) {
      System.out.println("Caught an exception: \n" + e);
    return systems;
}<b></b>

Similar Messages

  • Need help on JCA

    Hi all,
    As the subject suggests, I do not undestand precisely the JCA specifications... I study on EAI and my wish is to build it thx to JMS for the bus and ensure connection ths to JCA ... is that a realistic idea ?
    Other questions :
    - How to connect an Enterprise Information System not written in JAVA by providing a Java API ?
    - What does the link beetween looks like ? (API, Trigger on queue ... )

    You are right my question was not very clear ...
    I'm working on an eai architecture, my wish is to use a well as possible all J2EE features as JCA, JMS, JTA ... but I'm do not really fell how they work together.
    For message communication management, my vision is this one, :
    1. <EIS - A/>
    2. <JCA><JMS/>or<JTA/>or <other><JCA/>
    3. <JMS>
    4. <Pub/sub> or ...
    5. <JMS/>
    6. <JCA><JMS/>or<JTA/>or <other><JCA/>
    7. <EIS - B/>
    Detail :
    * The EIS - A publishes through the specific interface of the JCA connector. This publication is to be treated as a message in the EAI.
    * The message is conveyed by the connector to the EAI thanks (thx) to JMS or JTA (I think I make a mistake here)
    * The CCI of the JCA connector puts a message in a JMS bus of the EAI architecture
    * This message is treated by a pub/sub engine
    * And delivered in the other way by the JCA connector
    Questions are :
    - is that realistic to hope using JMS inside JCA as a medium to convey the information to the EAI ? (Cf. 2.)
    - is that realistic to combine a JTA transaction with JMS message to convey the message to the pub/sub ? (Cf. 2./3.)
    How you can see I'm a bit lost ...
    Thanks in advance
    Baptiste

  • MDM connectivity using JCA

    hi friends,
    I want to connect MDM server using JCA
    can you please provide me the sample code for that.
    Regards,
    Venki

    Hi Venki,
    I'm trying to connect to SAP systems from my webservice provider with the help of JCA, could you help on this.

  • SAP XI 3.0 job openings

    Hi..I am currently in search of a XI 3.0 job in the US. Please let me know if any of you are aware of any openings anywhere in the US.
    Thanks,
    Kate.

    Kumar,
    Yes. Adapters run on the J2EE server of the SAP Web Application Server 6.40, which contains a JCA 1.0 framework. The J2EE server meets all the requirements set out in the J2EE Connector Architecture Specification, Version 1.0.
    For more information on JCA, kindly check the following link:
    http://help.sap.com/saphelp_nw04/helpdata/en/00/6e6040a64e8437e10000000a155106/frameset.htm
    Also go through this threads which will help you:
    JCA Adapter
    JCA Adapter
    library referenced by my JCA Adapter
    problem with JCA compliant adapter in XI
    Hope this gives you some idea......
    ---Satish

  • SAP XI 3.0 Tutorial

    I know this forum has many requests on a daily basis for tutorials for beginners.
    Does anyone know online a sample scenario with XI sending an receiving idocs via email?
    Thanks for the info.
    Steve
    Edited by: Stephen Hardeman on Feb 11, 2008 2:39 PM

    Kumar,
    Yes. Adapters run on the J2EE server of the SAP Web Application Server 6.40, which contains a JCA 1.0 framework. The J2EE server meets all the requirements set out in the J2EE Connector Architecture Specification, Version 1.0.
    For more information on JCA, kindly check the following link:
    http://help.sap.com/saphelp_nw04/helpdata/en/00/6e6040a64e8437e10000000a155106/frameset.htm
    Also go through this threads which will help you:
    JCA Adapter
    JCA Adapter
    library referenced by my JCA Adapter
    problem with JCA compliant adapter in XI
    Hope this gives you some idea......
    ---Satish

  • I need Fusion help creating a demo of BRM JCA Resource Adapter

    I need Fusion help creating a demo of BRM JCA Resource Adapter.
    I know BRM well but am clueless with Fusion.
    I am trying to figure out what Fusion products to download and install and how I manipulate the Fusion side to manipulate BRM.
    My BRM docs say:
    Installing the BRM JCA Resource Adapter ->
    Software requirements
    (yada yada install a bunch of BRM stuff I know how to do)
    The adapter must be deployed on a J2EE 1.4-compliant application server that has implemented the JCA 1.5 specification. The adapter runs only in a managed environment. (Does this imply some particular Fusion package?)
    (more yada yada about installing more BRM packages I know how to do)
    Deploying and configuring the BRM JCA Resource Adapter ->
    Overview of the BRM JCA Resource Adapter configuration procedure
    The procedure for setting up the BRM JCA Resource Adapter includes the following tasks:
    Installing the adapter on your BRM system, if you have not already done so. See Installing the BRM JCA Resource Adapter.
    Generating the schema files for the adapter. See Generating the schema files for your system. (links to some BRM commands np)
    Specifying how to construct XML tags. See Specifying the XML tags for extended fields. (links to an oob file included with directions on how to address BRM customizations np)
    Generating the WSDL files for the adapter. See Generating the WSDL files for your system. (links to an oob file with directions to configure. I could use some help if/when I get this far)
    The last two look pretty important but I haven't a clue. I pasted the text from the docs below.
    Deploying the adapter on your application server. See Deploying the BRM JCA Resource Adapter on an Oracle application server.
    Connecting the adapter to the BRM software. See Connecting the adapter to BRM in Oracle AS.
    Deploying the BRM JCA Resource Adapter on an Oracle application server
    The adapter is dependent on Java Archive (JAR) files to deploy properly. The following table lists the JAR files that the adapter requires from each application in your system.
    Application
    JAR files
    J2EE application server
    classes12.jar, connector15.jar, and jta.jar
    Oracle BPEL process
    bpm-infra.jar, orabpel-thirdparty.jar, orabpel.jar, and xmlparserv2.jar
    BRM J2EE Resource Adapter
    pcm.jar and pcmext.jar
    Apache
    xercesImpl.jar
    If you are deploying the adapter in a standalone Oracle Containers for Java EE (OC4J) instance, make sure these JAR files are available to the class loader that is loading the adapter.
    If you are deploying the adapter by using Oracle SOA Suite, these JAR files are available as part of the oracle.bpel.common code source. You import these libraries as follows:
    Open the Oracle_home/j2ee/Instance/config/applications.xml configuration file for the J2EE instance.
    Add the oracle.bpel.common entry (shown in bold below) to the imported-shared-libraries section of the file:
    <imported-shared-libraries>
    <import-shared-library name="adf.oracle.domain"/>
    <import-shared-library name="oracle.bpel.common"/>
    </imported-shared-libraries>
    Save and close the file.
    Restart the application server or the J2EE instance.
    After you make the JAR files available, deploy the adapter on the Oracle application server by using either the Oracle Application Server (Oracle AS) Application Server Control (ASC) or the Oracle admintool.jar file. Copy the adapter archive file (BRM_home/apps/brm_integrations/jca_adapter/OracleBRMJCA15Adapter.rar) from the installation directory to a location that is accessible to the adapter deployment tool. You can then open and deploy the archive file on your application server.
    After successful deployment, return the applications.xml file to its original settings and add the oracle.bpel.common codesource to the BRM Adapter oc4j-ra.xml file:
    Open the Oracle_home/j2ee/Instance/config/applications.xml configuration file for the J2EE instance.
    Remove the following oracle.bpel.common entry (shown in bold below):
    <imported-shared-libraries>
    <import-shared-library name="adf.oracle.domain"/>
    <import-shared-library name="oracle.bpel.common"/>
    </imported-shared-libraries>
    Save and close the file.
    Open the JCA Resource Adapter oc4j-ra.xml file from the Oracle_home/j2ee/Instance/application-deployments/default/BRMAdapterDeploymentName directory.
    Add the oracle.bpel.common entry (shown in bold below) to the oc4j-connector-factories section of the file:
    <oc4j-connector-factories...>
    <imported-shared-libraries>
    <import-shared-library name="oracle.bpel.common"/>
    </imported-shared-libraries>
    <oc4j-connector-factories>
    Save and close the file.
    Restart the application server or the J2EE instance.
    For more information about deploying the adapter, see your application server’s documentation.
    Connecting the adapter to BRM in Oracle AS
    You connect the adapter to the BRM software by creating connection pools and connection factories. As part of the adapter deployment, the application server creates oc4j-ra.xml from the packaged ra.xml. The ra.xml file is located in the Oracle_home/j2ee/Instance/connectors/AdapterDeploymentName/AdapterDeploymentName/META-INF directory. For example, Oracle_home/j2ee/home/connectors/BRMAdapter/BRMAdapter/META-INF/ra.xml.
    Use the resource adapter home page from the Oracle AS ASC page to create connection pools and connection factories.
    Create your connection pool by following the performance and tuning guidelines in Configuring Connection Pooling in OC4J in Oracle Containers for J2EE Resource Adapter Administrator's Guide. See download.oracle.com/docs/cd/B31017_01/web.1013/b28956/conncont.htm.
    Make sure you set the pool’s Maximum Connections parameter (maxConnections XML entity) equal to or greater than the Oracle BPEL process manager’s dspMaxThreads parameter. For more information, see Oracle BPEL Process Manager Performance Tuning in Oracle Application Server Performance Guide for 10g Release 3 (10.1.3.1.0) at download.oracle.com/docs/cd/B31017_01/core.1013/b28942/tuning_bpel.htm.
    Note To set up JCA Resource Adapter transaction management in BPEL, you must create a private connection pool and set its Inactive Connection Timeout property (inactivity-timeout XML entity) to 0. See About JCA Resource Adapter transaction management in BPEL for more information.
    Create as many connection factories as your system needs. For each connection factory, specify the following:
    The JNDI location for the connection factory.
    The connection pool to use.
    How to connect to BRM by using these entries:
    Entry
    Description
    ConnectionString
    Specify the protocol, host name, and port number for connecting to the BRM software. For example: ip Server1 12006.
    DBNumber
    Specify the database number for the BRM database. For example, enter 1 or 0.0.0.1 for database 0.0.0.1.
    InputValidation
    Specifies whether to validate the input XMLRecord:
    True — The adapter validates the input XMLRecord against the opcode schema.
    False — The adapter does not validate the input XMLRecord.
    The default is False.
    This overrides any other validation parameter specified in the WSDL file.
    OutputValidation
    Specifies whether to validate the output XMLRecord:
    True — The adapter validates the output XMLRecord against the opcode schema.
    False — The adapter does not validate the output XMLRecord.
    The default is False.
    This overrides any other validation parameter specified in the WSDL file.
    LoginType
    Specifies the authentication method:
    1 — The adapter logs in to BRM by using the specified login name and password.
    0 — The adapter logs in to BRM by using the specified service type and POID ID.
    The default is 1.
    UserName
    Specifies the login name the adapter uses for logging in to the BRM software.
    Note This entry is required only if LoginType is set to 1.
    Password
    Specify the password the adapter uses for logging in to the BRM software.
    Note This entry is required only if LoginType is set to 1.
    PoidID
    Specifies the POID ID. This entry should be set to 1.
    ServiceType
    Specifies the service the adapter uses to log in to the BRM software.
    The default is /service/pcm_client.
    You have successfully configured the adapter to connect to BRM.

    I need Fusion help creating a demo of BRM JCA Resource Adapter.
    I know BRM well but am clueless with Fusion.
    I am trying to figure out what Fusion products to download and install and how I manipulate the Fusion side to manipulate BRM.
    My BRM docs say:
    Installing the BRM JCA Resource Adapter ->
    Software requirements
    (yada yada install a bunch of BRM stuff I know how to do)
    The adapter must be deployed on a J2EE 1.4-compliant application server that has implemented the JCA 1.5 specification. The adapter runs only in a managed environment. (Does this imply some particular Fusion package?)
    (more yada yada about installing more BRM packages I know how to do)
    Deploying and configuring the BRM JCA Resource Adapter ->
    Overview of the BRM JCA Resource Adapter configuration procedure
    The procedure for setting up the BRM JCA Resource Adapter includes the following tasks:
    Installing the adapter on your BRM system, if you have not already done so. See Installing the BRM JCA Resource Adapter.
    Generating the schema files for the adapter. See Generating the schema files for your system. (links to some BRM commands np)
    Specifying how to construct XML tags. See Specifying the XML tags for extended fields. (links to an oob file included with directions on how to address BRM customizations np)
    Generating the WSDL files for the adapter. See Generating the WSDL files for your system. (links to an oob file with directions to configure. I could use some help if/when I get this far)
    The last two look pretty important but I haven't a clue. I pasted the text from the docs below.
    Deploying the adapter on your application server. See Deploying the BRM JCA Resource Adapter on an Oracle application server.
    Connecting the adapter to the BRM software. See Connecting the adapter to BRM in Oracle AS.
    Deploying the BRM JCA Resource Adapter on an Oracle application server
    The adapter is dependent on Java Archive (JAR) files to deploy properly. The following table lists the JAR files that the adapter requires from each application in your system.
    Application
    JAR files
    J2EE application server
    classes12.jar, connector15.jar, and jta.jar
    Oracle BPEL process
    bpm-infra.jar, orabpel-thirdparty.jar, orabpel.jar, and xmlparserv2.jar
    BRM J2EE Resource Adapter
    pcm.jar and pcmext.jar
    Apache
    xercesImpl.jar
    If you are deploying the adapter in a standalone Oracle Containers for Java EE (OC4J) instance, make sure these JAR files are available to the class loader that is loading the adapter.
    If you are deploying the adapter by using Oracle SOA Suite, these JAR files are available as part of the oracle.bpel.common code source. You import these libraries as follows:
    Open the Oracle_home/j2ee/Instance/config/applications.xml configuration file for the J2EE instance.
    Add the oracle.bpel.common entry (shown in bold below) to the imported-shared-libraries section of the file:
    <imported-shared-libraries>
    <import-shared-library name="adf.oracle.domain"/>
    <import-shared-library name="oracle.bpel.common"/>
    </imported-shared-libraries>
    Save and close the file.
    Restart the application server or the J2EE instance.
    After you make the JAR files available, deploy the adapter on the Oracle application server by using either the Oracle Application Server (Oracle AS) Application Server Control (ASC) or the Oracle admintool.jar file. Copy the adapter archive file (BRM_home/apps/brm_integrations/jca_adapter/OracleBRMJCA15Adapter.rar) from the installation directory to a location that is accessible to the adapter deployment tool. You can then open and deploy the archive file on your application server.
    After successful deployment, return the applications.xml file to its original settings and add the oracle.bpel.common codesource to the BRM Adapter oc4j-ra.xml file:
    Open the Oracle_home/j2ee/Instance/config/applications.xml configuration file for the J2EE instance.
    Remove the following oracle.bpel.common entry (shown in bold below):
    <imported-shared-libraries>
    <import-shared-library name="adf.oracle.domain"/>
    <import-shared-library name="oracle.bpel.common"/>
    </imported-shared-libraries>
    Save and close the file.
    Open the JCA Resource Adapter oc4j-ra.xml file from the Oracle_home/j2ee/Instance/application-deployments/default/BRMAdapterDeploymentName directory.
    Add the oracle.bpel.common entry (shown in bold below) to the oc4j-connector-factories section of the file:
    <oc4j-connector-factories...>
    <imported-shared-libraries>
    <import-shared-library name="oracle.bpel.common"/>
    </imported-shared-libraries>
    <oc4j-connector-factories>
    Save and close the file.
    Restart the application server or the J2EE instance.
    For more information about deploying the adapter, see your application server’s documentation.
    Connecting the adapter to BRM in Oracle AS
    You connect the adapter to the BRM software by creating connection pools and connection factories. As part of the adapter deployment, the application server creates oc4j-ra.xml from the packaged ra.xml. The ra.xml file is located in the Oracle_home/j2ee/Instance/connectors/AdapterDeploymentName/AdapterDeploymentName/META-INF directory. For example, Oracle_home/j2ee/home/connectors/BRMAdapter/BRMAdapter/META-INF/ra.xml.
    Use the resource adapter home page from the Oracle AS ASC page to create connection pools and connection factories.
    Create your connection pool by following the performance and tuning guidelines in Configuring Connection Pooling in OC4J in Oracle Containers for J2EE Resource Adapter Administrator's Guide. See download.oracle.com/docs/cd/B31017_01/web.1013/b28956/conncont.htm.
    Make sure you set the pool’s Maximum Connections parameter (maxConnections XML entity) equal to or greater than the Oracle BPEL process manager’s dspMaxThreads parameter. For more information, see Oracle BPEL Process Manager Performance Tuning in Oracle Application Server Performance Guide for 10g Release 3 (10.1.3.1.0) at download.oracle.com/docs/cd/B31017_01/core.1013/b28942/tuning_bpel.htm.
    Note To set up JCA Resource Adapter transaction management in BPEL, you must create a private connection pool and set its Inactive Connection Timeout property (inactivity-timeout XML entity) to 0. See About JCA Resource Adapter transaction management in BPEL for more information.
    Create as many connection factories as your system needs. For each connection factory, specify the following:
    The JNDI location for the connection factory.
    The connection pool to use.
    How to connect to BRM by using these entries:
    Entry
    Description
    ConnectionString
    Specify the protocol, host name, and port number for connecting to the BRM software. For example: ip Server1 12006.
    DBNumber
    Specify the database number for the BRM database. For example, enter 1 or 0.0.0.1 for database 0.0.0.1.
    InputValidation
    Specifies whether to validate the input XMLRecord:
    True — The adapter validates the input XMLRecord against the opcode schema.
    False — The adapter does not validate the input XMLRecord.
    The default is False.
    This overrides any other validation parameter specified in the WSDL file.
    OutputValidation
    Specifies whether to validate the output XMLRecord:
    True — The adapter validates the output XMLRecord against the opcode schema.
    False — The adapter does not validate the output XMLRecord.
    The default is False.
    This overrides any other validation parameter specified in the WSDL file.
    LoginType
    Specifies the authentication method:
    1 — The adapter logs in to BRM by using the specified login name and password.
    0 — The adapter logs in to BRM by using the specified service type and POID ID.
    The default is 1.
    UserName
    Specifies the login name the adapter uses for logging in to the BRM software.
    Note This entry is required only if LoginType is set to 1.
    Password
    Specify the password the adapter uses for logging in to the BRM software.
    Note This entry is required only if LoginType is set to 1.
    PoidID
    Specifies the POID ID. This entry should be set to 1.
    ServiceType
    Specifies the service the adapter uses to log in to the BRM software.
    The default is /service/pcm_client.
    You have successfully configured the adapter to connect to BRM.

  • Help on JDE Adapter - JCA test tool

    Hi All,
    Please see the following request and response I get from JDE 8.9 using the JCA test tool for JDE Adapter.
    <jdeRequest type="callmethod" user="JDE" pwd="Gr@66er!" environment="DL9" session="" sessionidle="">
    <callMethod name="F42UI05EditLine" app="" runOnError="" trans="">
    <params>
    <param name="mnOrderNumber">1002528</param>
    <param name="szOrderType">S1</param>
    <param name="szOrderCompany">01200</param>
    <param name="mnLineNumber">1</param>
    <param name="szBranchPlant">1210</param>
    <param name="szLocation">STORE</param>
    <param name="szLot">615075</param>
    <param name="mnEnteredShipQuantity">1</param>
    <param name="szEnteredLineType">S</param>
    <param name="szVersion">DSI591040</param>
    </params>
    </callMethod>
    </jdeRequest>
    <jdeResponse user="JDE" sessionidle="" type="callmethod" session="1712.1172245062.50" environment="DL9" role="">
    <callMethod app="XMLInterop" trans="" name="F42UI05EditLine" runOnError="">
    <returnCode code="0"/>
    <params>
    <cErrorConditions>2</cErrorConditions>
    <cRecordWritten>1</cRecordWritten>
    <mnJobnumberA>26289</mnJobnumberA>
    <szVersion>ZJDE0001</szVersion>
    <cShipAscendingDateFlag>0</cShipAscendingDateFlag>
    </params>
    <errors>
    <error code="4150" name="szEnteredLineType">Error: Invalid Line Type</error>
    <error code="0425" name="szOrderType">Error: Status Flow Not Set Up</error>
    </errors>
    </callMethod>
    </jdeResponse>
    Even if I specify szVersion as DSI591040, it seems JDE takes the default version 'ZJDE0001' (see the jdeResponse).
    I awlays get the same error message and error code.
    Any help on this will be greatly appreicated.
    Thanks,
    Praveen

    Hi Rao,
    Exactly where did you specify the physical value for your logical directory?
    It seems to me that you may have specified the physical value in the directory field in the File Adapter wizard.
    The logical directory name ends up as attribute LogicalDirectory on the jca:operation in the WSDL of the service that you put together using the adapter.
    Section "Specifying Inbound Physical or Logical Directory Paths in Oracle Enterprise Service Bus" of the SOA Suite Adapters guide states the way JDeveloper should now support naming of the physical directory. But JDev in this case does not behave "by the book".
    Maybe someone from ESB product management can assist on this?
    Cheers, Sjoerd

  • JCA Binding Component connection issue - Help plz

    All,
    soa - 11.1.1.3
    I configured a async BPEL which reads data from DB (using DBAdapter) and write to a file. I'm getting the following error frequently. But same BPEL if I test it after few minutes it works, its very intermittent. Any clue?
    I checked the DB which is installed locally, its up and running. No issue i seen in the DB.
    Caused by: BINDING.JCA-12511
    JCA Binding Component connection issue.
    JCA Binding Component is unable to create an outbound JCA (CCI) connection.
    *OutOrderRequestMap:TerritoryPull [ TerritoryPull_ptt::TerritoryPull(TerritoryPullInput_msg,TerritoryPullOutputCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: javax.resource.spi.IllegalStateException: [Connector:199176]Unable to execute allocateConnection(...) on ConnectionManager. A stale Connection Factory or Connection Handle may be used. The connection pool associated with it has already been destroyed. Try to re-lookup Connection Factory eis/DB/orafin11i from JNDI and get a new Connection Handle.*
    Thanks,
    sen

    Are you using JDBC Xa datasource ? Try following the steps defined in this forum link @ Re: Error at the time of Invocation of DB Adapter

  • JCA trouble - plizz help!!

    JCA. Cannot change parallel port mode (always SPP)
    An exception occured when
    InputStream in = ourParallelPort.getInputStream();
    java.io.IOException: Unsupported operation. Output only mode
    The attempt to change LPT-port mode throws an exception
    javax.comm.UnsupportedCommOperationException
    What is my mistake?

    If everything was so simple i would not ask.
    My question is - i cant read theoretically - or i
    just cant read in my particular case?You haven't provided enough information.
    Please be a little more explicit about what you're doing, what you expect to happen, and what you actually observe.
    Please post a short, concise, executable example of what you're trying to do. This does not have to be the actual code you are using. Write a small example that demonstrates your intent, and only that. Wrap the code in a class and give it a main method that runs it - if we can just copy and paste the code into a text file, compile it and run it without any changes, then we can be sure that we haven't made incorrect assumptions about how you are using it.
    Post your code between [code] and [/code] tags. Cut and paste the code, rather than re-typing it (re-typing often introduces subtle errors that make your problem difficult to troubleshoot). Please preview your post when posting code.
    Please assume that we only have the core API. We have no idea what SomeCustomClass is, and neither does our collective compiler.
    If you have an error message, post the exact, complete error along with a full stack trace, if possible. Make sure you're not swallowing any Exceptions.
    I know you get the subject. Then why don't you just
    say what you think about the subject? :) I"m not
    against humor, but if you try to joke, joke, but
    write a piece of advice at the end!!Okay.
    Advice: don't say "plizz".

  • Need help: JCA deployment unsuccessful using dcmctl

    I am using the command line tool dcmctl with the deployApplication option to deploy a standalone JCA resource adapter. I am having some problems with lookup of this JCA from EJB.
    I execute the command:
    dcmctl deployApplication –f my_jca.rar –a my_jca
    The output I get:
    Application: my_jca
    Component Name: home
    Component Type: OC4J
    Instance: myinstance.mycompany.com
    At the end of it, I see the logfiles and it seems like the jca deployment went thru ok. But, when I use my ejb, I keep getting the message that my_jca not found (com.evermind.server.rmi.OrionRemoteException).
    Under what JNDI tree is this jndi name my_jca to be found? How do we lookup for this? How do I know what went wrong in my lookup. The same jca works well with all other appservers.
    Here is the ra.xml I have. DO I need to provide a vendor specific descriptor? OC4J deploys one automatically so I didn't supply one:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE connector PUBLIC "-//Sun Microsystems, Inc.//DTD Connector 1.0//EN" "http://java.sun.com/dtd/connector_1_0.dtd">
       <connector id="Connector_ID">
          <display-name>my_jca</display-name>
          <description>My JCA</description>
          <vendor-name>my company</vendor-name>
          <spec-version>1.0</spec-version>
          <eis-type>DCOM Applications</eis-type>
          <version>1.0</version>
          <license>
             <license-required>false</license-required>
          </license>
          <resourceadapter id="J2CResourceAdapter_ID">
             <managedconnectionfactory-class>com.intrinsyc.jca.JintManagedConnectionFactory</managedconnectionfactory-class>
             <connectionfactory-interface>com.intrinsyc.jca.ConnectionFactory</connectionfactory-interface>
             <connectionfactory-impl-class>com.intrinsyc.jca.JintConnectionFactory</connectionfactory-impl-class>
             <connection-interface>com.intrinsyc.jca.Connection</connection-interface>
             <connection-impl-class>com.intrinsyc.jca.JintConnection</connection-impl-class>
             <transaction-support>NoTransaction</transaction-support>
             <authentication-mechanism id="AuthenticationMechanism_1067225162993">
                <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
                <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
             </authentication-mechanism>
             <reauthentication-support>false</reauthentication-support>
             <security-permission id="SecurityPermission_1067117771153">
                <description>testing with all</description>
                <security-permission-spec>grant { permission java.security.AllPermission; };</security-permission-spec>
             </security-permission>
          </resourceadapter>
       </connector>

    I am using the command line tool dcmctl with the deployApplication option to deploy a standalone JCA resource adapter. I am having some problems with lookup of this JCA from EJB.
    I execute the command:
    dcmctl deployApplication –f my_jca.rar –a my_jca
    The output I get:
    Application: my_jca
    Component Name: home
    Component Type: OC4J
    Instance: myinstance.mycompany.com
    At the end of it, I see the logfiles and it seems like the jca deployment went thru ok. But, when I use my ejb, I keep getting the message that my_jca not found (com.evermind.server.rmi.OrionRemoteException).
    Under what JNDI tree is this jndi name my_jca to be found? How do we lookup for this? How do I know what went wrong in my lookup. The same jca works well with all other appservers.
    Here is the ra.xml I have. DO I need to provide a vendor specific descriptor? OC4J deploys one automatically so I didn't supply one:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE connector PUBLIC "-//Sun Microsystems, Inc.//DTD Connector 1.0//EN" "http://java.sun.com/dtd/connector_1_0.dtd">
       <connector id="Connector_ID">
          <display-name>my_jca</display-name>
          <description>My JCA</description>
          <vendor-name>my company</vendor-name>
          <spec-version>1.0</spec-version>
          <eis-type>DCOM Applications</eis-type>
          <version>1.0</version>
          <license>
             <license-required>false</license-required>
          </license>
          <resourceadapter id="J2CResourceAdapter_ID">
             <managedconnectionfactory-class>com.intrinsyc.jca.JintManagedConnectionFactory</managedconnectionfactory-class>
             <connectionfactory-interface>com.intrinsyc.jca.ConnectionFactory</connectionfactory-interface>
             <connectionfactory-impl-class>com.intrinsyc.jca.JintConnectionFactory</connectionfactory-impl-class>
             <connection-interface>com.intrinsyc.jca.Connection</connection-interface>
             <connection-impl-class>com.intrinsyc.jca.JintConnection</connection-impl-class>
             <transaction-support>NoTransaction</transaction-support>
             <authentication-mechanism id="AuthenticationMechanism_1067225162993">
                <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
                <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
             </authentication-mechanism>
             <reauthentication-support>false</reauthentication-support>
             <security-permission id="SecurityPermission_1067117771153">
                <description>testing with all</description>
                <security-permission-spec>grant { permission java.security.AllPermission; };</security-permission-spec>
             </security-permission>
          </resourceadapter>
       </connector>

  • ORA-03111 - JCA Binding error while invoking a stored procedure in DB

    Hi,
    We are facing this problem for one interface alone.
    Need expert advice to fix this problem..
    This is scheduled to run once in a day and fails daily for past 2 weeks..
    We receive below error as response..
    Same interface worked fine for past 1 yr..
    Also it works fine if we reprocess the batch in next day morning...
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DB_Legacy_To_EBS_Invoice_Conversion' failed due to: Stored procedure invocation error. Error while trying to prepare and execute the IRSOA.AR_SOA_INVOICE.TRN_GET_CUST_INV_RAW_TO_STAGE API. An error occurred while preparing and executing the IRSOA.AR_SOA_INVOICE.TRN_GET_CUST_INV_RAW_TO_STAGE API. Cause: java.sql.SQLException: ORA-03111: break received on communication channel ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    AND
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DB_Legacy_To_EBS_Invoice_Conversion' failed due to: Stored procedure invocation error. Error while trying to prepare and execute the IRSOA.AR_SOA_INVOICE.TRN_GET_CUST_INV_RAW_TO_STAGE API. An error occurred while preparing and executing the IRSOA.AR_SOA_INVOICE.TRN_GET_CUST_INV_RAW_TO_STAGE API. Cause: java.sql.SQLException: ORA-01013: user requested cancel of current operation ORA-06512: at "IRSOA.XXIR_AR_SOA_CUSTOMER_INVOICE", line 213 ORA-06512: at line 1 ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution
    Thanks,
    Sundaram

    Looks like the SQL might be taking a longer time to execute and might be timing out.
    Please refer the following:
    Re: ORA-01013: user requested cancel of current operation
    http://www.dba-oracle.com/t_ora_01013_user_requested_cancel_of_current_operation.htm
    Additionally, ORA-06512 indicates that there is a mismatch of the with the data length that is being processed. Refer http://www.techonthenet.com/oracle/errors/ora06512.php
    Hope this helps.
    Thanks,
    Patrick

  • Need Help-SOA 11g File Adapter unable to delete input file and its crashing

    Hi All
    Please find the details below:
    1. We have created a simple SOA composite to Read file from an input directory, archive the file in an archive directory using Inbound File Adapter Read
    and then use Outbound File Adapter Write to move the file to a output directory.
    2. File Adapter needs to delete the file after successful read/retrieval.
    3. We are using the "Use Trigger File" for invoking the file adapter. This is a new feature in SOA 11g
    4. Also we are using the option of reading the file as an attachment as we are not doing any transformation in the composite
    Issue Details_
    1. When the trigger file is put in the input directory for the first time, the File Adapter reads the file, archives it and moves it to the output directory
    2. However it does not delete the input file from the input directory and raises Fatal Exception mentioned below:
    [*2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]*
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC PostProcessor::
    Delete failed, the operation will be retried for max of [0] times
    [2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC [[
    BINDING.JCA-11042
    File deletion failed.
    File deletion failed.
    File : C:\Dibya\AttachmentTest\InputDir\TestFile3.txt could not be deleted.
    Delete the file and restart server. Contact oracle support if error is not fixable.
    If any one has faced similar issues, kindly provide pointers on how to resolve it.
    Regards,
    Dibya

    Hi,
    Using the file adapter, you can poll from multilple locations...
    Keep the following property in your .jca file
    <property name="DirectorySeparator" value="," />
    While giving the path in File Adapter configuration, keep comma and give the next location....then the file will be picked up from the locations you gave....
    Hope this helps...
    Thanks,
    N

  • Need help in Xi faqs

    Hi guys ,
    This is SuryaNarayana . I have collected some faqs from www.**************** but they have no answers please answers these questions
    Questions are releated in to XI-BPM
    1. Business Process Management is concerned with ?
    a. Processes within and across applications
    b. Planned or spontaneous Human interaction
    c. Automating, streamlining, managing business processes
    d. Moving process control from application to technology layer
    e. All of the above
    2. Which open modeling standard ccBPM adheres to?
    a. BPEL
    b. XML
    c. WSDL
    d. None of these
    3. High-Tech industry ccBPM implementation guidelines are known as ?
    a. RosettaNet Implementation Framework
    b. CIDX
    c. Marketpalce
    d. SAP BC
    4. Individual "Swim Lane" in BPM modelling contains ?
    a. Business Scenarios from same company
    b. Business Scenarios from same Application
    5. Different Panes within BPM editor in IR ?
    a. Header
    b. Editing
    c. Process Overview
    d. Property
    e. Output
    f. Object
    g. All of the above
    6. Data Declaration of the Business process can be viewed in ?
    a. Correlation in Object area
    b. Container in Output area
    c. Container in Object area
    d. None of these
    7. Which of these is not Messaging relevant Step type ?
    a. Receive
    b. Send
    c. Transformation
    d. Receiver Determination
    e. Block
    8. Control Step can be used for, except ?
    a. Terminate current process
    b. Trigger an Exception
    c. Trigger an Alert
    d. Define different processing braches for process
    9. Which of the following triggers process to start?
    a. By receiving amessage assinged to receive step
    b. Batch job by scheduling in WAS
    c. Both of these
    d. None of these.
    10. To route response messages to the
    correct process instance, _______ object is used ?
    a. Correlation
    b. Interface
    c. Adapter
    d. Mapping
    11. Correlation handling is handled by ?
    a. BP engine
    b. Integration Engine
    c. Adapter Engine
    d. None of these
    12. Container element can be typecasted to, except ?
    a. simple XSD/XML Schema
    b. Abstract i/f
    c. Receiver
    d. Multilne(vector)
    e. Sender
    13. Outer Container block has container element 'O' and inner Container block
    has container element 'I'. Then which of the following is true?
    a. Both 'O' and 'I' are visible in outer block.
    b. Both 'O' and 'I' are visible in inner block.
    c. Both of these.
    d. None of these.
    14. Simple Fork process step terminates when ?
    a. All branches are true.
    b. All branches are false.
    c. Either true.
    d. Either false.
    15. Collect process pattern types includes ?
    a. Condition
    b. Receiver message
    c. Append message
    d. Increase counter
    e. Merge message
    f. Send message
    g. All
    XI-Releated questions
    1. SAP XI is an Integration technology and platform?
    a) for SAP and non SAP applications.
    b) for A2A and B2B scenarios
    c) for asynchronous and synchronous applications
    d) for cross-component Business Process Management.
    2. XI represents the following layer in the NetWeaver stack:?
    a) People Integration
    b) Information Integration
    c) Process Integration
    3. XI uses the following web standards ?
    a) WSDL
    b) XSD
    c) SOAP
    4. XI components include?
    a) SLD (System Landscape Directory)
    b) Integration Builder
    c) Integration Server
    d) Central Monitoring
    e) Adapter Engine
    5. Integration Builder is a?
    a) Java application
    b) ABAP application
    c) .NET application
    6. Java Web Start is required for?
    a) Caching java clients
    b) Drawing pictures
    c) Connect to SUN systems
    7. SLD is a?
    a) Client application
    b) Server application
    8. XI is technically a client of SLD?
    a) TRUE
    b) FALSE
    9. SLD adheres to?
    a) Common Information Model
    b) Web Services Definition Language
    c) XML Schema Definition Language
    d) XML
    10. Usage of PCK (Partner Connectivity Kit) ?
    a) Allow small partners and subsidiaries to communicate natively with XI
    b) For Partners to connect to database systems7444
    c) Allow Partners to connect to .NET and Java applications
    11. Certain adapters are needed in cases where the Integration Server
    is to exchange messages with an R/3 system based on basis kernel lower than?
    a) 6.10
    b) 6.20
    c) 6.40
    d) 4.5
    12. XI supports the following QoS (Quality of Services)?
    a) BE (Best Effort)
    b) Exactly Once (EO)
    c) Exactly Once In Order (EOIO)
    d) Exactly Twice In Order (ETIO)
    13. QoS BE is equal to ?
    a) Synchronous RFC (sRFC)
    b) Asynchronous RFC (aRFC)
    c) Transactional RFC (tRFC)
    d) Queued RFC (qRFC)
    14. QoS EO is equal to ?
    a) Synchronous RFC (sRFC)
    b) Asynchronous RFC (aRFC)
    c) Transactional RFC (tRFC)
    d) Queued RFC (qRFC)
    15. QoS EOIO is equal to ?
    a) Synchronous RFC (sRFC)
    b) Asynchronous RFC (aRFC)
    c) Transactional RFC (tRFC)
    d) Queued RFC (qRFC)
    16. Adapter Framework is based on ?
    a) JCA (Java Connector Architecture)
    b) NCA (.NET Connector Architecture)
    c) PCK (Partner Connectivity Kit)
    d) WSDL (Web Services Definition Language)
    17. XI Adapter Engine is based on the integrated?
    a) ABAP engine
    b) J2EE engine
    c) .NET engine
    d) JCA (Java Connector Architecture)
    18. Integration Processes are built using?
    a) WSDL (Web Services Definition Language)
    b) BPEL (Business Process Execution Language)
    c) XSD (XML Schema Definition Language)
    d) JCL (Java Connector Language)
    19. Runtime Workbench in XI is the central monitoring tool for the following?
    a) Component Monitoring
    b) Message Monitoring
    c) End-to-End Monitoring
    d) Performance Monitoring
    e) Queue Monitoring
    f) Schedule Monitoring
    20. XI uses enhanced version of SOAP protocol called?
    a) XI XML
    b) XI SOAP
    c) XI XSD
    d) XI PML
    21. What is the cardinality of MESSAGE TYPES : DATA TYPES ?
    a) 1:1
    b) 2:1
    c) 2:2
    d) 1:0
    22. What are the advantages of ASYNCHRONOUS updates?
    a) Acknowledgement can be sent back
    b) Messages can be persisted.
    23. What are the advantages of SYNCHRONOUS updates?
    a) Acknowledgement can be sent back (messages can be persisted with additional configuration)
    b) Messages can be persisted.
    c) Messages cannot be persisted.
    24. What is the Message format used in XI for processing?
    a) Specific implementation of SOAP which is XI XML
    b) JMS
    c) RFC
    d) CIDX
    25. What is an Adapter?
    a) Adapters are used to communicate to Legacy or SAP systems with WAS version < 6.2
    b) Adapters are used to retrieve information from Java, .NET systems
    c) Adapters are used to import IDOC, RFC information.
    26. In the Integration Repository, what is the KEY of an
    object or how can an object be uniquely identified?
    a) SWCV, Namespace, Name
    b) Namespace, Name, Description
    c) Name, Description, SWCV
    d) SWCV, SWCV1, SWCV2
    27. How do you classify NAME SPACE in an R/3 Environment?
    a) Equivalent to function group
    b) Equivalent to development class
    c) Equivalent to function module
    d) Equivalent to BAPI
    28. What is ICM?
    a) Internet Console Manager
    b) Internet Communication Manager
    c) Infrastructure Communication Manager
    d) Intranet Communication Manager
    29. A Customer has WAS 6.2 and has decided to use XI?
    a) He cannot use XI unless WAS 6.2 is upgraded to WAS 6.4
    b) Can use XI with some additional patches
    c) WAS 6.2 already has XI in it. No need of any additional software
    30. What is the name space of an IDOC?
    a) urn:sap-com:document:sap:idoc:messages
    b) urn:sap-com:document:idoc:sap:messages
    c) urn:sap-com:sap.document:idoc:messages
    d) urn:sap-com:document:idoc:messages
    31. What is the name space of an RFC ?
    a) urn:sap-com:document:rfc:sap:functions
    b) urn:sap-com:document:bapi:rfc:functions
    c) urn:sap-com:document:sap:rfc:functions
    d) urn:sap-com:document:remote:rfc:functions
    32. What doesn’t get transported when the configuration is released?
    a) All Objects will get transported
    b) Generated proxies and application coding in the application
    components does not get transported when the configuration is released.
    c) Only application coding will not get transported.
    d) Only generated proxies will not get transported.
    33. How many Pipelines are there in the integration server?
    a) Receiver Identification, Interface Identification, Message Branch,
    Request Message Mapping, Outbound Binding, Call Adapter, Request Message Mapping.
    b) Receiver Identification, Interface Identification, Message Branch,
    Request Message Mapping, Outbound Binding.
    c) Message Branch, Request Message Mapping, Outbound Binding,
    Call Adapter, Request Message Mapping.
    34. What are the possible Trace Levels?
    a) 0 – No Trace,1 – Low Trace Level,2 – Medium Trace Level,
    3 – High Trace Level,4 – Expert Trace Level
    b) 0 – No Trace,1 – Low Trace Level,
    2 – Medium Trace Level,3 – High Trace Level
    c) 10 – Low Trace Level,20 – Medium Trace Level,
    30 – High Trace Level,40 – Expert Trace Level
    35. Does JMS adapter need additional driver to communicate to database?
    a) Yes
    b) No
    c) JMS adapter is not available in XI
    36. What is use of PCK?
    a) Partner Connectivity Kit that helps Partner Systems with no ability
    to communicate in XML speak to the Business Systems.
    b) PCK is used to deploy additional drivers
    c) PCK can be used as an alternative to XI
    37. What is Context Object? What is its role?
    a) Context Objects are pointers to a specific element within the message,
    for future reference. Encapsulate the access to data that is contained
    in the payload or in the header of the message.
    b) Another form of data types
    c) Can be used instead of message types
    38. What adapters don’t need Sender Agreement?
    a) HTTP, IDOC.
    b) IDOC, RFC
    c) IDOC, JMS
    d) JDBC, JMS
    39. What is the Protocol followed for Mail Adapter?
    a) SMTP
    b) IMAP
    c) POP3
    d) POP4
    40. Where do you configure an Adapter?
    a) Sender Agreement
    b) Receiver Determination
    c) Business System
    d) Communication Channel
    41. Can a JDBC adapter query the database table?
    If yes, what are different possibilities?
    a) Yes. You can configure sender and receiver communication channels.
    A special XML format is defined for content coming from the
    Integration Engine. This canonical format enables SQL Insert,
    Update, Select, Delete or stored procedure statements to be processed.
    A message is always processed in exactly one database transaction.
    b) JDBC adapter cannot insert records in the database.
    c) We should not insert, update records in the database directly.
    42. The message monitoring status DLNG means ?
    a) DLNG = Delivering.
    b) DLNG = Dialing
    c) DLNG = Detailing
    d) DLNG = Dismantling
    43. Where do you perform Content Based Routing?
    a) Receiver Determination
    b) Receiver Agreement
    c) Sender Agreement
    d) Communication Channel
    44. What are the various supported mapping types?
    a) Message Mapping, Java Mapping, XSLT Mapping, ABAP Mapping.
    b) XSLT, Java, JDBC, JMS
    c) XSLT, WSDL, XSD
    45. With respect to ABAP proxies,
    what are the methods that can be coded?
    a) EXECUTE_SYNCHRONOUS, EXECUTE_ASYNCHRONOUS.
    b) EXECUTE_SYNCHRONOUS, EXECUTE_ASYNCH.
    c) EXECUTE_SYNCH, EXECUTE_ASYNCH
    46. “ Fields under a node with a minoccurs of ZERO has been mapped.
    ” The values don’t appear in the target result, what could be wrong?
    a) The parent node has not been assigned.
    b) Parent node has cardinality 0…unbounded
    c) Parent node has many fields
    47. What is a SENDER COMM CHANNEL?
    a) Sender Communication Channel is where you define the source system from
    where the message/information goes to XI and also the adapter, the Sender System uses.
    b) Sender Communication Channel is where you define the target system from where
    the message/information goes out of XI and also the adapter, the Receiver System uses.
    c) Sender Communication Channel is where you define the how the
    interface mapping takes place between Sender and Receiver.
    48. XSLT is supported but two statements were not supported. What are they?
    a) <xsd:include>, <xsd:import>
    b) <xsd:including>, <xsd:importing>
    c) <xsd:includes>, <xsd:imports>
    d) All statements are supported.
    49. What steps can be inserted in an Exception branch?
    a) Terminate a process, trigger an alert.
    b) Terminate the interface, trigger IDOC.
    c) Terminate exception, branch integration process.
    50. What is multi mapping? When can it be used?
    a) Multi Mapping is used to map abstract interfaces and can only be used in ccBPM.
    b) Can be used when there are multiple interfaces from Sender systems.
    c) Can be used when there are multiple interfaces from Receiver systems
    51. The first step in the Integration process can be ?
    a) Receive step
    b) fork Step
    c) Send Step
    d) Block Step
    52. An Exception raised by a step can be handled by ?
    a) Only by exception handler in the same step
    b) Only by exception handler in the outer step
    c) By exception handler in the same step or in the outer step
    53. An exception is raised by ?
    a) Async or sync send step, transformation step and Control Step
    b) Sync send step
    c) By control step only
    54. A message can be received by ?
    a) Only a receive step
    b) By receive, fork or loop step
    c) By receive and block step
    d) By send, block and Fork
    55. What are the types of containers ?
    a) Abstract
    b) Simple & Abstract
    c) Simple, Abstract and receiver
    56. Which of these are true/false with user defined functions?
    a) User defined functions are accessible only in the mapping where they are created
    b) User defined functions are visible across namespace
    c) User defined functions accessed in other mapping by copying it to that mapping
    d) User defined functions are accessible in any mapping in a software component version
    57. Java Mapping is executed by implementing the interface ?
    a) com.sap.aii.mapping.api.StreamTransformation
    b) com.sap.api.mapping.StreamTransformation
    c) com.sap.api.mapping.aii.StreamTransformation
    d) com.sap.mapping.api.StreamTransformation
    58. An Idoc has been sent by a sender system to XI, but the idoc is not
    received at the XI system which of these could be true/false ?
    a) The destination system from the sender system to XI is not configured correctly.
    b) The metadata in XI was copied/generated from the sender Idoc is corrupted
    c) The destination system from XI to sender system is not defined correctly
    d) Sender channel is not configured
    59. While mapping which of these is true ? Can I use different mapping ?
    a) You can use only one mapping at a time
    b) You can use ABAP & JAVA mapping
    c) You can use any mapping in any sequence any number of times
    d) Different mapping can’t be used together
    60. To import the metadata from an R/3 system which of this is true/false ?
    a) The import permitted in Software component need to be selected
    b) You have to create ‘ALE’ Name in SLD
    c) You need to login to the destination (R/3) with a valid user
    d) You need to login to destination(R/3) with a User having administrator rights
    61. You are implementing XI for your customer, you have very good experience
    working in ABAP. While mapping you want to do it in abap, but the option
    available are only ‘Message Mapping’ ‘Java Mapping’ What would you do to
    add the ‘ABAP Mapping’ option. Where would you configure it?.
    a) In Exchange profile
    b) In s/w component
    c) In Integration Repository
    62. From the WSDL description from application server, you can generate ?
    a) Java Proxies only
    b) ABAP proxies
    c) Java and ABAP proxies.
    63. JMS adapter can be used for ?
    a. IBM web sphere MQ
    b. Sonique
    c. Web services
    64. Which of the following is true/false about HTTP plain adapters?
    a. Sender channel is not required to be configured
    b. Receiver channel is not required to be configured
    c. Using this system can directly connect to integration server
    65. You would install Adapter engine de-centrally ?
    a. To install PCK
    b. To monitor the messages de-centrally
    c. To share load with the central adapter engine and increase performance.
    66. To Receive the data using ‘Select with JDBC adapter you would ?
    a. You would configure a receiver channel
    b. you would configure a sender channel
    67. You find that the status in transaction ‘SXI_CACHE’ is
    not equal to 0. Which of the following would you perform?
    a. Check the condition of BP in Integration Repository
    b. Activate the BP in ‘SXI_CHACHE’.
    c. Activate the BP in Integration Directory
    68. Which are the methods that you need to call compulsorily in java mapping ?
    a) execute(), setParameter()
    b) Exit() Systemproperties()
    c) Execute(), SetProperties()
    69. What is the relationship between an integration process and business workflow?
    a) The Business Process Engine is the same as the Workflow Engine.
    b) The Business Process Engine needs external Workflow Engine
    c) Business Process Engine is a new name for Workflow Engine
    70. What are the different types that a container element can be based on?
    a) Simple XSD types : XSD:DATE, XSD:TIME, XSD: INTEGER, XSD: STRING
    b) Abstract Integer
    c) Receiver
    71. Which of the following is true with regards to Container Elements?
    a) Elements of a super container are visible in sub container.
    b) Elements of sub container are visible in super container
    c) Container cannot have super or sub containers
    d) Containers can have multiple elements.
    72. Send message within an integration process to 8 receivers
    at the same time, how can I do this?
    a) Create a FORK statement with 8 branches
    b) Create 8 interfaces
    c) Create a loop with 8 interfaces
    d) Create 8 branches
    73. Which of the following Objects can be used in BPM ?
    a) Context Object
    b) Receiver Determination
    c) Message Mapping
    d) Interface Mapping
    74.Could multiple instances of Integration process run at the same time ?
    a) Yes
    b) No
    75. For ABAP mapping which of the following settings have to be done in Exchange Profile ?
    a) Com.sap.aii.repository.mapping.additionaltypes = R3_ABAP | Abap-class; R3_XSLT | XSL
    b) Com.sap.aii.repository.mapping.additionaltypes = R3_JAVA | Abap-class; R3_XSLT | XSL
    c) Com.sap.aii.repository.mapping.additionaltypes = | Abap-class; R3_XSLT | XSL
    76. How does Boolean functions work in message mappings ?
    a) Boolean functions accept Boolean inputs and result in Boolean values
    b) Boolean functions accept Boolean inputs and result in decimal values
    c) Boolean functions accept Boolean inputs and result in alphanumeric values
    77. While testing message mapping the source message occurs 3 times
    but the target message occurs only once? What can be the reason ?
    a) Target cardinality is not defined sufficiently
    b) Source cannot repeat
    c) Message mapping cannot handle multiple values
    78. What JAR file is required to perform Java mapping ?
    a) aii_map_api.jar
    b) aii_map_api.java
    c) aii_map_aii.jar
    d) None
    79. Collaboration Agreement is made of the following ?
    a) Sender Agreement, Receiver Agreement
    b) Sender Agreement, Sender Communication Channel
    c) Sender Agreement, Receiver Communication Channel
    d) Receiver Agreement, Receiver Communication Channel
    80.What are the three IDOC related transactions in XI ?
    a) IDX9
    b) IDX1
    c) IDX2
    d) IDX5
    e) IDX3
    81.Is EOIO supported by RFC ?
    a) YES
    b) NO
    82. Java Web Start is used for ?
    a) Caching Java applications
    b) to write Java code
    c) to execute Java mapping
    d) to perform JMS connectivity
    83. Where do you define Usage Dependency?
    a) Integration Repository
    b) Integration Directory
    c) SLD
    d) Enterprise Portal
    84. For ABAP mapping which class must be implemented ?
    a) IF_MAPPING
    b) IF_MAPPING_ABAP
    c) MAPPING_ABAP
    d) MAPPING_EXECUTE_ABAP
    85.Component Monitoring in the RWB is used to display
    the monitoring of the following components?
    a) Integration Engine
    b) Adapter Engine
    c) Integration Directory
    d) Integration Repository
    e) Runtime Workbench
    86.Does HTTP adapter support QoS BE?
    a) Yes
    b) No
    87.IDOC adapter supports the following QoS’s?
    a) EO
    b) EOIO
    c) BE
    d) All the above
    88.The Client has decided to user HTTP adapter as Sender.
    Which transaction should be used to configure the HTTP adapter?
    a) SICF
    b) SMICM
    c) SM59
    d) SE80
    89.The following transaction is used to monitor XML messages in XI ?
    a) SXMB_MONI
    b) SM59
    c) SXMB_ADM
    d) SICF
    90.File adapter has the following QoS?
    a) BE
    b) EO
    c) EOIO
    d) BEIO
    91.When FILE adapter as Sender, we do not need Sender agreement ?
    a) Yes
    b) No
    92. File Sender communication channel can be used by only one Sender agreement ?
    a) True
    b) False
    93. SOAP adapter uses the following message protocol:?
    a) SOAP 1.1
    b) SOAP 1.2
    c) SOAP 1.9
    d) SOAP 1.3
    94. Using the following URL we can display the content of CPACache?
    a) http://<host>:<J2EEport >/CPACache
    b) http://<host>:<J2EEport >/AdapterCache
    c) http://<host>:<J2EEport >/CPACatch
    d) http://<host>:<J2EEport >/CPACache/index.html
    95. The following URL can be used to display the Adapter Status in XI ?
    a) http://<host>:<J2EEport >/AdapterFramework
    b) http://<host>:<J2EEport >/AdapterFramework/RFC
    c) http://<host>:<J2EEport >/AdapterFramework/rep
    d) http://<host>:<J2EEport >/AdapterStatus
    96. Which security role need to be assigned to access the CPACache ?
    a) xi_af_cpa_monitoring
    b) xi_af_cache_monitor
    c) xi_af_cpa_monitor
    97. The following URL can be used to manually refresh the CPACache?
    a) http://<host>:<J2EEport >/CPACache/refresh=delta
    b) http://<host>:<J2EEport >/CPACache/refresh?mode=full
    c) http://<host>:<J2EEport >/CPACache/refresh?mode=all
    98. The Objects from repository are accessed from directory using user?
    a) XIDIRUSER
    b) XISUPER
    c) XIAPPLUSER
    d) XIADMIN
    99. Information about the central and decentral Adapter
    Framework installations is maintained in ?
    a) SLD
    b) CLD
    c) IR
    d) ID
    100. Special drivers required for JDBC, JMS adapters can be deployed using ?
    a) SPM (Software Procurement Manager)
    b) SDM (Software Deployment Manager)
    c) SCM (Software Change Manager)
    d) SOM (Software Ownership Manager)

    Hi guys ,
    This is SuryaNarayana . I have collected some faqs from www.**************** but they have no answers please answers these questions
    Questions are releated in to XI-BPM
    1. Business Process Management is concerned with ?
    a. Processes within and across applications
    b. Planned or spontaneous Human interaction
    c. Automating, streamlining, managing business processes
    d. Moving process control from application to technology layer
    e. All of the above
    2. Which open modeling standard ccBPM adheres to?
    a. BPEL
    b. XML
    c. WSDL
    d. None of these
    3. High-Tech industry ccBPM implementation guidelines are known as ?
    a. RosettaNet Implementation Framework
    b. CIDX
    c. Marketpalce
    d. SAP BC
    4. Individual "Swim Lane" in BPM modelling contains ?
    a. Business Scenarios from same company
    b. Business Scenarios from same Application
    5. Different Panes within BPM editor in IR ?
    a. Header
    b. Editing
    c. Process Overview
    d. Property
    e. Output
    f. Object
    g. All of the above
    6. Data Declaration of the Business process can be viewed in ?
    a. Correlation in Object area
    b. Container in Output area
    c. Container in Object area
    d. None of these
    7. Which of these is not Messaging relevant Step type ?
    a. Receive
    b. Send
    c. Transformation
    d. Receiver Determination
    e. Block
    8. Control Step can be used for, except ?
    a. Terminate current process
    b. Trigger an Exception
    c. Trigger an Alert
    d. Define different processing braches for process
    9. Which of the following triggers process to start?
    a. By receiving amessage assinged to receive step
    b. Batch job by scheduling in WAS
    c. Both of these
    d. None of these.
    10. To route response messages to the
    correct process instance, _______ object is used ?
    a. Correlation
    b. Interface
    c. Adapter
    d. Mapping
    11. Correlation handling is handled by ?
    a. BP engine
    b. Integration Engine
    c. Adapter Engine
    d. None of these
    12. Container element can be typecasted to, except ?
    a. simple XSD/XML Schema
    b. Abstract i/f
    c. Receiver
    d. Multilne(vector)
    e. Sender
    13. Outer Container block has container element 'O' and inner Container block
    has container element 'I'. Then which of the following is true?
    a. Both 'O' and 'I' are visible in outer block.
    b. Both 'O' and 'I' are visible in inner block.
    c. Both of these.
    d. None of these.
    14. Simple Fork process step terminates when ?
    a. All branches are true.
    b. All branches are false.
    c. Either true.
    d. Either false.
    15. Collect process pattern types includes ?
    a. Condition
    b. Receiver message
    c. Append message
    d. Increase counter
    e. Merge message
    f. Send message
    g. All
    XI-Releated questions
    1. SAP XI is an Integration technology and platform?
    a) for SAP and non SAP applications.
    b) for A2A and B2B scenarios
    c) for asynchronous and synchronous applications
    d) for cross-component Business Process Management.
    2. XI represents the following layer in the NetWeaver stack:?
    a) People Integration
    b) Information Integration
    c) Process Integration
    3. XI uses the following web standards ?
    a) WSDL
    b) XSD
    c) SOAP
    4. XI components include?
    a) SLD (System Landscape Directory)
    b) Integration Builder
    c) Integration Server
    d) Central Monitoring
    e) Adapter Engine
    5. Integration Builder is a?
    a) Java application
    b) ABAP application
    c) .NET application
    6. Java Web Start is required for?
    a) Caching java clients
    b) Drawing pictures
    c) Connect to SUN systems
    7. SLD is a?
    a) Client application
    b) Server application
    8. XI is technically a client of SLD?
    a) TRUE
    b) FALSE
    9. SLD adheres to?
    a) Common Information Model
    b) Web Services Definition Language
    c) XML Schema Definition Language
    d) XML
    10. Usage of PCK (Partner Connectivity Kit) ?
    a) Allow small partners and subsidiaries to communicate natively with XI
    b) For Partners to connect to database systems7444
    c) Allow Partners to connect to .NET and Java applications
    11. Certain adapters are needed in cases where the Integration Server
    is to exchange messages with an R/3 system based on basis kernel lower than?
    a) 6.10
    b) 6.20
    c) 6.40
    d) 4.5
    12. XI supports the following QoS (Quality of Services)?
    a) BE (Best Effort)
    b) Exactly Once (EO)
    c) Exactly Once In Order (EOIO)
    d) Exactly Twice In Order (ETIO)
    13. QoS BE is equal to ?
    a) Synchronous RFC (sRFC)
    b) Asynchronous RFC (aRFC)
    c) Transactional RFC (tRFC)
    d) Queued RFC (qRFC)
    14. QoS EO is equal to ?
    a) Synchronous RFC (sRFC)
    b) Asynchronous RFC (aRFC)
    c) Transactional RFC (tRFC)
    d) Queued RFC (qRFC)
    15. QoS EOIO is equal to ?
    a) Synchronous RFC (sRFC)
    b) Asynchronous RFC (aRFC)
    c) Transactional RFC (tRFC)
    d) Queued RFC (qRFC)
    16. Adapter Framework is based on ?
    a) JCA (Java Connector Architecture)
    b) NCA (.NET Connector Architecture)
    c) PCK (Partner Connectivity Kit)
    d) WSDL (Web Services Definition Language)
    17. XI Adapter Engine is based on the integrated?
    a) ABAP engine
    b) J2EE engine
    c) .NET engine
    d) JCA (Java Connector Architecture)
    18. Integration Processes are built using?
    a) WSDL (Web Services Definition Language)
    b) BPEL (Business Process Execution Language)
    c) XSD (XML Schema Definition Language)
    d) JCL (Java Connector Language)
    19. Runtime Workbench in XI is the central monitoring tool for the following?
    a) Component Monitoring
    b) Message Monitoring
    c) End-to-End Monitoring
    d) Performance Monitoring
    e) Queue Monitoring
    f) Schedule Monitoring
    20. XI uses enhanced version of SOAP protocol called?
    a) XI XML
    b) XI SOAP
    c) XI XSD
    d) XI PML
    21. What is the cardinality of MESSAGE TYPES : DATA TYPES ?
    a) 1:1
    b) 2:1
    c) 2:2
    d) 1:0
    22. What are the advantages of ASYNCHRONOUS updates?
    a) Acknowledgement can be sent back
    b) Messages can be persisted.
    23. What are the advantages of SYNCHRONOUS updates?
    a) Acknowledgement can be sent back (messages can be persisted with additional configuration)
    b) Messages can be persisted.
    c) Messages cannot be persisted.
    24. What is the Message format used in XI for processing?
    a) Specific implementation of SOAP which is XI XML
    b) JMS
    c) RFC
    d) CIDX
    25. What is an Adapter?
    a) Adapters are used to communicate to Legacy or SAP systems with WAS version < 6.2
    b) Adapters are used to retrieve information from Java, .NET systems
    c) Adapters are used to import IDOC, RFC information.
    26. In the Integration Repository, what is the KEY of an
    object or how can an object be uniquely identified?
    a) SWCV, Namespace, Name
    b) Namespace, Name, Description
    c) Name, Description, SWCV
    d) SWCV, SWCV1, SWCV2
    27. How do you classify NAME SPACE in an R/3 Environment?
    a) Equivalent to function group
    b) Equivalent to development class
    c) Equivalent to function module
    d) Equivalent to BAPI
    28. What is ICM?
    a) Internet Console Manager
    b) Internet Communication Manager
    c) Infrastructure Communication Manager
    d) Intranet Communication Manager
    29. A Customer has WAS 6.2 and has decided to use XI?
    a) He cannot use XI unless WAS 6.2 is upgraded to WAS 6.4
    b) Can use XI with some additional patches
    c) WAS 6.2 already has XI in it. No need of any additional software
    30. What is the name space of an IDOC?
    a) urn:sap-com:document:sap:idoc:messages
    b) urn:sap-com:document:idoc:sap:messages
    c) urn:sap-com:sap.document:idoc:messages
    d) urn:sap-com:document:idoc:messages
    31. What is the name space of an RFC ?
    a) urn:sap-com:document:rfc:sap:functions
    b) urn:sap-com:document:bapi:rfc:functions
    c) urn:sap-com:document:sap:rfc:functions
    d) urn:sap-com:document:remote:rfc:functions
    32. What doesn’t get transported when the configuration is released?
    a) All Objects will get transported
    b) Generated proxies and application coding in the application
    components does not get transported when the configuration is released.
    c) Only application coding will not get transported.
    d) Only generated proxies will not get transported.
    33. How many Pipelines are there in the integration server?
    a) Receiver Identification, Interface Identification, Message Branch,
    Request Message Mapping, Outbound Binding, Call Adapter, Request Message Mapping.
    b) Receiver Identification, Interface Identification, Message Branch,
    Request Message Mapping, Outbound Binding.
    c) Message Branch, Request Message Mapping, Outbound Binding,
    Call Adapter, Request Message Mapping.
    34. What are the possible Trace Levels?
    a) 0 – No Trace,1 – Low Trace Level,2 – Medium Trace Level,
    3 – High Trace Level,4 – Expert Trace Level
    b) 0 – No Trace,1 – Low Trace Level,
    2 – Medium Trace Level,3 – High Trace Level
    c) 10 – Low Trace Level,20 – Medium Trace Level,
    30 – High Trace Level,40 – Expert Trace Level
    35. Does JMS adapter need additional driver to communicate to database?
    a) Yes
    b) No
    c) JMS adapter is not available in XI
    36. What is use of PCK?
    a) Partner Connectivity Kit that helps Partner Systems with no ability
    to communicate in XML speak to the Business Systems.
    b) PCK is used to deploy additional drivers
    c) PCK can be used as an alternative to XI
    37. What is Context Object? What is its role?
    a) Context Objects are pointers to a specific element within the message,
    for future reference. Encapsulate the access to data that is contained
    in the payload or in the header of the message.
    b) Another form of data types
    c) Can be used instead of message types
    38. What adapters don’t need Sender Agreement?
    a) HTTP, IDOC.
    b) IDOC, RFC
    c) IDOC, JMS
    d) JDBC, JMS
    39. What is the Protocol followed for Mail Adapter?
    a) SMTP
    b) IMAP
    c) POP3
    d) POP4
    40. Where do you configure an Adapter?
    a) Sender Agreement
    b) Receiver Determination
    c) Business System
    d) Communication Channel
    41. Can a JDBC adapter query the database table?
    If yes, what are different possibilities?
    a) Yes. You can configure sender and receiver communication channels.
    A special XML format is defined for content coming from the
    Integration Engine. This canonical format enables SQL Insert,
    Update, Select, Delete or stored procedure statements to be processed.
    A message is always processed in exactly one database transaction.
    b) JDBC adapter cannot insert records in the database.
    c) We should not insert, update records in the database directly.
    42. The message monitoring status DLNG means ?
    a) DLNG = Delivering.
    b) DLNG = Dialing
    c) DLNG = Detailing
    d) DLNG = Dismantling
    43. Where do you perform Content Based Routing?
    a) Receiver Determination
    b) Receiver Agreement
    c) Sender Agreement
    d) Communication Channel
    44. What are the various supported mapping types?
    a) Message Mapping, Java Mapping, XSLT Mapping, ABAP Mapping.
    b) XSLT, Java, JDBC, JMS
    c) XSLT, WSDL, XSD
    45. With respect to ABAP proxies,
    what are the methods that can be coded?
    a) EXECUTE_SYNCHRONOUS, EXECUTE_ASYNCHRONOUS.
    b) EXECUTE_SYNCHRONOUS, EXECUTE_ASYNCH.
    c) EXECUTE_SYNCH, EXECUTE_ASYNCH
    46. “ Fields under a node with a minoccurs of ZERO has been mapped.
    ” The values don’t appear in the target result, what could be wrong?
    a) The parent node has not been assigned.
    b) Parent node has cardinality 0…unbounded
    c) Parent node has many fields
    47. What is a SENDER COMM CHANNEL?
    a) Sender Communication Channel is where you define the source system from
    where the message/information goes to XI and also the adapter, the Sender System uses.
    b) Sender Communication Channel is where you define the target system from where
    the message/information goes out of XI and also the adapter, the Receiver System uses.
    c) Sender Communication Channel is where you define the how the
    interface mapping takes place between Sender and Receiver.
    48. XSLT is supported but two statements were not supported. What are they?
    a) <xsd:include>, <xsd:import>
    b) <xsd:including>, <xsd:importing>
    c) <xsd:includes>, <xsd:imports>
    d) All statements are supported.
    49. What steps can be inserted in an Exception branch?
    a) Terminate a process, trigger an alert.
    b) Terminate the interface, trigger IDOC.
    c) Terminate exception, branch integration process.
    50. What is multi mapping? When can it be used?
    a) Multi Mapping is used to map abstract interfaces and can only be used in ccBPM.
    b) Can be used when there are multiple interfaces from Sender systems.
    c) Can be used when there are multiple interfaces from Receiver systems
    51. The first step in the Integration process can be ?
    a) Receive step
    b) fork Step
    c) Send Step
    d) Block Step
    52. An Exception raised by a step can be handled by ?
    a) Only by exception handler in the same step
    b) Only by exception handler in the outer step
    c) By exception handler in the same step or in the outer step
    53. An exception is raised by ?
    a) Async or sync send step, transformation step and Control Step
    b) Sync send step
    c) By control step only
    54. A message can be received by ?
    a) Only a receive step
    b) By receive, fork or loop step
    c) By receive and block step
    d) By send, block and Fork
    55. What are the types of containers ?
    a) Abstract
    b) Simple & Abstract
    c) Simple, Abstract and receiver
    56. Which of these are true/false with user defined functions?
    a) User defined functions are accessible only in the mapping where they are created
    b) User defined functions are visible across namespace
    c) User defined functions accessed in other mapping by copying it to that mapping
    d) User defined functions are accessible in any mapping in a software component version
    57. Java Mapping is executed by implementing the interface ?
    a) com.sap.aii.mapping.api.StreamTransformation
    b) com.sap.api.mapping.StreamTransformation
    c) com.sap.api.mapping.aii.StreamTransformation
    d) com.sap.mapping.api.StreamTransformation
    58. An Idoc has been sent by a sender system to XI, but the idoc is not
    received at the XI system which of these could be true/false ?
    a) The destination system from the sender system to XI is not configured correctly.
    b) The metadata in XI was copied/generated from the sender Idoc is corrupted
    c) The destination system from XI to sender system is not defined correctly
    d) Sender channel is not configured
    59. While mapping which of these is true ? Can I use different mapping ?
    a) You can use only one mapping at a time
    b) You can use ABAP & JAVA mapping
    c) You can use any mapping in any sequence any number of times
    d) Different mapping can’t be used together
    60. To import the metadata from an R/3 system which of this is true/false ?
    a) The import permitted in Software component need to be selected
    b) You have to create ‘ALE’ Name in SLD
    c) You need to login to the destination (R/3) with a valid user
    d) You need to login to destination(R/3) with a User having administrator rights
    61. You are implementing XI for your customer, you have very good experience
    working in ABAP. While mapping you want to do it in abap, but the option
    available are only ‘Message Mapping’ ‘Java Mapping’ What would you do to
    add the ‘ABAP Mapping’ option. Where would you configure it?.
    a) In Exchange profile
    b) In s/w component
    c) In Integration Repository
    62. From the WSDL description from application server, you can generate ?
    a) Java Proxies only
    b) ABAP proxies
    c) Java and ABAP proxies.
    63. JMS adapter can be used for ?
    a. IBM web sphere MQ
    b. Sonique
    c. Web services
    64. Which of the following is true/false about HTTP plain adapters?
    a. Sender channel is not required to be configured
    b. Receiver channel is not required to be configured
    c. Using this system can directly connect to integration server
    65. You would install Adapter engine de-centrally ?
    a. To install PCK
    b. To monitor the messages de-centrally
    c. To share load with the central adapter engine and increase performance.
    66. To Receive the data using ‘Select with JDBC adapter you would ?
    a. You would configure a receiver channel
    b. you would configure a sender channel
    67. You find that the status in transaction ‘SXI_CACHE’ is
    not equal to 0. Which of the following would you perform?
    a. Check the condition of BP in Integration Repository
    b. Activate the BP in ‘SXI_CHACHE’.
    c. Activate the BP in Integration Directory
    68. Which are the methods that you need to call compulsorily in java mapping ?
    a) execute(), setParameter()
    b) Exit() Systemproperties()
    c) Execute(), SetProperties()
    69. What is the relationship between an integration process and business workflow?
    a) The Business Process Engine is the same as the Workflow Engine.
    b) The Business Process Engine needs external Workflow Engine
    c) Business Process Engine is a new name for Workflow Engine
    70. What are the different types that a container element can be based on?
    a) Simple XSD types : XSD:DATE, XSD:TIME, XSD: INTEGER, XSD: STRING
    b) Abstract Integer
    c) Receiver
    71. Which of the following is true with regards to Container Elements?
    a) Elements of a super container are visible in sub container.
    b) Elements of sub container are visible in super container
    c) Container cannot have super or sub containers
    d) Containers can have multiple elements.
    72. Send message within an integration process to 8 receivers
    at the same time, how can I do this?
    a) Create a FORK statement with 8 branches
    b) Create 8 interfaces
    c) Create a loop with 8 interfaces
    d) Create 8 branches
    73. Which of the following Objects can be used in BPM ?
    a) Context Object
    b) Receiver Determination
    c) Message Mapping
    d) Interface Mapping
    74.Could multiple instances of Integration process run at the same time ?
    a) Yes
    b) No
    75. For ABAP mapping which of the following settings have to be done in Exchange Profile ?
    a) Com.sap.aii.repository.mapping.additionaltypes = R3_ABAP | Abap-class; R3_XSLT | XSL
    b) Com.sap.aii.repository.mapping.additionaltypes = R3_JAVA | Abap-class; R3_XSLT | XSL
    c) Com.sap.aii.repository.mapping.additionaltypes = | Abap-class; R3_XSLT | XSL
    76. How does Boolean functions work in message mappings ?
    a) Boolean functions accept Boolean inputs and result in Boolean values
    b) Boolean functions accept Boolean inputs and result in decimal values
    c) Boolean functions accept Boolean inputs and result in alphanumeric values
    77. While testing message mapping the source message occurs 3 times
    but the target message occurs only once? What can be the reason ?
    a) Target cardinality is not defined sufficiently
    b) Source cannot repeat
    c) Message mapping cannot handle multiple values
    78. What JAR file is required to perform Java mapping ?
    a) aii_map_api.jar
    b) aii_map_api.java
    c) aii_map_aii.jar
    d) None
    79. Collaboration Agreement is made of the following ?
    a) Sender Agreement, Receiver Agreement
    b) Sender Agreement, Sender Communication Channel
    c) Sender Agreement, Receiver Communication Channel
    d) Receiver Agreement, Receiver Communication Channel
    80.What are the three IDOC related transactions in XI ?
    a) IDX9
    b) IDX1
    c) IDX2
    d) IDX5
    e) IDX3
    81.Is EOIO supported by RFC ?
    a) YES
    b) NO
    82. Java Web Start is used for ?
    a) Caching Java applications
    b) to write Java code
    c) to execute Java mapping
    d) to perform JMS connectivity
    83. Where do you define Usage Dependency?
    a) Integration Repository
    b) Integration Directory
    c) SLD
    d) Enterprise Portal
    84. For ABAP mapping which class must be implemented ?
    a) IF_MAPPING
    b) IF_MAPPING_ABAP
    c) MAPPING_ABAP
    d) MAPPING_EXECUTE_ABAP
    85.Component Monitoring in the RWB is used to display
    the monitoring of the following components?
    a) Integration Engine
    b) Adapter Engine
    c) Integration Directory
    d) Integration Repository
    e) Runtime Workbench
    86.Does HTTP adapter support QoS BE?
    a) Yes
    b) No
    87.IDOC adapter supports the following QoS’s?
    a) EO
    b) EOIO
    c) BE
    d) All the above
    88.The Client has decided to user HTTP adapter as Sender.
    Which transaction should be used to configure the HTTP adapter?
    a) SICF
    b) SMICM
    c) SM59
    d) SE80
    89.The following transaction is used to monitor XML messages in XI ?
    a) SXMB_MONI
    b) SM59
    c) SXMB_ADM
    d) SICF
    90.File adapter has the following QoS?
    a) BE
    b) EO
    c) EOIO
    d) BEIO
    91.When FILE adapter as Sender, we do not need Sender agreement ?
    a) Yes
    b) No
    92. File Sender communication channel can be used by only one Sender agreement ?
    a) True
    b) False
    93. SOAP adapter uses the following message protocol:?
    a) SOAP 1.1
    b) SOAP 1.2
    c) SOAP 1.9
    d) SOAP 1.3
    94. Using the following URL we can display the content of CPACache?
    a) http://<host>:<J2EEport >/CPACache
    b) http://<host>:<J2EEport >/AdapterCache
    c) http://<host>:<J2EEport >/CPACatch
    d) http://<host>:<J2EEport >/CPACache/index.html
    95. The following URL can be used to display the Adapter Status in XI ?
    a) http://<host>:<J2EEport >/AdapterFramework
    b) http://<host>:<J2EEport >/AdapterFramework/RFC
    c) http://<host>:<J2EEport >/AdapterFramework/rep
    d) http://<host>:<J2EEport >/AdapterStatus
    96. Which security role need to be assigned to access the CPACache ?
    a) xi_af_cpa_monitoring
    b) xi_af_cache_monitor
    c) xi_af_cpa_monitor
    97. The following URL can be used to manually refresh the CPACache?
    a) http://<host>:<J2EEport >/CPACache/refresh=delta
    b) http://<host>:<J2EEport >/CPACache/refresh?mode=full
    c) http://<host>:<J2EEport >/CPACache/refresh?mode=all
    98. The Objects from repository are accessed from directory using user?
    a) XIDIRUSER
    b) XISUPER
    c) XIAPPLUSER
    d) XIADMIN
    99. Information about the central and decentral Adapter
    Framework installations is maintained in ?
    a) SLD
    b) CLD
    c) IR
    d) ID
    100. Special drivers required for JDBC, JMS adapters can be deployed using ?
    a) SPM (Software Procurement Manager)
    b) SDM (Software Deployment Manager)
    c) SCM (Software Change Manager)
    d) SOM (Software Ownership Manager)

  • Help with WindowsDesktopSSO and AMIdentity.getAttributes

    Hi guys and girls,
    I need some help from you experts.
    I successfully setup, thanks to this guide
    http://blogs.oracle.com/knittel/entry/opensso_windowsdesktopsso
    and a lot of trial & errors and googling a Kerberos authentication between OpenAM version 9.5.2 and an Active Directory Server.
    When I navigate to openAM page (from a domain machine) http://<openAMhost>:<port>/opensso, it doesn't ask for credentials ...
    and I can see, with ieHttpHeaders, kerberos data exchange.
    Without creating an Active Directory DataStore (pointing to the same domain where I use kerberos data) in openAM,
    when I navigate (from a domain machine) to /opensso/idm/EndUser page, it always gives me:
    "Plug-in com.sun.identity.idm.plugins.ldapv3.LDAPv3Repo encountered an ldap exception. LDAP Error 32: The entry specified in the request does not exist."
    Since my aim was to get user information from a web app ... I thought I could have done this with an agent/SDK call as I usually do with "classic" authentication.
    Now I created a J2EE Agent (on openAM) to protect one of my application deployed on a JBoss 4.2.1-GA server.
    Agent configured with default options and these changes:
    Agent Filter Mode: J2EE_POLICY
    User Mapping Mode: USER_ID
    User Attribute Name: tried both with employeenumber and uid
    User Principal Flag: enabled
    User Token Name: UserToken
    FQDN Check: tried both with enabled and disabled
    WebAuthentication Available : Enabled
    In my application WEB-INF/jboss-web.xml looks like this:
         <?xml version="1.0" encoding="UTF-8"?>
         <jboss-web>
              <security-domain>java:/jaas/AMRealm</security-domain>
         </jboss-web>Usually, when I authenticate with "classic" (internal datastore) login, I can get user attributes programmatically with a code like this:
           private String getCredenzialiUtente(HttpServletRequest request)
                String                 SSOUsername      = null;
                SSOToken               ssoToken      = null;
                SSOTokenManager        manager           = null;
                  try
                    manager = SSOTokenManager.getInstance();
                    if ( manager == null)
                         throw new RuntimeException("Unable to Get: SSOTokenManager");
                    String ssoTokenID = AmFilterManager.getAmSSOCache().getSSOTokenForUser(request);
                    ssoToken = manager.createSSOToken(ssoTokenID);
                    if ( ssoToken == null )
                          throw new RuntimeException("Unable to Get: TokenForUser");
                    AMIdentity amid = new AMIdentity(ssoToken);
                    if(amid == null)
                       throw new RuntimeException("Unable to Get: UserIdentity");
                    SSOUsername  = amid.getName();
                    System.out.println("######### USERNAME FROM SSO: " + SSOUsername);
                    Set<String> info = new HashSet<String>();
                    info.add("uid");
                    info.add("givenName");
                    java.util.Map mappa = amid.getAttributes(info);
                    if ( mappa != null )
                        java.util.Set insieme = mappa.keySet();
                        java.util.Iterator it = insieme.iterator();
                        while ( it.hasNext() )
                            String n = it.next().toString();
                            System.out.println( n + " ==> " + mappa.get(n) );
                    else
                        System.err.println(" DAMN - NO ATTR ");
              catch (Exception exception)
                exception.getMessage();
                exception.printStackTrace();
              System.out.println("OUT getCredenzialiUtente: " + SSOUsername);
              return SSOUsername;
            }        When I log to console with default "ldapService" module (outside the domain), I can get something like:
         2011-09-29 13:14:38,733 INFO  [STDOUT]  ####################################### USER = amadmin
         2011-09-29 13:15:32,250 INFO  [STDOUT] IN getCredenzialiLAit
         2011-09-29 13:15:32,260 INFO  [STDOUT] ######### USERNAME DA SSO: a2zarrillo
         2011-09-29 13:15:32,291 INFO  [STDOUT] uid ==> [a2zarrillo]
         2011-09-29 13:15:32,291 INFO  [STDOUT] givenName ==> [Antonio2]
         2011-09-29 13:15:32,311 INFO  [STDOUT] OUT getCredenziali: a2zarrillo
         2011-09-29 13:15:32,321 INFO  [STDOUT]  ####################################### USER = a2zarrillobut when i try to login from inside the domain (with kerberos, so no credentials) with a domain user, I get:
         2011-09-29 13:15:39,496 INFO  [STDOUT] IN getCredenzialiLAit
         2011-09-29 13:15:39,503 INFO  [STDOUT] ######### USERNAME DA SSO: tonyweb
         2011-09-29 13:15:39,550 ERROR [STDERR] Message:Plug-in  encountered an ldap exception.  LDAP Error 32: The entry specified in the request does not exist.
         2011-09-29 13:15:39,554 ERROR [STDERR]      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         2011-09-29 13:15:39,560 ERROR [STDERR]      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         2011-09-29 13:15:39,562 ERROR [STDERR]      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         2011-09-29 13:15:39,566 ERROR [STDERR]      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         2011-09-29 13:15:39,574 ERROR [STDERR]      at com.sun.identity.shared.jaxrpc.SOAPClient$SOAPContentHandler.createResourceBasedException(SOAPClient.java:834)
         2011-09-29 13:15:39,575 ERROR [STDERR]      at com.sun.identity.shared.jaxrpc.SOAPClient$SOAPContentHandler.endDocument(SOAPClient.java:800)
         2011-09-29 13:15:39,578 ERROR [STDERR]      at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source)
         2011-09-29 13:15:39,582 ERROR [STDERR]      at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source)
         2011-09-29 13:15:39,587 ERROR [STDERR]      at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
         2011-09-29 13:15:39,592 ERROR [STDERR]      at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
         2011-09-29 13:15:39,598 ERROR [STDERR]      at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
         2011-09-29 13:15:39,600 ERROR [STDERR]      at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)
         2011-09-29 13:15:39,604 ERROR [STDERR]      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         2011-09-29 13:15:39,607 ERROR [STDERR]      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         2011-09-29 13:15:39,609 ERROR [STDERR]      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         2011-09-29 13:15:39,613 ERROR [STDERR]      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         2011-09-29 13:15:39,616 ERROR [STDERR]      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         2011-09-29 13:15:39,621 ERROR [STDERR]      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
         2011-09-29 13:15:39,625 ERROR [STDERR]      at com.sun.identity.shared.jaxrpc.SOAPClient.send(SOAPClient.java:343)
         2011-09-29 13:15:39,633 ERROR [STDERR]      at com.sun.identity.shared.jaxrpc.SOAPClient.send(SOAPClient.java:311)
         2011-09-29 13:15:39,636 ERROR [STDERR]      at com.sun.identity.idm.remote.IdRemoteServicesImpl.getAttributes(IdRemoteServicesImpl.java:229)
         2011-09-29 13:15:39,639 ERROR [STDERR]      at com.sun.identity.idm.remote.IdRemoteCachedServicesImpl.getAttributes(IdRemoteCachedServicesImpl.java:402)
         2011-09-29 13:15:39,642 ERROR [STDERR]      at com.sun.identity.idm.AMIdentity.getAttributes(AMIdentity.java:344)
         2011-09-29 13:15:39,645 ERROR [STDERR]      at org.apache.jsp.MainPageJSP_jsp.getCredenzialiUtente(MainPageJSP_jsp.java:63)
         2011-09-29 13:15:39,648 ERROR [STDERR]      at org.apache.jsp.MainPageJSP_jsp._jspService(MainPageJSP_jsp.java:217)
         2011-09-29 13:15:39,653 ERROR [STDERR]      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         2011-09-29 13:15:39,660 ERROR [STDERR]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         2011-09-29 13:15:39,664 ERROR [STDERR]      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
         2011-09-29 13:15:39,666 ERROR [STDERR]      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         2011-09-29 13:15:39,669 ERROR [STDERR]      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         2011-09-29 13:15:39,673 ERROR [STDERR]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         2011-09-29 13:15:39,676 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         2011-09-29 13:15:39,678 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         2011-09-29 13:15:39,683 ERROR [STDERR]      at com.sun.identity.agents.filter.AmAgentBaseFilter.allowRequestToContinue(AmAgentBaseFilter.java:127)
         2011-09-29 13:15:39,685 ERROR [STDERR]      at com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:76)
         2011-09-29 13:15:39,690 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         2011-09-29 13:15:39,697 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         2011-09-29 13:15:39,701 ERROR [STDERR]      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
         2011-09-29 13:15:39,705 ERROR [STDERR]      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
         2011-09-29 13:15:39,710 ERROR [STDERR]      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
         2011-09-29 13:15:39,713 ERROR [STDERR]      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         2011-09-29 13:15:39,716 ERROR [STDERR]      at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
         2011-09-29 13:15:39,725 ERROR [STDERR]      at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)
         2011-09-29 13:15:39,729 ERROR [STDERR]      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)
         2011-09-29 13:15:39,730 ERROR [STDERR]      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
         2011-09-29 13:15:39,734 ERROR [STDERR]      at com.cid.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:92)
         2011-09-29 13:15:39,741 ERROR [STDERR]      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:295)
         2011-09-29 13:15:39,744 ERROR [STDERR]      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
         2011-09-29 13:15:39,747 ERROR [STDERR]      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         2011-09-29 13:15:39,750 ERROR [STDERR]      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
         2011-09-29 13:15:39,753 ERROR [STDERR]      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         2011-09-29 13:15:39,761 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         2011-09-29 13:15:39,765 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         2011-09-29 13:15:39,768 ERROR [STDERR]      at com.cid.faces.webapp.CidWebUIFilter._invokeDoFilter(CidWebUIFilter.java:239)
         2011-09-29 13:15:39,776 ERROR [STDERR]      at com.cid.faces.webapp.CidWebUIFilter._doFilterImpl(CidWebUIFilter.java:196)
         2011-09-29 13:15:39,780 ERROR [STDERR]      at com.cid.faces.webapp.CidWebUIFilter.doFilter(CidWebUIFilter.java:80)
         2011-09-29 13:15:39,788 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         2011-09-29 13:15:39,793 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         2011-09-29 13:15:39,797 ERROR [STDERR]      at com.sun.identity.agents.filter.AmAgentBaseFilter.allowRequestToContinue(AmAgentBaseFilter.java:127)
         2011-09-29 13:15:39,803 ERROR [STDERR]      at com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:76)
         2011-09-29 13:15:39,807 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         2011-09-29 13:15:39,810 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         2011-09-29 13:15:39,813 ERROR [STDERR]      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         2011-09-29 13:15:39,820 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         2011-09-29 13:15:39,825 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         2011-09-29 13:15:39,829 ERROR [STDERR]      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
         2011-09-29 13:15:39,833 ERROR [STDERR]      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         2011-09-29 13:15:39,836 ERROR [STDERR]      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
         2011-09-29 13:15:39,843 ERROR [STDERR]      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
         2011-09-29 13:15:39,846 ERROR [STDERR]      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         2011-09-29 13:15:39,851 ERROR [STDERR]      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
         2011-09-29 13:15:39,854 ERROR [STDERR]      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
         2011-09-29 13:15:39,857 ERROR [STDERR]      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         2011-09-29 13:15:39,860 ERROR [STDERR]      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
         2011-09-29 13:15:39,862 ERROR [STDERR]      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         2011-09-29 13:15:39,866 ERROR [STDERR]      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
         2011-09-29 13:15:39,870 ERROR [STDERR]      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         2011-09-29 13:15:39,874 ERROR [STDERR]      at java.lang.Thread.run(Thread.java:619)
         2011-09-29 13:15:39,877 INFO  [STDOUT] OUT getCredenziali: tonywebAs you can see I'm using the "sample" agentApp.war.     
    What am I missing ? It "crashes" as for getAttributes() call :/
    I thought it could be because I didn't setup LDAP DataStore ... so I set up Active Directory Data Store.
    While in openAM console (from outside domain) I can see (from Subjects tab) Active Directory users and relative information
    (like FirstName (=givenName), Surname (=sn), Full Name (=cn), etc.) ... when I try again with idm/EndUser (from a domain machine)
    I get the same error:
         Message:Plug-in  encountered an ldap exception.  LDAP Error 32: The entry specified in the request does not exist.What should I do now ?
    If you need more clarifications ... just ask :)
    Thank you in advance and sorry for the big post.
    Best Regards,
    Tony
    P.D. By the way, my OpenAM configuration does not create any "amAuthWindowsDesktopSSO.log" :(
    I setup, from opensso/Debug.jsp message level for Authentication ... but it still doesn't create this log ... can you please tell me how to let openAM write it ?
    Again thank you

    Weird enough, changing to ADAM data store (and not "standard" AD datastore) solved the problem :D
    I still wonder why since both plugins share the same java [implementing] class...
    Regards,
    Tony

  • Problem with DB JCA adapter in Soa suite 11g composite appl

    i am testing a simple credit card validation composite with Oracle SOA suite 11g11.1.1.4.0, Jdevloper 11.1.1.3.0 and oracle universal XE DB. I am having an exception given below. I have checked that data source is properly configured and appearing at the right place in JNDI tree. Suggestion like 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/DBconnection. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR) has also been tried result is same
    **Any suggestion will greatly appreciated .**
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'CreditCardDBServiceSelect' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. CreditCardValidation:CreditCardDBService [ CreditCardDBService_ptt::CreditCardDBServiceSelect(CreditCardDBServiceSelect_inputParameters,CreditcardsCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/DBconnection'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/DBconnection. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server Please make sure that the JCA connection factory and any dependent connection factories have been configured with a sufficient limit for max connections. Please also make sure that the physical connection to the backend EIS is available and the backend itself is accepting connections. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) 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.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:765) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:305) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) 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 oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'CreditCardDBServiceSelect' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. CreditCardValidation:CreditCardDBService [ CreditCardDBService_ptt::CreditCardDBServiceSelect(CreditCardDBServiceSelect_inputParameters,CreditcardsCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/DBconnection'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/DBconnection. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server Please make sure that the JCA connection factory and any dependent connection factories have been configured with a sufficient limit for max connections. Please also make sure that the physical connection to the backend EIS is available and the backend itself is accepting connections. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:992) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 79 more Caused by: javax.xml.ws.soap.SOAPFaultException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'CreditCardDBServiceSelect' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. CreditCardValidation:CreditCardDBService [ CreditCardDBService_ptt::CreditCardDBServiceSelect(CreditCardDBServiceSelect_inputParameters,CreditcardsCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/DBconnection'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/DBconnection. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server Please make sure that the JCA connection factory and any dependent connection factories have been configured with a sufficient limit for max connections. Please also make sure that the physical connection to the backend EIS is available and the backend itself is accepting connections. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:1012) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:803) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 82 more

    Hi,
    The JNDI Name to use for the service connection is "eis/DB/soademoDatabase".
    This Database is a requirement of the course... (Chapter 4 of Getting Started with Oracle SOA Suite 11g R1 - A Hands-On Tutorial).

Maybe you are looking for

  • Disc skipping in tray and won't eject

    I have put a disc in the tray of my MACbook pro that was sent to me with photos on. It is making a skipping sound in the tray, will not load and more importantly wont eject. HELP! Would really appreciate any suggestions how to ejct the disc. I have t

  • Cannot connect to Appstore for updates or sign in

    MBP early 2011 ML 10.8.1 can access all areas of Appstore except Updates - I get a "Cannot connect to Appstore" message can sign in to iTunes when I try to SIgn in to App Store I dont even get a login screen have tried all kinds of fixes from the for

  • Convert video to play on my ipod

    how do i convert my videos that i downloaded to play on my ipod???

  • Howto capture/replay workload (for performance testing purposes)

    Hi, We have a customer that will buy new hardware for his Oracle database server. Because he is hesitating between 2 possible storage solutions and is not convinced that solution A will be significantly better than solution B he wants a proof of conc

  • Muse: Seitenhintergrund soll sich an Bildschirmbreite anpassen

    Hallo, die Höhe meiner Seite passt sich der Fenstergröße des Browsers an, weil ich das beim Hintergrundbild "auf Fläche skalieren" gewählt habe. In der Breite bleibt die Seite aber immer so breit, wie ich es in den Seiteneinstellungen eingestellt hab