cancel
Showing results for 
Search instead for 
Did you mean: 

PORTAL UPGRADE FROM NW7.0 TO 7.31 STCUKS IN EXEXCUTION PHASE

Former Member
0 Kudos

Dear Experts,

while upgrading the Dual stack portal from NW7.0 to NW7.31 we are facing the error at  Execution stage in deploy db content phase as below.

Could not update components. Deployment of queue Queue_2014.06.07 at 00:01:43 completed with error Could not connect to Deploy Controller. Make sure that AS Java and Deploy Controller service are running. com.sap.engine.services.dc.api.ConnectionException: [ERROR CODE DPL.DCAPI.1144] Could not establish connection to AS Java on [P358XCFYAP:50004]. Cannot establish connection with any of the available profiles: url=P358XCFYAP:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 97.253.33.136 and port: 50004 Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.. Check if the host and port specified are correct and AS Java is up and running. javax.naming.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: Cannot establish connection with any of the available profiles: url=P358XCFYAP:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 97.253.33.136 and port: 50004 Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.] com.sap.engine.interfaces.cross.DestinationException: Cannot establish connection with any of the available profiles: url=P358XCFYAP:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 97.253.33.136 and port: 50004 Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.


we are able to access the network and i have another doubt as per above issue can we try to start manually java shadow or original instance.


I found one note 1891477 for this issue. This note is telling the below suggestion for this issue:

Deploy the latest patch level of upgrading target SP for below two component SCAs:

SERVERCORE  (For the cross service)

ENGFACADE  (For the cross api)

**You should re-deploy using batch deployer scrips (Refer to Note#1162316).  Afterwards, you shoud be ablve to resume SUM/JSPM upgrade process.

System Details:

Source: NW7.0

Dbase: oracle 11.2.03

SOLARIS:5.10

Please suggest us what to do for this issue we need provide the server by tomorrow to the users. Please see the attached logs.

. Regards,
Samba.

7666541888.


Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Samba,

please start JCMON and navigate with command 20 and 12.

Make sure that the dispatcher has opened port 50004 as shown in screenshot

Regards

Volker

former_member185239
Active Contributor
0 Kudos

Hi Samba,

Steps to follow to resolve the issue.

1. logon to the configtool.

2. select the file->cleck on safe mode.

3. For instance select no for each instance. This will bring the java stack from safe mode to normal mode.

4. then restart the system and when the system will come up completely then resume the SU M tool.

The error is related to deployer controller which has stopped.

More over check the deploy.trc and std_server0.out file in /usr/sap/<SID>/<instance JC or J<XX>>/work directory which will give you the exact error. I face several time the same issue this is how i resolved.

Hope it will be helpful to you.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Dear Ashutosh,

I opened the config tool in both original and shadow instances. in both places it is in safe mode. can i change to safe mode in both places. and another doubt is , in the Execution phase both systems are in down and if change to safe mode then can i start the original instance and start the sum tool.

But most of the profile parameters are also changed in original now. please suggest what to do in this

Scenario.

Regards,

Samba.

former_member185239
Active Contributor
0 Kudos

Hi Samba,

Change it on the actual system. I don't think there is any shadow instance.

so make the changes in the actual system and take a restart.

Once the system comes up , then resume the SUM.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Dear Ashutosh,

Thank u very much , i restarted the system by setting the java safe mode to no . now sum is working fine. but in the final stage of Execution stage in online Migration phase again getting the error as below:

Could not execute migration controllers for action migrate.online.engine.data and scenario all executed in slot online.final. Error while processing migration list /Prj_Backup/SUM/SUM/sdt/data/mig/MIGRATIONAUSF.LST. Could not migrate some archives from migration list.Possible reason is Database is down.Check if database running Error during migration of archive /Prj_Backup/SUM/SUM/sdt/data/mig/DEPLOYARCHIVES/com.sap.nw.wpc.mgr_mc_sda.sda which has been extracted to directory /Prj_Backup/SUM/SUM/sdt/migtool/com.sap.nw.wpc.mgr_mc_sda.Possible reason is Database is down.Check if database running Could not execute MTI process. See log files /Prj_Backup/SUM/SUM/sdt/log/SWITCH/JMT_FRAMEWORK_08.OUT and /Prj_Backup/SUM/SUM/sdt/log/SWITCH/JMT_FRAMEWORK_08.ERR. Return code condition success evaluated to false for process java for action RUN_MTI.


But the database is up& running fine.Please see the below JMT_FRAMEWORK_08.ERR. this log is telling again the P4 Exception of previous error .so in this case also can i set java safe mode to yes and then restart and then resume the SUM .

JMT_FRAMEWORK_08.ERR.:

<!--LOGHEADER[START]/-->

<!--HELP[Manual modification of the header may cause parsing problem!]/-->

<!--LOGGINGVERSION[2.0.7.1006]/-->

<!--NAME[/Prj_Backup/SUM/SUM/sdt/log/SWITCH/JMT_FRAMEWORK_08.ERR]/-->

<!--PATTERN[JMT_FRAMEWORK_08.ERR]/-->

<!--FORMATTER[com.sap.tc.logging.ListFormatter]/-->

<!--ENCODING[UTF8]/-->

<!--LOGHEADER[END]/-->

#2.#2014 06 12 11:15:42:348#+0530#Error#com.sap.sdt.jmtx.migrationtool.err#

###C00061FD218800000000000040151A53###com.sap.sdt.jmtx.migrationtool.err########Thread[main,5,main]#Plain##

com.sap.sdt.jmt.MigrationException: Exception while trying to get InitialContext.

    at com.sap.sdt.jmtx.mc.MigrationContextImpl.getInitilaContext(MigrationContextImpl.java:467)

    at com.sap.sdt.jmtx.mc.OnlineEngineMigrationExecuter.executeController(OnlineEngineMigrationExecuter.java:62)

    at com.sap.sdt.jmtx.mc.AbstractMigrationControllerExecuter.executeMigrationController(AbstractMigrationControllerExecuter.java:410)

    at com.sap.sdt.jmtx.mc.AbstractMigrationControllerExecuter.execute(AbstractMigrationControllerExecuter.java:373)

    at com.sap.sdt.jmtx.migrationtool.MigrationToolImport.execute(MigrationToolImport.java:909)

    at com.sap.sdt.jmtx.migrationtool.MigrationToolImport.migrateMigrationControllerData(MigrationToolImport.java:1377)

    at com.sap.sdt.jmtx.migrationtool.MigrationToolImport.startTool(MigrationToolImport.java:650)

    at com.sap.sdt.jmtx.migrationtool.MigrationToolImport.main(MigrationToolImport.java:1236)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:162)

