Background job - failing when file not on app server

Hi Experts,
I am facing an issue, while I am trying to run a program in background.
Let me explain u the situation.
My program runs in background and pick one file from predifined folder from application server and process that file. if file is not in the folder batch job goes into cancel status. but what i want if proposed file is not available then batch job will run and finished; it should not go into cancle status.
waiting for valuable inputs,
Prarthan.
Edited by: Julius Bussche on Feb 20, 2009 1:06 PM
Please use meaningfull subject titles

hi
below is my piece of code for application server.
thanks.
FORM application_server .
  TYPE-POOLS: kcde.
  DATA : lt_intern TYPE  kcde_cells OCCURS 0 WITH HEADER LINE.
  DATA wa_src01 TYPE string.
  DATA: BEGIN OF wa_src0,
       material         LIKE bapi2017_gm_item_create-material,
       consumption_qty(13) TYPE c,"  like bapi2017_gm_item_create-entry_qnt,
       base_uom         LIKE bapi2017_gm_item_create-entry_uom_iso,
       movement_type    LIKE bapi2017_gm_item_create-move_type,
       cost_center      LIKE bapi2017_gm_item_create-costcenter,
       doc_date         LIKE bapi2017_gm_head_01-doc_date,
       post_date        LIKE bapi2017_gm_head_01-pstng_date,
       plant            LIKE bapi2017_gm_item_create-plant,
       storage_location LIKE bapi2017_gm_item_create-stge_loc,
       END OF wa_src0.
  DATA : lt_src0 LIKE TABLE OF wa_src0.
  DATA : file1 TYPE string.
  DATA : tmp0(20). " type string.
  DATA : intern1 TYPE  kcde_intern.
  DATA : tmp_date LIKE sy-datum.
  path1 = path.
  replace '.txt' in PATH1 with ''.
  IF path IS INITIAL.
    path = '/usr/local/interface/globalone/SFA/SFA_WORK/SFA_'.
    tmp_date0(2) = sy-datum6(2). "date dd
    tmp_date2(2) = sy-datum4(2). "month mm
    tmp_date4(4) = sy-datum0(4). "year yyyy
    CONCATENATE path plant tmp_date '.txt' INTO path.
   concatenate path  tmp_date  into path1.
  ENDIF.
  file1 = path.
  file_nm = path.
FILE_NM2 = PATH1.
  OPEN DATASET file_nm FOR INPUT IN TEXT MODE ENCODING NON-UNICODE.
  IF sy-subrc NE 0.
   MESSAGE e000(zmm002).
   EXIT.
  ELSE.
    DO.
      READ DATASET file_nm INTO wa_src01.
      IF sy-subrc = 0.
         CLEAR wa_src0.
        REPLACE cl_abap_char_utilities=>cr_lf(1) IN wa_src01 WITH ''.
        SPLIT wa_src01 AT cl_abap_char_utilities=>horizontal_tab
                            INTO  wa_src0-material
                                  tmp0
                                  wa_src0-base_uom
                                  wa_src0-movement_type
                                  wa_src0-cost_center
                                  wa_src0-doc_date
                                  wa_src0-post_date
                                  wa_src0-plant
                                  wa_src0-storage_location.
        SHIFT tmp0 LEFT DELETING LEADING '0'.
        wa_src0-consumption_qty = tmp0.
        APPEND  wa_src0 TO lt_src0.
      ELSE.
        EXIT.
      ENDIF.
    ENDDO.
    CLEAR wa_src0.
    LOOP AT lt_src0 INTO wa_src0.
      REPLACE ',' IN wa_src0-consumption_qty WITH '.'.
      MOVE:  wa_src0-material         TO wa_srcdata-material,
             wa_src0-consumption_qty  TO wa_srcdata-consumption_qty,
             wa_src0-base_uom         TO wa_srcdata-base_uom,
             wa_src0-movement_type    TO wa_srcdata-movement_type,
             wa_src0-cost_center      TO wa_srcdata-cost_center,
             wa_src0-doc_date         TO wa_srcdata-doc_date,
             wa_src0-post_date        TO wa_srcdata-post_date,
             wa_src0-plant            TO wa_srcdata-plant,
             wa_src0-storage_location TO wa_srcdata-storage_location.
      APPEND wa_srcdata TO gt_srcdata.
      CLEAR wa_srcdata.
      CLEAR wa_src0.
    ENDLOOP.
  ENDIF.
  DELETE DATASET file_nm.
