Principal Propagation Issue - J2EE_GUEST being used in some messages

Hi guys !
        I have the following situation, my customer have a SAP PI 7.1 Ehp 1 and, some interfaces are configured to run under Principal Propagation.
        What is occurring is, for an interface that uses principal propagation and works correctly, the message enters in PI using an authenticated user for principal propagation(for example, USER0001) and this authentication is propagated until the receiver system(eg, SAP ECC), but in some cases, this same interface shows the following behavior: the authenticated user USER0001 send a message, the message starts to be processed in the PI pipeline propagating this user but, when the message will be delivered to RFC Adapter, we receive the following error:
Adapter Framework caught exception: failed to generate ClientPoolcom.sap.aii.adapter.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: could not create JCO Pool com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: could not get JCOProperties com.sap.security.core.server.destinations.api.DestinationException: [_DestinationServiceAuthorization1004] User-based destination service access denied to principal J2EE_GUEST. Assign the UME action Destination_Service_Write_Permission if the user should have the permission to save, update or remove destinations. The action is available already to the Administrator role.
      And after one message stop with the error above, any message of any interface using principal propagation starts to show the following error, that is only solved running a full cache refresh:
Delivering the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: could not get functiontemplate from repository: com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Repository pool 'RfcRepository[RfcClient[RFCReceiverAutoCommit_ECC]]f0264787314535c0a27cf29d108f5860' does not exist or was removed..
      The question is, why do PI pipeline is trying to use J2EE_GUEST in some task for an interface configured to use Principal Propagation ? Why this occurs in some cases and not in anothers(for the same interface) ? Why the cache is being lost ?? And of course, how can I solve this annoyng situation ?
      All configurations needed to run Principal Propagation was done according the help.sap.com documentation(http://help.sap.com/saphelp_nwpi711/helpdata/en/48/a9bbb97e28674be10000000a421937/content.htm), and as I said, it works in most cases. All messages are sent using SOAP Adapter for the Sender System, and RFC Adapter for the receiver, and there are synchronous and asynchronous interfaces. Basically the interfaces that only read data from SAP, does not use principal propagation and, the ones that create/update/delete data in SAP, uses principal propagation.
      Somebody already saw something like this ?
      Thank you in advance, and best regards,
      Wilson

Hi guys !
I have continued with some tests in environment trying to understand what
is happening and, I did the following, as the first error mentioned is
"User-based destination service
access denied to principal J2EE_GUEST. Assign the UME action
Destination_Service_Write_Permission if the user should have the
permission to save, update or remove destinations", I entered on UME Admin,
created a new Role named J2EE_GUEST_ROLE, assigned the UME Action
Destination_Service_Write_Permission to it, and assigned this new role to
the user J2EE_GUEST, and ran new tests.
After some executions, one message stopped with this error:
Adapter Framework caught exception: error while processing message to
remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException:
could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (101)
RFC_ERROR_PROGRAM: 'user' missing
I have observed that, in all messages that stops in error, we have the
following line in Audit Log:
Processing child message of multi-message with message Id
000c2936-6a89-1ed0-aebe-c262ae7d412e.
And this interface doesn´t have multi-message to be processed, is a
single message only.
I checked on configuration and see that the interface determinations for all interfaces has the flag "Maintain order at runtime", what is usefull basically when a Interface Determination has more than one interface,
what is not my case, so I will unmark this flag in all interfaces and run
new tests trying to identify if this solves the problem.
Any idea for this annoyng issue ?
Thank you and regards !

Similar Messages

  • Principal Propagation Issue

    Hi,
    We are using PI 7.1 and have a SOAP - XI - ECC(RFC) scenario where we need to use Principal Propagation in order to send the user parameters who has invoked the webservice (using SOAP Adapter) on XI and the same user needs to be propagated to ECC system via RFC call.
    We did all the settings as per the guidelines setup in P.P guide. The issue here is once we enable Single Signon (P.P) on our XI server the local service user created in XI, which is given to Source system for invoking WS on XI stops working.
    In other words we have some other systems also which are sending webservice request to XI but with local service userid/pwd we have provided to them as they do not support Single Sign On. This stops working once we enable Single Sign On in XI. Does it mean at one time only one thing will work, either Service user/pwd or Single sign on user?
    Is there any alternate way of achieving the same? Has anyone used P.P feature? It does not seem to be working at Adapter Level.
    Thanks
    amit

    Dear Amit,
    Either of the one will work either SSO user or Service user . You cant have both working simultaneously. Because your SSO user is nothing but where one system logs on to another system using the user & pwd maintained on host system.
    The way out is to separate SSO user and Service users.
    Also refer https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/bc72b890-0201-0010-3a8d-e31e3e266893
    Rgds
    joel
    Edited by: joel trinidade on Mar 4, 2009 10:30 AM

  • Online Number is already being used by some other ...

    Hi,
    I have bought an online number yesterday 19th June, and after the subscription got activated, I got to know that this number is already in use with some other company. When I dial the same skype online number it rings in some other company's call center.
    Kindly help.
    Regards,
    Deepanshu Dhawan

    it seems that skype messed up numbers somehow. i have online UK number and I'm getting 5-10 call everyday from different german numbers who have missed calls from me. of course i've never called them

  • USA iphones being used in Europe and other continents

    what happens if an iPhone from US is being used in some european countries? Is it not gonna work properly? Will it bug? Or what are the reasons ?

    If the phone is unlocked and the networks are compatible, it should work just fine. However, you won't be able to get warranty service without taking the phone back to the U.S.

  • Why can I not attach a document to an email? Every time I want to send an email with a document attached to it, an error notice pops out. It tell me that the file is being used even when  it is not. How can I fix this issue?

    Why can I not attach a document to an email? Every time I want to send an email with a document attached to it, an error notice pops out. It tells me that the file is being used even when  iall other programs are closed. How can I fix this issue?

    Thanks Jeff, I was not aware that a template could be multi-page.  (All the existing templates were 1 page)
    But it worked, saving me some steps.  When I was finished I renamed the document, and locked it.
    Then tried to save it but  could not because it was locked.  I closed it, went to my Spread Sheet Folder ,
    to find it, it was not there.  The Finder could not find it either.
    So I start over again.
    I opened up Numbers and it showed my personal Numbers template folder, it contained both my new 
    original 4 page template and the vanished saved document!
    I tried to delete the template containing these document data and could not - I had to go to the Library/Application Support/Numbers to physically remove it from this folder. Then I started over again.  I Finally found out how to make it work: I can now "save as", and then lock, and it will go to place where I want it to be saved and locked.
    The secret is: Click on the document title in the menu bar, and it opens up  "Save as...", which works the same as in OS 10.4.11, and you can pick the place you want for saving.  Once done that, you can then lock the document in the same pull down menu, and then close it.
    I also found later that I can delete a template from its folder, by letting Numbers open the templates,
    clicking on the one I want to remove, then go to the "Numbers Menu/File/Move to...", select "Desktop"
    and from there the selected template can then be thrown into the Trash from there.
    It appears now that the real fault of the Numbers software is that the "Save as" command is not available in the "Edit" or "File" pull-down menus, but hidden behind the title of the document.

  • Principal Propagation Using Sender SOAP adapter in PI7.1

    Hi,
    I am trying to configure principal propagation using SOAP sender adapter. In that, I am trying to generate the assertion ticket in SAP only but it is using PIAFUSER as the user that is being passed and not the user which we are using to logon.
    Please tell me how an assertion ticket can be generated in this case , and the User that is being used for logging on is propagated. Is there any other way in which SOAP adapter can be used to propagate principally.

    Hi,
      Have you come across this link?
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce95b718d3424be10000000a421937/content.htm
    Regards,
    Ravi

  • [svn] 3687: Add some messaging tests for scenarios that involve subscribing to a destination , disconnecting from the channel currently being used and resubscribing to the destination .

    Revision: 3687
    Author: [email protected]
    Date: 2008-10-16 11:23:39 -0700 (Thu, 16 Oct 2008)
    Log Message:
    Add some messaging tests for scenarios that involve subscribing to a destination, disconnecting from the channel currently being used and resubscribing to the destination. There is an issue that is causing the streaming/multipleDisconnectsResubscribesTest.mxml test to fail that I will log a bug for.
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/multipleDisconnectsResubscribesTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/multipleDisconnectsResubscribesTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/multipleDisconnectsResubscribesTest.mxml

    Revision: 3687
    Author: [email protected]
    Date: 2008-10-16 11:23:39 -0700 (Thu, 16 Oct 2008)
    Log Message:
    Add some messaging tests for scenarios that involve subscribing to a destination, disconnecting from the channel currently being used and resubscribing to the destination. There is an issue that is causing the streaming/multipleDisconnectsResubscribesTest.mxml test to fail that I will log a bug for.
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/multipleDisconnectsResubscribesTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/multipleDisconnectsResubscribesTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeJMSTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/multipleDisconnectsResubscribesTest.mxml

  • My 16 GB ipad says i have less than 1 GB of storage available. Yet when i add all the apps up, the total come to less than 9GB. i know the sytem need some but where is the rest of my storage being used?

    My 16 GB ipad says i have less than 1 GB of storage available. Yet when i add all the apps up, the total come to less than 9GB. i know the sytem needs some but where is the rest of my storage being used?

    Hi CPI Pierre,
    You can determine what is using the memory in your iPad Air by looking at Settings > General > Usage > Manage Storage.
    If you are having issues with insufficient memory you may want to troubleshoot using the steps in this article -
    iOS: "Not enough free space" alert when trying to sync - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Some of these services may be being used for hacking my Time Capsule?

    Hi,
    I was scanning services from a connected PC on my network but not directely in my time capsule and I picked these services below:
    NetBIOS Session Services
    SMB directy over IP
    AFP over TCP
    Apple Airport WAP Administration
    SecureNet Pro Sensor https management server or apple airport admin
    My question is: Some of these services may be being used for hacking my Time Capsule?
    Attached SIMPLE DESIGN FROM MY HOME NETWORK,

    Ok the TC did seem to get the raw end of the deal.. (I am not sure what the other end is.. cooked maybe??)
    What model is it.. Gen1 or Gen2 are very prone to issue of overheat and eventual power supply failure.
    See internet for loads of info on the issue.
    Here is my version.
    https://sites.google.com/site/lapastenague/a-deconstruction-of-routers-and-modem s/apple-time-capsule-repair
    You can open the TC and remove the disk.. if it is still operational you can get your files.. Gen1 Hitachi drives are still going strong.. it is the power supply that goes.
    Gen3 is a different issue..
    Tell us your model number from the rubber foot label.. A1xxx??
    Decide if repair is worthwhile.. with a bit of DIY a repair or replacement to the power supply can be made.
    There is no space in the TC for dual drives.
    And if the power supply goes anyway there is no recovery apart from pulling it apart.

  • Anyone have heat issues on 2011 MBP, WITHOUT the CPU being used at 100% ?

    I hear many people having heat issues with the 2011 MacBook pro. All have mentioned some process using 100% of CPU. I wonder if anyone has heat problems even though the CPU is not being used at 100%. This would shed some light as to whether the problem is related to software or hardware.

    Mine too. Get a inferno hot, and i cant use Firefox anymore, because the fans stars in less than one minute.
    Everything started after the instalation of the OS X LION.
    Nome do Modelo:          MacBook Pro
      Identificador do Modelo:          MacBookPro8,2
      Nome do Processador:          Intel Core i7
      Velocidade do Processador:          2,2 GHz
      Número de Processadores:          1
      Número Total de Núcleos:          4
      Cache L2 (por Núcleo):          256 KB
      Cache de L3:          6 MB
      Memória:          8 GB
      Versão da ROM de Inicialização:          MBP81.0047.B24

  • Drive no longer being used by time machine: delete some files?

    Tried unlocking and allowing myself to read and write.  Nope.  Tried holding down the option key.  Nope.
    This drive is no longer being used by time machine and I want to delete some files on it.
    Is there a way to do it without wiping the entire drive?

    nowsthetime wrote:
    It wasnt a dedicated backup and  there's other material on it that I need to keep.
    That's a problem (as you've discovered).  Time Machine works best if it has it's own, exclusive partition.   See Time Machine - Frequently Asked Question #3 for details.
    Aha!  Just found THIS. I'll post if it works. http://www.celiamania.com/wordpress/?p=1038
    That will let you delete individual backups, or all backups of selected items.
    If you don't have room to copy the "other" stuff elsewhere while you erase the disk, you can delete the Backups.backupdb folder.  Emptying the trash will take a very long time, and may give you permissions and/or locked file problems.  If so, see #E6 in Time Machine - Troubleshooting.

  • HEY, i have some issue i am using macbook air i5...the problem is that without doing anything 1.5gb of ram out of 2gb always in use ..please help me how to make it normal.

    HEY, i have some issue i am using macbook air i5...the problem is that without doing anything 1.5gb of ram out of 2gb always in use ..please help me how to make it normal....
    and my battery back up is max 3 to 3.5 hours in normal use with web ....is this normal or need some betterment!!!!

    ADEEL UR REHMAN wrote:
    ...the problem is that without doing anything 1.5gb of ram out of 2gb always in use
    No computer can do a thing without using memory. 1.5 GB is very little. It's normal.
    3 or so hours from a full charge may also be normal, for what you are doing. As batteries age, they don't last as long on a full charge as they did when they were new. All batteries eventually wear out, and are easily replaceable.

  • TS1425 I cannot eject my ipod classic after sync with i-tunes on my pc. It states some of the files are being used by other applications. What does this mean? How can I get it to eject?

    I cannot eject my new ipod classic after sync with i-tunes on my pc due, it states, to open files being used by another application. What does this mean? How can I get my ipod to eject?

    If it's a one-time "glitch," you can try restarting your computer with the iPod still connected.  Try ejecting again after the restart.
    If the problem recurs, you may have a process running (other than iTunes) that is accessing the iPod's storage.  When connected, the iPod's "disk" is like other mounted volumes.  This process may be some type of utility that continously monitors your mounted volumes for security reasons, such as to prevent access by malware.
    If you know of such a program that you have running in the background, there may be a setting to exclude your iPod's disk.

  • HT204291 Airplay speaker unavailable.  The speaker "apple tv" is currently being used by someone else.  What does this mean amd how do I fix the issue so I can play my video through apple tv?

    Airplay speaker unavailable.  The speaker "apple tv" is currently being used by someone else.  What does this mean amd how do I fix the issue so I can play my video through apple tv?

    The video orientation is included with the video's EXIF data and the same for photos. It is that state of the art OS your computer is running that doesn't recognize or completely ignores the EXIF orientation data.
    This link applies to photos but whatever Windoze application you are using to view videos should provide the same or similar.
    http://answers.microsoft.com/en-us/windows/forum/windows_7-pictures/windows-phot o-viewer-or-live-photo-gallery-does/a161c8da-c1ce-4347-a92e-724f9e535c15

  • My iPad is being used at home on wifi but some how running up 8gb in a month of mobile data charges??? It's a pad 2

    As above since getting my iPad replaced I used almost 6gb last month but was using it on 3G for a week. In July only used it on home wifi network but orange say I have used 8gb of mobile data and slapp me with a 250 quid bill. Help! I am not thick i have turned off mobile data but have not used it at home on wifi.

    You've somehow already pinpointed the problem, of course (Office).  Many people seem to run it successfully. Maybe re-install it? 
    Anyway, if this were happening to me, I would be looking more closely (via Activity Monitor) at how the RAM is being used.  With "All Processes" being shown, sort by "Real Memory" and see who is the hog.

