Quantcast
Channel: SCN : All Content - SAP NetWeaver Administrator
Viewing all articles
Browse latest Browse all 5139

rmi_p4.P4IOException : patching not possible with SUP but possible with JSPM

$
0
0

Hello,

 

We are running SAP PI 7.31 SPS4, HP-UX 11.31, Oracle 11.2.

PI is a dual stack, Abap and Java

We are running a HP-UX super-dome, meaning that multiple IPs addresses are configured , PI has its own IP adress : XXX.XXX.XXX.102

While the Superdome machine has its own IP adress : XXX.XXX.XXX.68. (localhost)

 

SAP management sonsole confirms that P4 port is assigned to PI adress :

28-11-2014 10-50-33.png

 

28-11-2014 11-05-06.png

 

PI has been installed and configured on its own IP Adress XXX.XXX.XXX.102, the P4 port is listening on that port, not on the IP adress of the localhost of the machine. As seen in the screenshots above.

 

We are in the process of applying patches top the J2EE software component using SUP (Sofware Update MAnager Version 1.0, SP Version 12)

Unfortunately when reaching the step : Input Java Adminsitartor user credentials

28-11-2014 10-39-58.png

 

We are getting the error :

Could not display dialog UserPasswords. Could not execute dialog UserPasswords. See previous messages. Error while trying to validate Administrator password. Possible reason: the J2EE engine is not started. Error while trying to get initial context. com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances Nested exceptions are: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection on host: xxx.xxx.xxx.68 and port: 50304 ] com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances Nested exceptions are: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection on host: xxx.xxx.xxx..68 and port: 50304

 

And here is the log generated in the file SUM.TRC :

Nov 28, 2014 9:42:10 AM [Info]:                            com.sap.sdt.util.dialog.InfoDialog.updateHandler(InfoDialog.java:130) [Thread[UC-13,5,main]]: Dialog type InfoText with dialog name ExtraInfo displays dialog text <html>

<p><b>Additional Information</b><br>

The AS Java Administrator user credentials are used to log on to the SAP system.</p>

</html>.

Nov 28, 2014 9:42:10 AM [Info]:                                                                    com.sap.sdt.ucp.dialog.Dialog [Thread[UC-13,5,main]]: Dialog UserPasswords variable handler has been updated.
Nov 28, 2014 9:42:10 AM [Info]:                    com.sap.sdt.util.dialog.CompositeDialog.isConfirmed(CompositeDialog.java:300) [Thread[UC-13,5,main]]: Dialog UserPasswords has been confirmed.
Nov 28, 2014 9:42:10 AM [Warning]:                                                               com.sap.sdt.util.dialog.InfoDialog [Thread[UC-13,5,main]]: There are no validators assigned to the field with name: ExtraInfo!
Nov 28, 2014 9:42:10 AM [Warning]:                                                    com.sap.sdt.util.dialog.SingleTextInputDialog [Thread[UC-13,5,main]]: There are no validators assigned to the field with name: J2EE/J2EEADMIN/USER!
Nov 28, 2014 9:42:10 AM [Path]:                                           com.sap.sdt.util.validate.ValidationProcessor.validate [Thread[UC-13,5,main]]: Entering method with ()
Nov 28, 2014 9:42:10 AM [Info]:                                                    com.sap.sdt.util.validate.ValidationProcessor [Thread[UC-13,5,main]]: Validating validatable: J2EE/J2EEADMIN/PWD with Collection of 2 validators
Nov 28, 2014 9:42:10 AM [Info]:                                                    com.sap.sdt.util.validate.ValidationProcessor [Thread[UC-13,5,main]]: Validating validatable: J2EE/J2EEADMIN/PWD with validator: RequiredFields
Nov 28, 2014 9:42:10 AM [Info]:             com.sap.sdt.util.validate.ValidationProcessor.validate(ValidationProcessor.java:102) [Thread[UC-13,5,main]]: Validatable parameter J2EE/J2EEADMIN/PWD has been validated by validator RequiredFields.
Nov 28, 2014 9:42:10 AM [Info]:                                                    com.sap.sdt.util.validate.ValidationProcessor [Thread[UC-13,5,main]]: Validating validatable: J2EE/J2EEADMIN/PWD with validator: J2EEAdministratorPasswordValidator
Nov 28, 2014 9:42:10 AM [Info]:                              com.sap.sdt.j2ee.tools.validator.J2EEAdministratorPasswordValidator [Thread[UC-13,5,main]]: Validating password of JEE Engine User J2EE_ADMIN.
Nov 28, 2014 9:42:10 AM [Path]:                                                 com.sap.sdt.j2ee.J2eeFactoryManager.getFactory() [Thread[UC-13,5,main]]: Entering method with (validator.factory, 710)
Nov 28, 2014 9:42:10 AM [Path]:                                                              com.sap.sdt.j2ee.J2eeFactoryManager [Thread[UC-13,5,main]]: Exiting method
com.sap.sdt.j710.validator.ValidatorFactory [Thread[UC-13,5,main]]: Instantiating com.sap.sdt.j630.validator.AdminPasswordValidator with classloader com.sap.sdt.util.misc.FileClassLoader@535bec86...
Nov 28, 2014 9:42:10 AM [Debug]:                                                      com.sap.sdt.j710.validator.ValidatorFactory [Thread[UC-13,5,main]]: Classloader com.sap.sdt.util.misc.FileClassLoader@535bec86 uses /install1/SUM/SUM/sdt/lib/sdt_j630.jar
Nov 28, 2014 9:42:10 AM [Info]:                                                com.sap.sdt.j630.validator.AdminPasswordValidator [Thread[UC-13,5,main]]: InitialContext prameter url=localhost:50304, adminUser=J2EE_ADMIN, pasword=*****.
Nov 28, 2014 9:42:10 AM [Error]:                                                com.sap.sdt.j630.validator.AdminPasswordValidator [Thread[UC-13,5,main]]: msg.j630.validator.001
com.sap.sdt.executor.status.StatusHandler [Thread[UC-13,5,main]]: Entering method 'setStepState(Step step, Status.STATUS_STATE newState)'

 

 

SUM is trying to contact PI on the localhost IP adress of the server xxx.xxx.xxx.68, not on its own IP adress XXX.XX.XXX.102

Obviously , the P4 port 50304 is not reachable through the localhost of the server

 

piqadm:/sapmnt/PIQ/profile > netstat -an | grep 50304

tcp        0      0  xxx.xx.xxx.102.50304   *.*                     LISTEN

 

One important information, when trying the patch the J2ee components though JSPM, it works fine, JSPM get connected without any manual adjustment.

There are several sap notes discusinning similar issues :

1868308 - Deployment error with "Could not establish connection to AS Java on [P4://<hostname>:<port>]"

I carefully checked NWA and configtool, localhost is defined nowhere

 

1711920 - Connection to ICM using P4 protocoll fails

I restarted the P4 server several time

I have removed all backup profiles from \usr\sap\<SYSID>\SYS\profile.

The instance profiles the default profile do not contai nany reference to the localhost

I have reviewed host file, and PI is not mapped to the localhost

 

 

1158626 - P4 connection to ICM on machine with multiple IPs fails

 

The parameters listed in this note, are already active :

icm/server_port_3 = PROT=P4, PORT=5$(03)04, HOST=XXX.XXX.XXX.102

 

Sap MMC and SMICM transaction confirm that the correct IP is listenening on port 50304

 

I tried different versions of SUM, but I am still having the same proble.

 

I am running out of option now .....

Any idea would be highly appreciated.

 

Thanks and Regards


Viewing all articles
Browse latest Browse all 5139

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>