cancel
Showing results for 
Search instead for 
Did you mean: 

Cache....schema not available

Former Member
0 Kudos

Hi guys...

I'm having Cache problems ...

I've been checking the logs and I've discovered the error. I thought that the error could be a cache problem but when I was at the Integration Directory -Cache Notifications, I noticed that my Integration Server(ABAP Cache) was having problems.

I went to the problems tag and saw the same error from the log.

At the Cache Instance, Integration Server(Central Adapter Engine), I had the same error for my communication channel.

This error is not enabling the file adapter to be created... can anyone help me...?

I'm over this error for the last couple of days, I've read all the howtos (maybe not...) and helps...

Any suggestions?

ERROR

com.sap.aii.af.service.cpa.CPAException: Schema not available for File|3b787a8035c111d6bbe0efe50a1145a5|http://sap.com/xi/XI/System.

at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryDataSAXHandler.endElement(DirectoryDataSAXHandler.java:262)

at com.sap.engine.lib.xml.parser.handlers.SAXDocHandler.endElement(SAXDocHandler.java:154)

at com.sap.engine.lib.xml.parser.XMLParser.scanEndTag(XMLParser.java:1826)

at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1722)

at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2298)

at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1719)

at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2701)

at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:162)

at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:126)

at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:136)

at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:209)

at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:270)

at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:331)

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:60)

at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)

at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:145)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

use SXI_cache to see to whether ur cache as been updated or not . if you dont find ur updated cache we have option in menubar "XI Runtime Cache" menu under that select refresh display or F5 function key to get the latest cache update.

Hope this helps to slove ur problem

Thanks

sreeram reddy

Former Member
0 Kudos

Well, the problem is not knowing where to refresh the cache, the problem is that the cache is not performing the refresh...

I'm having this error:

<?xml version="1.0" encoding="UTF-8"?>

<CacheRefreshError>

<EngineType>AE</EngineType>

<EngineName>af.xir.srv04</EngineName>

<RefreshMode>C</RefreshMode>

<GlobalError>

<Message>

CPA Cache not updated with directory data.

</Message>

<Trace>

com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: Couldn't open Directory URL (http://srv04:50000/dir/hmi_cache_refresh_service/ext?method=CacheRefresh&amp;mode=C&amp;consumer=af.xir.srv04), due to: HTTP 503: Service Unavailable

at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDataFromDirectory(DirectoryAccess.java:382)

at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDeltaCacheUpdateXML(DirectoryAccess.java:545)

at com.sap.aii.af.service.cpa.impl.cache.CacheManager.performCacheUpdate(CacheManager.java:551)

at com.sap.aii.af.service.cpa.impl.cache.CacheManager.initializeCPACache(CacheManager.java:260)

at com.sap.aii.af.service.cpa.impl.startup.StartupManager.initializeCPACache(StartupManager.java:220)

at com.sap.aii.af.service.cpa.impl.j2ee.sapengine630.ServiceFrameImpl.startCPACache(ServiceFrameImpl.java:129)

at com.sap.aii.af.service.cpa.impl.j2ee.sapengine630.ServiceFrameImpl.start(ServiceFrameImpl.java:49)

at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)

at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)

at com.sap.engine.frame.core.thread.Task.run(Task.java:60)

at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)

at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:145)

</Trace>

</GlobalError>

meaning that there is a service, i suppose that this service will perform the full refresh, is unavailable.

Can you help me figuring this out?How can I activate the service?

I've launched the logviewer and i've seen that the service "SAP XI AF CPA Cache" is active, so it's not this service that is responsible... Can anyone help?

Former Member
0 Kudos

hi,

goto sm59 -> http connection to r3 -> INTEGRATION_DIRECTORY_HMI

and test connection.

make sure this connection is working..

naveen

Former Member
0 Kudos

Your answer was really good, and I've discovered that the connection is not working.

I'm getting an "Application error during the request procession. javax.Servlet.ServletException: REQID not found"

That's the cause of my problem.

With that I've discovered a lot of new things related to the user management from the ID, IR and IS.

Now my problem is to what field does the "REQID" refer to?

Where can i find this config?

Any suggestions? Naveen can you come with another brilliant solution, please ?

Former Member
0 Kudos

hi,

where are you seeing this error sxmb_moni rwb??

post the whole error message

naveen

Former Member
0 Kudos

Hi,

this error i'm watching it when I'm testing the connection.

It's the response i get.

Former Member
0 Kudos

Hi Goncalo,

Check this thread...this should resolve the error...

Regards

Anand

Former Member
0 Kudos

Hi,

For you to test INTEGRATION_DIRECTORY_HMI , it should haev been configured with the right userid XIISUSER.

check the userid/pwd in logon/security tab.

naveen

Former Member
0 Kudos

Thanks for your answers...but i'm losing hope...I've watched the users configs and they are ok...i really don't know what seems to be the problem...