Caused by: javax.naming.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: Cannot establish connection with any of the available profiles:

url=P358XCFYAP:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 97.253.33.136 and port: 50004

Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.]

    at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:386)

    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)

    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)

    at javax.naming.InitialContext.init(InitialContext.java:223)

    at javax.naming.InitialContext.<init>(InitialContext.java:197)

    at com.sap.sdt.jmtx.migrationtool.InitialContextFactory.createInitilaContext(InitialContextFactory.java:96)

    at com.sap.sdt.jmtx.mc.MigrationContextImpl.getInitilaContext(MigrationContextImpl.java:462)

    ... 12 more

Caused by: com.sap.engine.interfaces.cross.DestinationException: Cannot establish connection with any of the available profiles:

url=P358XCFYAP:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 97.253.33.136 and port: 50004

Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.

    at com.sap.engine.interfaces.cross.Destination.getNextAvailableBroker(Destination.java:64)

    at com.sap.engine.interfaces.cross.Destination.getRemoteBroker(Destination.java:39)

    at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:298)

    ... 18 more

Regards,

Samba.

former_member185239
Active Contributor
0 Kudos

Hi Samba,

Sum will bring the system to safe mode again.

Revert the safe mode to no and take a restart of the system. Once it come up , then resume the SUM again.

Are you performing migration to hana.

With Regards

Ashutosh

Sriram2009
Active Contributor
Former Member
0 Kudos

Dear Ashutosh,

I checked the log and it is same error as previous then in config tool it is in no safe mode only. i just started the system and then resume the sum . The upgrade completed sucessfully.

Regards,

Samba.

former_member182657
Active Contributor
0 Kudos

Hi Samba,

Meanwhile you can also check for link Visual Administrator: Logon Failure - SAP NetWeaver™ Problem Analysis Guide (PAG) - SAP Library

Hope this may help you .

Regards,

Gaurav

Former Member
0 Kudos

Dear Experts,

Please see the DEPLOY-ONLINE-DB_03 log below

<!--LOGHEADER[START]/-->

<!--HELP[Manual modification of the header may cause parsing problem!]/-->

<!--LOGGINGVERSION[2.0.7.1006]/-->

<!--NAME[/Prj_Backup/SUM/SUM/sdt/log/SWITCH/DEPLOY-ONLINE-DB_03.LOG]/-->

<!--PATTERN[DEPLOY-ONLINE-DB_03.LOG]/-->

<!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%6s]: %m)]/-->

<!--ENCODING[UTF8]/-->

<!--LOGHEADER[END]/-->

Jun 9, 2014 4:58:32 AM [Info  ]: Number of source deployed components detected from components provider: 42

Jun 9, 2014 4:58:32 AM [Info  ]: Number of source deployed components detected from components provider: 42

Jun 9, 2014 4:58:32 AM [Info  ]: Deploy version rule has been set to updateAll in file /Prj_Backup/SUM/SUM/sdt/param/jspm_config.txt.

Jun 9, 2014 4:58:32 AM [Info  ]: Deploy error strategy has been set to stop in file /Prj_Backup/SUM/SUM/sdt/param/jspm_config.txt.

Jun 9, 2014 4:58:32 AM [Info  ]: Deployment prerequisite check error strategy has been set to stop in file /Prj_Backup/SUM/SUM/sdt/param/jspm_config.txt.

