ICM on CRM 4/J2EE 6.2

Question: Dear Folks,

I added the 620 J2EE Engine to a CRM 4.0 installation. All is on the same Win2K server. I patched J2EE 620 to PL10. The J2EE Engine is functional as tested via various port tests, BCM, Visual Admin, etc except for 1 (major) item.

In SCICM-> GoTo->HTTP Application Server ->Display data I get the following:
Application Server State
HTTP Application Server Handler
========================
ABAP Server operational = TRUE
J2EE Server configured = TRUE
J2EE HTTP port =
J2EE HTTPS port =
J2EE Server operational = FALSE
Default root access handler = ABAP
URL Prefix Table loaded = TRUE


My ICM parameters are next and my dev_icm is below that:
ICM Parameter
Plugins
icm/plugin_0=PROT=HTTP,PLG=E:\usr\sap\D03\SYS\exe\run\httpplugin.dll
icm/plugin_1=PROT=HTTPS,PLG=E:\usr\sap\D03\SYS\exe\run\httpplugin.dll
icm/plugin_2=PROT=SMTP,PLG=E:\usr\sap\D03\SYS\exe\run\smtpplugin.dll

Services
icm/server_port_0 = PROT=HTTP,HOST=sapserver,PORT=8000
icm/server_port_1 = PROT=SMTP,PORT=0

Hard limits
icm/max_services = 50
icm/listen_queue_len = 512
icm/req_queue_len = 500
icm/max_conn = 300
icm/max_sockets = 2048

Thread handling
icm/min_threads = 10
icm/max_threads = 50
icm/min_spare_threads = 3

Tracing and statistic
rdisp/TRACE = 1
icm/tracefile = dev_icm
icm/log_level = 0
icm/stat_level = 1
icm/accept_remote_trace_level = 0

Monitoring
icm/ccms_monitoring = 1
icm/ccms_refresh_rate (sec.) = 30

Timeout handling
icm/keep_alive_timeout (sec.) = 60
icm/conn_timeout (msec.) = 5000
icm/max_timeout_net (msec.) = 2000
icm/min_timeout_mpi (msec.) = 5000

HTTP settings
icm/HTTP/max_request_size_KB = 102400
icm/HTTP/j2ee_0=PREFIX=/,HOST=sapserver,CONN=1-10,PORT=50200
icm/HTTP/server_cache_0 = PREFIX=/, CACHEDIR=E:\usr\sap\D03\DVEBMGS00\data\cache

HTTPS (SSL) settings
icm/HTTPS/verify_client = 1
ssf/name =
ssf/ssfapi_lib =
sec/libsapsecu =
ssl/ssl_lib =

Kontext Quotas
icm/HTTP/context_quota = no quota
icm/HTTPS/context_quota = no quota
icm/SMTP/context_quota = no quota

Memory Pipe settings
mpi/total_size_MB = 40
mpi/buffer_size = 65536

J2EE settings
rdisp/j2ee_start = 1
is/HTTP/default_root_hdl = j2ee

Misc
icm/host_name_full = sapserver.abc.net
icm/cancel_strategy = cancel requests without session (stateless)
is/HTTP/virt_host_0 = *:*;
is/SMTP/virt_host_0 = *:*;