In the document Anand suggested, it says the internal error means it's ok.(it doesn't seem so...but ok)

Now...i still have the problem with the adapter...

It still says the same error above...

The schema was not found...any ideas...please...

Former Member
0 Kudos

hi,

1. you are still getting error when testing using the test button on INTEGRATION_DIRECTORY_HMI

2. did you make sure XIISUSER has the right password

3. go to su01 and check if XIISUSER status

locked/unlocked

I strongly feel the password would be a worng one. Please check the password.

naveen

Former Member
0 Kudos

Hi Gonacalo,

The document is the standard SAP document for handling cache. so it should be ok.

Check these notes on cache overview and troubleshooting..

780747

741214

Regards

Anand

Former Member
0 Kudos

Sorry for only answering now...I was unable to test the server during the last two days....

I'm still getting the same error, when I'm testing the INTEGRATION_DIRECTORY_HMI.

When I test the connection, the first thing I get is the popup for entering the user name and ID. After placing the values with the XIISUSER and the corresponding password, I'm asked for accepting cookies and then I get the same error...

I've checked and the user is unlocked.

But I don't think the error is from the password Naveen because if I place a wrong password then the error will not be the same, but a 401 with Unauthorized....

I've checked the docs that you suggested it...

I will now check the notes Anand suggested...

Former Member
0 Kudos

Thank you all for your replies

Ok...I was able to go through the initial error

I've now encountered another one.

Remembering I was trying to implement a File-XI-IDOC.

After passing the first error, I went to the RWB-Adapter Monitoring to check if the adapters are all rightly configured. I'm getting the File Adapter well configured, but I'm not getting the IDOC adapter...

I've seen some weblogs related to IDOC implementation but I'm not getting the trick...

Any quick ideas?

Former Member
0 Kudos

hi gonacalo...

HTTP and IDOC adapter, do not reside in the adapter engine...hence u will not be able to see both the adapters in ur adapter monitoring...

regards..

vishal

Former Member
0 Kudos

IDOC adapter will not be visible in the RWB -> adapter monitoring , only adapters in the Java stack are visible there, so that's ok . If you had made sure you have the required partner profile configuration in the end system, specified the required config params in IDOC commn channel and activated , you should be ok to proceed and test.

Regards

Saravana

Former Member
0 Kudos

Hi Goncalo,

You cannot monitor the adapter but you can monitor the IDoc messages in the IDoc adapter in transaction IDX5 once you start sending/receiving the messages.

http://help.sap.com/saphelp_nw04/helpdata/en/c1/bab13bb3acd607e10000000a11402f/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm

Regards

Anand

Message was edited by: Anand Torgal

Former Member
0 Kudos

I was wondering if the problem for the non-generation of the IDOC was from the IDOC adapter, but i came to the fact that it isn't.

After being in message monitoring and watching the message data that composed the message I watched that I was getting the error:

2005-11-14 14:57:26 Success Application attempting to send an XI message asynchronously using connection AFW.

2005-11-14 14:57:26 Success Trying to put the message into the send queue.

2005-11-14 14:57:26 Success Message successfully put into the queue.

2005-11-14 14:57:26 Success The application sent the message asynchronously using connection AFW. Returning to application.

2005-11-14 14:57:26 Success Channel GV: Send binary file "c:\usr\sap\XIR\SYS\global\vendor.xml". Size 379 with QoS EO

2005-11-14 14:57:26 Success The message was successfully retrieved from the send queue.

2005-11-14 14:57:26 Success File "c:\usr\sap\XIR\SYS\global\vendor.xml" deleted after processing

2005-11-14 14:57:26 Success The message status set to DLNG.

2005-11-14 14:57:26 Error Transmitting the message to endpoint http://server:port/sap/xi/engine?type=entry using connection AFW failed, due to: Received HTTP response code 404.

I've looked to the http connection and it's working.

I've looked to some questions on the forum, does the http connection to the R3 needs to be an https?

Former Member
0 Kudos

Also in the cache notification I'm having an error on the Integration Server(ABAP Cache):

Unable to notify integration runtime (ABAP) of data changes

Unable to establish http connection "http://srv04:8000/sap/xi/cache?sap-client=200"

Possibly the error is related to the above...

Former Member
0 Kudos

There is still one thing I can't figure it out.

Wwhen I perform SXI_CACHE, i'm able to see all the components that are saved to cache. Shouldn't I see the sender agreement that was created on the ID?

I've refreshed the cache but nothing...

Is this the nuclear problem?

Former Member
0 Kudos

Hi

Check this thread,

/message/514186#514186 [original link is broken]

it discusses an exception similar to yours, "Unable to notify integration runtime (ABAP) of data changes"

cheers

Sameer

Former Member
0 Kudos

Hi,