Jun 9, 2014 4:58:32 AM [Info  ]: Undeploy error strategy has been set to skipDepending in file /Prj_Backup/SUM/SUM/sdt/param/jspm_config.txt.

Jun 9, 2014 4:58:32 AM [Info  ]: Undeploy dependency rule has been set to stop in file /Prj_Backup/SUM/SUM/sdt/param/jspm_config.txt.

Jun 9, 2014 4:58:32 AM [Info  ]: Deploy timeout has been set to 7200 seconds in file /Prj_Backup/SUM/SUM/sdt/param/jspm_config.txt.

Jun 9, 2014 4:58:32 AM [Info  ]: Start parsing deployment order definition file /Prj_Backup/SUM/SUM/sdt/config/dodf.xml.

Jun 9, 2014 4:58:32 AM [Info  ]: File /Prj_Backup/SUM/SUM/sdt/config/dodf.xml is parsed and relative deployment data model is extracted.

Jun 9, 2014 4:58:32 AM [Info  ]: Start parsing deployment order definition file /Prj_Backup/SUM/SUM/sdt/config/dodfNonsupportedDCType.xml.

Jun 9, 2014 4:58:32 AM [Info  ]: File /Prj_Backup/SUM/SUM/sdt/config/dodfNonsupportedDCType.xml is parsed and relative deployment data model is extracted.

Jun 9, 2014 4:58:32 AM [Info  ]: Number of source deployed components detected from components provider: 42

Jun 9, 2014 4:58:32 AM [Info  ]: Deploying Java components...

Jun 9, 2014 4:58:32 AM [Info  ]: Deploying Java components...

Jun 9, 2014 4:58:32 AM [Info  ]: You can find additional information in log file /Prj_Backup/SUM/SUM/sdt/log/SWITCH/DEPLOYMENT_RESULTS_04.LOG.

Jun 9, 2014 4:58:32 AM [Info  ]: Deployment of Java components finished.

Jun 9, 2014 4:58:32 AM [Error ]: com.sap.engine.services.dc.api.ConnectionException: [ERROR CODE DPL.DCAPI.1144] Could not establish connection to AS Java on [P358XCFYAP:50004]. Cannot establish connection with any of the available profiles:

url=P358XCFYAP:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 97.253.33.136 and port: 50004

Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.. Check if the host and port specified are correct and AS Java is up and running.

Jun 9, 2014 4:58:32 AM [Error ]: Could not connect to Deploy Controller. Make sure that AS Java and Deploy Controller service are running.

Jun 9, 2014 4:58:32 AM [Info  ]: Overal deployment message : Could not connect to Deploy Controller. Make sure that AS Java and Deploy Controller service are running.

com.sap.engine.services.dc.api.ConnectionException: [ERROR CODE DPL.DCAPI.1144] Could not establish connection to AS Java on [P358XCFYAP:50004]. Cannot establish connection with any of the available profiles:

url=P358XCFYAP:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 97.253.33.136 and port: 50004

Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.. Check if the host and port specified are correct and AS Java is up and running.

javax.naming.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: Cannot establish connection with any of the available profiles:

url=P358XCFYAP:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 97.253.33.136 and port: 50004

Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.]

com.sap.engine.interfaces.cross.DestinationException: Cannot establish connection with any of the available profiles:

url=P358XCFYAP:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 97.253.33.136 and port: 50004

Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.

Jun 9, 2014 4:58:32 AM [Info  ]: Saving data model...

Jun 9, 2014 4:58:35 AM [Info  ]: Data model saved.

Jun 9, 2014 4:58:35 AM [Info  ]: Saving data model...

Jun 9, 2014 4:58:37 AM [Info  ]: Data model saved.

Jun 9, 2014 4:58:37 AM [Error ]: Error during generation of the report file for the queue validation with name '/Prj_Backup/SUM/SUM/sdt/htdoc/QueueResultReport.xml'.

Jun 9, 2014 4:58:37 AM [Error ]: The following problem has occurred during step execution: com.sap.sdt.jspm.service.JspmServiceException: Could not update components.

Deployment of queue Queue_2014.06.07 at 00:01:43 completed with error Could not connect to Deploy Controller. Make sure that AS Java and Deploy Controller service are running.

com.sap.engine.services.dc.api.ConnectionException: [ERROR CODE DPL.DCAPI.1144] Could not establish connection to AS Java on [P358XCFYAP:50004]. Cannot establish connection with any of the available profiles:

url=P358XCFYAP:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 97.253.33.136 and port: 50004

Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.. Check if the host and port specified are correct and AS Java is up and running.

javax.naming.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: Cannot establish connection with any of the available profiles:

url=P358XCFYAP:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 97.253.33.136 and port: 50004

Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.]

com.sap.engine.interfaces.cross.DestinationException: Cannot establish connection with any of the available profiles:

url=P358XCFYAP:50004 protocol=p4 (None); Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 97.253.33.136 and port: 50004

Check if server is started, access point for the protocol is available, and IP/Host name is accessible on network.

.

former_member182657
Active Contributor