Error in Cache Notification .."CPASchemaException"

Hello gurus,
Our XI tech consultant is facing an error in Cache Notifications. He thinks its a installation/configuration problem from the basis side. Now i am new to XI, don't really know where to start.
Here's the background :
1. He is configuring a File 2 File scenario as a demo in XI.
2. Believe he has configured sender and receiver communication channels.
3. File Adapter - Input/output File Type XML/binary
He is getting error in Cache Notifications : Sender Agreement
(com.sap.aii.af.service.cpa.impl.exception.CPASchemaException: No SchemaDefinitions available for AdapterType: File|3b787a8035c111d6bbe0efe50a1145a5|http://sap.com/xi/XI/System
            at com.sap.aii.af.service.cpa.impl.schema.SchemaManager.getSchemaDefinition(SchemaManager.java:164)
            at com.sap.aii.af.service.cpa.impl.schema.SchemaManagedCPAObject.<init>(SchemaManagedCPAObject.java:82)
            at com.sap.aii.af.service.cpa.impl.schema.SchemaManagedCPAObject.<init>(SchemaManagedCPAObject.java:106)
            at com.sap.aii.af.service.cpa.impl.cache.CacheManager.parseXMLAttributes(CacheManager.java:730)
            at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryDataSAXHandler.endElement(DirectoryDataSAXHandler.java:570)
            at com.sap.engine.lib.xml.parser.handlers.SAXDocHandler.endElement(SAXDocHandler.java:154)
            at com.sap.engine.lib.xml.parser.XMLParser.scanEndTag(XMLParser.java:1847)
            at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1743)
            at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2323)
            at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1740)
            at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2726)
            at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:162)
            at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:132)
            at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:142)
            at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:245)
            at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:276)
            at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:338)
            at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125)
            at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
            at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
            at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryDataParser.updateCentralCache(DirectoryDataParser.java:54)
            at com.sap.aii.af.service.cpa.impl.cache.CacheManager.updateCacheWithDirectoryData(CacheManager.java:713)
            at com.sap.aii.af.service.cpa.impl.cache.CacheManager.performCacheUpdate(CacheManager.java:595)
            at com.sap.aii.af.service.cpa.impl.cache.CacheManager$CacheUpdateRunnable.run(CacheManager.java:440)
            at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
            at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:74)
            at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:141)
=========================================================
Also When we try to display end-to-end monitoring, we get a pop-up for authentication, we enter XIRWBUSER and password and it fails with authentication error. I have checked XIRWBUSER's authorization and also double checked the password.
Thanks for you help guys...
regards
nainesh
Message was edited by: Nainesh Nagarkar

I am getting this error in dev_jrfc.trc
Error file opened at 20060426 145122 Eastern Daylight Time Rel 6.40.14 (2005-08-08) [640.89]
Error> occured  >Wed Apr 26 14:51:22,854<   
RfcException:
    message: Connect to message server host failed
Connect_PM  TYPE=B MSHOST=testsapds04 GROUP=PUBLIC R3NAME=XET MSSERV=sapmsXET PCS=1
ERROR       Group PUBLIC not found
TIME        Wed Apr 26 14:51:22 2006
RELEASE     640
COMPONENT   LG
VERSION     5
RC          -6
MODULE      lgxx.c
LINE        3498
DETAIL      LgIGroup
COUNTER     1
    Return code: RFC_FAILURE(1)
    error group: 102
    key: RFC_ERROR_COMMUNICATION
Error> occured  >Wed Apr 26 14:59:01,505<    >RfcGetException rc (7) message: This system rejects all logons using SSO tickets
<RfcGetException
Error> occured  >Wed Apr 26 15:08:57,496<   
RfcException:
    message: Connect to message server host failed
Connect_PM  TYPE=B MSHOST=testsapds04 GROUP=PUBLIC R3NAME=XET MSSERV=sapmsXET PCS=1
LOCATION    CPIC (TCP/IP) on local host with Unicode
ERROR       Group PUBLIC not found
TIME        Wed Apr 26 15:08:57 2006
RELEASE     640
COMPONENT   LG
VERSION     5
RC          -6
MODULE      lgxx.c
LINE        3498
DETAIL      LgIGroup
COUNTER     1
    Return code: RFC_FAILURE(1)
    error group: 102
    key: RFC_ERROR_COMMUNICATION
