Skip to Content
author's profile photo Former Member
Former Member

PI 7.11 sp6 system copy Exchange Profile error code: 399

Experts,

We have a PI 7.1 (EHP1, sp6) PI system based on AIX 6.1 OS and Oracle 11g.

I recently did the standard PI system copy from a prod source (PIP) to a training target (PIT).

I used the most recenty PI system copy guide that is specific for PI 7.1 EHP1

I did not run into any major problems doing the steps of the copy itself.

I did the usual "post" steps, documented in the guide that really are done on any NW system.

Then I got into the specific "PI" post steps and that's where I now have a problem.

I followed all the steps, fixing my RFCs, JCos, Destinations, cleaning up SLD, SLDAPICUST, creating new business systems...etc.

My big problem is with the exchange profile. Yes, it's easy to change all the SIDs and hostnames using the search tool for all the parameters in the exchange profile, but the one I COULD NOT CHANGE was the "ABAP Connection". In there right after the copy was the hostname of the prod system, the client, and the user PILDUSER. I attempted to put the hostname of my target (PIT) system, but I would get the error:

com.sap.rprof.dbprofiles.DBException: RFC call returned an error code: 399

I'm certain the user is NOT locked and the password is correct for PILDUSER. It'll give me a different error if I put the wrong password in, so I know it's hitting my system.

Worse yet, If I left the hostname in there that was set to "prod", then when I changed all the other values in the "parameters" section of the XI profile, then it actually changed my PROD system!!

If I keep the ABAP connection to PIT, then the entire exchange profile disappears for PIT.

I see these errors in the default trace and application log:

Caused by: com.sap.lcr.api.cimclient.LcrException: CIM_ERR_NOT_FOUND:

No such instance: SAP_J2EEEngineCluster.CreationClassName="SAP_J2EEEngineCluster",

Name="PIT.SystemHome.<traininghostname>"

Caused by: com.sap.lcr.api.cimclient.LcrException: CIM_ERR_NOT_FOUND: No such instance: SAP_J2EEEngineCluster.CreationClassName="SAP_J2EEEngineCluster",Name="PIT.SystemHome.<traininghostname>"

at com.sap.lcr.api.cimclient.SimpleResponseAnalyser.raiseExceptionOnError(SimpleResponseAnalyser.java:120)

#2.#2011 11 03 13:49:47:008#0-500#Error#com.sap.aii.af.service.sld.SLDRegistrationJob#

#BC-XI-CON-AFW#com.sap.aii.af.lib#7E3832DEA80F002B00000000008700C6#4804850000001902##com.sap.aii.af.service.sld.SLDRegistrationJob.SLDRegistrationJob.invoke()#J2EE_GUEST#0##0AFD01D4064C11E1CB5E7E3832DEA80F#0afd01d4064c11e1cb5e7e3832dea80f#0afd01d4064c11e1cb5e7e3832dea80f#0#Application [24]#Plain##

SLD Registration Job: No access to SLD. Waiting for next retry. Error: com.sap.aii.af.lib.sld.SLDException: Failed to initialize ExchangeProfile properties. Reason: Unable to read configuration data (ExchangeProfile/aii.properties)#

#2.#2011 11 03 14:51:18:096#0-500#Error#com.sap.esi.esp.service.server.ESPServiceInterfaceAbstract#

#BC-ESI-WS-JAV#tcesiespsrv#7E3832DEA80F001100000000009A004C#4804850000001385##com.sap.esi.esp.service.server.ESPServiceInterfaceAbstract####109F6812065511E1BF9C7E3832DEA80F#109f6812065511e1bf9c7e3832dea80f#109f6812065511e1bf9c7e3832dea80f#0#Service Runner [tcesiespsrv]#Plain##

+There is problem reading the hostname from the ClusterManager. This could lead to improper wsdl links.#

SLDCHECK shows this:

Function call returned exception code 3

Access to the XI Profile is currently disrupted.

I can't be the first person to run into this.

SO strange that I can actually plug in either my dev/QA or PROD hostname in the "ABAP connection" box and it WILL ACCEPT IT...but then, it registered my training system as a "non central adapter engine". I don't want that.

Any ideas?

Another issue is that the SLD PI information from the PIT system is missing the "Integration Directory". It has the other 5 entries...Adapter Engine, Domain, Integration Repository, Integration Server, RWB.

Thanks for reading this,

NICK