ENDFORM.                    " application_server

Similar Messages

  • Background Job spool / output file in different app server

    We are working with 2 ECC app servers, A and B.
    I've defined in app server A a background job to run an abap report and this report creates and submit 4 other background jobs.
    Each of these 4 jobs is regarding an abap report which outputs a text file in the server.
    The question is, why are the jobs generating the files in different app servers randomically?
    The same file, in the 1st execution was generated in app server A, and without any change was generated in app server B, in the job 2nd execution?
    Thank you!

    Hi,
    You can specify server name whille creating a batch job , so that it gets executed to that server only.
    there is one field (in SM36 during creation or SM37 while modifying batch job) called "Exec Target " , where you can specify server name.
    Hence you can plan to run your some batch jobs on server A or B.
    Regards,
    Rupali

  • Passing data from a background job to RFC calls in different App server

    The program i am working on can be explained in the following steps:
    Step A- We use a standard program that is executed as a background job and the standard program obtains some data for a particular scenario.
    Step B - The job(standard program) during its execution creates many RFCs executed as dialog work processes on various application servers and processes data.In the RFCs various exits are executed.
    We currently write data to database(Z table) in Step A and retreive data in exits in Step B to access the information written to DB(Z table). We want to eliminate writing to database since it consumes time.
    Is there any solution apart from writing data to database and retreiving the same.
    I am not sure if we can use ABAP memory or SAP memory to access the information in the exits since they are executed on different App servers.

    We have not been able to arrive at a solution to the below, any solutions / inputs will be rewarded.

  • Execute listcube in background - where is the file stored on app server

    Hi,
    I want to execute listcube in background.
    to execute in background, the only output option available is Store in file (appl server).
    My question is where is this file stored.
    there is no information in the job log nor is there any spool.
    Also, can I determine myself where is this output file written.

    I have a couple of questions that could lead to an answer to your question...
    Does your BW environment have one or more application servers, in addition to the Database Central Instance (DBCI)? If so, do you use logon groups for SAP Logon so that the logon loads are balanced?
    I'm asking these questions because if you have a multiple application server environment and logon balancing, you may not be logging onto the same server every time that you're executing LISTCUBE and it will save to the directory path of the server you're logged onto.

  • Why the background job for downloading file failed?

    I have a background job for downloading file with logical path.
    with
    'OPEN DATASET l_out_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT';
    Now, the program can be run in foreground;but when it running on background, it shows 'open file error'.
    I do not know what happen?
    Please help ~~

    Hi,
    The logical path you have provided might be incorrect or you might not have the necessary authorization to read/write on that folder.
    Please check the folder in transaction AL11 & check whether you have the authorization to read/write. BASIS consultant would be able to tell you about it.
    Best regards,
    Prashant

  • Error in Control Framework: Background job failed

    Hi Experts,
    One background job failed with job log: Error in Control Framework in ECC 6.0 system; the job is supposed to produce a XML report. Can anyone please give some idea on this why it could happen? One SAP note 893534 has described same kind of issue but in CRM system. That note even cant be implemeneted in ECC 6.0. Any workaround? Is it a BASIS issue here?
    Thanks & Regards,
    SKB

    Hello,
    please check the variant. We had this problem, and when checking the variant I got a shortdump because the variant did not fit to the program (there were problems with subscreens in the selection screen). After adjusting the variant with program RSVARDOC_610 the variant was ok.
    I can not check if this solved the problem because the job runs weekly, and the next job is on Monday. But give it a try...
    HTH,
    Jens Hoetger

  • ConfigurationException during deploy "CONFIGURATION FAILED! File not found"

    Hello All,
    The deployment of my adf app. is failing with the following error. Although till yesterday also, it was failing but atleast it was going much farther than this. What is causing this error? I did make changes to config.xml but then restored it. Any help is appreciated. This is critical.
    ####<Sep 14, 2011 1:23:36 PM CDT> <Info> <J2EE Deployment SPI> <brksvw379> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <u00w669> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae49> <1316024616200> <BEA-260121> <Initiating deploy operation for application, myProject [archive: F:\Oracle\Middleware\user_projects\domains\BPEL_DEV\servers\AdminServer\upload\myProject.ear], to AdminServer .>
    ####<Sep 14, 2011 1:23:47 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <u00w669> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae49> <1316024627386> <BEA-149038> *<Initiating Task for myProject : [Deployer:149026]deploy application myProject on AdminServer.>*
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <J2EE> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630053> <BEA-160170> <Imported library Extension-Name: adf.oracle.domain, Specification-Version: 1, Implementation-Version: 11.1.1.2.0 for Application myProject>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <WorkManager> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630069> <BEA-002903> <Creating WorkManager from "wm/SOAWorkManager" WorkManagerMBean for application "myProject">
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149059> <Module weblogic.xml.registry.XMLModule of application myProject is transitioning from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149060> <Module weblogic.xml.registry.XMLModule of application myProject successfully transitioned from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149059> <Module empty.jar of application myProject is transitioning from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149060> <Module empty.jar of application myProject successfully transitioned from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630272> <BEA-149059> <Module mySubProj of application myProject is transitioning from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:23:50 PM CDT> <Info> <HTTP> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024630771> <BEA-101363> <Application: myProject, WebApp: mySubProj has context-root specified in application.xml: "mySubProj". The context-root specified in weblogic.xml: "mySubProj" will be ignored.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c> <1316024693171> <BEA-149060> <Module mySubProj of application myProject successfully transitioned from STATE_NEW to STATE_PREPARED on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149059> <Module weblogic.xml.registry.XMLModule of application myProject is transitioning from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149060> <Module weblogic.xml.registry.XMLModule of application myProject successfully transitioned from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149059> <Module empty.jar of application myProject is transitioning from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149060> <Module empty.jar of application myProject successfully transitioned from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149059> <Module mySubProj of application myProject is transitioning from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:53 PM CDT> <Info> <Deployer> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024693312> <BEA-149060> <Module mySubProj of application myProject successfully transitioned from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 14, 2011 1:24:54 PM CDT> <Warning> <HTTP> <brksvw379> <AdminServer> <[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac> <1316024694451> <BEA-101162> *<User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! File not found.*
    java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! File not found
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:294)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! File not found
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:227)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: java.io.FileNotFoundException: File not found
    at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:117)
         at java.util.jar.JarFile.<init>(JarFile.java:135)
         at java.util.jar.JarFile.<init>(JarFile.java:72)
         at com.sun.faces.facelets.util.Classpath.getAlternativeJarFile(Classpath.java:262)
         at com.sun.faces.facelets.util.Classpath.search(Classpath.java:115)
         at com.sun.faces.facelets.util.Classpath.search(Classpath.java:92)
         at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.loadURLs(MetaInfFacesConfigResourceProvider.java:159)     
    at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.getResources(MetaInfFacesConfigResourceProvider.java:107)
         at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1096)
         at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1064)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:642)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:309)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    I did some more research and found out that method loadURLs of class MetaInfFacesConfigResourceProvider.java is throwing IOException. Is this some kind of class path issue? Please help!
    private Collection<URL> loadURLs(ServletContext context) throws IOException {
    154
    155 Set<URL> urls = new HashSet<URL>();
    156 for (Enumeration<URL> e = Util.getCurrentLoader(this).getResources(META_INF_RESOURCES); e.hasMoreElements();) {
    157 urls.add(e.nextElement());
    158 }
    159 urls.addAll(Arrays.asList(Classpath.search("META-INF/", ".faces-config.xml")));
    160 // special case for finding taglib files in WEB-INF/classes/META-INF
    161 Set paths = context.getResourcePaths(WEB_INF_CLASSES);
    162 if (paths != null) {
    163 for (Object path : paths) {
    164 String p = path.toString();
    165 if (p.endsWith(".taglib.xml")) {
    166 urls.add(context.getResource(p));
    167 }
    168 }
    169 }
    170 return urls;
    171
    172 }
    173
    Edited by: user12054715 on Sep 14, 2011 2:13 PM

    I did a couple of things ( gathered from various posts on OTN). I am not sure which one did the trick but the error is gone now. I am mentioning the steps that I took. Later when I have more time, I will narrow down to exactly what worked.
    1. The following was missing from my web.xml (Thanks Rene!) Added it
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    2. Removed any mention of 'Anonymous-User' from Jazn-data.xml.
    Application tab -> Secure -> Configure ADF Security -> Jazn-data.xml (source tab and removed block of code referring to anonymous user)
    Hope this will help others.

  • Report Job failed when Bursting is used in BI Publisher 11.1.1.5

    The Report Job failed when Bursting is used.
    error message:
    [INSTANCE_ID=aimedap1s.1347261753557] [OUTPUT_ID=1421][ReportProcessor]Error rendering documentoracle.xdo.servlet.scheduler.ProcessingException: [ReportProcessor]Error rendering document
    at oracle.xdo.enterpriseScheduler.bursting.BurstingReportProcessor.renderReport(BurstingReportProcessor.java:455)
    at oracle.xdo.enterpriseScheduler.bursting.BurstingReportProcessor.onMessage(BurstingReportProcessor.java:127)
    at oracle.xdo.enterpriseScheduler.util.CheckpointEnabl
    the reproduce steps :
    1. Create a Bursting query in the Data Model
    2. Create Report Job with the option
    "Use Bursting Definition to Determine Output & Delivery Destination" enabled
    3.Schedule the report Job
    4. run the report and found the status of it is problem, the error message above can be found.
    *Note:not all the report job failed when bursting is used, in step1 when set OUTPUT_FORMAT as PDF,HTML,RTF,PowerPoint 2007,
    the report will be run successfully,but when set other OUTPUT_FORMAT that list in the following document, the report can not run successfully.
    http://docs.oracle.com/cd/E21764_01/bi.1111/e18862/T527073T555155.htm
    Adding Bursting Definitions>>Defining the Query for the Delivery XML
    >>OUTPUT_FORMAT
    Can anyone give some advice on how to troubleshooting it?
    Looking forward for your reply
    Regards

    Hello vma.
    I happened to find the solution on 11.1.1.3. With xdo-server.jar, you can use DataProcessor class.
    For details and sample source code:
    http://blog-koichiro.blogspot.com/2011/11/bi-publisher-java-apigenerate-pdf-with.html
    * Not sure if it works on 11.1.1.5 though, I hope this gonna help you.

  • Regarding Background Job scheduling for file to file scenario

    Hi Guru's
    Good morining all of u
    I have one doubt on ...
    can we do background job scheduling for file to file scenario?
    Please give me response as early as possible.
    thanks and regards
    sai

    background jobscheduling for file adapter...
    you can schedule the file adapter according to your requirement as follows:
    In the  Communication Channel Monitoring Locate the link Availability Time Planning,  In Availability Time Planning, choose the Availability time as daily and say create, give the time details, select the communication channel in your case file adapter , goto the Communication Channels tab and filter and add the respective channel, save it
    /people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-

  • How I can diable in firefox dialog box "download error could not be saved, because the source file could not be read. " when file not downloaded

    How I can diable in firefox dialog box "download error could not be saved, because the source file could not be read. " standart download manager when file not downloaded

    It is possible that anti-virus software is corrupting downloaded files or is interfering otherwise.
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See:
    *http://kb.mozillazine.org/Unable_to_save_or_download_files
    You can try to set the browser.download.manager.scanWhenDone pref on the <b>about:config</b> page to false.
    *http://kb.mozillazine.org/about:config

  • Afer background job finished, spool was not generated

    hi all
    Afer background job finished, spool was not generated but all background jobs is not
    soem background jobs was created spool.
    even if same user and same backgorund job, sometime generated spool or not.
    how can I solve??
    thanks

    Hi,
    Spool will be generated only spool specification wil be defined for that job.
    Select the job go to steps spool specification you can see the device assigned to it.
    Regards
    Ashok

  • If background job fails how to rescheduled it?

    Hi,
    I want to know if background job fails how to rescheduled it and and how find out that it failed.
    thanks.
    sam.

    Hi,
    You need to schedule as earlier.
    Thanks,
    Sriram Ponna.

  • Could not start App Server by psadmin

    ORACLE 10g + Weblogic92 + Tuxedo 91 + PT849+HR89 on REL 5.4 x64, configuration as below:
    Quick-configure menu -- domain: HRDMO
    Features Settings
    ========== ==========
    1) Pub/Sub Servers : No 15) DBNAME :[HRDMO]
    2) Quick Server : No 16) DBTYPE :[ORACLE]
    3) Query Servers : No 17) UserId :[PSAPPS]
    4) Jolt : Yes 18) UserPswd :[PSAPPS]
    5) Jolt Relay : No 19) DomainID :[HR89DMO]
    6) WSL : No 20) AddToPATH :[.]
    7) PC Debugger : Yes 21) ConnectID :[people]
    8) Event Notification: Yes 22) ConnectPswd:[peop1e]
    9) MCF Servers : No 23) ServerName :[]
    10) Perf Collator : No 24) WSL Port :[7000]
    11) Analytic Servers : Yes 25) JSL Port :[9000]
    12) Domains Gateway : No 26) JRAD Port :[9100]
    DomainID "HR89DMO" is both my app server & db server name.
    I can connect DB use sqlplus by people/peop1e, there also exists PSAPPS in table PSOPRDEFN, checked PSROLEUSER table, PSAPPS own 4 roles: AppServer Administrator/EOPP_USER/PAPP_USER/PeopleSoft User
    I also confirm the password is same as PSAPPS, but when trying to boot app server via ./psadmin, error message as below:
    INFO: BEA Tuxedo, Version 9.1, 32-bit, Patch Level (none)
    INFO: Serial #: 650522264137-2065448083901, Expiration NONE, Maxusers 1000000
    INFO: Licensed to: Oracle-Peoplesoft-ISV
    Booting server processes ...
    exec PSWATCHSRV -A -- -ID 191835 -C psappsrv.cfg -D HR89DMO -S PSWATCHSRV :
    process id=27608 ... Started.
    exec PSAPPSRV -s@../psappsrv.lst -s@../psqcksrv.lst -sICQuery -sSqlQuery:SqlRequest -- -C psappsrv.cfg -D HR89DMO -S PSAPPSRV :
    CMDTUX_CAT:1685: ERROR: Application initialization failure
    tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error handler
    exec tmshutdown -qy
    ==============ERROR!================
    Boot attempt encountered errors!. Check the TUXEDO log for details.
    ==============ERROR!================
    Do you wish to see the error messages in the APPSRV.LOG file? (y/n) [n] :Y
    PSADMIN.27566 (0) [05/16/12 18:11:05](0) Begin boot attempt on domain HRDMO
    PSWATCHSRV.27608 (0) [05/16/12 18:11:15] Checking process status every 120 seconds
    PSWATCHSRV.27608 (0) [05/16/12 18:11:15] Server started
    PSAPPSRV.27609 (0) [05/16/12 18:11:19](0) PeopleTools Release 8.49 (Linux) starting
    PSAPPSRV.27609 (0) [05/16/12 18:11:20](0) Cache Directory being used: /app/pt849/appserv/HRDMO/CACHE/PSAPPSRV_1/
    PSAPPSRV.27609 (0) [05/16/12 18:11:20](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora (200,0)
    PSAPPSRV.27609 (0) [05/16/12 18:11:20](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database HRDMO with user PSAPPS.
    PSAPPSRV.27609 (0) [05/16/12 18:11:20](0) Server failed to start
    PSWATCHSRV.27608 (0) [05/16/12 18:11:21] Shutting down
    PSADMIN.27566 (0) [05/16/12 18:11:27](0) End boot attempt on domain HRDMO
    Do you wish to see the error messages in the TUXLOG.051612 file? (y/n) [n] :n
    I tried PS/PS, but also error message Could not sign on to database HRDMO with user PS.
    Anyone can advise how to check this? thank you very much.
    Andy

    Thank you Nicolas,
    really can see the error message
    [psofthr@hr89dmo HRDMO]$ vi stderr
    dlopen in libpscompat failed for 'libpsora.so': libclntsh.so.9.0: cannot open shared object file: No such file or directory
    Since there is no 11.1 version for linclntsh.so file in /lib32, hence, use 10.1 instead. after ln -s, 2 files are linked.
    [oracle@hr89dmo lib]$ ln -s $ORACLE_HOME/lib32/libclntsh.so.10.1 libclntsh.so.9.0
    [oracle@hr89dmo lib]$ ll libc*
    -rw-r----- 1 oracle oinstall 5645096 Oct 17 2005 libclient10.a
    lrwxrwxrwx 1 oracle oinstall 53 May 6 19:19 libclntsh.so -> /app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    -rwxr-x--- 1 oracle oinstall 20173100 May 6 19:19 libclntsh.so.10.1
    lrwxrwxrwx 1 oracle oinstall 55 May 16 19:50 libclntsh.so.9.0 -> /app/oracle/product/10.2.0/db_1/lib32/libclntsh.so.10.1
    then try again, still same error for app log and STDERR file
    dlopen in libpscompat failed for 'libpsora.so': libclntsh.so.9.0: cannot open shared object file: No such file or directory
    Would you please kindly advise where is the problem? the link is incorrect?
    Thank you
    Andy

  • Emdedding a pdf file generated on app server in a peoplesoft page

    All,
    I have a requirement to embed a pdf file on the app server in a peoplesoft page.
    I am planning to do a push the file to the webserver using put attachment and then add a reference to the image in an html area on the page.
    However, I need to position the pdf document when the page is displayed as the html area is smaller than the pdf document such that the middle part of the document is shown to the user. This is required so that the user does not have to sroll to that position.
    Is there a way to do this ?

    What is the PeopleTools version and application version you are using.
    Jayaprakash Tedla

  • CL_GUI_PDFVIEWER and files from the App server

    Hi,
    I would liek to use the class CL_GUI_PDFVIEWER  to read files from the app server (transaction AL11) and then to present them.
    it is easy to use the local machine files.
    how can I use the method open_document with a file from there?
    Thanks,
    Itay

    Thanks for the help.
    I tried what you suggested but I get a dump for some reason.
    Can you help?
    This is the dump:
    Exception condition "SYSTEM_FAILURE" raised.
         Program                                      SAPLOLEA                    
         Include                                      LOLEAU10                    
         Row                                          358                         
         Module type                                  (FUNCTION)                  
         Module Name                                  AC_FLUSH_CALL_INTERNAL      
    This is the program:
    REPORT zpdftest .
    DATA: g_html_viewer     TYPE REF TO cl_gui_html_viewer,
          my_main_container TYPE REF TO cl_gui_custom_container,
          entry1(100) TYPE c,
          entry2(100) TYPE c.
    DATA: okcode TYPE sy-ucomm,
          gt_pdf TYPE STANDARD TABLE OF string,
          wa_pdf TYPE string,
          g_url(2048)  TYPE c
    START-OF-SELECTION.
      SET SCREEN 100.
    *&      Module  pbo_0100  OUTPUT
    MODULE pbo_0100 OUTPUT.
      SET PF-STATUS 'STATUS100'.
      SET TITLEBAR  'TITLE100'.
      IF my_main_container IS INITIAL.
        CREATE OBJECT my_main_container
          EXPORTING
            container_name = 'CUSTOM_CNTL'
          EXCEPTIONS
            cntl_error     = 1
            OTHERS         = 2.
        CHECK sy-subrc IS INITIAL.
        CREATE OBJECT g_html_viewer
          EXPORTING
            parent             = my_main_container
          EXCEPTIONS
            cntl_error         = 1
            cntl_install_error = 2
            dp_install_error   = 3
            dp_error           = 4
            OTHERS             = 5
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        DATA: lv_filename TYPE rlgrap-filename.
        lv_filename = '/PBMGUS/UXA/ABAP/TEST.PDF'.
        OPEN DATASET lv_filename FOR INPUT
                     IN BINARY MODE
        WHILE sy-subrc IS INITIAL.
          READ DATASET  lv_filename  INTO wa_pdf.
          IF NOT sy-subrc IS INITIAL.
            EXIT.
          ENDIF.
          APPEND wa_pdf TO gt_pdf.
        ENDWHILE.
        CLOSE DATASET lv_filename.
        CALL METHOD g_html_viewer->load_data
          EXPORTING
            type                 = 'application'
            subtype              = 'pdf'
          IMPORTING
            assigned_url         = g_url
          CHANGING
            data_table           = gt_pdf
          EXCEPTIONS
            dp_invalid_parameter = 1
            dp_error_general     = 2
            cntl_error           = 3
            OTHERS               = 4
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        CALL METHOD g_html_viewer->show_url
          EXPORTING
            url                    = g_url
          EXCEPTIONS
            cntl_error             = 1
            cnht_error_not_allowed = 2
            cnht_error_parameter   = 3
            dp_error_general       = 4
            OTHERS                 = 5
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
    ENDMODULE.                 " pbo_0100  OUTPUT
    *&      Module  pai_0100  INPUT
    MODULE pai_0100 INPUT.
      CASE okcode.
        WHEN 'BACK'.
          LEAVE to screen 0.
        WHEN OTHERS.
          CALL METHOD cl_gui_cfw=>dispatch.
      ENDCASE.
      CLEAR okcode.
    ENDMODULE.                 " pai_0100  INPUT

Maybe you are looking for

  • I'm having trouble downloading iTunes to Windows 8!

    So I click download iTunes, and then it asks me where I want to save the setup file and I click save, and then usually it appears in my downloads file and I can double click on it and then it says run, save, or cancel. This time after I clicked save,

  • How do you approve/forward an Expense Report thats fallen into ERROR?

    How do you approve/forward an Expense Report thats fallen into Systems Administration Action status -"ERROR" (or Expense Status Code)? When I try logging into IE Audit manager responsibility half the buttons described in the doc: http://download.orac

  • How to break the PDF file into images?

    How to break the PDF file into images? There should be settings in Photoshop CS 6 that imports PDF file and break it into images.  I have a short instruction: 2.    Open the file in Photoshop. 3.    A new window should open to Import PDF.  Click on i

  • Flash CC to canvas and spreading code over several frames

    I know about the relationship between flash and CreateJS, and I know that I could step away from the flash interface for A LOT of what I'm after and simply use it to create a nifty library of assets and have all my javascript as external files. That'

  • AME Sync Settings

    Hi, The option to export a file with the AME presets is great. Would be even better if we could put them in the cloud, and have the "sync settings" function in AME as well as it exists in Premiere Pro and After Effects. Furthermore why not unify the