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

Changing instance.id of J2EE stack

Hi,

We copied a SAP CRM 2007 system by using database and file copy method. The system is opened successfully on the destination side with different hostname and SAP instance number, for both ABAP and JAVA stack. But the Java instance ID came wrong, because when we calculate the instance id, it is different from correct one;

Wrong: instance_ID96721

Correct: instance_ID335584

Is there anyway to change "instance_ID" on the Java stack, manually?

Thank you

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jan 23, 2011 at 04:13 PM

    Hi Orkun,

    Have you performed the system copy with SAP Installer tool (SAPinst) or have you performed a manual file system and database files system copy method? Java would require a system copy with SAP tools (please refer to your architectures system copy guide) for your above reasons. There are also guides for dual systems.

    After the copy you would need to assign the Java instance properties to the new instance ID (all stated in the system copy guide) using config tool. This depends on your release.

    Regards,

    Andre

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 24, 2011 at 09:42 AM

    As you haven't used SAPinst tool for system copy and manually copied SDMkit, java ID is distributed in flat files and in database aswell.

    Changing it would require manual search and change everywhere under /usr/sap/<SID>/JCxx/ in profiles, in configtool( database)

    Faster solution would be to drop java (deleting all files, dropping java schema cascade, change profiles to rid of java id parameters), and perform option in SAPINST -> Application Lifecycle-> System Copy-> Source System->Distributed Systems-> Central Instance (or what's the correct path 😊 ) and afterwards .... -> use same option for Target System to import Java.

    If you don't really need export of java, then even ampty installation of Java Addin should be valid.

    Stanislav

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.