Add comment
10|10000 characters needed characters exceeded

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2011 at 10:53 PM

    the secure store was messed up. The fix:

    Delete the table entry

    applname="AIICOMMON"

    file="exchange_profile.xml"

    in the table aii_profiles via tx se16. Then

    go to the ExchangeProfile UI and use the import functionality

    to import the Exchange Profile file (extracted from the "source

    system") again. Please have in mind, that you have to maintain all

    passwords again and adapt the parameters.

    In the future, I think the best solution is to use a "migration key" right away for the secure store target system as soon as the copy is done.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Jacob,

      Thanks for the solution.

      I have same situation now, XI system copy on NW 7.3

      Any help to follow up with steps for the procedure to export and import of the exchange profile from Source to Target/

      Thanks in advance.

      Regards,

      Medha D

  • author's profile photo Former Member
    Former Member
    Posted on Nov 03, 2011 at 10:52 PM

    Nick,

    Seeing the SLD error in default trace, Firstly logon to NWA and check the destinations. Check SLD data supplier detination and SLD and Jco destinations.

    Regarding the domain, You have change these values in Exchange profiler. After changing the hostnames and domain name here restart j2ee engine. This will re-register components in SLD with new domain.

    Regards,

    Vamshi.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Here is the error I get when I try to change the "abap connection" to the correct hostname:

      RFC call returned an error code: 399

      Stack Trace class com.sap.rprof.dbprofiles.DBException:<br><pre>at com.sap.rprof.dbprofiles.DBProfiles.checkReturn(DBProfiles.java:184) at com.sap.rprof.dbprofiles.DBProfiles.getProfile(DBProfiles.java:105) at com.sap.rprof.dbprofiles.RemoteProfile.readRemoteProfileFromMedia(RemoteProfile.java:1378) at com.sap.rprof.dbprofiles.RemoteProfile.getRemoteProfileFromFactory(RemoteProfile.java:204) at com.sap.rprof.dbprofiles.RemoteProfile.getRemoteProfile(RemoteProfile.java:154) at com.sap.rprof.dbprofiles.ExchangeProfile.getExchangeProfile(ExchangeProfile.java:46) at com.sap.rprof.remoteProfile.webui.ProfileWebTree.<init>(ProfileWebTree.java:24) at com.sap.rprof.remoteProfile.webui.Edit.getWebTree(Edit.java:322) at JEE_jsp_treeexprof_4804850_1319481176000_1319565151782._jspService(JEE_jsp_treeexprof_4804850_1319481176000_1319565151782.java:59) at com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase.service(JspBase.java:102) at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140) at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:436) at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:240) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140) at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:37) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:493) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:399) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:388) at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:84) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:244) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78) at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60) at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27) at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29) at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43) at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42) at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428) at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247) at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45) at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122) at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101) at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:327) </pre>

  • author's profile photo Former Member
    Former Member
    Posted on Nov 04, 2011 at 07:25 PM

    Hi Nick,

    Did you get chance to follow note 999962? Please go through PI Readiness check document. Hope it will solve your problem.

    Thanks,

    Siva Kumar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Siva,

      This is a good note that I was already aware of. I have confirmed all that is correct as far as the username and passwords of these users is concerned.

      Yes, I have also read the PI readiness check. But if your Exchange profile is in the state that mine is in, there isn't much you can do for the 'readiness" check.

      But thank you for the reply,

      NICK

  • author's profile photo Former Member
    Former Member
    Posted on Sep 03, 2013 at 01:18 PM

    Hello Nick ,

    Any inputs.

    I have same situation now, XI system copy on NW 7.3

    Any help to follow up with steps for the procedure to export and import of the exchange profile from Source to Target.

    Thanks in advance.

    Regards,

    Medha D

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Medha,

      Hey! look, this issue has already been resolved in this particular thread. Please....carefully....read everything I wrote!

      I'll sum it up for you....

      if you do a sys copy for NW PI, make EXTRA SURE to run tcode secstore, and get a migration key. that ought to be the very first thing you do once you get the lic key there and you can log in to the system.

      after that, you can follow the documented sys copy post steps. You can find those by searching the service.sap.com website.

      that's the best I can do for you. that resolved my issue as I documented in this thread. if you have a different issue, then open a new thread. If what I wrote isn't clear enough, I suggest you get with a more senior basis person on your team to help you resolve your issue. Also, you can always open an OSS message with SAP support.

      Please don't "wait" on me, or expect any inputs to help you with your issue. the point of this thread was an issue I brought up...and I resolved it and I was kind enough to put the resolution here in the thread.

      NICK

  • author's profile photo Former Member
    Former Member
    Posted on Feb 26, 2014 at 02:44 PM

    Hi Nick,

    Thanks a lot

    .

    It works for me too ( NW 7.31 system copy).

    Great.

    Eddie Jr

    Add comment
    10|10000 characters needed characters exceeded