Maybe you are looking for

  • BI Publisher report ends with Warning Message for Pivot  type reports..

    Hi, I had used BI reporting(xml publisher) to develop our all reports and registered in R12 and works fine for all the tabular/forms type reports but it fails with the warning message(colored in yellow) for Pivot type reports. The output comes in xml

  • Camera Raw not available in Ps -Br Trial

    How can I get Camera Raw to work in Photshop trial, after opening Br from Ps and clicking Camera Raw item The following message appears "Camera Raw editing not enabled" "camera Raw editing requires that a qualifying product has been launched at least

  • Horizontal scrolling. Is it possible?

    Hello. I'd like to create some pages for photos, similar to these http://dzineblog.com/2009/07/web-design-ideas-27-horizontal-scrolling-websites.h tml Is it possible? Thanks

  • Can you do a post to a URL in APEX

    I know that you can format a url to pass values in the URL string like this: https://mydomain/pls/apex/f?p=115:1::::P1_ID:23709462 Or can you submit a post request instead of a get like the following PHP example? Url=https://mydomain/donor/tnt_accoun

  • Using iDVD project file after deleting original iMovieHD

    I've been using iMovieHD and iDVD to convert my home movies from miniDV tapes to DVDs. I've been putting two one-hour tapes together into one iMovie and then creating an iDVD project with themes, chapters, etc. Each two-hour iMovie file takes up >20