cancel
Showing results for 
Search instead for 
Did you mean: 

NW 7.4 Java installation - Could not establish connection to AS Java on 5nn04

0 Kudos

Hello,

I am  installing a  new system  SAP netweaver 7.4 SR2 - SAP Process Orchestration :


- Kernel 7.42 UC 64bits AIX
- Java with virtual hostname

During the installation of the PAS, I have a error in phase deploying JAVA components with the below error:

[ LOG EXCEPTION ]  :: Could not establish connection to AS Java on [<virtualhostname>:51004].
Cannot establish connection with any of the available profiles: url=<virtualhostname>:51004 protocol=p4 (None);
Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: <IP> and port: 51004
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:

Can you please help me?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello

This is a known issue with SAP JVM 5.1 and kernel release 7.10 and 7.11. You may refer sap kba 1759825 - J2EE System stops with "exit code = 721035".

For NW 7.40 this seems to be a bug. You can raise an incident with SAP Support.

Regards,

Tapan

0 Kudos

Hi

Thanks for your all informations. But I have same issue.

I tested the following parameter but I have the same problem again :

stopsap

cleanipc

parameter:

icm/server_port_0 = PROT=HTTP,PORT=51000,HOST=IP,TIMEOUT=60,PROCTIMEOUT=600

icm/server_port_1 = PROT=P4,PORT=51004,HOST=IP

icm/host_name_full = HOSTNAME VIRTUAL

icm/admin_port = 64000

icm/log_level = 1

icm/max_conn = 16384

icm/max_sockets = 32768

icm/req_queue_len = 6000

icm/min_threads = 10

icm/max_threads = 500

mpi/total_size_MB = 9900

mpi/max_pipes = 32768

it's random issue, now the system is up and running (First start icm ko --> core file, second start it's ok ??? ) I think it's kernel error with my kernel level 7.42

-rw-------    1 djradm   sapsys          312 Oct  2 11:01 std_datcol.ou0

-rw-------    1 djradm   sapsys        17384 Oct  2 11:01 jvm_datcol.ou0

-rw-r--r--    1 djradm   sapsys         5494 Oct  2 11:01 dev_datcol.cl0

-rw-r--r--    1 djradm   sapsys         4692 Oct  2 11:01 dev_datcol.0

-rw-r--r--    1 djradm   sapsys         2154 Oct  2 11:01 dev_icm.old

-rw-------    1 djradm   sapsys   1018077559 Oct  2 11:01 core      ==> first start icm

-rw-------    1 djradm   sapsys          312 Oct  2 11:01 std_datcol.out

-rw-------    1 djradm   sapsys          925 Oct  2 11:01 datcol.jvm

-rw-------    1 djradm   sapsys          810 Oct  2 11:01 std_snapshot.out

-rw-------    1 djradm   sapsys        17384 Oct  2 11:01 jvm_datcol.out

-rw-r--r--    1 djradm   sapsys         5496 Oct  2 11:01 dev_datcol.cld

-rw-r--r--    1 djradm   sapsys         4696 Oct  2 11:01 dev_datcol

-rw-r--r--    1 djradm   sapsys         1830 Oct  2 11:01 dev_icm_sec

-rw-------    1 djradm   sapsys         1542 Oct  2 11:01 std_icm.out

-rw-------    1 djradm   sapsys            0 Oct  2 11:01 jvm_server0.out

drwxr-xr-x    2 djradm   sapsys         4096 Oct  2 11:01 .

-rw-r--r--    1 djradm   sapsys        19142 Oct  2 11:02 dev_jstart

-rw-r--r--    1 djradm   sapsys         6163 Oct  2 11:02 dev_icm   ==> second start by internal system it's ok

-rw-------    1 djradm   sapsys        16300 Oct  2 11:03 std_server0.out

-rw-r--r--    1 djradm   sapsys        11447 Oct  2 11:03 dev_server0

-rw-------    1 djradm   sapsys          108 Oct  2 11:03 available.log

dev_jstart.log

First internal start : KO

F  ********************************************************************************

F  Process ICM started with pid 22020238

F  ********************************************************************************

F  [Thr 01] *** LOG => Process icm started (pid 22020238).

F

F [Thr 01] Thu Oct  2 11:01:04 2014

F  [Thr 01] *** LOG => Signal 20 SIGCHLD.

F  [Thr 01] *** WARNING => process ICM (pid 22020238) killed (signal 11). [sfuxlib.hpp  852]

F  [Thr 01] *** LOG => Process icm died (pid 22020238).

F  [Thr 01] *** WARNING => Node icm failed: result -1, exit code 721035. [sfxxnode.hpp 1022]

F  ********************************************************************************

F  ********************************************************************************