ICM Trace File (dev_icm)
----------------------------------------------------------------------------
trc file: "dev_icm", trc level: 1, release: "620"
----------------------------------------------------------------------------
[Thr 3340] Fri Aug 19 08:50:52 2005
[Thr 3340] systemid: 560 (PC with Windows NT)
[Thr 3340] version: 6020
[Thr 3340] patchlevel: 0 (server: 0)
[Thr 3340] patchno: 1626 (server: 1640)
[Thr 3340] intno 20020600 (server: 20020600)
[Thr 3340] make: multithreaded, ASCII
[Thr 3340] pid: 3336
[Thr 3340] Fri Aug 19 08:50:59 2005
[Thr 3340] NiSelNewSet: large set (16384-2048)
[Thr 3340] ICM running on: sapserver.abc.net
[Thr 3340] MtxInit: -2 0 0
[Thr 3340] IcmInit: listening to admin port: 65000
[Thr 3340] Fri Aug 19 08:51:00 2005
[Thr 3340] DpShMCreate: sizeof(wp_adm) 12160 (760)
[Thr 3340] DpShMCreate: sizeof(tm_adm) 1835536 (9132)
[Thr 3340] DpShMCreate: sizeof(wp_ca_adm) 18000 (60)
[Thr 3340] DpShMCreate: sizeof(appc_ca_adm) 6000 (60)
[Thr 3340] DpShMCreate: sizeof(comm_adm) 192000 (384)
[Thr 3340] DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)
[Thr 3340] DpShMCreate: SHM_DP_ADM_KEY (addr: 001A0040, size: 2122200)
[Thr 3340] DpShMCreate: allocated sys_adm at 001A0040
[Thr 3340] DpShMCreate: allocated wp_adm at 001A0678
[Thr 3340] DpShMCreate: allocated tm_adm_list at 001A35F8
[Thr 3340] DpShMCreate: allocated tm_adm at 001A3620
[Thr 3340] DpShMCreate: allocated wp_ca_adm at 00363830
[Thr 3340] DpShMCreate: allocated appc_ca_adm at 00367E80
[Thr 3340] DpShMCreate: allocated comm_adm_list at 003695F0
[Thr 3340] DpShMCreate: allocated comm_adm at 00369608
[Thr 3340] DpShMCreate: allocated ca_info at 00398408
[Thr 3340] Fri Aug 19 08:51:17 2005
[Thr 3340] IcmCreateWorkerThreads: created worker thread 0
[Thr 3340] IcmCreateWorkerThreads: created worker thread 1
[Thr 3340] IcmCreateWorkerThreads: created worker thread 2
[Thr 3340] IcmCreateWorkerThreads: created worker thread 3
[Thr 3340] IcmCreateWorkerThreads: created worker thread 4
[Thr 3340] IcmCreateWorkerThreads: created worker thread 5
[Thr 3340] IcmCreateWorkerThreads: created worker thread 6
[Thr 3340] IcmCreateWorkerThreads: created worker thread 7
[Thr 3340] IcmCreateWorkerThreads: created worker thread 8
[Thr 3340] IcmCreateWorkerThreads: created worker thread 9
[Thr 4204] Fri Aug 19 08:51:18 2005
[Thr 4204] IcmWatchDogThread: watchdog started
[Thr 4204] NiSelNewSet: large set (16384-2048)
[Thr 4208] Fri Aug 19 08:51:23 2005
[Thr 4208] ISC: created 400 MB disk cache.
[Thr 4208] ISC: created 50 MB memory cache.
[Thr 4208] HttpSubHandlerAdd: Added handler HttpCacheHandler(slot=0, flags=12293) for /:0
[Thr 4208] Fri Aug 19 08:51:24 2005
[Thr 4208] HttpSubHandlerAdd: Added handler HttpSAPR3Handler(slot=1, flags=4101) for /:0
[Thr 4208] HttpSubHandlerAdd: Added handler HttpJ2EEHandler(slot=2, flags=1077253) for /:0
[Thr 4208] Started service 8000 for protocol HTTP on host "sapserver"(only on this adapter) (timeout=60)
[Thr 4140] MPI<3>0#3 Peak buffer usage: 1 (@ 64 KB)
[Thr 4172] MPI<5>2#3 Peak buffer usage: 2 (@ 64 KB)
[Thr 4208] IcmNetCheck: network check passed without detecting problems
[Thr 4192] Fri Aug 19 08:51:57 2005
[Thr 4192] MPI<7>4#3 Peak buffer usage: 3 (@ 64 KB)
[Thr 4196] MPI<9>6#3 Peak buffer usage: 4 (@ 64 KB)
[Thr 4176] Fri Aug 19 08:52:20 2005
[Thr 4176] MPI<b>8#4 Peak buffer usage: 6 (@ 64 KB)
[Thr 4188] Fri Aug 19 09:00:54 2005
[Thr 4188] MPI<6d>e#4 Peak buffer usage: 9 (@ 64 KB)
[Thr 4172] Fri Aug 19 09:01:11 2005
[Thr 4172] *** WARNING => Connection request from (18/32/0) to host: UNKNOWNHOST, service: UNKNOWNPORT failed (NIEHOST_UNKNOWN)
EX-T18, U32, 000 ADMIN, ICM, 09:01:10, M0, W2, , 1/0 [icxxconn.c 2152]
[Thr 4192] MPI<77>10#3 Peak buffer usage: 10 (@ 64 KB)
=======================================================================