=====================================================
I have checked all the rfc's in sm59 and they all test successfully, Also checked if they were registered on the gateway, they were.
Looks like JCO is not able to connect to ABAP. Message server settings look fine, checked services file (port=3600).
Any ideas folks ??
thanks
Nainesh
Message was edited by: Nainesh Nagarkar

Similar Messages

  • Integration Directory - Cache Notifications Error!!

    Hi ,
    When i try to select "Cache Notifications" in directory i am facing this error below.
    <b>Unable to determine the name of the central Adapter Engine from the System Landscape Directory at this time. Notifications to the central Adapter Engine are therefore listed using the technical name of the Adapter Engine. This is usually structured as follows: af.<SAP System ID>.<Name of application server></b>
    I can see in SLD -> technical system -> exchange infrastructure, the entry for Integration Directory is missing. I ve applied note 764176 , but it is not helping. Similarly the entry for RWB is also missing here.
    ve checked in SLD -> Admin -> Content Manitenance and the assocations are missing for IR & RWB. I beleive these errors are closely related. ve chked exchange profile XIDIRUSER & XIRWBUSER pwds , chked the roles , they are the same as our DEV / QA envionments.
    Can anyone pls point what am i missing here
    Thanks
    Saravana

    Hi Saravana,
    About the roles for XIRWBUSER...you can check the same in the ABAP stack...go to transaction SU01 and check the Roles attached...it should have the following entries...
    SAP_SLD_CONFIGURATOR
    SAP_XI_RWB_SERV_USER
    SAP_XI_RWB_SERV_USER_MAIN
    These should be sufficient as it is working for us...also...the roles gets passed along from the abap stack to the J2ee stack....
    Now to your original issue...we had to change our sld in our system to a new box and had to re-configure....we got the same error that you were getting...
    we corrected it by doing the following...
    Corrected the entries in the Visual Admin under SLD data supplier service... for the HTTP tab as well as the CIM tab.
    Did the SLDCHECK(TCODE on abap stack) and made sure everything was ok....
    Did a CPACache refresh full...and of course a restart....
    that solved the issue for us...
    Thanks,
    Renjith

  • Cache Notifications Error in Integration Directory

    Hello,
    I'm having an interesting problem at my client's PI 7.0 system. When I update my changelist, I can see problems in Integration Directory - cache notifications. Integration Builder works fine. When I retry the cache refresh manually, I turns to green.
    But, Communication Channels with adapter type XI are not created even when I activate my changelist and manually fix the cache refresh if there are errors. All other adapters can be seen in Component Monitoring - Adapter Engine - CC Monitoring, but XI type adapters are not there.
    How can we resolve this problem?
    Thank you,
    Gökhan

    Hi,
    Check all steps in this doc (Especially from Page 20 to 24): [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0332b2a-eb97-2910-b6ba-dbe52a01be34|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0332b2a-eb97-2910-b6ba-dbe52a01be34]
    Thanks,
    - Gujjeti.

  • Integration Directory, Cache Notifications with error

    Guys,
    In Integration Directory, I create one Comunication Channel, but, when i actived one, it dosnt appears in RWB Comunication Channel Monitoring.
    In Integration Directory -> Environment -> Cache Notifications, show the following error:
    Integration Server (Central Adapter Engine) | Directory Change List | pisuper | Standard Change List
    With "Standard Change List" as: Not Yet Started
    Details: Never change Status.
    Can anybody help me?

    Also check in SLD technical system for Exchange Infraustructure.
    Check weather Adapter enginer is registered or not.
    Your XI domain should contains 6 entries
    1.Adapter engine
    2.Domain
    3.Integration Directory
    4.Integration Repository
    5.Integration Server
    6.RWB

  • Int Dir Environment Cache Notifications - Error

    Every one,
    Int Dir > Environment > Cache Notifications, gives the follwoing Dialog,
    <i>Unable to determine the name of the central Adapter Engine from the System Landscape Directory at this time. Notifications to the central Adapter Engine are therefore listed using the technical name of the Adapter Engine. This is usually structured as follows: <b>af.<SAP System ID>.<Name of application server></b></i>
    sxi_cache on the abap stack works fine.
    My guess is that,
    I did not create any SLD entry for the central AE. That could be the problem.
    We have all the components on a single server and only one AE. There are no remote AEs.
    -Naveen.

    Naveen,
    This is because of incosistence of SLD entries- refer SAP Note - 764176 and do accordingly.
    Regards,
    moorthy

  • Error during Cache Refresh in 2004s after installation

    Hi All,
    we are getting the following error when we did the Cache Refresh after completing the installation and configuration of 2004s PI usgae type.
    <b>
    Error data from ID:</b>Unable to determine the name of the central Adapter Engine from the System Landscape Directory at this time.
    Notifications to the central Adapter Engine are therefore listed using the technical name of the Adapter Engine.
    This is usually structured as follows:
    af.<SAP System ID>.<Name of application server>
    <b>Error info in SXI_CACHE:</b>
    HTTP Status code 401 unauthorized.
    <b>Error data from RWB:</b>
    Cache notification from Integration Directory failedError when accessing the System Landscape Directory
    ---Detailed Error Message
    Unable to find an associated SLD element (source element: SAP_XIIntegrationServer, [CreationClassName, SAP_XIIntegrationServer, string, Name, is.01.ltiib00812, string
    would be great if somebody could help us.
    Thanks in advance.
    RGds,
    Vasanth.

    Hi
    Check this Blog by Krishna Moorthy for all HTTP erros
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    Also check the blog by Michal
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    Thanks,
    Prakash

  • CACHE NOTIFICATIONS

    Hi,
      Whenever i activate the change list, i could see some errors in the cache notifications(Environment->Cache Notifications).
    The errors are
    1) Unable to contact Adapter Engine "af.mtx.bw" that is   affected by the data changes
    2)http connection to "http://bw:8200/CPACache/invalidate" returns the status code "401" in response
    How do i resolve this?
    I have plain J2SE Adapter Engine installed on my m/c. In my Adapter Configuration, i have only one entry under the Adapter Engine Drop down box(instance is Integration Server). Is it correct or should i get my decentral adapter engine in that drop down box?
    My configuration changes are not getting reflected in the SXI_CACHE tcode.For ex. i have a sender agreement in my ID. But its not present under the SXI_CACHE TCODE.similarly communication channel is missing in XI Runtime Cache.
    Thanks in advance
    Regards
    Amith

    Hi,
      MY SLD is connected to the AE. Bcoz i could see my AE Entries in the sld and my SLDACCESSOR is working properly in AE.
    When i try to refresh the cache in Integration Directory for the cache instance CENTRAL INTEGRATION SERVER, i am getting a message that
         "http connection to "http://bwxi:8200/CPACache/invalidate" returns the status code "401" in response"
    Sometimes i am getting a message saying that SAP_XIADAPTER FRAMEWORK is not found in SLD.
    what do i need to do?
    Regards

  • Cache Notifications unable to determine name of Central Adapter Engine

    Hi All,
      When I tried Tools -> Cache Notifications in the integration directory, im getting
    Unable to determine the name of the central Adapter Engine from the System Landscape Directory at this time.
    Notifications to the central Adapter Engine are therefore listed using the technical name of the Adapter Engine.
    This is usually structured as follows: af.<SAP System ID>.<Name of application server>
      Once i click the OK on the pop up dialog which has this message, it has given the Notifications and Problems Tab.
      In the Problems Tab, its has given an error message
    'Unable to find an associated SLD element (source element: SAP_XIIntegrationServer"
    Any suggestion of what to look for to modify ??
      Thanks
      Sourav

    Hi Kedar,
      Check this Blog. it should probabaly solve your problem.
      /people/venugopalarao.immadisetty/blog/2007/03/15/adapter-engine-cannot-be-found-in-integration-directory
      Thanks
       Sourav

  • Integration Builder (Design) - Cache notification

    Friends,
    When we save the objects in Design (Integration Builder), the objects goes to status "Notification Not Yet Started" or "Red" in the cache notification screen. The developer has to manually execute the repeat cache notification to make it successful. Is there any settings or configuration missing? can you please guide me?
    Thanks,
    Peter

    Hi,
    Since your cache in getting update automatically, therefore you should check the RFC in SM59 as mentioned in this document.
    First check this one...
    http://help.sap.com/saphelp_nw04s/helpdata/en/8f/770f41218ff023e10000000a155106/content.htm
    Also go through this thread:
    Cache Error
    Regards,
    Sarvesh

  • Integration Directory - Cache Notifications

    I just installed QA box. I am trying to move my Integration Directory objects. When I do cache notifications in ID I get an error in the cache notifications Integration Server (ABAP Cache).
    Any help is appreciated.

    Hi Michael,
    What type of error are you getting ?
    Anyway if you did not go thru this document, then please have a look into this-
    https://websmp101.sap-ag.de/~sapidb/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf
    Hope this helps,
    Regards,
    Moorthy

  • ID-Cache Notification

    Hi All,
       When I select Cache Notifications from Environment tab in ID, I am getting errors. Cache updated status is red, also the date/time is 00.00.00 00:00. But the perform Notification status is green and the date/time is set properly.
       Advise me on this.
    Thanks & Regards,
    Jai Shankar.

    Hi,
    Please can you do delta refresh from SXI_CACHE and see if it's running successfully.
    Also, pleaae check if RFC destination INTEGRATION_DIRECTORY_HMI is working fine.
    ALso, look at doc:
    https://websmp101.sap-ag.de/~sapidb/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf
    Regards
    Vijaya

  • Cache Notifications in ID

    Hi,
    In the Integration directory>environment>cache notifications the Integration Server(Java Cache) and Integration Server(Central adapter engine) have a cache updated status with error (red light)
    Kindly suggest what could be the problem
    Thanks,
    Arvind

    Try a check via SXI_CACHE and try a complete cache refresh.
    Also try running the report SAI_CACHE_REFRESH
    This sud be an interesting read too ..
    /people/sravya.talanki2/blog/2005/12/02/sxicache--ripped-off
    /people/sravya.talanki2/blog/2005/11/03/cache-refresh-errors--new-phenomena

  • Error opening the notification Center. I can't open the notification Center

    Error opening the notification Center. I can't open the notification Center

    Hey amabnn,
    Thanks for the question. I understand you are experiencing issues with the latest iTunes update. Let’s troubleshoot the iTunes installation by completely removing and reinstalling iTunes and all related components (it is important to remove all components in the order listed):
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/HT1923
    Additional Information:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    How to restart the Apple Mobile Device Service (AMDS) on Windows
    http://support.apple.com/kb/TS1567
    Thanks,
    Matt M.

  • Error in Cache notifiaction in IR

    Hi Team,
                          We are running PI 7.0 SP14 in HPUX Oracle environment. We have set up CTS transports according to the SAP documentation. The export from dev repository, release and import in quality system integration environment is working very fine, no problem on that side. But when we check the IR - Cache notifications its in Red status and the user responsible is nwdi_ctsadm then we have to manually trigger the notification then it goes into green status. The problem is only in IR of our quality server.
    Is this behavior is normal?  I also checked the How to handle cahces in Xi3.0 and everything looks perfect except the roles for nwdi_ctsadm and sicf-service-sap-xi (not all services are active)
    I cross checked the above with production box and configured same (Sicf services and user profile for nwdi_ctsadm), there it is working fine (IR-cache notifications)
    Please let us know is this common process or anything wrong in the quality configuration
    Thank you
    Umesh k

    Hi Amir,
                       Thanks for your answer. But this issue is only with NWDI_CTSADM in quality system which imports the IR objects, the same user is used in production also but no issues in Cache notifications in production
    So do you think we should again re-visit that document and start from the 1st page of the document?
    Thank you
    Umesh K

  • Error in sending Notification email with Embedded CLOB message in the body

    Hi,
    Workflow version is : 2.6.3.5
    Apps Version is 11.5.10.1
    Oracle Database 9.2.0.5.0
    I am embedding a CLOB message document attribute to my Notification
    Message Body.
    Everything works fine when I check my notifications in the "workflow worklist"
    i.e. Oracle Apps. <Notifications> tab.
    but the emails are not going to the users and below message is displayed in the
    status monitor. (eventhough it displays below error - I can able to respond the notifications using the worklist and can able to COMPLETE the workflow process
    successfully)
    Please help me to resolve the below error, so that the Same notification which I am able to see using the workflow worklist should be sent to the user in email as embedded text.
    NOTE: there is no problem with the Package XXDB_OKC_CONTRACTS_WF_PKG, as it is not changed and I even verified it before and after this error that this package is indeed in VALID status.
    Workflow Errors: XXDBCAPR, SDA-10314
    Failed Activity Send Approve_Reject Responce Notification
    Activity Type Notice
    Error Name WF_ERROR
    Error Message [WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: 2018: Unable to generate the notification XML. Caused by: 2020: Error when getting notification content. Caused by: ORA-04061: existing state of has been invalidated ORA-04061: existing state of package "APPS_FND.XXDB_OKC_CONTRACTS_WF_PKG" has been invalidated ORA-04065: not executed, altered or dropped package "APPS_FND.XXDB_OKC_CONTRACTS_WF_PKG" ORA-06508: PL/SQL: could not find program unit being called Wf_Notification.GetAttrClob(18841, MESSAGE_BODY, text/html) Wf_Notification.oldGetAttrC' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'. ERROR_STACK= WF_MAIL.GetLOBMessage3(18841, WFMAILER, 2020: Error when getting notification content. Caused by: ORA-04061: existing state of has been invalidated ORA-04061: existing state of package "APPS_FND.XXDB_OKC_CONTRACTS_WF_PKG" has been invalidated ORA-04065: not executed, altered or dropped package "APPS_FND.XXDB_OKC_CONTRACTS_WF_PKG" ORA-06508: PL/SQL: could not find program unit being called Wf_Notification.GetAttrClob(18841, MESSAGE_BODY, text/html) Wf_Notification.oldGetAttrClob(18841, MESSAGE_BODY, text/html) WF_NOTIFICATION.GetFullBody(nid => 18841, disptype => text/html) WF_MAIL.GetLOBMessage3(nid => 18841, r_ntf_pref => MAILHTML), Step -> Getting text/html body) WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 18841) WF_XML.Generate(oracle.apps.wf.notification.send, 18841) WF_XML.Generate(oracle.apps.wf.notification.send, 18841) Wf_Event.setMessage(oracle.apps.wf.notification.send, 18841, WF_XML.Generate) Wf_Event.dispatch_internal()
    Error Stack
    thanks,
    Shashi
    NOTE: there is no problem with the Package XXDB_OKC_CONTRACTS_WF_PKG, as it is not changed and I even verified it before and after this error that this package is indeed in VALID status.

    Hi,
    Below solution worked for us :
    Whenever the document message related procedure is modified and compiled we need to STOP and START all the workflow related services,
    Homepage -> Workflow Manager -> Service Components => STOP all Services => Start All Services
    NOTE: Even when we bounced the database, application server the error is still occuring, only when we STOP and START the services whenever we compiled the document message procedures then the emails are getting processed.
    The Metalink Forum note 588112.992 (ORA-04061: existing state of has been invalidated ORA-04061: existing state of package) is helpful in getting the solution Below is a snippet of the same :
    From: David Hsu 01-Aug-05 20:06
    Subject: Re : ORA-04061: existing state of has been invalidated ORA-04061:
    existing state of package
    Loren,
    we had a similar ORA-04061 error when we tried to compile a Workflow package
    after we modified it with new attributes. What we were told was that some
    workflow process or listener is still "thinking" the package is invalid even
    though it is valid. Whenever packages referred by the workflow process is
    changed, the Agent listeners and mailer must be bounced. Worst case scenario
    if the error still persist is that the database may have to be bounced as
    well.
    Please try bouncing the Agent listeners or, if it possible, bounce the
    database and see if you are still getting the error after that.
    The listeners that you need to bounce are all the listeners that you have
    enabled under OAM > Workflow Manager > Service Components,
    including the Workflow Notification Mailer.
    Hope this helps thanks,
    Shashi

Maybe you are looking for

  • DBConnect with SQL Server

    Hi, we have a dbconnect source system with sql server. The installation is correct and we have the list of tables and views. We can get a list of table/view content too. But, when we make an infopackage request there is no idoc generated and the stat

  • Reg:pipeline function

    dear friends. can anyone explain about Pipeline function in oracle. if possible please explain with some small example. --Rajnish                                                                                                                         

  • ZEN MICRO HEADPHONE JACK FAILURE N

    I recieved my Zen mirco (black) in December on Christmas Eve. It was one of those limited edition extra battery ones. I noticed too that the sound was cutting out, but then I thought for a moment. I remembered that i heard this before on a cd player.

  • Problem with character set with servlets and Oracle 9i AS

    I am deploying a servlet with Jserv on a Sun machine. My servlet is working but some special characters in text fields like "i", "h", "`" (French language) are replaced by "?" when refreshing the HTML pages. Is that a Jserv or Oracle 9i AS settings p

  • I don't trust BlackMagic...

    I got this yesterday, after restarting and all applications closed: Just waiting around while processing some files in Lightroom (with at least a dozen other applications open) tonight I get this: What gives? My SSD is faster when it's under stress?