Deploying the Scenario with scheduling

I am trying to depoy the scenario with scheduling using command:
OdiImportObject -FILE_NAME=<FileName> -WORK_REP_NAME=<workRepositoryName>
-IMPORT_MODE=SYNONYM_INSERT
Giving the proper work repository of the environment which i am deploying into.But the scenario gets deployed without the Scheduling component? Can anyone help on this?

Murphy's Law: If anything can go wrong it will
A corollary to Murphy's law: When everything fails, read the manual.
Web application funda: Every web application must have its own context root. So, if wkfsocos is one
web application then, wkfsocos1 is another web application -
and hence must have its own context root.
Hello Aman,
If you are in E-Commerce version 4.0, then read this
[ISA_Buildtool document |https://service.sap.com/~sapdownload/011000358700001920472003E/ISA_BuildTool_10.pdf]
to create a copy of the application in its own context root.
From your URL pattern I guess you are in E-Commerce version 4.0.
If you are in E-Commerce 5.0 or above, then the
[Extension Guide |http://service.sap.com/~sapdownload/011000358700006120622006E/]gives steps to create a copy with its own context root for use in modification.
(See the chapter on - Creating a project specific Web Application with own context root )
Both these links require access to SAP Service Marketplace. You can also find the
documents through /instguides shortcut in Service Marketplace.
Easwar Ram
http://www.parxlns.com

Similar Messages

  • Can we design the scenario with Business service

    Hi,
    I have IDOCXIFile Scenario
    Can we design the scenario with Business service for SAP R/3 and As well as for File system also????
    I dont have details abt the SAP R/3 system to create the Tech system in SLD
    Regards
    Suman

    Hello Suman,
    Go through this Blog..
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    These are the steps which u have to do
    STEPS IN DESIGN
    1. Import idoc from the SAP System (SAP02) through imported objects.
    2. Create Data Type, Message Type, Message Interface for the Outbound File.
    3. Create Message Mapping with file Message and idoc (Matmas04)
    5.Create Interface mapping between File Interface and the idoc.
    Steps to be followed in Creation of Technical and Business System
    Technical System
    In SLD, click on technical landscape->New Technical System->WebAS ABAP.
    Business System.
    1.Goto Business Landscape->New Business System->Name the business system.
    2. Choose the technical system that needs to be attached->WebAS ABAP->Technical System Name.
    Preconfiguration steps for transfer of data to IDOCS
    1.Create a RFC Destination in SM59 of XI Server of type.
    2.In transaction IDX1 ,create a port for the client of XI server.
    3. The port has to be displayed in the idx2 transaction and we should be able to view the idoc’s which we imported through integration repository.
    Steps in Configuration
    1. Goto service without party, right click->Assign a business system.
    2. Choose the business system to be added.
    3. Create a File Sender Service with communication channel for the same.
    4. Create an idoc receiver channel under the business system.
    7. The Idoc type( which data is to be written) is mentioned as inbound parameter.
    8. Mention the logical Name in the Service->Adapter Specific Parameters of both the File Sender Service as well as the business system.
    9. Make the Sender Agreement for theFile Sender with communication channel.
    10.Create the Receiver Determination and Interface Determination for the business system.
    11.Create the Receiver Agreement for the Business system.
    Step for Configuration fo IDOC in R/3
    SM59-rfc destination
    IDX1-port
    IDX2-load metadata
    we05-IDoc status records
    BD54-Create Partner Number
    We20-Create Partner Profile
    WE19-Testing IDoc Processing
    Do these configurations in R/3 and in XI...
    SAP XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    Reward Points if it is useful..
    Thanks,
    Satya Kumar

  • Question about deploy the scenario to another machine

    I am trying to deploy the scenario to another machine, since I want to keep the version same, what I did is: 1. export the scenario from source machine designer 2.import the scenario in target operator.
    The import is successful and it is running fine, but for each scenario I get 2 scenario in the target machine operator, one is like scen1, another is copy of scen1. why does this happen? did I miss anything during the process?

    Hi,
    I believe that you are importing it in "Duplication" mode, in cause of that it is creating a copy.
    Please, try import it in Insert Update mode

  • Error deploying the application with Crystal Report

    Hello,
    I'm using Visual Studio 2010 and I installed the required version of crystal report for it. I'm developing a windows Application with C# and Crystal Reports. The program runs correctly in the visual studio but when I tried to deploy it by adding the setup it gives me the following warnings:
    - Unable to find dependency 'MICROSOFT.VISUALSTUDIO' (Signature='B03F5F7F11D50A3A' Version='1.0.5000.0') of assembly 'crdb_adoplus.dll'
    +- The 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' item selected requires 'Microsoft.Net.Framework.2.0'. Select the missing prerequisite in the Prerequisites Dialog Box or create a bootstrapper package for the missing prerequisite.     +
    - No 'HomeSite' attribute has been provided for '.NET Framework 2.0 SP2', so the package will be published to the same location as the bootstrapper.
    I tried to ignore the warnings and deploy it but when I try to open the crystal report and in the program it gives me an error message then an empty report.
    I also tried in the Prerequisites to choose the option : Download prerequisites from the same location as my application. but when I do that I receive the following errors:
    - The install location for prerequisites has not been set to 'component vendor's web site' and the file 'MDAC28\mdac_typ.exe' in item 'Microsoft Data Access Components 2.8' can not be located on disk. See Help for more information.
    - General failure building bootstrapper.
    - Unrecoverable building error.
    of course In addition to the previous error.
    I'm not using the click-once deployment.
    Can you please help and advice me with that? I tried to search through the net for these warnings but with no luck of the solution.
    Thank you,

    No, .Net Framework 2 is not installed. I'm using windows 7 so I installed .Net framework 4. I tried to Install .Net 2 but it doesn't install because of windows 7. I also tried to add it in the prerequisites but again with no luck in solving the issue.
    If I try to deploy the App and install it. When I try to open the crystal report the app crushes and gives me the following error:
    Report load failed.
    exceptions:
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at DataViewer2.Form5.crystalReportViewer1_Load(Object sender, EventArgs e)
       at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
       at CrystalDecisions.Windows.Forms.CrystalReportViewer.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Edited by: starrysky88 on Sep 13, 2011 11:35 AM

  • [EJB:011055]Error deploying the EJB with error that JNDI name already inuse

    Hi,
    I have written a trivial application consisting of 4 stateless beans and 1 MDB. The ear is developed from some code generator tool and works fine if I directly deploy on weblogic server 812.
    But in order to learn Weblogic Workshop I created new Application and EJB project. Then I imported the EJB jar and provided other source files.
    From Weblogic Workshop I could generate the ear successfully. But while trying to deploy the ear I get the following exception :
    <16/03/2005 10:02:38 PM GMT+05:30> <Error> <Deployer> <BEA-149201> <Failed to complete the deployment task with ID 1 for the application hsbc.
    weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for MCAppBEAN.jar
    Module: MCAppBEAN.jar Error: Exception preparing module: EJBModule(MCAppBEAN.jar,status=NEW)
    Unable to deploy EJB: StatelessBean from MCAppBEAN.jar:
    <b>[EJB:011055]Error deploying the EJB 'StatelessBean(Application: hsbc, EJBComponent: MCAppBEAN.jar)', the JNDI name 'StatelessBeanHSBC' is already in use. You mu
    st set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor for this EJB before it can be deployed.</b> at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2556)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    --------------- nested within: ------------------
    <b>Can someone tell where have I made the mistake?</b>
    thanks in advance.

    Try to undeploy and un target the applcation via WLS console and they try to deploy it again. Or just try to redeploy it.

  • How to deploy the native dll with the applet package by Sun Java Plugin

    I have an applet which use some native methods. I have written code for the native dll, but I don't know how to deploy the DLL with the applet jar file for Sun Java Plugin. What parameter do i should pass to System.loadLibrary()? I think the solution should don't care which browser used by the end client. How to do it? How to deal with the applet security problem?
    Thank for any comment!

    I have a similar problem.
    Trying to use the javax.comm package requires that the user have the win32com.dll located on their machine.
    I have solved the problem by using a signed applet that allows me to write the dll to the clients machine and then run the code but ideally I would like to run the code without writing the dll to the users machine...i.e. I want to load the dll directly through the applet in the same way the class files are loaded forthe applet are loaded without copying them to the clients machine. After trying everything I have come to the conclusion that it is NOT possible. The calls loadLibrary and load both require that the dll reside on the clients machine. If anyone has had a different experience please rebut this.
    Rob

  • Software Center Application Uninstallation Button Greyed Out and Deploying an Application with Uninstall switch Fails

    Hi,
    I tried everything I could find on the internet but no luck so far. I can successfully deploy MS Visio 2013 to the clients. I also want to be able to uninstall it from the clients. On the client machine Uninstall button is greyed out. This deployment is
    installed as "Available" and there is only one deployment type within that MS Visio 2013 Application.
    I tried the following uninstall commands in my deployment:
    setup.exe /uninstall
    setup.exe /uninstall
    VisPro
    /config .\vispro.ww\uninstallvisio.xml
    “\\SRVSCCM2012\Sources\MSApplications\MSVisioPro_2013_64Bit_ENG\setup.exe” /uninstall VisPro /config "\\SRVSCCM2012\Sources\MSApplications\MSVisioPro_2013_64Bit_ENG\vispro.ww\uninstallvisio.xml"
    \\SRVSCCM2012\Sources\MSApplications\MSVisioPro_2013_64Bit_ENG\setup.exe /uninstall VisPro /config \\SRVSCCM2012\Sources\MSApplications\MSVisioPro_2013_64Bit_ENG\vispro.ww\uninstallvisio.xml
    I checked Product ID from Setup.xml and I know it is correct. My uninstallvisio.xml' content is below:
    <Configuration Product="VisPro">
    <Display Level="basic" CompletionNotice="yes" SuppressModal="yes" AcceptEula="yes" />
    <Setting Id="SETUP_REBOOT" Value="Never" />
    </Configuration>
    Last night, I downloaded and installed Cumulative Update 1 for SCCM 2012 R2 and I haven't tried the deployment after the update,yet. I will try it today but please let me know what else to check.
    Yavuz Selim Atmaca

    After I updated SCCM Server and test client pc with CU1 , I tried to deploy visio as Required. It installed successfully. Then I uninstalled visio by deploying the application with Uninstall Action.
    After that I tried to deploy visio as "Available" to see if Software Center Uninstall button works. However visio deployment does not come to Software Center's Available Applications List. I check the status of the deployment under the Deployments monitoring
    node and it says Success "Already Compliant". I dont know what it means. Does config manager thinks that visio already installed?
    Yavuz Selim Atmaca
    2 or 3 hours later that -Succes "Already Compliant"- status of the deployment under the Deployments monitoring node is vanished automatically and Software Center application list showed the new deployment. I installed it and  uninstalled it succesfully.
    So, you are right Solution is the CU1 but I am still wondering why my available deployment took so time to be visible in Software Center althought I didn't enter any schedule to be available.
    Yavuz Selim Atmaca

  • MRP Run with Scheduling Agreement

    Hi All,
                Can anyone explain the the Scheduling Agreements, we are running the MRP with schedule lines generated.I want to know the complete cycle with the T-codes in sequence they are executed.My requirement is business people need a demo of the Scheduling Agreement,type LP,LPA how they work and difference between LP and LPA.They run the MRP everyday.
    Thanks,
    Kris
    Edited by: Csaba Szommer on Sep 19, 2011 12:52 PM

    Hi,
    The basic difference between LP and LPA  is the way that the schedules are communicated to the vendor.
    for more clarity please refer the blow links.
    LP and LPA in scheduling agreement?????
    Difference between LP and LPA scheduling agreements
    http://it.toolbox.com/wiki/index.php/Scheduling_Agreement
    Thanks.

  • Certificate not works when deploy the store app package by powershell

     I request a web service with a pfx certificate in windows store app, it works well, but after I create a package by VS2013, and
    deploy the app with powershell, access web service failed, seems the certificate not works. Any hints, suggestion ? My code as below:
    string certRawData = StringEncryptionHelper.Decrypt(ConfigurationLoader.ApplicationSettings.CertificateData.RawData);
    string certPassword = StringEncryptionHelper.Decrypt(ConfigurationLoader.ApplicationSettings.CertificateData.Password);
    await CertificateEnrollmentManager.ImportPfxDataAsync(certRawData,
    certPassword,
    ExportOption.Exportable,
    KeyProtectionLevel.NoConsent,
    InstallOptions.None,
    ConfigurationLoader.ApplicationSettings.CertificateData.FriendlyName);
    CertificateQuery certQuery = new CertificateQuery { FriendlyName = ConfigurationLoader.ApplicationSettings.CertificateData.FriendlyName };
    IReadOnlyList<Windows.Security.Cryptography.Certificates.Certificate> certs = await CertificateStores.FindAllAsync(certQuery);
    certificate = certs.FirstOrDefault();
    var protolFilter = new HttpBaseProtocolFilter { ClientCertificate = certificate };
    var client = new HttpClient(protolFilter);
    HttpResponseMessage result = await client.GetAsync(requestUri);

    Hello Mosser lee,
    As this issue is related to Development, it is recommended to post in the related MSDN forum.
    The professionals there will be glad to help you.
    https://social.msdn.microsoft.com/Forums/en-US/home
    Thanks for your understanding.
    Best regards,
    Fangzhou CHEN
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to deploy cairngorm application with FTP support?

    Hi,
    I have a cairngorm application, it works fine in my local
    computer.
    But I need to upload it to a website in my web hosting
    company with FTP,
    but it doesn't work in the hosting server because I can not
    add the cairngorm.swc file to the application.
    Please give me a idea how to deploy the application with ftp
    software.
    Thanks a lot
    Mark

    Any opinions are welcome

  • How deploy BPM process with ADF form?

    Hi everybody,
    I'm a newbie on BPM (11g) and ADF. I've created a BPM process and an ADF train into the same project.
    I was wonder if I can deploy the ADF stuff and start to test only the train before hook up the ADF form with the UserActivity.
    How I can do that? How can deploy it? Better create a jar or ear?
    Any suggestions?
    Best Regards.
    Fairlie

    Hi Daniel,
    yes I have two separate projects - BPM and ADF - in the same applications.
    For now, I'd like to work only on ADF project implementing the front end that I will use in next future into my BPM project.
    Every time I click on Run on the main page in ADF project, JDev tries to deploy the entire application.
    I need to work only on ADF for now and testing it. The soa server is on remote server.
    I've tried to deploy the ADF project on remote server and I get this error:
    'Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp
    Caused by: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter'.
    I've checked the oracle.adf.model library class path and It's ok...so I do not understand why I get this error.
    What do you think is better to do? Trying to deploy the ADF with war, jar or ear...or...?
    Thanks a lot for any suggestions.
    Fairlie

  • How to deploy the finished app (JSF)?

    Hi Guys,
    may be the question is obvious, but I spent enough time fighting with this IDE, that I don't want to waste any minute more.
    The problem:
    I prepared my web-app in JSF. Now I'd like to take it outside of the environment and run on a extern server (not started from Eclipse of course). but HOW?
    Is it possible to generate a war? Do I have to copy my application manually from the workspace? What about the non-standard of the directories-structure (all in "web" directory: WEB-INF inside) and the deployment on the target-server? I would just like to take it to the for example Tomcat and just start it. but it doesn't work in this way..
    Some hints? Many thanks in advance.
    kubek

    Currently Workshop does not support creation of .war file. You can use the popular ant utility tool to build the war file.
    FYI, most of the servers support exploded directory deployment - meaning no need to bundle in a war file. If you have created the web application using Workshop wizard then all the contents of "web" folder can be deployed (copied) to the server.
    Ex: Tomcat
    - Copy the content of "web" to tomcat-home\webapps<application-name>
    - start server
    - access http:\\localhost:8080\application-name
    OR
    Alternatively, you can also deploy the application with the help of Tomcat's server.xml
    - Open <tomcat-home>conf\server.xml
    - include a context-element for your application
    <Context debug="0" docBase="/C:/workshop-home/eclipse/workspace/workshop-tour/site/" path="" reloadable="true" />
    - save file
    - start server
    - access http:\\localhost:8080\

  • Runtime-Error after deploying a mapping with the generated script

    For example a very easy scenario:
    1. Create a table and a view in a DB-schema, witch ist registered as WB-target-schema with the following scripts:
    create view v1(c1) as select 'a' c1 from dual;
    create table t1(c1 varchar2(1));
    2. Import the table and the view into a OWB-module
    3. Create a mapping ‘m1’
    4. Drag and drop view and table into the mapping
    5. Draw an arrow from the view-column to the table-column
    6. Save and close the mapping
    7. Mark the mapping in the ‘Design Center’ and klick the ‘Generate’-Button
    8. Save the generated script ‘M1.pls’ to file
    9. Run the script in SQL*Plus, connected with the target-schema (without using the Control Center Manager)
    => very easy right now ;-)
    10. Start the mapping with the following script will produce the following error
    SQL> declare
    2 v_status varchar2(100);
    3 begin
    4 m1.main(v_status);
    5 end;
    6 /
    declare
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at "OWB_OWN.WB_RT_MAPAUDIT_UTIL", line 1027
    ORA-06512: at "SCOTT.M1", line 2048
    ORA-06512: at line 4
    If i delete or comment the four WB_RT_MAPAUDIT_UTIL-calls - it work´s fine!
    But is this a good advise?
    What exactly does the wrapped package ‘WB_RT_MAPAUDIT_UTIL do?
    Thanks
    jwehner

    I just ran into the same problem myself. I used the same technique of saving the generated OWB script to file and then compiling it through sqlplus. When I used the "Deploy" option for the mapping, then the problem went away. So when OWB is deploying the code it seems to be setting something internally that doesn't get set when you simple compile the PL/SQL. I don't know of any workaround to this. I will need it eventually, since I don't want to use the UI to deploy to various test environments and production. Maybe the built-in scripting language is the way to go.

  • The object with id number 'nnnnn' cannot be deleted, modified or scheduled

    I am getting this exception in the following scenario, and I'm not sure why, or what is the best way to get around it.  Any help would be greatly appreciated.
    I am writing a program to install report modifications to a BOE repository.  This is my first foray into the BOE SDK, so I'm still quite green.  The basic steps that my program takes are:
    - Look for an existing version of the report (based on title);
    - If it exists, move it to an Archive folder within BOE;
    - Create the new version of the report in the folder that the old version was in;
    - Copy all report options that would not likely be part of the change (scheduling info, security info, format, etc., etc., etc.);
    - Call infoStore.CommitBatch() to commit everything to the CMS.
    Is it during the CommitBatch() that I get the exception in this post's subject.  The ID number referenced is that of the new version of the report.  I assume that the issue is that the SDK is trying to schedule an instance of the new version (although at this point, I am not looking to do that), and it doesn't recognize that the new version exists yet, even though creating it is part of the batch being committed.  (Scheduling will be added later, if the old version had any scheduled instances.)  At this point, my goal is copying the default scheduling information from the old version to the new version.
    I'll start wading through the documentation and forum posts, but there's a whole slew of information, so that might take some serious time.  If someone could point me in a direction, that would be most helpful.  I guess what I'm looking for is the answer to "What causes the SDK to schedule an instance of a report?"
    Also, I was hoping to do all of the changes to the CMS, and then atomically commit everything in one shot, so either none or all changes make it to the CMS, including scheduling new instances of new versions of the report.  This exception leads me to believe that I will not be able to accomplish this task.  Is that correct?  If so, do you have an opinion on the approach of creating a second InfoObjects collection with the instances to be scheduled, and follow the CommitBatch() of the objects that are changeing by a separate CommitBatch() of the scheduling instances?
    Thanks for the help,
    Carl

    This is the logic that creates the InfoObject:
    // create new report version in BOE from file passed in
    InfoObject newver = mainrpts.Add(infostore.PluginManager.get_PluginInfo("CrystalEnterprise.Report"));
    Report rpt = (Report)newver;
    rpt.Files.Add(reportFileName, 1, null);
    rpt.Title = baseReportName;
    rpt.ParentID = installToFolderId;
    Then there is ~260 lines of code to move values from the old version of the report to the new version.  I can post any relavant section that you suggest (but feel 260 lines is a bit long to include here).
    As an aside, I just ran across the sample programs that schedule instances, which pointed me to the infostore.Schedule() method.  I am currently NOT calling that method in my program anywhere...  (That also leads me to believe that a second InfoObjects collection will be needed for scheduling the new versions of the report.  Please correct me if I'm wrong.)
    Thanks for the help,
    Carl

  • How to Deploy the Scheduler Task OIM 11g

    Hi.
    I have deployed the scheduler task in OIM 11g and also I have configured the Scheduler task in OIM Admin Console. The Java Scheduler class was not invoked when I run the Scheduler task.
    I have done the following configuration to develop and deploy the scheduler task in OIM.
    1) Developing the Java Class File.
    package edu.sfsu.oim11g.scheduler;
    import java.util.HashMap;
    import oracle.iam.scheduler.vo.TaskSupport;
    import edu.sfsu.oim11g.logger.SfsuLogger;
    public class SfsuTrustedSourceReconciliation extends TaskSupport {
         //private Logger logger= Logger.getLogger(SfsuTrustedSourceReconciliation.class);
         private SfsuLogger logger= new SfsuLogger("SFSU-LOGGER");
         private String className=this.getClass().getCanonicalName();
         private String methodName="";
         public SfsuTrustedSourceReconciliation() {
              methodName="SfsuTrustedSourceReconciliation";
              debug("SfsuTrustedSourceReconciliation() Called");
         @Override
         public void execute(HashMap arg0) throws Exception {
              // TODO Auto-generated method stub
              methodName="execute";
              debug("SfsuTrustedSourceReconciliation Arguments "+arg0);
         @Override
         public HashMap getAttributes() {
              // TODO Auto-generated method stub
              return null;
         @Override
         public void setAttributes() {
              // TODO Auto-generated method stub
         private void debug(Object message)
              logger.info(className+" : "+methodName+" : "+message);
    2) Custom Scheduler XML File
    This file is located in
    /home/oracle/confg_files/schedulers/db/SfsuTrustedSourceReconciliation.xml
    <scheduledTasks xmlns="http://xmlns.oracle.com/oim/scheduler">
         <task>
         <name>SfsuTrustedSourceReconciliation</name>
              <class>edu.sfsu.oim11g.scheduler.SfsuTrustedSourceReconciliation</class>
              <description>Reconciliation IDSync Data</description>
              <retry>5</retry>
              <parameters>
                   <string-param required="true" encrypted="false" helpText="Source Data Source">Source Resource Data Source Name</string-param>
                   <string-param required="true" encrypted="false" helpText="Config Data Source">Config Resource Data Source Name</string-param>
                   <string-param required="true" encrypted="false" helpText="Reconciliation Type is Full Or Cincremental. Default is Incremental">Reconciliation Type</string-param>
                   <number-param required="true" encrypted="false" helpText="Max Records" >Max Records</number-param>
              </parameters>
         </task>
    </scheduledTasks>
    3) Plugin File Configuration.
    <?xml version="1.0" encoding="UTF-8"?>
    <oimplugins>
    <plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">
    <plugin pluginclass="edu.sfsu.oim11g.eventhandlers.SfsuPostProcessEventHandler" version="1.0" name="SfsuPostprocessExtension"/>
    </plugins>
    <plugins pluginpoint="oracle.iam.scheduler.vo.TaskSupport">
    <plugin pluginclass="edu.sfsu.oim11g.scheduler.SfsuTrustedSourceReconciliation" version="1.0" name="SfsuTrustedSourceReconciliation"/>
    </plugins>
    </oimplugins>
    The event handler is successfully deployed and working fine without any issue.
    4) making the scheduler jar file.
    5) Making the scheduler zip with the following directory format.
    plugin.xml
    lib/scheduler.jar
    6) Registering the Schedule task and event handler as a Plugin.
    ant -f pluginregistration.xml register
    7) Importing the SfsuTrustedSourceReconciliation.xml file into the MDS.
    7.1) weblogic.properties
    wls_servername=oim_server1
    application_name=oim
    metadata_from_loc=/home/oracle/configfiles/schedulers
    7.2) Running the weblogicImportMetadata.sh file
    It imported the SfsuTrustedSourceReconciliation.xml file into the MDS Schema and it is available in the MDS_PATH table in MDS schema
    Path_Name : SfsuTrustedSourceReconciliation.xml
    PATH_FULL : /db/SfsuTrustedSourceReconciliation.xml
    8) Imported the EventHandlers.xml file into the MDS Schema.
    9) Run the PurgeCache.sh file
    10) Restarted the OIM Server.
    11) Loggin into the OIM Admin Console and Created the Scheduler job based on the SfsuTrustedSourceReconciliation listed in the scheduler.
    12) Run the Scheduler job and log file entries are not logged into the log file. My Log File Configuration
    <log_handler name='sfsu-handler' level='FINEST' class='oracle.core.ojdl.logging.ODLHandlerFactory'>
    <property name='logreader:' value='off'/>
    <property name='path' value='/u01/app/wl-10.3.5.0/Oracle/Middleware/user_projects/domains/oim_domain/servers/oim_server1/logs/sfsu-connector.log'/>
    <property name='format' value='ODL-Text'/>
    <property name='useThreadName' value='true'/>
    <property name='locale' value='en'/>
    <property name='maxFileSize' value='5242880'/>
    <property name='maxLogSize' value='52428800'/>
    <property name='encoding' value='UTF-8'/>
    </log_handler>
    <logger name="SFSU-LOGGER" level="FINEST" useParentHandlers="false">
    <handler name="sfsu-handler"/>
    <handler name="console-handler"/>
    </logger>
    Is there any special configuration Do i need to do invoke my Scheduler Java Class File.
    Help is Greatly Appreciated.

    Seems like you did it all right but just piece which if you can modify and test. The plugin.xml has two artifacts eventhandler and the schduler. Can you try creating separate plugin.xml with one for the scheduler zipped up with /lib/scheduleClass.jar and test it?
    Just deregister everything before trying it and let us know how it goes.
    Also the logger as I see is a custom logger, so it is extending the OOTB Logger? Just put some sysouts in the code and check for those in the server out file to be sure.
    Edited by: bbagaria on Jul 22, 2011 5:15 PM

Maybe you are looking for