Error in scheduling Background session

Hi All,
I have used RFBIBL00 to create a Batch input session .
I am able to process the session in fore ground.
when i try it in background.I am getting an error message as
"Unable to schedule Session z*".
plz guide me reg this.
thanks.
albert.

If you are able to see the session on transaction SM35, check if it has any transactions in the session. It could be the case that the session was created but there are no transactions in it.
- Guru

Similar Messages

  • Error in Schedule Background Job for Deadline Monitoring of swu3

    While Auto Customization swu3 i am getting error message 'Output device "" not known' in 'Schedule Background Job for Deadline Monitoring'
    Please advice what could be cause of it

    the earlier problem of background job was solved by changing the  output device assigned to user wf-batch .
    regarding the transport request :
    when i was trying to execute the step : "Schedule bakgrd for missed deadlines " MANUEL it was giving me an option of SAVE AND SCHEDULE . which was creating the transport request . but when i executed it automatically it worked fine without asking a request to me ... i don't know why )-: ... probablly we can specify a different interval then the standard of three minutes and which will be transported (it's just a guess) . i have  executed it  automatically ...
    well thanks all for u r help

  • Error while scheduling Background Job for User/Role Full Synchronization

    Hi all,
    We have installed RAR 5.3 Component and uploaded the authorization data & established the connectors to the backend system.
    We have performed all the post installation activities and everything is complete.
    When we have scheduled User -Full Synchronization with the Back End system as  a part of Post Installation Activity we are receiving the below error message
    "Error while executing the Job:Cannot assign an empty string to host variable 2."
    Also the VIEW LOG/ Terminate Job buttons are disabled  in this screen.
    Can somebody please help us in resolving the above issue
    Thanks and Best Regards,
    Srihari.K

    Hi,
    We are copy pasting the error log (Part as it is huge) below here. We could able to do Full Synch for Roles and also for Profiles. Only for User Synch we are getting this error and none of the users are sychronized to RAR
    Jan 13, 2009 12:34:27 AM com.virsa.cscext.dao.CSCDAO populateGenObjUser
    INFO: Update user WILSONA of HL2-QAHR
    Jan 13, 2009 12:34:27 AM com.virsa.cscext.dao.CSCDAO populateGenObjUser
    INFO: Update user WINDC of HL2-QAHR
    Jan 13, 2009 12:34:27 AM com.virsa.cscext.dao.CSCDAO populateGenObjUser
    INFO: Update user WLADICHJ of HL2-QAHR
    Jan 13, 2009 12:34:27 AM com.virsa.cscext.dao.CSCDAO populateGenObjUser
    INFO: Update user WUK of HL2-QAHR
    Jan 13, 2009 12:34:27 AM com.virsa.cscext.dao.CSCDAO populateGenObjUser
    INFO: Update user ZENGS of HL2-QAHR
    Jan 13, 2009 12:34:27 AM com.virsa.cscext.dao.CSCDAO populateGenObjUser
    INFO: Update user ZHENGL of HL2-QAHR
    Jan 13, 2009 12:34:27 AM com.virsa.cscext.dao.CSCDAO populateGenObjUser
    INFO: All System Flag:false=====Last Batch Flag:true
    Jan 13, 2009 12:34:27 AM com.virsa.cc.xsys.bg.BatchRiskAnalysis loadUserData
    INFO: @@@ User sync completed for params true: Syskey List is [HL2-QAHR]
    Jan 13, 2009 12:34:27 AM com.virsa.cc.xsys.bg.BgJob run
    WARNING: *** Job Exception: Cannot assign an empty string to host variable 2.
    com.sap.sql.log.OpenSQLException: Cannot assign an empty string to host variable 2.
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85)
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124)
         at com.sap.sql.types.VarcharResultColumn.setString(VarcharResultColumn.java:57)
         at com.sap.sql.jdbc.common.CommonPreparedStatement.setString(CommonPreparedStatement.java:511)
         at com.sap.engine.services.dbpool.wrappers.PreparedStatementWrapper.setString(PreparedStatementWrapper.java:355)
         at com.virsa.cscext.dao.CSCDAO.updateIgnoredUserData(CSCDAO.java:1388)
         at com.virsa.cscext.dao.CSCDAO.populateGenObjUser(CSCDAO.java:1169)
         at com.virsa.cc.xsys.bg.BatchRiskAnalysis.populateGenObj(BatchRiskAnalysis.java:868)
         at com.virsa.cc.xsys.bg.BatchRiskAnalysis.insertBAPIUserData(BatchRiskAnalysis.java:142)
         at com.virsa.cc.xsys.bg.BatchRiskAnalysis.loadUserData(BatchRiskAnalysis.java:390)
         at com.virsa.cc.xsys.bg.BatchRiskAnalysis.performBatchSyncAndAnalysis(BatchRiskAnalysis.java:1275)
         at com.virsa.cc.xsys.bg.BgJob.runJob(BgJob.java:402)
         at com.virsa.cc.xsys.bg.BgJob.run(BgJob.java:264)
         at com.virsa.cc.xsys.riskanalysis.AnalysisDaemonBgJob.scheduleJob(AnalysisDaemonBgJob.java:240)
         at com.virsa.cc.xsys.riskanalysis.AnalysisDaemonBgJob.start(AnalysisDaemonBgJob.java:80)
         at com.virsa.cc.comp.BgJobInvokerView.wdDoModifyView(BgJobInvokerView.java:436)
         at com.virsa.cc.comp.wdp.InternalBgJobInvokerView.wdDoModifyView(InternalBgJobInvokerView.java:1225)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)
         at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:337)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:481)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doModifyView(WindowPhaseModel.java:551)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:148)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Jan 13, 2009 12:34:27 AM com.virsa.cc.xsys.bg.BgJob setStatus
    INFO: Job ID: 13 Status: Error
    Jan 13, 2009 12:34:27 AM com.virsa.cc.xsys.bg.BgJob updateJobHistory
    FINEST: --- @@@@@@@@@@@ Updating the Job History -
    2@@Msg is Error while executing the Job:Cannot assign an empty string to host variable 2.
    Jan 13, 2009 12:34:27 AM com.virsa.cc.xsys.bg.dao.BgJobHistoryDAO insert
    INFO: -
    Background Job History: job id=13, status=2, message=Error while executing the Job:Cannot assign an empty string to host variable 2.
    Jan 13, 2009 12:34:27 AM com.virsa.cc.xsys.riskanalysis.AnalysisDaemonBgJob scheduleJob
    INFO: -
    Complted Job =>13----
    Please let us know how to resolve this error
    Thanks and Best Regards,
    Srihari.K

  • Internal error occurs in background job scheduling

    Hi Experts,
    We are facing an error message "Internal error occurs in background job scheduling" while trying to execute a custom report(Z report) in background in SA38.
    Please find the following observation on our side on this message.
    1) This message is not coming for only one report not for others.
    2) SU53 screen shot shows that SE38 check is failed, but the weird thing is not happening for other report.
    3) Persons having SE38 auhtorization are able to run this report.
    Please advise.
    Thanks in advance,
    Viven

    What is the message ID and number? Have you tried OSS search and debugging?
    What does this program do, in a nutshell?

  • Error after scheduling a job in background....

    Hi All,
    I'm trying to schedule background job and i m using code for scheduling  that job for ex-
    CALL FUNCTION 'JOB_OPEN'
          EXPORTING
            jobname          = g_name
          IMPORTING
            jobcount         = number
          EXCEPTIONS
            cant_create_job  = 1
            invalid_job_data = 2
            jobname_missing  = 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.
        IF sy-subrc EQ 0.
          SUBMIT zrb_cc_clc_n_copy VIA JOB g_name NUMBER number TO SAP-SPOOL WITHOUT SPOOL DYNPRO
    WITH DESTINATION = 'HPMISPRT'
    WITH IMMEDIATELY = SPACE
    WITH KEEP_IN_SPOOL = 'X' AND RETURN.
    CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount                          = number
            jobname                           = g_name
           sdlstrtdt                         = sdate
           sdlstrttm                         = stime
            strtimmed                         = 'X'
    IMPORTING
      JOB_WAS_RELEASED                  =
    CHANGING
      RET                               =
         EXCEPTIONS
           cant_start_immediate              = 1
           invalid_startdate                 = 2
           jobname_missing                   = 3
           job_close_failed                  = 4
           job_nosteps                       = 5
           job_notex                         = 6
           lock_failed                       = 7
           invalid_target                    = 8
           OTHERS                            = 9
        IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    Still i am getting error message in job overview status cancelled
    Thanx in advance
    N.s

    check in transaction SM37 why this particular job was cancelled

  • Background scheduling the sessions

    hi,
    i want to schedule the session in background without going to sm35.  i want to schedule it using rsbdcsub please give some idea or some code

    hi,
    After calling FM BDC_CLOSE_GROUP for closing the session, process that session without going to SM35 with submit instruction.
    here p_v_group is session name, which have been passed in FM BDC_OPEN_GROUP
    *SUBMIT rsbdcsub
                  WITH mappe EQ p_v_group
                  WITH logall EQ c_x
                   AND RETURN.*
    Reward points if it is helpful.
    Regards,
    Srilatha

  • How to deactivate *Schedule Background Job for Work Items with Errors* SWU3

    Hello Guys,
    Can any one tell me how do I DEACTIVATE Schedule Background Job for Work Items with Errors in sap workflow SWU3.
    Currently it is green which I don't want. I want to stop this service.
    Regards
    NK

    Hello,
    You could also just stop the job in tx SM37.
    But why would you want to do this? As a test?
    regards
    Rick Bakker
    hanabi technology

  • Transaction ME21n (Will not run as a BACKGROUND SESSION)

    The requirement is to generate Purchase Orders (Stock Transport Orders to be precise).
    The RFC has to create a session which will be executed...say...before midnight to generate the sto (TC -> SM35).
    I have used BDC inside my RFC calling the transaction ME21n. It runs fine as a foreground session, but will give a error if the session is run as a background session (Due to the dropdown lists in ME21n I guess).
    The solution I figured out is to use ME21. This does execute in the background successfully.
    But given the fact that ME21 is the OLD transaction and ME21n (enjoy sap transaction, right?) to be the one to be used now, my dilemma is in choosing ME21 and risk the scenario of this transaction being obsolete and not supported the SAP for technical support in the future.
    Can any body please help me on this.
    Thank you.
    Message was edited by: Sai Sanathan

    hello,
    with transaction VL10BATCH you can create new variants, and shedule background jobs. This should work.
    However, you need another user role. (on the last tab of the selection screen of VL10B)
    It is the F code profile you have to change. With this profile you can choose whether a list needs to be shown, or whether the deliveries have to be created right away (without showing the list). The second option should work in background. After delivery creation, you can check the   log using transaction V_SA.
    So you need to create a selection variant with changed user-role for the backround job.
    You can maintain user-roles via transaction VL10CUA.
    You can input-enable user-role via transaction VL10CUV.
    If you don't want the users to be able to run VL10B without showing the list, you have to create your own scenario, and use VL10X to start this scenario. Although this is not really necessary.
    I hope this makes things more clear for you.
    regards,
    Joris.
    Here is a copy of the OSS-note (310022) I was talking about:
    Symptom                                                                               
    o  For regular planning, you want to transfer the delivery creation
           in a job to the system administration. Here, you have           
           difficulties.                                                                               
    o  Background processing of Transaction VL10* does not generate    
           deliveries but only a list in the spool.                                                                               
    Additional key words                                                   
    VL10BATCH, VL10A, VL10B, VL10C, VL10D, VL10E                                                                               
    Cause and prerequisites                                                
    Solution                                                               
    For planning the delivery creation in background processing you must                                                                               
    o  activate a user role for immediate creation of deliveries (in the
           standard system, the immediate delivery creation is deactivated 
           for all user roles for reasons of safety),                                                                               
    o  create a selection variant for one of Transactions VL10*.                                                                               
    Activation of the user role for background processing                  
    The user role controls the entire processing of the delivery list.     
    Within Transactions VL10*, you can display and maintain the user role on
    the "User role" tab page. You can carry out the maintenance also via   
    Transaction VL10CUA. Note 301578 describes how to make a user role ready
    for input.                                                             
    An F-code profile is linked to the user role. The F-code profile       
    controls the internal process of the transaction. Two F-code profiles  
    are provided in the standard system:                                                                               
    o  0001 Display delivery list                                                                               
    o  5001 Supply delivery list                                                                               
    In the user role you want to use for background processing, you have to
    replace F-code profile (not "AllowedDialogFCodes") 0001 with profile   
    5001:                                                                               
    1.  Call Transaction VL10CUA for maintenance of the user roles.                                                                               
    2.  You might want to copy one of standard user roles 5001 to 5103 that
        is planned for processing in the background to a separate role in 
        the customer namespace, for example, 9001 or Z***.                                                                               
    3.  Branch to the detail view of the user role and change the entry for
        the F-code profile from "Display delivery list" to "Supply delivery
        list".                                                                               
    Creation of the selection variant                                                                               
    1.  Call the desired Transaction VL10* and branch to the "User role" ta
        page. Do not use Transaction SE38 or VL10BATCH for variant        
        maintenance of VL10*.                                                                               
    2.  Here, enter the user role that you have maintained for background 
        processing.                                                       
        Caution! If you use a user role with an F-code profile for the    
        immediate creation of deliveries, you receive no dialog with a    
        shipping due list but the deliveries are created immediately at the
        start of the selection!                                                                               
    3.  Enter the remaining selection criteria on the various other tab   
        pages.                                                                               
    4.  Select function "Goto -> Variants -> Save as variant..." and save 
        the selection criteria entered as a variant. You might classify the
        variant as "Only for background processing", in order to avoid a  
        start of the delivery creation in the dialog by mistake.                                                                               
    5.  Make sure that the objects of selection screen 1060 have been saved
        and that checkboxes "Save field without values" are not filled with
        all objects (in particular in Release 4.6B) for the desired       
        settings.                                                                               
    You can schedule the selection variant via Transaction VL10BATCH for  
    regular use in the batch.                                             
    And also the OSS-note (301578) about input-enabling user-role:
    SAP Note No. 301578                          22.08.2005           Page 1
    Number              301578                                              
    Version             4 from 08.05.2000                                   
    Status              Released for Customer                               
    Set on              08.05.2000                                                                               
    Language            EN                                                  
    Master language     DE                                                  
    Short text          VL10: Ready to input status of user role                                                                               
    Responsible         SAP AG                                              
    Component           LE-SHP-DL                                           
                        Delivery Processing                                 
    Long text                                                                               
    Symptom                                                                 
    On the selection screen of transaction family VL10*, the selection      
    criteria in the 'user role' tab are no longer ready for input of Release
    4.6C.                                                                               
    They are delivered in the standard SAP system not ready for input.                                                                               
    Additional key words                                                                               
    Cause and prerequisites                                                 
    As of Release 4.6C, the ready for input status in the 'user role' tab is
    linked to settings in the scenario and the user role.                                                                               
    1.  In order to get the ready for input status for the "Role" field, set
        "Allow assignment" to 'X' in the scenario that you are using        
        (Transaction VL10CUV or SM31, V_T186V, T186V-ALLOW_USER_ROLE = 'X').                                                                               
    The system administrator (Customizing authorization) can then       
        determine whether only the user role preset in the system is allowed
        or whether any number of other user roles may also be used for this 
        scenario.                                                                               
    2.  For the check box "Use list profile" and therefore all possible                                                                               
    settings for the "user role" tab, the ready for input status in the
        user role can be allowed in "Chang. attrbute" (changeability of the
        attributes).                                                       
        Set this field with Transaction VL10CUA for the used user role to  
        'X' (Transaction VL10CUA, or SM31, V_T186, t186-CHANGE_ALLOW = 'X').
    Background:                                                                               
    The settings in the scenario and user role have in the course of time  
    become so wide-ranging and far-reaching that an additional feature had 
    to be implemented: a system administrator must be able restrict the    
    changes by the end user at different levels .                                                                               
    You now have the option of determining for every user role whether that
    settings determined on the selection screen may be changed again.      
    You also have the option of determining in every scenario in which this
    user role is used whether the change is allowed for another user role.                                                                               
    In the context of the fixed link of the scenario to a transaction and  
    therefore to the authorization concept of mySAP.com - user-roles can be
    controlled at user level - whether the settings for the user role tab of
    the selection screen of VL10* may be changed by a user or not.                                                                               
    Solution                                                               
    Maintain setting in scenario (VL10CUV) and user role (VL10CU)          
    (Customizing authorization required).

  • Error while Scheduling Java Jobs - IDM

    Hi
    I am getting the below error when I try to schedule a Java Job for every hour or every minute. However the same job runs perfectly fine when I put in On Demand and run it manually. I even tried with the Dummy Job and it spits the same error. Below is the error that I found in the error log.
    Error setting schedule time: Too many nested levels
    Any help is appreciated.
    Thanks
    Sasi Reddy

    Hi,
    I think you have session count problem, you can change your http sessions count and if you have a db system db session count. In additional check your java code do you close the sessions in  java?
    Best regards.

  • Error in triggering background job

    HI, I've been facing an error which a background job is being scheduled. The scenario is something like this ...
    1) A third party schedulling system triggers a SAP job and monitors the progress
    2) In SAP, the master job is been copied with a different user name and then released for processing.
    3) There are multiple jobs which get triggered but there is one job which is causing a problem.
    4) The job makes a copy an stays in a scheduled status without getting released. While i try to manually release the job it give me an error that cannot create record in the database.
    5) Upon checking the system log it gives me this -  Error: INSERT background sched. table(job $$$$).
    There is already an entry for the specified job in the table TBTCS.
    6) While checking the TBTCS table i've found multiple entries out there. Should this table be empty or have information about the runtime of this job.
    Please help as this background job is causing concerns in archiving processess defined.
    Thankx in advance for your help.
    Arvind.

    the earlier problem of background job was solved by changing the  output device assigned to user wf-batch .
    regarding the transport request :
    when i was trying to execute the step : "Schedule bakgrd for missed deadlines " MANUEL it was giving me an option of SAVE AND SCHEDULE . which was creating the transport request . but when i executed it automatically it worked fine without asking a request to me ... i don't know why )-: ... probablly we can specify a different interval then the standard of three minutes and which will be transported (it's just a guess) . i have  executed it  automatically ...
    well thanks all for u r help

  • Error while running Background Sync for User, Roles

    Hi All,
    I get the below errors when i am scheduling background jobs for User and Role Sync
    We have connected another system APO to GRC, we already have ECC running
    for the APO system we used the connectors VirsaXSR3_01 (Metadata, model) for this
    Any ideas why they are failing
    Error while executing the Job:Interface Controller does not exist for Component Instance VirsaXSR3_01 in Component Usage VirsaXSR3_01
    Error while executing the Job:type com.virsa.cc.modelvirsaxsr3_01.types.So_Text001 could not be loaded: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SL
    Thanks

    Hi All,
    Thank you for your inputs, but i figured out the issue with the error,
    Our basis folks actually made the mistake creating JCO's
    They created VIRSAXSR3_02_METADATA & VIRSAXSR3_01_MODEL instead of VIRSAXSR3_01_METADATA & VIRSAXSR3_01_MODEL
    this has been rectified and my background jobs run fine now.
    Thanks

  • Java Heap Error when using Stateless Session Timer Bean deployed in Oracle

    Hi,
    Am getting following Java Heap Error when using Stateless Session Timer Bean deployed in Oracle 10g AS R3 (Oracle Containers for J2EE 10g (10.1.3.0.0) (build 060119.1546.05277) ):
    06/08/02 14:58:43 javax.ejb.EJBException: java.lang.OutOfMemoryError: Java heap space
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:304)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:67)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:45)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:71)
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1624)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:92)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:184)
    06/08/02 14:58:43 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    06/08/02 14:58:43 at java.lang.Thread.run(Thread.java:595)
    06/08/02 14:58:43 Caused by: java.lang.OutOfMemoryError: Java heap space
    I had tried using -Xms / -Xmx options (upto 1 GB).
    The trace of exception gets delayed (from being displayed on the console) as the memory size is increased; but after sometime it starts getting displayed on the console.
    Even though this exception is displayed on the console, the Timer Bean continues to execute upto sometime before it finally crashes!
    If anyone has encountered such problem; would appreciate if you could share the solution.
    Regards, Vidyadhar

    Hi guys, I have the same problem. I have an application EAR file with two modules (EJB and WAR starting in this order). The application can schedule a process via EJB timer. In this case restarting the server I receive the error above. If I change the modules start order --> WAR - EJB the server start correctly, but the application scheduler fails (the persistency is not working) with this error:
    07/10/09 10:30:54 FINISSIMO: TimerTask.runBeanTimer java.lang.NullPointerException; nested exception is: java.lang.NullPointerExceptionjavax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
    java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    javax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
         at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:309)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         ... 9 more
    Any idea?
    Thx Auro

  • How to shedule an abap report to run paralely in more background session

    I wander how to shedule an abap report to run paralely in more background session.
    I am afraid of parallel locking.

    Hi,
    You can schedule different jobs with same program name.
    Use ENQUEUE_ & DEQUEUE_ to lock/unlock the records being process. The lock objects can be created in SE11.
    Best regards,
    Prashant

  • Can we schedule background processing through sm37 for a bdc recordind

    hi all,
    some one please tell me , can we schedule background job processing through sm37,
    for a bdc recording program(table control) .
    the data data is not on the presentation server or application server,
    actually i fetching the data from the data base into a internal table and processing the data
    through me22n t-code through recording and for sto(stock transfer order )update.
    thanks in advance
    sarat

    hi,
    You can do this using function modules 'JOB_OPEN', 'JOB_CLOSED' and SUBMIT statement.
    Please find the below example.
    *Submit report as job(i.e. in background)
    data: jobname like tbtcjob-jobname value
    ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
    host like msxxlist-host.
    data: begin of starttime.
    include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    Job open
    call function 'JOB_OPEN'
    exporting
    delanfrep = ' '
    jobgroup = ' '
    jobname = jobname
    sdlstrtdt = sy-datum
    sdlstrttm = sy-uzeit
    importing
    jobcount = jobcount
    exceptions
    cant_create_job = 01
    invalid_job_data = 02
    jobname_missing = 03.
    if sy-subrc ne 0.
    "error processing
    endif.
    Insert process into job
    SUBMIT zreport and return
    with p_param1 = 'value'
    with p_param2 = 'value'
    user sy-uname
    via job jobname
    number jobcount.
    if sy-subrc > 0.
    "error processing
    endif.
    Close job
    starttime-sdlstrtdt = sy-datum + 1.
    starttime-sdlstrttm = '220000'.
    call function 'JOB_CLOSE'
    exporting
    event_id = starttime-eventid
    event_param = starttime-eventparm
    event_periodic = starttime-periodic
    jobcount = jobcount
    jobname = jobname
    laststrtdt = starttime-laststrtdt
    laststrttm = starttime-laststrttm
    prddays = 1
    prdhours = 0
    prdmins = 0
    prdmonths = 0
    prdweeks = 0
    sdlstrtdt = starttime-sdlstrtdt
    sdlstrttm = starttime-sdlstrttm
    strtimmed = starttimeimmediate
    targetsystem = host
    exceptions
    cant_start_immediate = 01
    invalid_startdate = 02
    jobname_missing = 03
    job_close_failed = 04
    job_nosteps = 05
    job_notex = 06
    lock_failed = 07
    others = 99.
    if sy-subrc eq 0.
    "error processing
    endif.

  • Error while Scheduling Full DB back up?

    Hi gurus,
    I got error while schedule full DB back up. I am follow all the steps.but i got this error.
    1. go to DB13
    2. select Day
    3.select full DB backup
    4.select time
    5.select sid, msdb,inttape,verify backup
    5.add.
    our DB is MS-SQL server Data Base
    client :222   user: admin
    error: User not connected
    2008-04-10 14:28:06.89 Server      Microsoft SQL Server 2005 - 9.00.2047.00 (Intel X86)
         Apr 14 2006 01:12:25
         Copyright (c) 1988-2005 Microsoft Corporation
         Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 1)
    2008-04-10 14:28:06.89 Server      (c) 2005 Microsoft Corporation.
    2008-04-10 14:28:06.89 Server      All rights reserved.
    2008-04-10 14:28:06.89 Server      Server process ID is 308.
    2008-04-10 14:28:06.89 Server      Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
    2008-04-10 14:28:06.89 Server      This instance of SQL Server last reported using a process ID of 308 at 4/10/2008 2:24:10 PM (local) 4/10/2008 8:54:10 AM (UTC). This is an informational message only; no user action is required.
    2008-04-10 14:28:06.89 Server      Registry startup parameters:
    2008-04-10 14:28:06.89 Server            -d C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf
    2008-04-10 14:28:06.89 Server            -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
    2008-04-10 14:28:06.89 Server            -l C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
    2008-04-10 14:28:06.90 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
    2008-04-10 14:28:06.90 Server      Detected 8 CPUs. This is an informational message; no user action is required.
    2008-04-10 14:28:07.06 Server      Set AWE Enabled to 1 in the configuration parameters to allow use of more memory.
    2008-04-10 14:28:07.20 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
    2008-04-10 14:28:07.21 Server      Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
    2008-04-10 14:28:18.89 Server      Attempting to recover in-doubt distributed transactions involving Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
    2008-04-10 14:28:18.89 Server      Database mirroring has been enabled on this instance of SQL Server.
    2008-04-10 14:28:18.89 spid4s      Starting up database 'master'.
    2008-04-10 14:28:18.96 spid4s      Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
    2008-04-10 14:28:19.00 spid4s      SQL Trace ID 1 was started by login "sa".
    2008-04-10 14:28:19.01 spid4s      Starting up database 'mssqlsystemresource'.
    2008-04-10 14:28:19.04 spid4s      The resource database build version is 9.00.2047. This is an informational message only. No user action is required.
    2008-04-10 14:28:19.18 spid4s      Server name is 'ERPPRD'. This is an informational message only. No user action is required.
    2008-04-10 14:28:19.18 spid9s      Starting up database 'model'.
    2008-04-10 14:28:19.29 spid9s      Clearing tempdb database.
    2008-04-10 14:28:19.37 spid9s      Starting up database 'tempdb'.
    2008-04-10 14:28:19.39 spid9s      Analysis of database 'tempdb' (2) is 100% complete (approximately 0 seconds remain). This is an informational message only. No user action is required.
    2008-04-10 14:28:19.40 spid12s     The Service Broker protocol transport is disabled or not configured.
    2008-04-10 14:28:19.40 spid12s     The Database Mirroring protocol transport is disabled or not configured.
    2008-04-10 14:28:19.40 spid12s     Service Broker manager has started.
    2008-04-10 14:28:19.42 Server      A self-generated certificate was successfully loaded for encryption.
    2008-04-10 14:28:19.43 Server      Server is listening on [ 'any' <ipv4> 1433].
    2008-04-10 14:28:19.43 Server      Server local connection provider is ready to accept connection on [
    .\pipe\SQLLocal\MSSQLSERVER ].
    2008-04-10 14:28:19.43 Server      Server named pipe provider is ready to accept connection on [
    .\pipe\sql\query ].
    2008-04-10 14:28:19.43 Server      Server is listening on [ 127.0.0.1 <ipv4> 1434].
    2008-04-10 14:28:19.43 Server      Dedicated admin connection support was established for listening locally on port 1434.
    2008-04-10 14:28:19.43 Server      The SQL Network Interface library could not register the Service Principal Name (SPN) for the SQL Server service. Error: 0x54b. Failure to register an SPN may cause integrated authentication to fall back to NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies.
    2008-04-10 14:28:19.43 Server      SQL Server is now ready for client connections. This is an informational message; no user action is required.
    2008-04-10 14:28:19.48 spid21s     Starting up database 'msdb'.
    2008-04-10 14:28:19.48 spid23s     Starting up database 'SRM'.
    2008-04-10 14:28:19.48 spid22s     Starting up database 'PRD'.
    2008-04-10 14:28:20.29 spid23s     Analysis of database 'SRM' (6) is 100% complete (approximately 0 seconds remain). This is an informational message only. No user action is required.
    2008-04-10 14:28:23.40 spid22s     Analysis of database 'PRD' (5) is 100% complete (approximately 0 seconds remain). This is an informational message only. No user action is required.
    2008-04-10 14:28:23.95 spid4s      Recovery of any in-doubt distributed transactions involving Microsoft Distributed Transaction Coordinator (MS DTC) has completed. This is an informational message only. No user action is required.
    2008-04-10 14:28:23.95 spid4s      Recovery is complete. This is an informational message only. No user action is required.
    2008-04-10 14:28:26.37 spid51      Using 'xpsqlbot.dll' version '2005.90.2047' to execute extended stored procedure 'xp_qv'. This is an informational message only; no user action is required.
    2008-04-10 14:28:26.53 spid51      Using 'xpstar90.dll' version '2005.90.2047' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.
    2008-04-10 14:28:26.57 spid51      Using 'xplog70.dll' version '2005.90.2047' to execute extended stored procedure 'xp_msver'. This is an informational message only; no user action is required.
    2008-04-11 00:00:56.75 spid17s     This instance of SQL Server has been using a process ID of 308 since 4/10/2008 2:28:23 PM (local) 4/10/2008 8:58:23 AM (UTC). This is an informational message only; no user action is required.
    2008-04-11 16:44:23.89 spid112     DBCC CHECKDB (PRD) started at Apr 11 2008  4:44PM with Logfile: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\CCMS_CHECK_DB_HIST_2008.txt
    2008-04-11 16:52:47.53 spid107     DBCC CHECKDB (PRD) started at Apr 11 2008  4:52PM with Logfile: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\CCMS_CHECK_DB_HIST_2008.txt
    2008-04-11 17:00:01.48 spid115     DBCC TRACEON 3605, server process ID (SPID) 115. This is an informational message only; no user action is required.
    2008-04-11 17:00:10.45 spid115     Error: 18204, Severity: 16, State: 1.
    2008-04-11 17:00:10.45 spid115     BackupTapeFile::OpenMedia: Backup device '
    .\tape1' failed to open. Operating system error 2(The system cannot find the file specified.).
    2008-04-11 17:00:10.67 Backup      Unnamed tape was dismounted from drive 'R3DUMP1(
    .\tape1)'. This is an informational message. No user action is required.
    2008-04-11 17:00:10.65 Backup      Error: 3041, Severity: 16, State: 1.
    2008-04-11 17:00:10.65 Backup      BACKUP failed to complete the command BACKUP DATABASE PRD. Check the backup application log for detailed messages.
    2008-04-11 17:00:11.18 Backup      Tape 'Media created 3/29/2007 at 2:43 PM' was dismounted from drive 'R3DUMP0(
    .\tape0)'. This is an informational message. No user action is required.
    2008-04-11 17:00:15.54 spid101     DBCC TRACEON 3605, server process ID (SPID) 101. This is an informational message only; no user action is required.
    2008-04-11 17:00:15.60 spid101     Error: 18204, Severity: 16, State: 1.
    2008-04-11 17:00:15.60 spid101     BackupTapeFile::OpenMedia: Backup device '
    .\tape1' failed to open. Operating system error 2(The system cannot find the file specified.).
    2008-04-11 17:00:15.60 Backup      Unnamed tape was dismounted from drive 'R3DUMP1(
    .\tape1)'. This is an informational message. No user action is required.
    2008-04-11 17:00:15.60 Backup      Error: 3041, Severity: 16, State: 1.
    2008-04-11 17:00:15.60 Backup      BACKUP failed to complete the command BACKUP DATABASE PRD. Check the backup application log for detailed messages.
    2008-04-11 17:00:15.60 Backup      Unnamed tape was dismounted from drive 'R3DUMP0(
    .\tape0)'. This is an informational message. No user action is required.
    2008-04-11 17:02:57.57 spid114     DBCC CHECKDB (PRD) started at Apr 11 2008  5:02PM with Logfile: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\CCMS_CHECK_DB_HIST_2008.txt
    2008-04-11 18:30:37.75 spid112     DBCC CHECKDB (PRD) WITH no_infomsgs executed by NT AUTHORITY\SYSTEM found 0 errors and repaired 0 errors. Elapsed time: 1 hours 46 minutes 14 seconds.
    2008-04-11 18:54:52.10 spid114     DBCC CHECKDB (PRD) WITH no_infomsgs executed by NT AUTHORITY\SYSTEM found 0 errors and repaired 0 errors. Elapsed time: 1 hours 51 minutes 55 seconds.
    2008-04-11 18:55:25.00 spid107     DBCC CHECKDB (PRD) WITH no_infomsgs executed by NT AUTHORITY\SYSTEM found 0 errors and repaired 0 errors. Elapsed time: 2 hours 2 minutes 38 seconds.
    2008-04-12 00:00:30.75 spid17s     This instance of SQL Server has been using a process ID of 308 since 4/10/2008 2:28:23 PM (local) 4/10/2008 8:58:23 AM (UTC). This is an informational message only; no user action is required.
    This is error
      anybody help me.
    Regards,
    balaram
    Edited by: balaram reddy on Apr 14, 2008 8:44 PM

    If your ECC6 is on SP12 and above, use t-code : DBACOCKPIT or DB13OLD
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0dc0752-2502-2a10-2a93-94823467ca79

Maybe you are looking for

  • Dynamic update in Motion

    Hi all, I'm using Apple Motion for the first time in production context for a movie. We're adding snow and mist particles to certain shots. My main concern while working with motion is that every time I change a parameter, Motion processes the whole

  • Color conversion in Acrobat X

    In Acrobat 9 using convert to profile would embed profile and also convert colors so that ink coverage would be within tolerance of profile. I used to use this in V9 to convert ads with a newspaper profile for use in newspapers that have far smaller

  • Display Item Details in approval email

    Hi All, I would like to display 'Item Details' on the shopping cart approval email. Is there any standard program to achieve this. Please provide your inputs. System: SRM 5.0 Regards, Piyush

  • Nautilus in Openbox session

    Hello everyone, In the past I have used Nautilus as my file manager in an Openbox session. After I updated today, Nautilus no longer starts because: "libnotify-WARNING **: Failed to connect to proxy Segmentation fault" I did some googling for the iss

  • I need to NOT advance songs automatically

    hi all! is there a way to have a playlist that will play only ONE song at a time, then stop and wait for me to hit 'play' to start the next song? thanx!