cancel
Showing results for 
Search instead for 
Did you mean: 

CPA Cache startup error

Former Member
0 Kudos

Hi there,

we're currently developing an XI adapter. For this adapter, we described the Integration Directory GUI with adapter metadata xml file. Unfortunately, in an earlier version that file contained a syntax error: A boolean attribute contained a string default value. That file was imported into Integration Repository. Later, we removed that error and uploaded and activated a new - valid - version.

After a restart of the J2EE Engine, the service SAP XI AF CPA Cache didn't start up. And with this, many other services and adpaters couldn't be started. This is the error message:

Start service SAP XI AF CPA Cache

java.rmi.RemoteException: Could not start service com.sap.aii.af.cpa.svc on cluster ID 7727050; nested exception is: 

com.sap.engine.frame.ServiceException: <--Localization failed: ResourceBundle='com.sap.engine.frame.KernelResourceBundle', ID='Service com.sap.aii.af.cpa.svc error. Nested exception is: java.lang.RuntimeException: Failed to initialize the CPA cache Service due toLocal CPA cache not initialized, due to: Could not read CPAObject from DB, due to: Couldn't parse attributes XML string for Channel[NewAdapter] with Id a08c6ea1d9f336f7abb53121c7c25bfb, due to: Couldn't parse boolean attribute inbound.encrypted because of invalide value: OPTIONAL.

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

It seems, that the CPA Cache is trying to laod an outdated version of the adapter metadata. With loading that corrupted version, the startup of the service fails.

IMPORTANT:

With that error, the CPA cache web application doesn't start up as well. Thus, an CPA cache refresh is impossible.

We tried also to delete all affected channels from DB table XI_AF_CPA_CHANNEL and the metadata from table XI_AF_CPA_METADATA but nothing helps.

Has anybody an idea about this really strange behavior? This error blocks our whole development for days. Help is really higly appreciated and will be rewarded.

Thanks in advance,

Matthias

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

we solved that problem with a complete system re-installation.

Cheers,

Matthias

Former Member
0 Kudos

Hi,

Look into this ,may be helpfull

http://help.sap.com/saphelp_nw04s/helpdata/en/a8/22ee41c334c717e10000000a155106/frameset.htm

Reward points if usefull.....

Former Member
0 Kudos

Hi Matthias,

Try to run the report SAI_CACHE_REFRESH in Tx SE38 and see if you find any errors in that.

Regards,

Sreenivas

Former Member
0 Kudos

Sreenivas,

I executed the report. The execution ended sucessfully. But after this and a further J2EE restart nothing has changed.

Thank you anyway,

Matthias

Former Member
0 Kudos

Dinesh,

I've already tried modifying the service's parameters without any success.

Thank you,

Matthias

Former Member
0 Kudos

goto SXI_CACHE and select adapter meta data and delete the adapter meta data.

Former Member
0 Kudos

Sreeram,

thanks for your answer. In SXI_CACHE I dindn't find any possibility to delete adapter metadata. How do I work this?

Cheers,

Matthias