RFC call error with no exception associated.

I'm remotelly calling FM L_TO_CREATE_SINGLE. When the ubication is locked up the FM produces an error which results in lose of contact with the remote system or something like that. What I get is a dump with CALL_FUNCTION_RECEIVE_ERROR.
I've looked at ST22 and there is not associated exception, so I can't catch it.
How can I avoid the dump?
Thanks in advance.

Are you using the communications and system failure exceptions when calling the RFC?
data: lv_message type char255.
example:
CALL FUNCTION 'RFC_XXXXX'
destination 'YYYY'
exceptions
  system_failure = 1 message lv_message.
   communication_failure = 2 message lv_message
A short dump (or any other kind of error for that matter) will be stored in the variable lv_message.
Kind regards,
Micky.

Similar Messages

  • RFC call ended with "Communication Failure" exception (Function call failed; could not find the function

    Hi All,
    I am getting error while executing oDATA service from SAP Netweaver Gateway
    Error details:
    RFC call ended with "Communication Failure" exception (Function call failed; could not find the function
    I am using SAP NG 740
    Project is created in Gateway system using SEGW having Map to Datasource option used.
    in SPRO manage alias, I had seleted Local App option. Screen attached
    I had tried all troubleshooting like delete and add service and alias in "/IWFND_MAINT_SERVICE".
    but still getting same error for all service.
    Kindly advise.
    Regards
    Vivek

    Hello Vivek,
    Service builder would have also generated code for RFC Exception handling to catch exceptions raised when communication fails between your GW and BE for some reasons.
    Handling is done for 1. System Failure 2. Communication Failure & 3. Business Failure;
    Put a BP in your DPC or DP_EXT class where exception code is written to check what exactly is has caused communication failure.
    Check if that RFC is existing in that destination or not.
    For your reference  : Code would be something like this. Put BP here and check the problem.
    * Error and exception handling
    IF lv_subrc <> 0.
    * Execute the RFC exception handling process
       me->/iwbep/if_sb_dpc_comm_services~rfc_exception_handling(
         EXPORTING
           iv_subrc            = lv_subrc
           iv_exp_message_text = lv_exc_msg ).
    ENDIF.
    Go inside this method and check to get info on what has to be done to resolve issue.
    Check carefully what has gone wrong and fix it accordingly.
    No need of adding service & deleting as problem is not because of that.
    Regards,
    Ashwin

  • Receiving error: Terminating app due to uncaught exception 'MFSQLiteException', reason: 'inserting mailbox url' abort() called terminating with uncaught exception of type NSException

    Today, I received this error when I re-added two email accounts that are tied in to my domain. The error is: "Terminating app due to uncaught exception 'MFSQLiteException', reason: 'inserting mailbox url' abort() called terminating with uncaught exception of type NSException"
    Two days ago, at my wits end with email issues, I googled how to Reset Mail.app and followed the recommendation found here: https://discussions.apple.com/thread/2266399?tstart=0
    That's. all. I've. done.
    What should I do correct the error I'm receiving when adding my email accounts?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if iTunes crashed, you would enter "iTunes" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • RFC Call error..

    Hi All XI Expert,
    I am facing an issue with regard to RFC call from an external system.Business flow is like, Purachase Requisition(PR) is created from Ariba system/application which is passed to SAP via TIBCO Adapter to create Purchase order(PO).As per my understanding the data flow is like this: Ariba PR data's are captured by Ariba Adater and are send to TIBCO ADAPTER.This TIBCO adapter will invoke request-response service from SAP Adapter for operation of SAP RFC calling.Now i am able to successfully create PR/PO from Ariba application with amount(more than $10mn with after decimal value as 00) say $12,000,000.00 / $15,000,000.00. But while creating PR/PO from Ariba application with amount (more than $10mn with after decimal value as other than 00 i.e .99, .78, .05 etc) say $12,000,000.99 / $15,000,000.08, it gives below error which are captured in Ariba side, hence unable to create PR/PO's more than $10mn, however for less than $10mn amount of PR/PO with after decimal value as other than 00 i.e .99, .78, .05 etc, it is successfully getting created.So the problem is amount with more than $10mn PO with after decimal value as other than 00 i.e .99, .78, .05 etc.
    Error found in Ariba side for above scenarion:
    " Thu Apr 09 12:21:49 EDT 2009 (integrationExternal:error:4745): Received a Tibco generated message: 2009 Apr 9 12:21:49:079 GMT -5 SAPAdapter.SAInboundRFC.psap1 Error Application AER3-000185 CallReceive failed for operation Z_ARIBA_PO_PUSH; exception : Unable to interpret 1.10000005E7 as a number., RFC error; Group/Key/Message: 104/CONVT_NO_NUMBER/Unable to interpret 1.10000005E7 as a number.
    Where could be the problem?Does it a TIBCO Adapter config/ SAP adapter Problem / SAP RFC code issue?
    FYI....SAP RFC that is getting called doesnot contain any code of "CONVT_NO_NUMBER" .
    Awaiting your reply guys

    The problem is that in case the value of the amount is greater than $10mn, then it is converting the numeric value into exponential number 1.10000005E7. This is a number but when RFC tries to treat it as a number, it is throwing the exception. At sender Ariba system, you may change some configuration to avoid changing of numeric field to exponential field and problem would get resolved.
    Regards,
    Prateek

  • Synch. RFC call error - No Sender Found

    Hi,
    once execute the synchronous RFC call from BPM, rfc response message returns as following;
    <SAP:Code area="RCVR_DETERMINATION">MESSAGE_INCOMPLETE</SAP:Code>
      <SAP:Stack>Message is incomplete. No Sender found</SAP:Stack>
    i've tried adding header mappings at receiver aggreement for bpm's name as sender service and target sap system name as receiver service. Same error.
    Any help is greatly appreciated. Thanks

    Hi,
    >>>>i've tried adding header mappings at receiver aggreement for bpm's name as sender service and target sap system name as receiver service. Same error.
    no need for any header mapping in that case
    just configure the routing correctly - via directory wizard
    and everything will work
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Query erroring with OutOfMemory exception

    Hi,
    When I run this query:
    SELECT VENDPACKINGSLIPTRANS.COSTLEDGERVOUCHER, VENDPACKINGSLIPTRANS.ITEMID, VENDPACKINGSLIPTRANS.INVENTTRANSID,VENDPACKINGSLIPJOUR.PURCHID, VENDPACKINGSLIPTRANS.NAME, VENDPACKINGSLIPTRANS.QTY
    FROM VENDPACKINGSLIPTRANS INNER JOIN
    VENDPACKINGSLIPJOUR ON VENDPACKINGSLIPTRANS.PACKINGSLIPID = VENDPACKINGSLIPJOUR.PACKINGSLIPID
    WHERE (VENDPACKINGSLIPTRANS.DATAAREAID = 'agl')
    it returns the results in about 12 seconds.
    This one however runs for about 12 minutes before crashing.
    SELECT VENDPACKINGSLIPTRANS.COSTLEDGERVOUCHER, VENDPACKINGSLIPTRANS.ITEMID, VENDPACKINGSLIPTRANS.INVENTTRANSID,VENDPACKINGSLIPJOUR.PURCHID, VENDPACKINGSLIPTRANS.NAME, VENDPACKINGSLIPTRANS.QTY
    FROM VENDPACKINGSLIPTRANS INNER JOIN
    VENDPACKINGSLIPJOUR ON VENDPACKINGSLIPTRANS.PACKINGSLIPID = VENDPACKINGSLIPJOUR.PACKINGSLIPID
    WHERE (VENDPACKINGSLIPTRANS.DATAAREAID = 'agp')
    As it runs I can see that file C:\Users\carronp\AppData\Local\Temp\2\tmp55B3.tmp grows to over 4GB.
    When it crashes it throws the following error:
    An error occurred while executing batch. Error message is: Exception of type 'System.OutOfMemoryException' was thrown.
    My The data file of my database is on D:\ and the log file is on L:\ so I can't see why C:\ would be getting filled.
    Has anybody seen an issue like this before?
    Cheers
    Paul

    Paul 
    What if you create a procedure that accepts parameters , for  example
    CREATE PROCEDURE sp1
    @Par VARCHAR(5)
    AS
    SELECT VENDPACKINGSLIPTRANS.COSTLEDGERVOUCHER, VENDPACKINGSLIPTRANS.ITEMID, VENDPACKINGSLIPTRANS.INVENTTRANSID,VENDPACKINGSLIPJOUR.PURCHID, VENDPACKINGSLIPTRANS.NAME, VENDPACKINGSLIPTRANS.QTY
    FROM VENDPACKINGSLIPTRANS INNER JOIN
    VENDPACKINGSLIPJOUR ON VENDPACKINGSLIPTRANS.PACKINGSLIPID = VENDPACKINGSLIPJOUR.PACKINGSLIPID
    WHERE (VENDPACKINGSLIPTRANS.DATAAREAID = @Par)
    EXEC sp1 @Par='agp'
    EXEC sp1 @Par='agl'
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • JPA error with nested exception for more details

    Hi All,
    A strange thing is that when i can deploy javaee app successfully. But some time, it is failed and i have to wait for 10, 15 minutes then i can deploy again. When i got error, below is the error message:
    I don't know if you can find a hint.
    INFO: EclipseLink, version: Eclipse Persistence Services - 2.3.2.v20111125-r10461
    SEVERE: Local Exception Stack:
    Exception [EclipseLink-4019] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseException
    Exception Description: Error while obtaining information about the database. Refer to the nested exception for more details.
                    at org.eclipse.persistence.exceptions.DatabaseException.errorRetrieveDbMetadataThroughJDBCConnection(DatabaseException.java:361)
                    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:602)
                    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:206)
                    at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:488)
                    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:188)
                    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:277)
                    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:294)
                    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:272)
                    at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:211)
                    at org.glassfish.persistence.jpa.PersistenceUnitLoader.<init>(PersistenceUnitLoader.java:120)
                    at org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:224)
                    at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:495)
                    at org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:233)
                    at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:168)
                    at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:871)
                    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
                    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
                    at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
                    at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
                    at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
                    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
                    at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
                    at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
                    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
                    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
                    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
                    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
                    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
                    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
                    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
                    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
                    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
                    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
                    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
                    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
                    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
                    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
                    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.sql.SQLRecoverableException: Closed Connection
                    at oracle.jdbc.driver.PhysicalConnection.getMetaData(PhysicalConnection.java:4508)
                    at com.sun.gjc.spi.base.ConnectionHolder.getMetaData(ConnectionHolder.java:345)
                    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:589)
                    ... 42 more
    SEVERE: Exception while invoking class org.glassfish.persistence.jpa.JPADeployer prepare method
    SEVERE: Exception while preparing the app
    SEVERE: Exception [EclipseLink-4019] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseException
    Exception Description: Error while obtaining information about the database. Refer to the nested exception for more details.
    javax.persistence.PersistenceException: Exception [EclipseLink-4019] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseException
    Exception Description: Error while obtaining information about the database. Refer to the nested exception for more details.
                    at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:517)
                    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:188)
                    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:277)
                    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:294)
                    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:272)
                    at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:211)
                    at org.glassfish.persistence.jpa.PersistenceUnitLoader.<init>(PersistenceUnitLoader.java:120)
                    at org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:224)
                    at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:495)
                    at org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:233)
                    at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:168)
                    at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:871)
                    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
                    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
                    at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
                    at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
                    at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
                    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
                    at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
                    at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
                    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
                    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
                    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
                    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
                    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
                    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
                    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
                    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
                    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
                    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
                    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
                    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
                    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
                    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
                    at java.lang.Thread.run(Thread.java:619)
    Caused by: Exception [EclipseLink-4019] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseException
    Exception Description: Error while obtaining information about the database. Refer to the nested exception for more details.
                    at org.eclipse.persistence.exceptions.DatabaseException.errorRetrieveDbMetadataThroughJDBCConnection(DatabaseException.java:361)
                    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:602)
                    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:206)
                    at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:488)
                    ... 40 more
    Caused by: java.sql.SQLRecoverableException: Closed Connection
                    at oracle.jdbc.driver.PhysicalConnection.getMetaData(PhysicalConnection.java:4508)
                    at com.sun.gjc.spi.base.ConnectionHolder.getMetaData(ConnectionHolder.java:345)
                    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:589)
                    ... 42 more
    SEVERE: Exception while preparing the app : Exception [EclipseLink-4019] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseException
    Exception Description: Error while obtaining information about the database. Refer to the nested exception for more details.
    Local Exception Stack:
    Exception [EclipseLink-4019] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseException
    Exception Description: Error while obtaining information about the database. Refer to the nested exception for more details.
                    at org.eclipse.persistence.exceptions.DatabaseException.errorRetrieveDbMetadataThroughJDBCConnection(DatabaseException.java:361)
                    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:602)
                    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:206)
                    at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:488)
                    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:188)
                    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:277)
                    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:294)
                    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:272)
                    at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:211)
                    at org.glassfish.persistence.jpa.PersistenceUnitLoader.<init>(PersistenceUnitLoader.java:120)
                    at org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:224)
                    at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:495)
                    at org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:233)
                    at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:168)
                    at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:871)
                    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
                    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
                    at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
                    at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
                    at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
                    at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
                    at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
                    at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
                    at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
                    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
                    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
                    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
                    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
                    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
                    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
                    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
                    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
                    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
                    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
                    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
                    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
                    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
                    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
                    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.sql.SQLRecoverableException: Closed Connection
                    at oracle.jdbc.driver.PhysicalConnection.getMetaData(PhysicalConnection.java:4508)
                    at com.sun.gjc.spi.base.ConnectionHolder.getMetaData(ConnectionHolder.java:345)
                    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:589)
                    ... 42 morethanks,
    -Hoang Long

    r035198x wrote:
    Yep, the appserver got hold of a usable connection but the connection was closed before the appserver had finished/committed with it. It could be that the connection was closed by the database or some firewall timeout setting.
    A good start is to investigate options of configuring your appserver's connection eviction policies including forcing a validation SQL to be executed when a connection is acquired. Make sure that such a query doesn't impact on performance and have some performance and integration testing before rolling out.i found that if i close the computer which causes this issue, hence other dev computers can deploy normally.
    "deploy" here i mean deploy to a running instance on each dev's machine.
    From this, i would guess the common database server itself rejects connection from clients.
    I will try to investigate more if i am missing something.
    And here i found a link that possibly a first good attempt:
    [http://www.eclipse.org/forums/index.php/m/505809/]
    EclipseLink automatically recovers from communication failures, but there is little we can do to diagnose the failure. We basically execute a query and have to wait for the JDBC driver, or DataSource's response, if it hangs for 10minutes, then we are waiting. You could set the JDBC timeout hint on your query, but whether the JDBC driver honors this is up to the driver. You should see the SQLException in your logs, provided your log level is warning or lower.
    If you cannot fix your firewall, they you could change your connection pool settings to use a min number of connections of 0, so there will never be idle connections. But then you will be reconnecting a lot.
    You could also use a third party connection pool or DataSource that supports a timeout setting on the pooled connections, or spawn a thread in your application the clears the connection pool every 30minutes.regards,
    -HL

  • RFC Call Error - from Portal End - For ESS Personal Information service

    Hi,
    I am getting "Syntax error in program SAPLHRXSS_PER_MAC                       ., error key: RFC_ERROR_SYSTEM_FAILURE  " error Message on the portal (ESS--->Personal Information Screen).
    When I did RFC trace analysis (using ST 22) this is what i get.
    Can you let me know what could be the issue.
    We are running HR Backend(Support Pack 15,ecc 5.0).
    Portal (EP 6.0 SP19, ESS 100 (SP 10)).
    Could you please let me know what could be the issue ?
    Syntax error in program "SAPLHRXSS_PER_MAC ".
         What happened?
              Error in ABAP application program.
              The current ABAP program "SAPMSSY1" had to be terminated because one of the
              statements could not be executed.
              This is probably due to an error in the ABAP program.
              In program "SAPLHRXSS_PER_MAC ", the following syntax error occurred
              in the Include "IF_HRPA_PERNR_INFTY_XSS=======IU " in line 114:
              "The type "HRXSS_PER_SUPPLD_SUBTY_INFO_T" is unknown."
              Author and last person to change the Include are:
              Author "SAP "
              Last changed by "C5069405 "
         What can you do?
              Please eliminate the error by performing a syntax check
              (or an extended program check) on the program "SAPLHRXSS_PER_MAC ".
              You can also perform the syntax check from the ABAP/4 Editor.
              If the problem persists, proceed as follows:
              Print out the error message (using the "Print" function)
              and make a note of the actions and input that caused the
              error.
              To resolve the problem, contact your SAP system administrator.
              You can use transaction ST22 (ABAP Dump Analysis) to view and administer
               termination messages, especially those beyond their normal deletion
              date.
              is especially useful if you want to keep a particular message.
         Error analysis
              In program "SAPLHRXSS_PER_MAC ", the following syntax error occurred:
              "The type "HRXSS_PER_SUPPLD_SUBTY_INFO_T" is unknown."
         How to correct the error
              Probably the only way to eliminate the error is to correct the program.
              If you cannot solve the problem yourself and you wish to send
              an error message to SAP, include the following documents:
              1. A printout of the problem description (short dump)
                 To obtain this, select in the current display "System->List->
                 Save->Local File (unconverted)".
              2. A suitable printout of the system log
                 To obtain this, call the system log through transaction SM21.
                 Limit the time interval to 10 minutes before and 5 minutes
                 after the short dump. In the display, then select the function
                 "System->List->Save->Local File (unconverted)".
              3. If the programs are your own programs or modified SAP programs,
                 supply the source code.
                 To do this, select the Editor function "Further Utilities->
                 Upload/Download->Download".
              4. Details regarding the conditions under which the error occurred
                 or which actions and input led to the error.
         System environment
              SAP Release.............. "640"
              Application server....... "srv006"
              Network address.......... "167.116.230.56"
              Operating system......... "HP-UX"
              Release.................. "B.11.11"
              Hardware type............ "9000/800"
              Character length......... 8 Bits
              Pointer length........... 64 Bits
              Work process number...... 1
              Short dump setting....... "full"
              Database server.......... "srv006"
              Database type............ "ORACLE"
              Database name............ "H81"
              Database owner........... "SAPR3"
              Character set............ "en_US.iso88591"
              SAP kernel............... "640"
              Created on............... "May 21 2006 20:29:01"
              Created in............... "HP-UX B.11.00 A 9000/800"
              Database version......... "OCI_920 "
              Patch level.............. "129"
              Patch text............... " "
              Supported environment....
              Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE
               10.2.0.."
              SAP database version..... "640"
              Operating system......... "HP-UX B.11"
              Memory usage.............
              Roll..................... 16128
              EM....................... 4189928
              Heap..................... 0
              Page..................... 0
              MM Used.................. 629192
              MM Free.................. 3558216
              SAP Release.............. "640"
         User and Transaction
         Information on where terminated
              The termination occurred in the ABAP program "SAPMSSY1" in
               "REMOTE_FUNCTION_CALL".
              The main program was "SAPMSSY1 ".
              The termination occurred in line 68 of the source code of the (Include)
               program "SAPMSSY1"
              of the source code of program "SAPMSSY1" (when calling the editor 680).
         Source Code Extract
         Line     SourceCde
            38     
            39     module %_rfcdia_call output.
            40         "Do not display screen !
            41         call 'DY_INVISIBLE_SCREEN'.
            42         perform remote_function_diacall.
            43     endmodule.
            44     
            45     module %_cpic_start.
            46       if sy-xprog(4) = '%RFC'.
            47         perform remote_function_call using rfctype_external_cpic.
            48       else.
            49         call 'APPC_HD' id 'HEADER' field header id 'CONVID' field convid.
            50         perform cpic_call using convid.
            51       endif.
            52     endmodule.
            53     
            54     
            55     form cpic_call using convid type c.
            56       communication send id convid buffer header.
            57       if sy-subrc eq 0.
            58         perform (sy-xform) in program (sy-xprog).
            59       else.
            60         message a800.
            61       endif.
            62     endform.
            63     
            64     form remote_function_call using value(type).
            65       do.
            66     *   test if sy-xprog and sy-xform are set
            67     *   sy-xform = 'quatsch'. sy-xprog = 'quatsch'.
         >>>>>         call 'RfcImport' id 'Type' field type.
            69         perform (sy-xform) in program (sy-xprog).
            70         rsyn >scont sysc 00011111 0.
            71       enddo.
            72     endform.
            73     
            74     form remote_function_diastart.
            75       do.
            76         call 'RfcImport' id 'Type' field rfctype_rfcdia.
            77         perform (sy-xform) in program (sy-xprog).
            78         "Parking position for next request
            79         rsyn >scont sysc 00011111 10.
            80         "ALternativ : Free mode
            81         "COMMIT WORK.
            82         "SYSTEM-CALL FREE MODE 0.
            83       enddo.
            84     endform.
            85     
            86     form remote_function_diacall.
            87         sy-xcode = '%_@no@'.
         Contents of system fields
         Name     Val.
         SY-SUBRC     0
         SY-INDEX     2
         SY-TABIX     0
         SY-DBCNT     0
         SY-FDPOS     0
         SY-LSIND     0
         SY-PAGNO     0
         SY-LINNO     1
         SY-COLNO     1
         SY-PFKEY     
         SY-UCOMM     
         SY-TITLE     CPIC and RFC Control
         SY-MSGTY     
         SY-MSGID     
         SY-MSGNO     000
         SY-MSGV1     
         SY-MSGV2     
         SY-MSGV3     
         SY-MSGV4     
         Active Calls/Events
         No.   Ty.          Program                             Include                             Line
               Name
             2 FORM         SAPMSSY1                            SAPMSSY1                               68
               REMOTE_FUNCTION_CALL
             1 MODULE (PBO) SAPMSSY1                            SAPMSSY1                               30
               %_RFC_START
         Chosen variables
         Name
             Val.
         No.          2     Ty.      FORM
         Name      REMOTE_FUNCTION_CALL
         %_DUMMY$$
                 2222
                 0000
         SY-REPID
              SAPMSSY1
                 5454555322222222222222222222222222222222
                 310D339100000000000000000000000000000000
         SYST-REPID
              SAPMSSY1
                 5454555322222222222222222222222222222222
                 310D339100000000000000000000000000000000
         %_ARCHIVE
                 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
         TYPE
              3
                 0000
                 0003
         SY-XPROG
              SAPLSYST
                 5454555522222222222222222222222222222222
                 310C393400000000000000000000000000000000
         SY-XFORM
              HRXSS_PER_CLEANUP
                 455555545544444552222222222222
                 82833F052F3C51E500000000000000
         %_SPACE
                 2
                 0
         No.          1     Ty.      MODULE (PBO)
         Name      %_RFC_START
         %_PRINT
                  000                                                                                0 ##
                 2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223200
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
         RFCTYPE_INTERNAL
              3
                 0000
                 0003
         Internal notes
              The termination occurred in the function "ab_genprog" of the SAP
              Basis System, specifically in line 1374 of the module
               "//bas/640_REL/src/krn/runt/abgen.c#10".
              The internal operation just processed is "CALY".
              The internal session was started at 20070502223335.
              Program name.........: "SAPLHRXSS_PER_MAC ".
              Error message........: "The type "HRXSS_PER_SUPPLD_SUBTY_INFO_T" is unknown.".
         Active Calls in SAP Kernel
         Lines of C Stack in Kernel (Structure Differs on Each Platform)
         ( 0)  0x40000000016d6a8c   CTrcStack2 + 0x2bc  [dw.sapH81_DVEBMGS33]
         ( 1)  0x40000000016d67c0   CTrcStack + 0x18  [dw.sapH81_DVEBMGS33]
         ( 2)  0x4000000001d41438   rabax_CStackSave__Fv + 0x100  [dw.sapH81_DVEBMGS33]
         ( 3)  0x4000000001d4dbf8   ab_rabax + 0x1f68  [dw.sapH81_DVEBMGS33]
         ( 4)  0x40000000018cc09c   ab_genprog__FPcPvUii + 0xdbc  [dw.sapH81_DVEBMGS33]
         ( 5)  0x4000000000d3b4cc   newload__FPcP13TmpSubpoolDirUi + 0x29c  [dw.sapH81_DVEBMGS33]
         ( 6)  0x40000000016a7324   ab_LoadProg__FPcUi + 0xec  [dw.sapH81_DVEBMGS33]
         ( 7)  0x40000000016831fc   ab_link + 0x334  [dw.sapH81_DVEBMGS33]
         ( 8)  0x40000000015694d4   ab_rfcimport + 0xccc  [dw.sapH81_DVEBMGS33]
         ( 9)  0x40000000018cff98   ab_jcaly__Fv + 0x598  [dw.sapH81_DVEBMGS33]
         (10)  0x4000000000f98df8   ab_extri__Fv + 0x17a0  [dw.sapH81_DVEBMGS33]
         (11)  0x40000000016ab2d8   ab_xevent__FPCc + 0x38  [dw.sapH81_DVEBMGS33]
         (12)  0x400000000189c9a8   ab_dstep + 0x120  [dw.sapH81_DVEBMGS33]
         (13)  0x4000000000ed4c00   dynpmcal + 0xd0  [dw.sapH81_DVEBMGS33]
         (14)  0x4000000000ed1554   dynppbo0 + 0x1e4  [dw.sapH81_DVEBMGS33]
         (15)  0x4000000000ed0af4   dynprctl + 0x43c  [dw.sapH81_DVEBMGS33]
         (16)  0x4000000000ecb7a0   dynpen00 + 0x2118  [dw.sapH81_DVEBMGS33]
         (17)  0x4000000000fa598c   Thdynpen00 + 0x6a4  [dw.sapH81_DVEBMGS33]
         (18)  0x4000000000fa49b8   TskhLoop + 0x50d8  [dw.sapH81_DVEBMGS33]
         (19)  0x4000000000f999f8   tskhstart + 0x1e0  [dw.sapH81_DVEBMGS33]
         (20)  0x4000000000d42194   DpMain + 0x484  [dw.sapH81_DVEBMGS33]
         (21)  0x400000000220d41c   nlsui_main + 0x14  [dw.sapH81_DVEBMGS33]
         (22)  0x4000000000992794   main + 0x14  [dw.sapH81_DVEBMGS33]
         (23)  0xc000000000020ab0   $START$ + 0xa0  [/usr/lib/pa20_64/dld.sl]
         List of ABAP programs affected
         Index     Ty.     Program     Group     Date     Time     Size     Lang.
              0     Prg     SAPMSSY1          0     06.11.2003     20:53:07         18432     E
              1     Prg     SAPLSYST          1     10.05.2006     09:57:38         30720     E
              2     Typ     SYST          0     04.12.2000     14:54:51         27648     
         Directory of Application Tables
         Name                                     Date       Time       Lngth
             Val.
         Program      SAPMSSY1
         SYST            .  .            :  :          00002404
         ABAP Control Blocks (CONT)
         Index     Name     Fl     PAR0     PAR1     PAR2     PAR3     PAR4     PAR5     PAR6     SourceCde
           118     CLEA     00     0035                                   SAPMSSY1
           119     CLEA     00     0036                                   SAPMSSY1
           120     CLEA     00     0037                                   SAPMSSY1
           121     MESS     00     001C                                   SAPMSSY1
           122     ENDF     00     0000                                   SAPMSSY1
           123     -
         00     0000                                   SAPMSSY1
           124     PERP     00     0001                                   SAPMSSY1
           125     PERP     02     0000                                   SAPMSSY1
           126     WHIL     00     0002     0000     0000     0000     0000     0000     0000     SAPMSSY1
           130     WHIL     00     0003     0000     0000     0000     0000     0000     0000     SAPMSSY1
           134     BRAN     05     000E                                   SAPMSSY1
           135     CALY     00     0003     0038     002A     0005     002B     0000     0000     SAPMSSY1
         >>>>>     CALY     02     0000     0039     8000     0000     0000     0000     0000     SAPMSSY1
           143     xper     02     0000     0010     0011                         SAPMSSY1
           145     PERP     80     0000                                   SAPMSSY1
           146     SYSC     1F     0000                                   SAPMSSY1
           147     BRAX     00     FFEF                                   SAPMSSY1
           148     WHIL     00     0004     0000     0000     0000     0000     0000     0000     SAPMSSY1
           152     ENDF     00     0000                                   SAPMSSY1
           153     -
         00     0000                                   SAPMSSY1

    Hi,
    The error is occuring in the program file SAPLHRXSS_PER_MAC.
    In program "SAPLHRXSS_PER_MAC ", the following syntax error occurred 
    in the Include "IF_HRPA_PERNR_INFTY_XSS=======IU " in line 114:      
    "The type "HRXSS_PER_SUPPLD_SUBTY_INFO_T" is unknown."    
    Information on where terminated                                              
        The termination occurred in the ABAP program "SAPMSSY1" in               
         "REMOTE_FUNCTION_CALL".                                                 
        The main program was "SAPMSSY1 ".
    This place  where it has terminated is highlighted in bold letters.                                       
    form remote_function_call using value(type).   
      do.                                          
      test if sy-xprog and sy-xform are set      
      sy-xform = 'quatsch'. sy-xprog = 'quatsch'.
    <b>    call 'RfcImport' id 'Type' field type.     </b>
        perform (sy-xform) in program (sy-xprog).  
        rsyn >scont sysc 00011111 0.               
      enddo.                                       
    endform.                                       
    Thanks,
    Manoj

  • Rfc call error bps

    Hi,
    I am getting this error when I am uploading file for bps.
    You have selected a function to execute this the system must set up an RFC Connection to another SAP System. However, setting up this connection was not successful. The following internal error message was generated
    "You do not have authorization for Infocube <infocubename>"
    please guide me which authorization is missing.

    Check if your profile contains S_RS_ICUBE authorization object with following settings for the cube in which you are trying to load the data:
    ACTVT          03
    RSICUBEOBJ     CHAVLREL, DATA, DATASLICE, DEFINITION, EXPORTISRC, UPDATERULE
    RSINFOAREA     *
    RSINFOCUBE     <Cube name>
    Or if your have any anyalsis authorizations created, go in RSECADMIN and check your analysis authorization object for below:
    0TCAACTVT  02, 03
    0TCAIPROV <Cube Name>
    TCAVALID *

  • Unknown Error with some exception message in BAM

    Hi all
    I'm trying to deploy orderbooking tutorial in (SOA 10.1.3.1)of BAM guide. whereas message says
    A problem occured while connecting to server "localhost" using port "8888": bpel_OrderBooking_1.0.jar failed to deploy. Exception message is: javax.transaction.RollbackException: Timed out
    i'm not able to fingd out whats the error.kindly someone revert back what may be the exception and also in pre-build.xml getting some error in ant dir saying
    Basedir C:\bb\CreditRatingService does not exist
    Kindly someone revert for this issue. Not able to complete a sample tutorial also.
    thanks in advance

    Hello- This looks like a problem deploying the BPEL side of OrderBooking tutorial. Please post your question on the BPEL email alias/forum. Your errors will be in bpel llog directory.

  • Vista error with .pdx file association

    We are experiencing a number of people on Vista O.S. that cannot open a .pdx embedded into a PDF file. We have created a catalog index to search our PDF docs and Vista machines cannot seem to open this .pdx file. HELP please.

    > Could someone in Adobe Support please contact me on this?
    Hi Phylis.
    Unfortunately, you won't be able to contact Adobe support from here. This is a user to user forum.
    If you need to contact support, click on the "contact" ink at the top of the page.

  • Error during loading of transaction data: An RFC call-up triggered the ...

    Dear Sirs,
    during loading of master data from a 4.6C SAP system to BI 7.0 SP9 I get the following error during processing (data packet).
    <i>"An RFC call-up triggered the exception (ID: RSAR NO: 503) "</i>
    The strange thing with this error is that it emerged today, after successfully loading master data and a subset of transaction data yesterday from same source system.
    Has anyone else come across this error, and can tell us where we should look for a possible solution? (or a better error explaination).
    The RFC connections works fine when testing in SM59, and was functioning yesterday. No relevant dumps in either system.

    Hi folks,
    I am also interested in this error.
    Thanks.

  • Handle timeout exception in rfc call

    Dear SAP Experts,
    I have been searching for a while and could not find a satisfactory answer to my problem.
    I use SAP - CRM and call other SAP and non-SAP systems via RFC.
    I need to handle all exceptions, otherwise WEB UI displays a full page exception details, which is unacceptable on a production system.
    I have the following piece of code:
    CALL FUNCTION FUNCTION_NAME DESTINATION DEST
        EXPORTING
          S_IMPORT              = INPUT_DATA
        IMPORTING
          S_EXPORT              = OUTPUT_DATA
        EXCEPTIONS
          SYSTEM_FAILURE        = 1  MESSAGE err_msg " catch system failure
          COMMUNICATION_FAILURE = 2  MESSAGE err_msg " catch communication errors
          OTHERS                = 99.                " catch everything else
    It handles most of exceptions, however, it cannot process timeouts. Is there a way to handle timeout in ABAP RFC call? Is timeout exception uncatchable? If so is there a way around?
    Can you please suggest some solution as I am running out of ideas.
    Regards,
    Dominik

    I have found a solution. To approach this I use asynchronous function call.
    TRY.
        CALL FUNCTION ZZ_TEST_TIMEOUT' DESTINATION lv_dest STARTING NEW TASK 'TIMEOUT_TASK'
        CALLING me->callback ON END OF TASK
            EXCEPTIONS
              SYSTEM_FAILURE        = 1  MESSAGE err_msg " catch system failure
              COMMUNICATION_FAILURE = 2  MESSAGE err_msg " catch communication errors
              OTHERS                = 99.                " catch everything else
            WAIT UNTIL READY EQ 'X' UP TO 55 SECONDS.
            IF READY NE 'X'.
              RAISE EXCEPTION TYPE CX_TIMEOUT.
            ELSE.
              WRITE / 'success'.
            ENDIF.
      CATCH CX_ROOT INTO OREF.
       WRITE / 'TIMEOUT EXCEPTION'.
    ENDTRY.
    callback sets variable READY to abap_true when data is received.
    The trick is to use  UP TO 55 SECONDS. after wait, which is shorter than the server timeout. This terminates function call and gives opportunity to code your own timeout behavior.

  • RFC communication error

    hi guys,
    our company has SAP servers in location A which often communicates with servers in location B. recently we moved both DEV and PRD servers to location C from A. the servers from B and C communicates via a VPN link.sequel to this movement we changed the IP configuration of all the systems. presently users in location B can access the PRD server in C but are not able to access the DEV server.
    the following error messages appears:
    ON PRD
    TMS Alert viewer
    transport control program tp ended with error code 0212
    error:could not access file as supposed
    command:SHOWBUFFER PRD PF=
    SAPDEV\sapmnt\trans\bin\TP_DOM
    while on DEV
    message:RFC-communication failure
    RFC communication error with system/destination
    partner not reached
    would appreciate if u culd profer a solution as soon as possible
    Regards walata

    Hi Walat,
    User access problem :-
    You located at location B are not able to access server DEV which is located C
    Pls take help from your system administrator for doing below task if you are not aware about output
    From location B try to telnet server DEV on port 32<NN> or 36<NN>  ( <NN> is your instance no of DEV )
    for e.g
    from command prompt run the following command
    telnet < dev server ip >  32<NN>
    check the ouput
    How to check the ouput
    1   after giving the above command, if you get blank screen it mean ports are open
    2  after giving the above command, if you get ouput on screen like " conneting to server < dev server ip > it mean ports are not open
    If the ports are not open then inform you network team that port mention aboev should be open for users.
    once the ports get open check above step again , if you get the blank screen , then you wil be able to login to SAP
    Server to Server Access problem :-
    From server DEV to PRD and vice versa check whether you can share the drives .
    if yous system team that yor PRD system should be able to to access the share folder sapmnt of server DEV ( SAPDEV )
    As well as check server to server port 33<NN> is open or not
    Any query pls reply.
    Thanks
    Anil

  • Is PopLocalFrame() safe with pending exception?

    The Sun Java Series "The Java Native Interface" by Sheng Liang states toward the end of section 5.3: "The Push/PopLocalFrame functions are especially convenient... The Push/PopLocalFrame functions are efficient. You are strongly encouraged to use them." Later in section 6.2.2, Handling Exceptions, it states that "Generally speaking, when there is a pending exception you can call the JNI functions that are designed to handle exceptions and the JNI functions that release various virtual machine resources exposed through the JNI." This would lead me to expect that PopLocalFrame() can be called safely with an exception pending. Yet section 11.8.2 provides a "complete list of JNI functions that can be called safely when there is a pending exception", and PopLocalFrame() is not in that list.
    I am not strongly encouraged to use Push/PopLocalFrame() without a clear guarantee that I can call PopLocalFrame() safely with a pending exception as expected. Is this just an oversight in the documentation?

    Kaspersky 2012 and 2013 is fully compatible with Firefox 15, if you still facing any issue, please contact kaspersky support about it so that they will fix it via patvh through database update.:)
    good luck

Maybe you are looking for