F  Process ICM started with pid 22020242

F  ********************************************************************************

F  [Thr 01] *** LOG => Process icm started (pid 22020242).

F

F [Thr 01] Thu Oct  2 11:01:14 2014

F  [Thr 01] *** LOG => Signal 20 SIGCHLD.

F  [Thr 01] *** WARNING => process ICM (pid 22020242) killed (signal 11). [sfuxlib.hpp  852]

F  [Thr 01] *** LOG => Process icm died (pid 22020242).

F  [Thr 01] *** WARNING => Node icm failed: result -1, exit code 721035. [sfxxnode.hpp 1022]

F  ********************************************************************************

Second internal start :  OK

F  ********************************************************************************

F  Process ICM started with pid 22020246

F  ********************************************************************************

F  [Thr 01] *** LOG => Process icm started (pid 22020246).

F

F [Thr 01] Thu Oct  2 11:01:23 2014

F  [Thr 01] *** LOG => Process icm running (pid 22020246).

F  [Thr 01] *** LOG => Starting nodes: runlevel 3, phase 1.

F  ********************************************************************************

Release:

java version "1.6.0_81"

Java(TM) SE Runtime Environment (build 6.1.070)

SAP Java Server VM (build 6.1.070 24.55-b03, Jul 31 2014 04:22:04 - 61_REL - optU - aix ppc64 - 6 - bas2:222844 (mixed mode))

disp+work

kernel release                742

kernel make variant           742_REL

compiled on                   AIX 1 6 00F674C74C00 for rs6000_64

compiled for                  64 BIT

compilation mode              UNICODE

patch number                  17

icman

kernel release       = 742

compiled on          = AIX 1 6 00F674C74C00

compiled for         = 64 BIT

compilation mode     = UNICODE

patch number         = 15

source id            = 0.017

But I think in next start the icm will be down ???

Former Member
0 Kudos

You need to investigate the core file or check the same from errpt output.

former_member185239
Active Contributor
0 Kudos

Hi Fabion,

Follow the below steps:

1. ping <virtualhost>

paste the result

2. check whether java engine is running or not.

3. if running then fired the below command

    telnet <virtualhost> 51004

With Regards

Ashutosh Chaturvedi

0 Kudos

Hi

1 ping OK

FRELIXPOASDJR:djradm 4> ping <virtual hostname>
PING develixpodjr (10.136.18.156): 56 data bytes
64 bytes from <IP>: icmp_seq=0 ttl=255 time=0 ms
64 bytes from <IP>:: icmp_seq=1 ttl=255 time=0 ms
64 bytes from <IP>:: icmp_seq=2 ttl=255 time=0 ms
64 bytes from <IP>:: icmp_seq=3 ttl=255 time=0 ms

--- develixpodjr ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0/0/0 ms

2/ Java Engine KO

/usr/sap/<SID>/J10/work/dev_jstart

F  [Thr 01] *** ERROR => Emergency shutdown: 1 node failed to start. [sfxxinst.hpp 1058]

F  [Thr 01] *** ERROR => Node icm: failed with exit code 0 [sfxxinst.hpp 1069]

FRELIXPOASDJR:djradm 14> file core

core: AIX core file fulldump 64-bit, icman

3 telent KO
FRELIXPOASDJR:djradm 5> telnet <virtual hostname> 51004
Trying...
telnet: connect: Connection refused

I update the kernel 7.42 with latest patch dw_20-20012178.sar but same problem

0 Kudos

other trace --> icm crash

F  Starting process: /usr/sap/DJR/J10/exe/icman

F    arg[ 4] = /usr/sap/DJR/J10/work/dev_icm

F  stdout  : /usr/sap/DJR/J10/work/std_icm.out

F  stderr  : /usr/sap/DJR/J10/work/std_icm.out

F  [Thr 01] *** LOG => Process icm started (pid 9961586).

F  [Thr 01] *** LOG => Process icm died (pid 9961586).

F  [Thr 01] *** WARNING => Node icm failed: result -1, exit code 721035. [sfxxnode.hpp 1022]

F    arg[ 8] = postmortem?node=icm&exitcode=721035

F  [Thr 01] *** ERROR => Node icm: failed with exit code 0 [sfxxinst.hpp 1069]

F  *** ERROR => Node 'icm' failed with exit code 721035.

former_member185239
Active Contributor
0 Kudos

Hi Fabien,

Kindly paste the log dev_icm.

With Regards

Ashutosh Chaturvedi

Sriram2009
Active Contributor
0 Kudos

Hi Robin

Could you check this SAP KBA  define the ICM parameters

2064179 - One of the two AS Java servers cannot start on a single host due to ICM error


BR

SS