Note: I also installed IC Web Client SP3 and have it functioning until the final test in the install guide. I can bring up the IC Web Client page but it hangs with "Loading..." after display the header and footer.

I do an IC system check and get no java server reachable which I believe is due to the ICM config issue.
08/19/2005 Check System Settings and Status 1
TIME: 18:28:53
Configuration summary
ICServer Configuration: SAMEBOX
Middleware Type: SOAP
Domain: abc.net
Messaging Type: ICMS
HTTP Timeout (in milliseconds): 6000
Context Area Style Sheet: /sap/bc/bsp/sap/crm_ic/crm_ic_contextarea.css
Scratch Pad Style Sheet: /sap/bc/bsp/sap/crm_ic/crm_ic_scratchpad.css
Broadcast Style Sheet: /sap/bc/bsp/sap/crm_ic/crm_ic_broadcast.css
General
Server domains are compatible.
Logical system: D03CLNT100
Java Server Pool
Server sapserver.abc.net is not reachable.

HTTP ping failed. Reason: SOAP Runtime Exception: CSoapExceptionTransport :HTTP send returned with status code
Verify java installation.

Server Mappings
Server mappings complete.
Load Balancing
No java server was available.
**************************************************************************************

Can anyone help me with the ICM configuration?

Regards,
-bagofur

Answer:
looks like your j2ee server is not up and running. did you try to log on via visual admin? see if that works. I'm guessing it will say "dispatcher running but no server connected."
_________________
NOT certified but stayed at holiday inn.

Answer:
Greetings Nibble,

Ya, I have seen that message and despite the following setting:
icm/HTTP/j2ee_0=PREFIX=/,HOST=sapserver,CONN=1-10,PORT=50200

SMICM App Server->Goto->HTTP Application Server->Display Data has no values for J2EE Port.

So, I believe the connection between J2EE and CRM (R/3) is unable to be made. I have opened a case with SAP but, alas, no word back after 3 days.

-bagofur

Answer:
that parameter doesn't make sense... besides, I don't setup that parameter.

check these parameters first.

j2ee/dbhost
j2ee/dbname
j2ee/dbtype

Answer:
I hate when I do above... anyway, let me know what it is on above parameters.
_________________
NOT certified but stayed at holiday inn.

Answer:
Dear Guest,

Thank you for the reply. I am unable to find the parameters you note in either WebAS J2EE documentation or on my CRM 4.0/J2EE 620 system. Perhaps they are active for later versions of J2EE engine.

As for the parameter I note above, it is a necessary parameter AFAIK:
From SAP Note 722908 - System check for IC WebClient fails
Check for the needed profile parameters by running SE38-> RSPARAM. Search for the following key profile parameters: (for J2EE 6.20)
rdisp/j2ee_start = 1
rdisp/j2ee_timeout = 60
rdisp/j2ee_error = 10
exe/j2ee = X:/usr/sap/<SID>/DVEBMGS<##>/j2ee/cluster/dispatcher/go.bat
icm/HTTP/j2ee_0 = HOST=localhost,PREFIX=/,CONN=0-10,PORT=5<Instance number>00


Regards,
-bagofur

Answer:
Ended up being:
Action:
====
change "r3environment=NO" to "r3environment=YES" in \managers\settings\R2StartupManager.properties (disp & server)… done

Result:
=====
SMICM reports J2EE active and IC WebClient system check reports J2EE there...
Copyright ?2007 - 2008 www.jt77.com