404 means that the application couldn't be found. This could mean that it simply isn't deployed on the server you are accessing, but I think in this case it is more likely that you have a DNS problem. The server that the AFW is on might be having problems resolving the <server> part of your url, i.e. it can't find the right IP address to actually access. Hopefully that helps.

Cheers,

Steve

-


If you find a post useful, please help keep the community going by setting a good example and rewarding the poster with points.

Former Member
0 Kudos

Hi Goncalo,

Check the pipeline URL specified in the SLD in

the business system of the Integration Server.

In your case from Audit log i think it is http://server:port/sap/xi/engine?type=entry

Are your above server and port(HTTP) valid ? if not change it in SLD(Integration Server Business System) and restart the J2EE Engine.

Regards

Anand

Former Member
0 Kudos

I've checked the Pipeline and the server and the correspondent port seems to be ok.

I've read the suggestion from Sameer but the result is same.

I'm trying to get clean some problems first. Maybe the problem with " Transmitting the message to endpoint http://server:port/sap/xi/engine?type=entry using connection AFW failed, due to: Received HTTP response code 404.." is due to the fact that the sender agreement does not appear on the sxi_cache.

Here go some doubts:

1 - When I do sxi_cache on the sender agreement should my sender agreement appear?

1.1 - Still on sxi_cache, on the communication channels the business system related to the IDOC channels appears but, the business system related to the comm channel from the file adapter that is used on the sender agreement don't...

I'd like to clear this first, and then see if i'm still getting the same error.

Any ideas?

Former Member
0 Kudos

Hi Goncalo,

This error(404) happens when server/port is/are invalid.

Try this..

Take the URL specified in SLD for integration server busness system ( http://server:port/sap/xi/engine?type=entry ) and try to execute the URL in the browser using the user XIAFUSER.

Let me know what error you get...

Regards

Anand

Former Member
0 Kudos

He asks me for a a user and a pass...but i can't get in...

I'm certain that the user and pass are correct.Am I missing any config?

Former Member
0 Kudos

try logging using XIAFUSER and password...

Regards

Anand

Former Member
0 Kudos

since the connection to this port wasn't on i had to created it. But I only created it, i didn't made any configs to this service. Do I have to configure this service in another place because i'm not abling to enter the service with any of the users.

Former Member
0 Kudos

I got:

<SOAP:Envelope>

<SOAP:Header>

</SOAP:Header>

-

<SOAP:Body>

-

<SOAP:Fault>

<faultcode>SOAP:Client</faultcode>

<faultstring>Empty HTTP request received</faultstring>

<faultactor>http://sap.com/xi/XI/Message/30</faultactor>

-

<detail>

-

<SAP:Error SOAP:mustUnderstand="1">

<SAP:Category>XIProtocol</SAP:Category>

<SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code>

<SAP:P1/>

<SAP:P2/>

<SAP:P3/>

<SAP:P4/>

<SAP:AdditionalText/>

<SAP:ApplicationFaultMessage namespace=""/>

-

<SAP:Stack>

Empty HTTP query received. No message processing possible

</SAP:Stack>

</SAP:Error>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

Any ideas?

Former Member
0 Kudos

ok, i'm not having any cache problems now...but i still have the problem from before...:

Transmitting the message to endpoint http://server:port/sap/xi/engine?type=entry using connection AFW failed, due to: Received HTTP response code 404.....

any ideas Anand?

Former Member
0 Kudos

Should I have a service with the port 50000 on the smicm created?

because i'm getting a 404, so maybe that's the problem, although when I try to activate it I get "Operation failed (rc=1)...

Former Member
0 Kudos

Can't figure out what is the problem...

But my guess is that there is some issue with the URL(server/port)http://server:port/sap/xi/engine?type=entry hence it is not able connect.

Regards

Anand

Former Member
0 Kudos

use the HTTP port in specified SMICM not the J2EE port.

Go to SMICM -> Click on Services Icon (Shift+F1) and then use the port specified for HTTP service. Check the same in SLD for Integration server business system, if it is different then change it and restart the J2EE engine.

Anand

Former Member
0 Kudos

Hi Gonacalo,

How did you solve the error of XI Runtime Cache giving error??? I have the identical REQID error.

Please help.

Shobhit

Former Member
0 Kudos

Hi Gonçalo,

I'm facing the same error: 500   Internal Server Error REQID not found

how did you solve it?

Cheers,

Edu

Answers (2)

Answers (2)

Former Member
0 Kudos

For error 503 check OSS note 881276.

If you still get the error with cache, SICF -> sap -> xi -> cache and click on change button and put the client number. This was mentioned longtime ago but I could not find the thread.

Do not forget to activate the service SICF -> sap -> xi -> cache

regards

Shravan

Former Member
0 Kudos

hi,

do a complete CPACache refresh.

http://server:port/CPACache/refresh?mode=full

naveen