Query on Scheduling tasks in Portal

Hi,
I created a task by following this blog:
Did you know you can schedule jobs in portal using KM's Scheduler Task?
It doesnt seem like the task has got executed at the scheduled time.Can anyone provide me with a simple code(using logger class) that i should include so that i can check in the log whether the task is getting executed or not?
Regards,
Padmalatha.K

Hi,
Check below link, it might help you:
http://help.sap.com/saphelp_nwce10/helpdata/en/44/03d66015ee10b3e10000000a11466f/content.htm
Thanks
Sunny

Similar Messages

  • Query in schedule task adapter using FilestreamProvider

    Hi,
    Requirement: I need to use a dynamic file send port which appends the file every 2 hours after which is picked up by an ftp adapter on a daily basis on a fixed time.For
    the above, I am using a scheduled task adapter to pick the from folder path(  send port path) and via FTP adapter send to the destination.
    Flowchart:
    Direct Binding in Orchestration->Map-> Dynaminc File Send port-> File should be appended every two hour(for eg: suppose the file has to be picked up every day at 1pm,3pm: Until 1pm, all the files appended in the folder should be picked and
    sent to the destination via schedule task adapter then the message should be deleted from the folder path then in between 1pm to 3pm how many every files come in should be appended aI have created a schedule task adapter using FileStreamProvider which should
    pick files from a folder path in the interval of 5mins. The file gets appended every 2 hours and is  sent to the destination. The adapter works fine but the file in the folder does not disappears after the schedule is over every 2 hours. Please provide
    a resolution. nd send to the destination via ftp adapter and the file should be deleted from the folder path)->Picked up by schedule task adapter every 1 hour-> sent to the destination via FTP send port.
    Problem:
    I have created a schedule task adapter using FileStreamProvider which should pick files from a folder path in the interval of 2 hours. The file gets appended every 2 hours and is  sent to the destination. The adapter sends the files at scheduled timee
    but the file in the folder(i.e where the file sits after being processed by dynamic send port) does not disappears after the schedule is over every 2 hours and the content of the file is also not visible. Any kind of help would be appreciated.
    Thanks in advance,
    Ranjana

    >
    Arpit Seth wrote:
    > Hi All,
    >
    > We have an interface in which we are inserting data in Oracle server using JDBC Reciever Adapter.
    > The interface ends up in error on adapter engine level whenever the we are sending long data in one of the field of target structure. The error which we get in communication channel monitoring is that "String too long", on googling i found that in oracle they solve such problem by making the field data type as CLOB.
    >
    > Thus can we define target structure field of CLOB type so that while inserting the data in Oracle server we never face the issue of this long string.
    >
    > Thanks
    if the field contains very large data then yes, defining the target field in Oracle as a CLOB will solve your issue.
    http://www.herongyang.com/jdbc/MySQL-CLOB-Overview.html

  • Error while import PAR with schedule task

    Hi everybody
    I've the following error while import a new PAR with schedule task in Portal NW04s
    Inner Stack is:
    Unable to lock the local configuration to run import "import_it.tsf.pld.cercapersone.updateadgruppofs.st.prjconfig_config_fwk_service_4692550,4692550_(ready)".
    System error is "LockConfigException: Configuration framework system error: "configuration-lock-service overloaded: cannot acquire central-lock file for config://local"".
    Inner Stack is:
    LockConfigException: Configuration framework system error: "configuration-lock-service overloaded: cannot acquire central-lock file for config://local"
    at com.sapportals.config.fwk.data.ConfigLockManager.lockWithDependent(ConfigLockManager.java:507)
    thanks in advance

    Hi Ram,
    I've encountered the problem only on productive instance with offline deployment (Scheduler Tasks reinitialize CRT). Before a restart I have to make sure it works.
    thanks for your help!
    Gennaro

  • KM Scheduler Task in a Portal Dc

    Hi Experts,
    Is it possible to use KM Scheduler task in a Portal Development Component .Please detail me how to deploy the .sda and schedule it.
    I am trying with a Portal Project and uploading the par file from NWDS,its working fine but with DC ,when I am deploying the .sda,I can't locate the task in global services -> scheduler tasks
    Please help...

    Hi,
      Could you please check [this thread|https://forums.sdn.sap.com/message.jspa?messageID=7691849].
      Also go with this [Help Doc|http://help.sap.com/saphelp_nw04/helpdata/en/dd/65530e74fac342adf2f2a193188c2a/frameset.htm].
    Regards,
    S.Manu.

  • SCCM 2007 query to find Scheduled tasks setup on a client.

    Hello all,
    I have been asked by senior management at the school where i work to automate the shutdown of PCs at a specific time each night.
    So I created a batch script that sets up a scheduled task on the clients to do this, and rolled it out via software distribution.
    How would I go about creating a query to check which machines do not have the scheduled task?

    We are needing to change passwords on ALL our Service Accounts.  Was able to pull out the services being started by a Service Account, but...also need to look for scheduled tasks run by Service Accounts...that link you sent doesn't seem to show the
    Run As name?
    Thanks.

  • OIM Schedule task query

    Hi
    I have installed two separate weblogic servers (non-cluster) and installed OIM 9101 on them with same Oracle Database. This system does not include any other servers. I am planning to use a hardware load balancer on top of these two OIM Weblogic servers.
    I have deployed EBS trusted source recon connector. This connector has a recon schedule task which run at every 6 hrs. It was working fine on single node OIM weblogic pair. Now I have two weblogic servers with corresponding OIM servers. I wonder how the schedule task will work now. which OIM will have the priority ??
    any idea about this..

    Disable schedule task in one of the servers, so that it does not account for running schedule purposes. Go to xellerate/config/xlConfig.xml
    You can find the scheduler section and change the StartOnDeployment parameter to false. SO that this server never runs the scheduler.
    Suren- The database is same ! ! !
    Thanks
    Sunny

  • KM Scheduler Task not running

    Hello All,
    I have created a scheduler task for the , for the same I have created a PAR file , have successfully Build the project and deployed , Have configured the time in the Global services . But for some reason I could not see the task being running in the "Component Monitor" (when I select the Services-->scheduler >select one of the CM systems (have two currently)>click on on the CM system ) I could not see my custom task .
    As well as When I go to "Service configuration" --> Portal Application , there also I could not see my custome application .
    Initially whenever there use to be any error (for example -- CM systems not assigned etc etc ).
    Is it something I am missing while deployement , Or has it being deployed properly?
    Regards,
    Ronniee

    Hello Detlev,
    Any Inputs on this please.
    I have opened a new thread but a different Query
    http://forums.sdn.sap.com/thread.jspa?threadID=2155357
    Regards,
    Ronniee.

  • Scheduler task to save file to KM.

    Dear all
    I have seen the following blog for scheduler task.
    <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1515">Link to blog</a>
    But my scenario is a little bit different. I want to create a sceduler task which creates and save a file in a particular destination in KM.
    Can anybody help me in doing this?
    Regards
    Aparnna

    hi prasad,
    I am also tried the same blog  <b>"Did you know you can schedule jobs in portal using KM's Scheduler Task "</b>..
    After deploy my Par I am getting my schedular task under Knowledge Management>content Management>Globel Service-->schedular task..... But i didnt get <b>yahoofeed.xml</b> file..
    then i have checked..System Configuration >Monitoring>Knowledge Management>Component Monitor>Services-->Schedulers.. my Schedular task status is <b>startup failed</b>...
    did u get the result for ur schedular task.. if yes,, plz guide me where I did error..
    thanks and regards,
    Chinnadurai.R

  • Scheduler Tasks in KM

    Hi,
    I created a task by following this blog:
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1515
    It doesn't seem that my job is starting up.  Where do I go to look at a log of an execution?  Do I need to stop and restart the J2EE engine in order for the scheduler jobs to start up?  (I am on NW2004)
    My steps were:
    1. Create portal application project
    2. Create the Respository Framework 7.1.5 Schduler Task wizard
    3. Put my java code in the "run" method - I did execute the same code in a standalone project to be sure it doesn't contain bugs.
    4. Created PAR file and uploaded to portal server
    5. Configured the Scheduler task as shown in the BLOG- I was not sure if I should check off a CM System- I have tried both ways and it doesn't seem to run either way.
    Any help would be appreciated.
    Thanks.

    Hi Dana,
    You can use the standalone log-viewer to view the log files. See the documentation on sap help. http://help.sap.com/saphelp_nw04/helpdata/en/47/209779bbe64a318454b64148a0c76d/frameset.htm
    The best way would be to include some tracing and logging statements in your scheduler code.
    Create a new location in your code
    private static Location logger = Location.getLocation("mylocation");
    and put some trace statements in your code
    logger.intoT("start of method");
    But you will have to create a new location in Log Configurator in the VA and set the severity level to INFO. Then in the default.trc you can filter on your location name to get the relevant traces.
    Akhilesh

  • Reference for Connecting EJB in KM scheduler Task

    Hi,
           What are the main References we need to add portalapp.xml,when we connect Ejb in Km scheduler Tasks
    For Example:
    portalapp.xml
    <?xml version="1.0" encoding="UTF-8"?>
      <application >
        <application-config>
        <property name="SharingReference" value="usermanagement, knowledgemanagement,landscape,       htmlb, exportalJCOclient, exportal, com.sap.portal.admin.wizardframework"/>  </application-config>
      <components/>
      <services>
        <service name="RFServiceWrapper">
          <service-config>
            <property name="className" value="com.sap.netweaver.rf.wrapper.RFServiceWrapper"/>
            <property name="startup" value="true"/>
          </service-config>
        </service>
      </services>
    </application>
    Regards,
    Vino

    Hi,
    Try some thing like this:
    ClassLoader originalContextClassLoader = Thread.currentThread().getContextClassLoader();                                   
    try {
              Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());
              Context initial = new InitialContext();
              Object objref = initial.lookup("JNDI Name Of the Session Bean");
              Object obj = PortableRemoteObject.narrow(objref, BeanHome.class);
         } catch (NamingException ex) {
              ex.printStackTrace();          
         } catch (Exception ex) {
              ex.printStackTrace();          
         finally {
         Thread.currentThread().setContextClassLoader(originalContextClassLoader);
    Regards,
    Praveen Gudapati

  • Deletion of KM scheduler Task

    Hello All,
    I have a a scheduled task in SA>SC>KM>CM>Global services -->Scheduler Task --> <My custom scheduler>.
    Now I want to delete the scheduler .
    I went through the following forum links
    http://forums.sdn.sap.com/thread.jspa?threadID=486614&tstart=7950
    And
    https://forums.sdn.sap.com/thread.jspa?threadID=57900
    When I select my <custom scheduler task> and  click on "delete" . It say "No <No custom scheduler task > available yet in configuration" .
    Where exactly is the scheduler task configuration ?
    Kind inputs please.
    Regards,
    Ronniee.

    Hi Ronniee,
    To remove the scheduler task completly use the ConfigUninstaller component and remove the config file of your project.
    http://<host>:<port>/irj/servlet/prt/portal/prtroot/com.sap.portal.runtime.config.component.ConfigUninstaller
    Thanks
    Prashant

  • Deployed KM Scheduler Task Does Not Appear in Global Services / Scheduler T

    Hi All,
    I've deployed a portal service and a KM scheduler task in the same DC but cannot see the scheduler task listed under System Admin -> System Config -> Knowledge Management -> Content Management -> Global Services -> Scheduler Tasks.
    The service works correctly and performs its periodic processing once on initialisation of the service, and I can see the resulting log statements to make sure it has worked.
    Both the service and the scheduler task are packed inside the same DC, which builds and deploys without any errors.
    There are no errors in the log regarding the deployment of the DC, or the scheduler task.
    There is a log statement about registering the classloader for the DC, which I assume is the statement in the IRFServiceWrapper init() that goes:
    CrtClassLoaderRegistry.addClassLoader(this.getKey(), this.getClass().getClassLoader());
    But I still dont see the task listed in Global Services -> Scheduler Tasks.
    Does anyone know what might be causing this or how to diagnose the problem further?
    Cheers,
    Steve

    Hi Srini,
    No it doesn't it just has the run method which is generated automatically.
    I have created a local Portal Application project, which is not in a DC, and this also does not have a default constructor ether but appears in the Scheduler Tasks list as soon as it is deployed.
    I also tried to create a Portal Applicaiton DC and Portal Applicaiton (Packaged as SDA) DC and despite the scheduler task being the same, both the DC tasks do not appear in the Scheduler Tasks.
    The only one I can get to work is the local Portal Application project. This is no use as we cant store this in DTR (unless someone can explain how to do this???).
    The Portal Application project packages up the RF Framework JARS inside its PAR file, but the DC and SDA projects dont, so I tried including them via an Assembly Public Part to an External Library DC, which does include the JARs in the deployment files but they still dont appear in the Scheduler Tasks.
    Has anyone out there got a working Scheduler Task in a Portal Application DC?
    Cheers,
    Steve

  • KM Scheduler Task

    Hello All,
    We have a scenario where I have scheduled a task written a Java program (System Administration > System Configuration> Knowledge Management --> Global services --> Scheduler Task --> Program (I am able to see the program )).
    But for some reason  I doubt if the scheduler is running .  I have assigned the schedule , BUT NOT THE CM SYSTEM , we have two CM systems here , How do I come to know which one to select ?
    Regards,
    Ronniee.

    Hello,
    Looking at the default trace I am getting the following errors.
    Could not find the command java class for alias xxx . Check whether the archive containing the mapped java class is deployed.
    xxx  = <search_from_here>
               <lock_mass>
               <link_details>
               <new_folder>.
    Any Idea what might be the resolution for the same .
    On the portal level, I have gone to System administration --> System Confguration --> Content Management -->User Interface --> UI Commands , I can see "search_from_here" , "lock_mass" , "link_details" , "new_folder" commands , but how are these commands related ?. How can I resolve the given problem related to the scheduler task.
    Regards,
    Ronniee

  • KM Scheduler Task is not running...

    Dear All,
    I have created a KM Scheduler Task using the NDWS Wizard. I followed prakash's blog (http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1515). My doubt is where exactly the attributes are created? and can any one guide how to create the attributes in .cc.xml file. And how does public void run( String id, Properties properties ) it works?
    The application was successfully deployed. I am able to see my task under System Administration->System Configuration->Knowledge Management->Configuration->Content Management->Global Services->Scheduler Tasks.  but I think it is not running. Can any one give some clue on this. As i'm not finding any thing uder Kmcontent>Documents.
    Do i need to configure anything to run KM scheduler Task?
    Thanks and Regards,
    JAGAN.
    Edited by: Jagan456533 on Jan 19, 2011 11:10 AM

    Hi Jagan,
    The status "0" for your task in "Component Monitor" is fine.
    Navigate to System Administration> System Configuration>Service Configuration. You can see here Applications and Portal runtime.
    Open Applications--> and you Task. Right click on your task folder and say Administrate. Here you check whether your task has been stopped, running. Make sure its running. ( Try refresh, if its already running ).
    In you task folder, you will see "Service Folder"  under this, you will see "RFServiceWrapper", right click on it and say configure, make sure the values are like shown below:
    Name : http://sapportals.com/xmlns/cm/sch
    Value: Value1
    Also make sure in your portalapp.xml, the values are same:
    RFServiceWrapper
    service-config
    className= com.sap.netweaver.rf.wrapper.RFServiceWrapper
    startup= true
    service-profile
    Name= = http://sapportals.com/xmlns/sch
    Prof= Value1
    You see tha the same name is used "Value1" in RFServiceWrapper both in portalapp.xml and in Service Configuration.
    You can use any other name but the it should be same in both the places.
    Make all these changes, and then restart your task in Service configuration again. Any changes in portalappl.xml, restart is necessary.
    Kind Regards,
    Poornima

  • KM Scheduler Task Cache issue

    We have created couple of custom schedulers in Enterprise Portal. These schedulers are worked fine in our QA and DEV environment. But when we move the same transport to Production the scheduleru2019s tasks are not showing up in KM scheduler list. But after restarting J2EE couple of times it's showing up in KM scheduler task. This is the behavior we are seeing whenever we move the scheduler to production.
    Here are the some technical details about the scheduler,
    We have created one Portal Development component and 10 Scheduler Tasks under this component. All the tasks are not created in a single release. Initially when we develop we used to have 2 scheduler tasks under this component, when we move this transport to production we didn't faced any issue. Even after adding 4 to 5 scheduler task we didn't had any issues. After adding more than 6 to 7 whenever we add one we are getting the same issue.
    Question: 1 - Is there any limit to for adding Scheduler task in one Portal Component?
    This time we have restarted our server more than 5 times but scheduler not showed up. We ask our manger to logon to the portal server who never navigated to KM screen, we ask her to navigate and she did. For her schedulers are showed up. After she navigated to the KM screen everybody is able to see the scheduler. This is not the first time it happens like this, the same situation happen for the previous release also. In previous release we ask our Technical Architect to login to see KM schedulers. After his login everybody is able to see the schedulers.
    After doing all these is what I obverse is, it seems KM scheduler has some server level cache for the user and it's giving old screen whenever we are trying to login and see. After the transport, the cache is not getting updated with the new version.
    We guess it might be something we need to do with cache.
    Is there any idea why the system is behaving like this.

    Hi,
    I am facing similar issue. How did you resolve it?
    Regards,
    Apurva

Maybe you are looking for

  • Problem with local users printing to the printer queue

    We have just upgraded our servers to 2.8GHz Quad-core Intel Xeon which is running OS X 10.5.6 I have set up the printer queue to the network printers, through LPD. Open directory users are able to print to the network printers without any problem how

  • JButton inside the cell of JTable

    JButton buttonInCellOfTable = new JButton(); buttonInCellOfTable.setBackground(Color.RED); buttonInCellOfTable.setText("MORE"); buttonInCellOfTable.setPreferredSize(new Dimension(10, 22)); buttonInCellOfTable.setMinimumSize(new Dimension(10, 22)); bu

  • ARIS - Solman Integration : Occurence copied node issue

    Hi, We are using ARIS - Solution Manager 4.0 Synchronization. But, we encountered a big problem with synchronization. That is as follows. For example, there is following process - process step.              Process                                    

  • Project Budget Checking in SAP MM Purchasing

    Hi, As far as i know, in FM we can control whether the posting or delivery date should be taken for budget check for PR/PO. In our company, setting configured as posting date so when budget error trigged, the system will display budget base on the po

  • Merging Tiger Address book contents with ML Contacts

    Hi, Since late December I've been the proud owner of a (gorgeous new) 27" iMac. This has replaced my old G5 workhorse which is running Tiger. The two are running side-by-side until I get everything migrated and converted. For the past couple of month